Re: [ft] Creating an [OT]TF font from BDF font

Chia-I Wu <[email protected]> Fri, 9 Dec 2005 10:35:13 +0800
Newsgroups gmane.comp.fonts.freetype.user,gmane.comp.xfree86.fonts
Message-ID <[email protected]>
Hi,

> Juliusz wrote fonttosfnt which combines multiple BDF sizes into a single
> SFNT.  It's in CVS at freedesktop.org in the xapps module
I tried fonttosfnt some weeeks ago and found that it uses
FT_Bitmap_Size->{height,width} for ppemY and ppemX.  Shouldn't it be
  
  ppemX = ppemY = FT_Bitmap_Size->y_ppem?

The reason that ppemX should be equal to ppemY is that an em-sqaure with
unequal ppems means x and y axes are scaled differently so that the
glyphs would look stretched.

-- 
Regards,
olv