Begin forwarded message:

From: Andrew Tween <[EMAIL PROTECTED]>
Date: August 1, 2008 3:12:47 PM CEDT
To: Stéphane Ducasse <[EMAIL PROTECTED]>
Subject: RE: About true type fonts

Hi Stef,

It is unlikely that I will be doing any more work on FreeType, but I believe the current version is complete enough to be useful.

I have created a Pharo image with everything installed.
You can find it here...
http://www.zen61439.zen.co.uk/ft_pharo/ft_pharo.zip

Included in that zip is the image + changes files, and any packages that have been installed.

You will see that there is a sar file , FreeType Plus Squeak Sans Font Pack.small.sar. This installs a ttf font (SqueakSans) as the list, code, menu font etc. I created the SqueakSans font from BitStream Vera Sans. The main reason for creating this was so that I could change the embedding flags to allow it to be legally embedded. (Bitstream Vera fonts have the flag set so that it can't be embedded, although I doubt anyone would really mind).

Having modified the flags, the Bitstream license states that the font must no longer be named 'Bitstream' or 'Vera', so I named it 'Squeak Sans'. The contents of those ttf files are embedded in the image, so it isn't necessary to distribute the font files with the image - FreeType loads the font from memory.

If you run the image, and you have all the required plugins installed, then you should see this...http://www.zen61439.zen.co.uk/ft_pharo/ft_pharo_both_plugins_installed.JPG

If the FT2Plugin is missing then you will see this ... 
http://www.zen61439.zen.co.uk/ft_pharo/ft_pharo_plugins_missing.JPG

If the FT2Plugin is present, but the modified BitBlt plugin is missing, then you should see this...http://www.zen61439.zen.co.uk/ft_pharo/ft_pharo_bitbltPlugin_missing.JPG

(in the last jpg , there is no subpixel anti aliasing, but the difference may not be noticable unless you magnify the images)

Also in the zip, is a sar file containing the plugins for Windows and Linux... FreeTypePluginInstaller3.sar When installed, the sar will attempt to copy the plugins to the correct location on disk.

The FTPlugin is now included in the Mac VM.
The modified BitBlt plugin (to enable subpixel anti-aliasing) for the Mac is available here...ftp://ftp.smalltalkconsulting.com/experimental/BitBltPlugin.v1.0.0b1.FreeTypePlus.bundle.zip

There should be enough info here to enable people to run the image and play around.

Please feel free to ask questions, and to forward this to the Pharo mailing list.

Cheers,
Andy


> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: About true type fonts
> Date: Mon, 28 Jul 2008 23:20:10 +0200
>
> Hi andy
>
> For pharo we are discussing about fonts and I wanted to know
> the status of the truetype support.
>
> stef


Make a mini you on Windows Live Messenger! Try it Now!

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to