[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] default glyph size
From: |
Werner LEMBERG |
Subject: |
[Devel] default glyph size |
Date: |
Sat, 09 Dec 2000 02:26:14 +0100 (CET) |
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?
Werner
- [Devel] default glyph size,
Werner LEMBERG <=