[HarfBuzz] reduce size of executable

Behdad Esfahbod behdad at behdad.org
Thu Aug 29 08:46:31 PDT 2013


On 13-08-29 09:19 AM, mahavishnu wrote:
> I am using harfbuzz and freetype alone to render a bitmap,after linking all 
> the libraries statically i got 9.6MB size executable file.now i am thinking of 
> moving further by removing the unused funtions from the source to reduce the 
> executable size.Am i working in a right way?guide me.

There's a lot you can reduce without removing unused functions.  Perhaps you
can tell us about your platform?  Looks like you have debugging symbols in
your executable.  Have you tried stripping?  If you do that, HarfBuzz and
FreeType will be at most around 500kb each.

-- 
behdad
http://behdad.org/



More information about the HarfBuzz mailing list