For Sophie I took the tactic of recording the details of the font  
files that were loaded, on restart we just would re-read the directory  
(a fast process)
then compare the remembered files against the cached list. If there  
was a difference we would just resolve which were added, changed or  
deleted
and update our list.

On 15-Dec-08, at 8:38 PM, Rob Rothwell wrote:

> Here is a change set that adds an "Update" button to the font list  
> dialog.  I have never created a change set before, or submitted  
> anything for that matter.  I used my full name (not initials), but  
> don't know if I am supposed to do anything else.
>
> I like not re-scanning unless you need to, but I bet it might break  
> if the Fonts have NEVER been loaded...I'll have to think about how  
> to test that.
>
> You still need to remove FreeTypeFontProvider from the startup list  
> as well...
>
> Take care,
>
> Rob
>
> On Mon, Dec 15, 2008 at 10:02 AM, Marcus Denker  
> <[email protected]> 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
>
> <FontChooserUpdateButton. 
> 1.cs>_______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
= 
= 
= 
========================================================================
John M. McIntosh <[email protected]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
= 
= 
= 
========================================================================




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

Reply via email to