A scan would be needed when the image is moved to a different platform (Linux
vs Win32, say). Just saying as I develop on Win for a Linux end-user
application. After making the deployment image it was neccessary to load on
Linux and save again to get the correct fonts. Might be different now in the
latest FreeType since TextStyles are no longer used...
Regards, Gary.
----- Original Message -----
From: Rob Rothwell
To: [email protected]
Sent: Monday, December 15, 2008 11:22 PM
Subject: Re: [Pharo-project] FreeType scanning Font folders
I just removed the #startup: method, and everything still works fine for
fonts ALREADY loaded...even the font selection dialog box. Maybe just a button
to rescan on demand?
Take care,
Rob
On Mon, Dec 15, 2008 at 3:31 PM, Stéphane Ducasse <[email protected]>
wrote:
would be nice indeed.
Stef
On Dec 15, 2008, at 4:02 PM, Marcus Denker wrote:
>
> On 14.12.2008, at 12:02, Hilaire Fernandes wrote:
>
>> Hello all,
>>
>> I am preparing a new istoa public release with latest Pharo. I am
>> only
>> using two fonts and I would like FreeType to only scan the Font
>> folder
>> along the .image.
>> Can someone point me where to look to prevent FreeType scanning the
>> host system folders at start up?
>>
>
> The font reading is done in FreeTypeFontProvider class>>startUp:
>
> I really don't like this font scanning... I wonder if we can delay
> that somehow.
> e.g. to the point where the font-chooser is actually opened?
>
> Marcus
>
>
> --
> Marcus Denker -- [email protected]
> http://www.iam.unibe.ch/~denker
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
------------------------------------------------------------------------------
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project