freetype-devel
[Top][All Lists]
Advanced

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

[Devel] incorrect types for some arguments in the TrueType driver


From: Graham Asher
Subject: [Devel] incorrect types for some arguments in the TrueType driver
Date: Sat, 17 Apr 2004 16:08:41 +0100

Dear FreeTypers,

my colleague Lex Warners has made a Palm OS port of FreeType in the course
of working on CartoType, our portable cartography engine. In doing this he
found some incorrect types in some of the functions in the FreeType driver.
(Please forgive us in advance if these problems have already been fixed).

The details are:

The argument glyph_index in TT_Load_Glyph should be FT_UInt, not FT_UShort.

The argument glyph_index in Load_Glyph should be FT_Uint, not FT_UShort.

These changes affect the declaration of TT_Load_Glyph in ttgload.h, its
definition in ttgload.c, and the definition of Load_Glyph (which has no
separate declaration) in ttdriver.c.

Our test harness now runs perfectly on Palm OS, so these changes seem to
have had the desired effect.

Best wishes,

Graham Asher
Cartography Ltd.






reply via email to

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