grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Altering the font size
@ 2010-12-18 21:22 Phillip Susi
  2010-12-18 21:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 4+ messages in thread
From: Phillip Susi @ 2010-12-18 21:22 UTC (permalink / raw)
  To: The development of GNU GRUB

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Altering the font size
  2010-12-18 21:22 Altering the font size Phillip Susi
@ 2010-12-18 21:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2010-12-19 17:21   ` Phillip Susi
  0 siblings, 1 reply; 4+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-12-18 21:52 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

On 12/18/2010 10:22 PM, Phillip Susi wrote:
> 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.
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)
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Altering the font size
  2010-12-18 21:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2010-12-19 17:21   ` Phillip Susi
  2010-12-19 18:07     ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 4+ messages in thread
From: Phillip Susi @ 2010-12-19 17:21 UTC (permalink / raw)
  To: The development of GNU GRUB
  Cc: Vladimir 'φ-coder/phcoder' Serbinenko

On 12/18/2010 04:52 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> 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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Altering the font size
  2010-12-19 17:21   ` Phillip Susi
@ 2010-12-19 18:07     ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 4+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2010-12-19 18:07 UTC (permalink / raw)
  To: Phillip Susi; +Cc: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

On 12/19/2010 06:21 PM, Phillip Susi wrote:
> On 12/18/2010 04:52 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
>> 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.
>
They are warnings, not errors


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-19 18:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-18 21:22 Altering the font size Phillip Susi
2010-12-18 21:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-12-19 17:21   ` Phillip Susi
2010-12-19 18:07     ` Vladimir 'φ-coder/phcoder' Serbinenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).