freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] CUSTOM: How to remove ftfntfmt.c and ftlcdfil.c


From: duhuanpeng
Subject: [ft-devel] CUSTOM: How to remove ftfntfmt.c and ftlcdfil.c
Date: Mon, 5 Mar 2018 22:11:01 +0800

Hi,

I am custom my freetype. I followed INSTALL.ANY. 

Here is my ftmodule.h, only one line:
FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class )

And remove this macro in ftoption.h
-#define FT_CONFIG_OPTION_USE_ZLIB

And I encounter some errors:
.\Obj\STM3210E-LK.axf: Error: L6218E: Undefined symbol FT_Get_Font_Format 
(referred from ftbase.o).
.\Obj\STM3210E-LK.axf: Error: L6218E: Undefined symbol ft_lcd_padding (referred 
from ftbase.o).
.\Obj\STM3210E-LK.axf: Error: L6218E: Undefined symbol FT_Bitmap_Copy (referred 
from ftglyph.o).
.\Obj\STM3210E-LK.axf: Error: L6218E: Undefined symbol FT_Bitmap_Done (referred 
from ftglyph.o).
.\Obj\STM3210E-LK.axf: Error: L6218E: Undefined symbol FT_Bitmap_Init (referred 
from ftglyph.o).

And I try to add ftfntfmt.c and ftlcdfil.c, it gets ok. (enough for me, just 
waste some bytes)

Compile log...
https://paste.ubuntu.com/p/wPhBGqYbbp/

- - - -

I have try to remove ftfntfmt.c and ftlcdfil.c. and remove some macro in 
ftoption.h
-#define FT_CONFIG_OPTION_MAC_FONTS
But I still get compile errors like above.

How to remove this two files or it is needed?
I just need pcf and pcf.Z font be supported.

Regards,
duhuanpeng








reply via email to

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