[squeak-dev] Re: How to compile FreeType Plugin (FT2Plugin)?

Bert Freudenberg bert at freudenbergs.de
Fri Mar 14 09:48:52 UTC 2008

On Mar 13, 2008, at 23:28 , Takashi Yamamiya wrote:

> Hi John, Andy,
> Great! Now I could build it smoothly.
> What I did is to load:
> - FreeTypeBitBltSimulation.1.cs
> - Freetype-Base-tween.71
> - Freetype-Plugin-JMM.53
> and edit platforms/unix/plugins/FT2Plugin/Makefile.inc like:
> XCPPFLAGS=      $$(freetype-config --cflags) $$(freetype-config -- 
> cflags)/freetype
> XLDFLAGS=       $$(freetype-config --libs)

That's not the right way to do it. Instead, you should use an autoconf  
macro like the DBusPlugin does. The package name is freetype2. Also,  
why does the "freetype" subdirectory have to be listed explicitly?

> It shows fonts very beautifully, and
> FreeTypeSettings current clearBitBltSubPixelAvailable;  
> bitBltSubPixelAvailable
> answered true.

OTOH the OLPC XO's unique display has no sub-pixels, so we do not  
actually want sub-pixel rendering. It's good to include nonetheless,  
but we need to make sure not to accidentally enable it when running on  
the XO, or if display scaling is enabled.

- Bert -

More information about the Squeak-dev mailing list