david-swift / Memorize

Study flashcards in a native GNOME app
https://flathub.org/apps/io.github.david_swift.Flashcards
GNU General Public License v3.0
87 stars 9 forks source link

Ability to set custom font and font size #13

Open amadeusp opened 6 months ago

amadeusp commented 6 months ago

Is your feature request related to a problem? Please describe.

I use Memorize to study Thai Script and the default font for Thai Script in GNOME is hard to read.

Describe the solution you'd like

It would be great if one could define font, font size and color for questions and answers individually.

Describe alternatives you've considered

It would already be helpful if the font and font size could be set globally (for questions and answers combined).

Additional context

Screenshot from 2024-03-08 20-56-37

amadeusp commented 6 months ago

You can see that I e.g. use a different font for Thai Script on my website. That font is also at 140% scale. See: https://amadeuspaulussen.com/else/conversation-basic-thai/adjectives

bragefuglseth commented 6 months ago

The appropriate place to fix this is most likely higher up in the system. If the system can be shipped with a more legible Thai font, there won't be a need for in-app workarounds.

david-swift commented 6 months ago

Thanks @amadeusp for opening the issue!

I agree with @bragefuglseth about the font issue.

You also mentioned adding an option for customizing the text's color. What exactly would be the benefit of that?

amadeusp commented 6 months ago

Hmm, ok, that might be true. I was just thinking that I would make the answer bold and the question normal, and the answer bigger, if there was a setting for that. Or generally make both a little bigger, just because I find it more practical for learning. This is also because I am learning with others and not alone, concentrated and focused on my own screen. During our first sessions together, I kept hearing from my colleagues, "Can you please make the text bigger?

amadeusp commented 6 months ago

Again, this idea came from studying with friends, situations where we were not paying full attention to the laptop screen, and the fact that we sometimes forgot to turn the cards over. Then I had the idea to make the answers slightly turquoise so that the front and back of the "cards" would be easier to distinguish.

david-swift commented 6 months ago

Thank you so much for the additional context! I think I'll add a setting for the font size, this sounds like a sensible feature. There is the request for Markdown support (#1/#5) which would enable to make text bold or regular, italic, etc. I also understand your point about the front and back looking the same and will think about it at some point in the future (I'm rather busy at the moment).

bragefuglseth commented 6 months ago

What about bumping the card text size up 25-40% and just having that as the size? Would that be fine?

amadeusp commented 6 months ago

Thank you so much for the additional context! I think I'll add a setting for the font size, this sounds like a sensible feature. There is the request for Markdown support (#1/#5) which would enable to make text bold or regular, italic, etc. I also understand your point about the front and back looking the same and will think about it at some point in the future (I'm rather busy at the moment).

Ah, nice. Markdown would be definitely sweet! I want to thank you so much for making this app. Great work! I'll put you on my donation list!

amadeusp commented 6 months ago

What about bumping the card text size up 25-40% and just having that as the size? Would that be fine?

I think that could already be an improvement. However, it is perhaps difficult to set the size in such a way that it would be ideal for all circumstances. For example, if someone uses longer texts, they might be happy not to have the text too large.