freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Juliusz Chroboczek
Subject: Re: [ft] Creating an [OT]TF font from BDF font
Date: Mon, 12 Dec 2005 15:44:38 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

> 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.

I believe that's the expected result.

x/y_ppem are the number of horizontal/vertical pixels by horizontal
em.  They should normally be equal, except in the case of bitmap
strikes designed for displays with non-square pixels (such as EGA
displays).

                                        Juliusz






reply via email to

[Prev in Thread] Current Thread [Next in Thread]