freetype 2.1.7 is broken - 2.1.9 in AC

Jakub Bogusz qboosh at pld-linux.org
Tue Mar 15 20:17:57 CET 2005


On Tue, Mar 15, 2005 at 12:25:36PM +0100, Arkadiusz Miskiewicz wrote:
> On Tuesday 15 of March 2005 10:09, Jacek Konieczny wrote:
> > On Tue, Mar 15, 2005 at 09:53:08AM +0100, havner wrote:
> > > Hmm, how could API be changed without ABI changes?
> >
> > There may be some, probably versioned, symbols left compiled in the
> > binary, but not included in the header files. I think I have already
> > seen such solutions.
> ... and more basic ones like constants name changed, new functions introduced 
> etc

And some functions removed (related to font caching, which has been
replaced by slightly different implementation; they said that this
functionality was "not stable", although some programs were using it
already - and these programs require rebuild and/or patching to use
new implementation).

[Ac machine]
$ objdump -T /usr/lib/libfreetype.so.6.3.5|grep Base|awk '{ print $7 }' | LC_ALL=C sort > ft217-abi
[my home machine]
$ objdump -T /usr/lib/libfreetype.so.6.3.7|grep Base|awk '{ print $7 }' | LC_ALL=C sort > ft219-abi
[scp]
$ diff -u ft217-abi ft219-abi
--- ft217-abi   2005-03-15 20:10:26.703651232 +0100
+++ ft219-abi   2005-03-15 20:09:29.814299728 +0100
@@ -1,22 +1,52 @@
-BitOrderInvert
 FTC_CMapCache_Lookup
 FTC_CMapCache_New
+FTC_Cache_Clear
+FTC_Cache_Done
+FTC_Cache_Init
+FTC_Cache_Lookup
+FTC_Cache_NewNode
+FTC_Cache_RemoveFaceID
+FTC_Family_Init
+FTC_GCache_Done
+FTC_GCache_Init
+FTC_GCache_Lookup
+FTC_GCache_New
+FTC_GNode_Compare
+FTC_GNode_Done
+FTC_GNode_Init
+FTC_GNode_UnselectFamily
+FTC_INode_Free
+FTC_INode_New
+FTC_INode_Weight
 FTC_ImageCache_Lookup
 FTC_ImageCache_New
-FTC_Image_Cache_Lookup
-FTC_Image_Cache_New
 FTC_Manager_Compress
 FTC_Manager_Done
-FTC_Manager_Lookup_Face
-FTC_Manager_Lookup_Size
+FTC_Manager_FlushN
+FTC_Manager_LookupFace
+FTC_Manager_LookupSize
 FTC_Manager_New
-FTC_Manager_Register_Cache
+FTC_Manager_RegisterCache
+FTC_Manager_RemoveFaceID
 FTC_Manager_Reset
+FTC_MruList_Done
+FTC_MruList_Find
+FTC_MruList_Init
+FTC_MruList_Lookup
+FTC_MruList_New
+FTC_MruList_Remove
+FTC_MruList_RemoveSelection
+FTC_MruList_Reset
+FTC_MruNode_Prepend
+FTC_MruNode_Remove
+FTC_MruNode_Up
 FTC_Node_Unref
 FTC_SBitCache_Lookup
 FTC_SBitCache_New
-FTC_SBit_Cache_Lookup
-FTC_SBit_Cache_New
+FTC_SNode_Compare
+FTC_SNode_Free
+FTC_SNode_New
+FTC_SNode_Weight
 FT_Activate_Size
 FT_Add64
 FT_Add_Default_Modules
@@ -43,11 +73,14 @@
 FT_Free
 FT_Get_BDF_Charset_ID
 FT_Get_BDF_Property
+FT_Get_CMap_Language_ID
 FT_Get_Char_Index
+FT_Get_Charmap_Index
 FT_Get_First_Char
 FT_Get_Glyph
 FT_Get_Glyph_Name
 FT_Get_Kerning
+FT_Get_MM_Var
 FT_Get_Module
 FT_Get_Module_Interface
 FT_Get_Multi_Master
@@ -76,6 +109,8 @@
 FT_GlyphLoader_Rewind
 FT_Glyph_Copy
 FT_Glyph_Get_CBox
+FT_Glyph_Stroke
+FT_Glyph_StrokeBorder
 FT_Glyph_To_Bitmap
 FT_Glyph_Transform
 FT_Has_PS_Glyph_Names
@@ -92,15 +127,10 @@
 FT_Load_Glyph
 FT_Load_Sfnt_Table
 FT_Lookup_Renderer
-FT_LruList_Destroy
-FT_LruList_Lookup
-FT_LruList_New
-FT_LruList_Remove
-FT_LruList_Remove_Selection
-FT_LruList_Reset
 FT_Matrix_Invert
 FT_Matrix_Multiply
 FT_MulDiv
+FT_MulDiv_No_Round
 FT_MulFix
 FT_MulTo64
 FT_New_Face
@@ -115,6 +145,8 @@
 FT_Outline_Decompose
 FT_Outline_Done
 FT_Outline_Done_Internal
+FT_Outline_GetInsideBorder
+FT_Outline_GetOutsideBorder
 FT_Outline_Get_BBox
 FT_Outline_Get_Bitmap
 FT_Outline_Get_CBox
@@ -125,6 +157,11 @@
 FT_Outline_Reverse
 FT_Outline_Transform
 FT_Outline_Translate
+FT_QAlloc
+FT_QRealloc
+FT_Raccess_Get_DataOffsets
+FT_Raccess_Get_HeaderInfo
+FT_Raccess_Guess
 FT_Realloc
 FT_Remove_Module
 FT_Render_Glyph
@@ -139,6 +176,8 @@
 FT_Set_Pixel_Sizes
 FT_Set_Renderer
 FT_Set_Transform
+FT_Set_Var_Blend_Coordinates
+FT_Set_Var_Design_Coordinates
 FT_Sin
 FT_Sqrt32
 FT_SqrtFixed
@@ -146,14 +185,17 @@
 FT_Stream_EnterFrame
 FT_Stream_ExitFrame
 FT_Stream_ExtractFrame
+FT_Stream_Free
 FT_Stream_GetChar
 FT_Stream_GetLong
 FT_Stream_GetLongLE
 FT_Stream_GetOffset
 FT_Stream_GetShort
 FT_Stream_GetShortLE
+FT_Stream_New
 FT_Stream_Open
 FT_Stream_OpenGzip
+FT_Stream_OpenLZW
 FT_Stream_OpenMemory
 FT_Stream_Pos
 FT_Stream_Read
@@ -174,23 +216,25 @@
 FT_Stroker_Done
 FT_Stroker_EndSubPath
 FT_Stroker_Export
+FT_Stroker_ExportBorder
+FT_Stroker_GetBorderCounts
 FT_Stroker_GetCounts
 FT_Stroker_LineTo
 FT_Stroker_New
 FT_Stroker_ParseOutline
+FT_Stroker_Rewind
 FT_Stroker_Set
 FT_Tan
+FT_Trace_Get_Count
+FT_Trace_Get_Name
 FT_Vector_From_Polar
 FT_Vector_Length
 FT_Vector_Polarize
 FT_Vector_Rotate
 FT_Vector_Transform
 FT_Vector_Unit
-FourByteSwap
-RepadBitmap
 TT_New_Context
 TT_RunIns
-TwoByteSwap
 _DYNAMIC
 _GLOBAL_OFFSET_TABLE_
 __bss_start
@@ -208,7 +252,6 @@
 cff_driver_class
 ft_autohinter_service
 ft_bitmap_glyph_class
-ft_char_table
 ft_debug_init
 ft_glyphslot_alloc_bitmap
 ft_glyphslot_free_bitmap
@@ -226,25 +269,13 @@
 ft_validator_error
 ft_validator_init
 ft_validator_run
-ftc_cache_clear
-ftc_cache_done
-ftc_cache_init
-ftc_cache_lookup
+ftc_basic_image_cache_class
+ftc_basic_image_family_class
+ftc_basic_sbit_cache_class
+ftc_basic_sbit_family_class
 ftc_cmap_cache_class
 ftc_face_list_class
-ftc_family_done
-ftc_family_init
-ftc_family_table_alloc
-ftc_family_table_free
-ftc_glyph_family_done
-ftc_glyph_family_init
-ftc_glyph_node_compare
-ftc_glyph_node_done
-ftc_glyph_node_init
-ftc_image_cache_class
 ftc_node_destroy
-ftc_node_done
-ftc_sbit_cache_class
 ftc_size_list_class
 gray_raster_render
 pcf_cmap_class

Versioned symbols for backward compatibility haven't been added.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list