Altering the font size
When using higher resolutions in gfxterm, the default font is a bit small. It looks like the default size grub-mkfont uses is 16, so I tried rebuilding my own larger version of unicode.pf2 with --size=32. It makes no difference. The output file is not any larger and when grub loads it at boot time it looks exactly the same. I also tried --size=64. I used /usr/share/fonts/X11/misc/unifont.pcf.gz as the grub wiki suggests for the source.
Quoted 7 lines · Phillip Susi
When using higher resolutions in gfxterm, the default font is a bit small. It looks like the default size grub-mkfont uses is 16, so I tried rebuilding my own larger version of unicode.pf2 with --size=32. It makes no difference. The output file is not any larger and when grub loads it at boot time it looks exactly the same. I also tried --size=64. I used
/usr/share/fonts/X11/misc/unifont.pcf.gzas the grub wiki suggests for the source.
The only problem on GRUB side was ignoring errors from FT_Set_Pixel_Sizes. The underlying problem is that freetype is unable to scale bitmap fonts like unifont. You can either take the issue to freetype devs or use TTF fonts (TTF font of unifont is available)
Quoted 6 lines
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 4 lines · Vladimir 'φ-coder/phcoder' Serbinenko
The only problem on GRUB side was ignoring errors from
FT_Set_Pixel_Sizes. The underlying problem is that freetype is unable to scale bitmap fonts like unifont. You can either take the issue to freetype devs or use TTF fonts (TTF font of unifont is available)
That makes sense. I tried using a ttf: /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.tff and get a bunch of unknown gsub feature errors for sups, tnum, ss01, sinf, salt, pnum, ordn, numr, frac, locl, dnom, case, and calt fetures.
Quoted 11 lines · Phillip Susi
Quoted 4 lines · Vladimir 'φ-coder/phcoder' Serbinenko
The only problem on GRUB side was ignoring errors from
FT_Set_Pixel_Sizes. The underlying problem is that freetype is unable to scale bitmap fonts like unifont. You can either take the issue to freetype devs or use TTF fonts (TTF font of unifont is available)That makes sense. I tried using a ttf:
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.tffand get a bunch of unknown gsub feature errors for sups, tnum, ss01, sinf, salt, pnum, ordn, numr, frac, locl, dnom, case, and calt fetures.
They are warnings, not errors
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko