[ANN] FreeType+Subpixel anti-aliasing Update

Andrew Tween amtween at hotmail.com
Mon Aug 14 10:52:16 UTC 2006


LOL.
I was thnking about one-armed bandits/slot machines.
"Three-cherries-in-a-row" meaning to get things in sync, etc.
Went to bed late, got up early.
Need more coffee.

All the source is in the zip. So all you need to do is build a vm with the
modified FT2Plugin, and BitBlt plugins.
In the zip is ./vmMakerImages/Squeak3.9g-7054.vmMaker.image, which is the image
from which I built the vm/plugins. It includes the bitBlt mods, and the
FT2Plugin code etc.
I used revision 1513 of the vm source from http://squeakvm.org/svn/squeak/trunk

To build the vm+plugins on Windows, I did the following.

Get FreeType2.2.1 source, ft221.zip, from here...
http://download.savannah.gnu.org/releases/freetype/

Get ftJam for win32 from here...
http://prdownloads.sourceforge.net/freetype/ftjam-2.5.2-win32.zip?download

Get gnutools for win32 from here...
http://www.squeakvm.org/win32/release/Squeak-Win32-Tools-1.2.zip

Use jam with JAM_TOOLSET=MINGW setting to compile a freetype.a lib (I needed to
fiddle with makefiles to get it to build without error, but I can't remember
exactly what I did).

create a /platforms/win32/plugins/FT2Plugin folder in the vm source, and copy
this lot into it...

    freetype.a
    ft2build.h   (from ft221/freetype-2.2.1/include)
    freetype    (folder from ft221/freetype-2.2.1/include)

modify /platforms/Makefile.mingw32 so that the FT2Plugin links with freetype.a.
I also removed the -Werror-implicit-function-declaration compiler flag which
caused the build to fail. (there is a patch for this in my
zip -./squeakvm_patch/patchForBuildWithFT2Plugin.patch)

generate the vm source with bitBlt & FT2Plugin external.
run the platforms/win32/build.bat

Cheers,
Andy

----- Original Message ----- 
From: "stéphane ducasse" <ducasse at iam.unibe.ch>
To: "The general-purpose Squeak developers list"
<squeak-dev at lists.squeakfoundation.org>
Sent: Monday, August 14, 2006 11:16 AM
Subject: Re: [ANN] FreeType+Subpixel anti-aliasing Update



On 14 août 06, at 11:23, Andrew Tween wrote:

> Hi Stef,
> Thanks.
>
> I have hit a language barrier....
> self doesNotUnderstand: 'What should be done to get that one fruit
> machines :)'

on fruit machines

on apple :)






More information about the Squeak-dev mailing list