François Xavier Gendrin wrote:
Henk Jan Priester a écrit :
François Xavier Gendrin wrote:
Hi,

Anyone have already try to remove all unnecessary freetype code for
following action :
- read a ttf font file
- read a glyph
- read the glyph bitmap array

Note : I already remove modules from Jam file, and I'm trying to
delete all function from .c file, but it is long ...

You can edit 'modules.cfg' and disable the modules/extensions
and recompile the lib.
For example if you only want to read ttf fonts you
can disable type1/type42/bdf etc.
I already do it in Jamfile
The only thing that I didn't yet change is cc compilation optimisation
size, but I don't know where to set it in Jamfile

I don't use the Jamfile but maybe when using 'CCFLAGS=-Os' it
will result in a bit smaller lib. Also you can strip your
executable using the strip command.

Anyway your library is already less in size then 2.3.7 compiled
with all modules on Linux/i386 (550kb).

Henk Jan



Best regards,



_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to