Hi Damien,

"Damien Cassou" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
It's cool to have a prepared image to test. However, we need a
repeatable process. Can Andrew package this?

Copy these files (included in http://www.zen61439.zen.co.uk/ft_pharo/ft_pharo.zip ) to the default directory...

   PinesoftEnhancementsForFreetype-tween.3.mcz
   FreeType-tween.435.mcz
   FreeType Plus Squeak Sans Font Pack.small.sar
   FreeTypeSubPixelAntiAliasing-tween.13.mcz

and then filein the attached script (contents shown below)..

| repository |
repository := MCDirectoryRepository new.
MCVersionLoader new
addVersion: (repository loadVersionFromFileNamed: 'PinesoftEnhancementsForFreetype-tween.3.mcz');
load.
MCVersionLoader new
addVersion: (repository loadVersionFromFileNamed: 'FreeType-tween.435.mcz');
load.
SARInstaller installSAR:  'FreeType Plus Squeak Sans Font Pack.small.sar'.
MCVersionLoader new
addVersion: (repository loadVersionFromFileNamed: 'FreeTypeSubPixelAntiAliasing-tween.13.mcz');
load.
!

Cheers,
Andy


On Fri, Aug 1, 2008 at 4:43 PM, Stéphane Ducasse
<[EMAIL PROTECTED]> wrote:


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





--
Damien Cassou
Peter von der Ahé: «I'm beginning to see why Gilad wished us good
luck». (http://blogs.sun.com/ahe/entry/override_snafu)



--------------------------------------------------------------------------------


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

Attachment: installFreeType.st
Description: Binary data

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

Reply via email to