freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] default glyph size


From: David Turner
Subject: Re: [Devel] default glyph size
Date: Mon, 11 Dec 2000 10:54:22 +0100

Hi Werner,

> 
> In step1.html it is written:
> 
>   When a new face object is created, its size object defaults to the
>   character size of 10 pixels (both horizontally and vertically) for
>   scalable formats.
> 
> Actually, this is a lie.  Calling FT_Load_Glyph() with FT_LOAD_DEFAULT
> fails; for example, TrueType fonts will return error code 0x442
> (invalid ppem -- BTW, this is an especially nice error since
> tterrors.h is hidden in the `internal' subdirectory, not covered with
> a meaningful verbal description).
> 
> What do you consider better: Changing the documentation by saying that
> you always have to use FT_Set_Char_Size(), or adding default values
> for x_ppem and y_ppem?
> 

I think changing the documentation is better.. :-)

Thanks,

- David



reply via email to

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