timower / rM2-stuff

Collection of reMarkable related apps, utilities and libraries.
GNU General Public License v3.0
123 stars 10 forks source link

Change font size in Yaft #34

Open wtraylor opened 5 months ago

wtraylor commented 5 months ago

It seems that Yaft currently has its glyphs hardcoded in glyph.h, with a pixel size of 16×32 per glyph.

For the sake of legibility and accessibility a larger font size would be great.

Would it be possible to create generate different glyph sets (larger ones) and switch between them with a configuration parameter?

shawnh-git commented 5 months ago

Config options would be ideal but I'd be happy with just instructions on how to recompile it with a larger font if options aren't possible.

timower commented 5 months ago

I agree, I won't have time to implement this soon though. For compiling with your own fonts, it's been a while, but this guide from the original upstream yaft should still work: https://uobikiemukot.github.io/yaft/#how-to-use-your-favorite-fonts

mimuki commented 4 months ago

I was able to confirm that recompiling with fonts generated as per the above link works great :)

Here's a walkthrough of the steps I took since I had some troubles (and maybe other people will as well), but keep in mind I'm a hobbyist who doesn't know what they're doing, so some of these steps may be bad form.