freetype
[Top][All Lists]
Advanced

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

Re: [ft] python_freetype Design: Bitmap Objects


From: Lawrence D'Oliveiro
Subject: Re: [ft] python_freetype Design: Bitmap Objects
Date: Wed, 11 Mar 2015 12:49:37 +1300

On Tue, 10 Mar 2015 11:16:06 +0100 (CET), Werner LEMBERG wrote:

>> One potentially misleading thing, I think, is the routine name
>> “FT_Bitmap_New”: it does not allocate any storage at all (contrast
>> “FT_Outline_New” and “FT_Stroker_New”), but initializes the Bitmap
>> structure to indicate “zero width, zero height, no pixels”. A better
>> name might have been “FT_Bitmap_Init”, or even “FT_Bitmap_Null” or
>> “FT_Bitmap_Empty”.
> 
> Renamed in git to `FT_Bitmap_Init'.

Cool! Presumably you provide a #define of the old name for backward
compatibility. :)

what about FT_Get_X11_Font_Format
<http://freetype.org/freetype2/docs/reference/ft2-font_formats.html>?
Is it time to rename that to, say, FT_Get_Font_Format?



reply via email to

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