freetype-devel
[Top][All Lists]
Advanced

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

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


From: Steve Hartwell
Subject: Re: [Devel] incorrect types for some arguments in the TrueType driver
Date: Mon, 19 Apr 2004 01:43:13 -0700

On Apr 18, 2004, at 11:18 PM, Werner LEMBERG wrote:

On the upside, the function pointers no longer need casting in
tt_driver_class; I can send in the patch if anyone's interested.

Please do so (relative to the current CVS).

The following patch to the current CVS of ttobjs.h, ttobjs.c, and ttdriver.c defines the TrueType driver function parameters as FT_xxx types so that the casts of the function pointers in the FT_Driver_ClassRec are unnecessary.

Not surprisingly (:-?) gcc confirmed that Load_Glyph() matches the FT_Slot_LoadFunc type, which recently added a new parameter. Nice, that ;-)

Best regards,

Steve Hartwell

Attachment: ttdriverdefs.patch
Description: Binary data


reply via email to

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