Open wtraylor opened 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.
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
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.
which cmake
and take note of what it says for later./mkfont_bdf table/alias path/to/your/bdf > glyph.h
cmake
with the path to cmake you wrote down before:
cmake --preset dev
cmake --build build/dev --target yaft
scp build/dev/apps/yaft/yaft root@10.11.99.1:/home/root/
, or however you like to copy your files)env LD_PRELOAD=/opt/lib/librm2fb_client.so.1.0.1; path/to/yaft
- if you see your terminal with the font you picked, it probably works!
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?