Eliminating the codepoints produces 95 glyphs as expected. Just that earlier versions produced 128 glyphs for 0x0-0x7f.
After some extensive testing today, the problem may be with some distros ttf fonts. ----- Original Message ----- From: Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> To: The development of GNU GRUB <grub-devel@gnu.org> Cc: Towheed Mohammed <towhe...@yahoo.com> Sent: Tuesday, February 21, 2012 11:50 PM Subject: Re: grub-mkfont generate errors when converting truetype fonts On 22.02.2012 04:36, Towheed Mohammed wrote: > But as you can see from the verbose output, because of these warnings, it > produces only 95 glyphs as opposed to the expected 128. The codepoint ranges 0-0x1f and 0x7f are controls and have no glyph. Do you have the comparison of glyphs in questions? What glitches do you see? > As for the quality, it is much lower than the fonts produced by earlier >versions. > > ----- Original Message ----- > From: Vladimir 'φ-coder/phcoder' Serbinenko<phco...@gmail.com> > To: grub-devel@gnu.org > Cc: > Sent: Tuesday, February 21, 2012 11:23 PM > Subject: Re: grub-mkfont generate errors when converting truetype fonts > > On 22.02.2012 03:17, Towheed Mohammed wrote: >> Whenever you grub-mkfont is used to convert truetype fonts to PFF2 fonts, it >> generates several errors. For example: >> grub-mkfont -v -s 12 -r 0x0-0x7F -o ~/Documents/dejavu-sans-12.pf2 >> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf >> gives the following error: > It's not errors. Just warnings that the resulting pf2 will be of lesser > quality than source TTF >> This is a long-standing issue with grub-mkfont that started somewhere in the >> later releases of 1.98. This never occurred in earlier releaes of 1.98. > The earlier versions just ignored the features altogether. Newer report them > but it's *warnings*, not errors. > > > -- Regards > Vladimir 'φ-coder/phcoder' Serbinenko > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'φ-coder/phcoder' Serbinenko _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel