freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] improve symbol export on non-Windows platforms


From: Werner LEMBERG
Subject: [ft-devel] improve symbol export on non-Windows platforms
Date: Sun, 01 May 2016 22:26:58 +0200 (CEST)

Folks,


I want to apply the following patch


--- a/builds/unix/unix-cc.in
+++ b/builds/unix/unix-cc.in
@@ -109,6 +109,6 @@
 LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
                           -rpath $(libdir) -version-info $(version_info) \
                           $(LDFLAGS) -no-undefined \
-                          # -export-symbols $(EXPORTS_LIST)
+                          -export-symbols $(EXPORTS_LIST)
 
 # EOF


This was commented about 10 years ago – I think the reason then to
disable libtool's `-export-symbols' option was to give some badly
programmed applications access to internal FreeType functions.

I believe that we should no longer take care of such programs; the
number of symbols exported should be rather restricted as much as
possible (see list of skipped symbols below).

Any objections?


    Werner


======================================================================


af_shaper_buf_create
af_shaper_buf_destroy
af_shaper_get_cluster
af_shaper_get_coverage
af_shaper_get_elem
_fini
FT_CMap_Done
FT_CMap_New
ft_corner_is_flat
ft_corner_orientation
ft_debug_init
FT_Done_GlyphSlot
FT_Done_Memory
FT_Get_Module_Interface
FT_GlyphLoader_Add
FT_GlyphLoader_CheckPoints
FT_GlyphLoader_CheckSubGlyphs
FT_GlyphLoader_CopyPoints
FT_GlyphLoader_CreateExtra
FT_GlyphLoader_Done
FT_GlyphLoader_New
FT_GlyphLoader_Prepare
FT_GlyphLoader_Reset
FT_GlyphLoader_Rewind
ft_glyphslot_alloc_bitmap
ft_glyphslot_free_bitmap
ft_glyphslot_set_bitmap
ft_hash_num_init
ft_hash_num_insert
ft_hash_num_lookup
ft_hash_str_free
ft_hash_str_init
ft_hash_str_insert
ft_hash_str_lookup
FT_Hypot
FT_Lookup_Renderer
ft_lzwstate_done
ft_lzwstate_init
ft_lzwstate_io
ft_lzwstate_reset
FT_Match_Size
FT_Matrix_Multiply_Scaled
ft_mem_alloc
ft_mem_dup
ft_mem_free
ft_mem_qalloc
ft_mem_qrealloc
ft_mem_realloc
ft_mem_strcpyn
ft_mem_strdup
ft_module_get_service
FT_MulDiv_No_Round
FT_New_GlyphSlot
FT_New_Memory
FT_Raccess_Get_DataOffsets
FT_Raccess_Get_HeaderInfo
FT_Raccess_Guess
FT_Render_Glyph_Internal
FT_Request_Metrics
FT_Select_Metrics
ft_service_list_lookup
FT_Stream_Close
FT_Stream_EnterFrame
FT_Stream_ExitFrame
FT_Stream_ExtractFrame
FT_Stream_Free
FT_Stream_GetChar
FT_Stream_GetULong
FT_Stream_GetULongLE
FT_Stream_GetUOffset
FT_Stream_GetUShort
FT_Stream_GetUShortLE
FT_Stream_New
FT_Stream_Open
FT_Stream_OpenMemory
FT_Stream_Pos
FT_Stream_Read
FT_Stream_ReadAt
FT_Stream_ReadChar
FT_Stream_ReadFields
FT_Stream_ReadULong
FT_Stream_ReadULongLE
FT_Stream_ReadUOffset
FT_Stream_ReadUShort
FT_Stream_ReadUShortLE
FT_Stream_ReleaseFrame
FT_Stream_Seek
FT_Stream_Skip
FT_Stream_TryRead
ft_synthesize_vertical_metrics
FT_Trace_Get_Count
FT_Trace_Get_Name
ft_validator_error
ft_validator_init
ft_validator_run
FT_Vector_NormLen
FT_Vector_Transform_Scaled
_init
ps_hints_apply

reply via email to

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