If FFI is present, then FreeTypeFontProvider gets the windows font folder path with an API call.
see FreeTypeFontProvider>>getWindowsFontFolderPath
If FFI is not present, then FreeTypeFontProvider>>guessWindowsFontFolderPath is executed, which attempts to guess the fonts folder location.
To do this it checks to see if c:\windows\fonts, d:\windows\fonts, e:\windows\fonts, etc. exist.
Now, here is the curious thing...
On my Vista computer, the D: drive is a DVD drive.
If I boot Vista with no disk in D: and evaluate the following in a workspace...
(FileDirectory on: 'd:\windows\fonts') exists
then it answers false without prompting me to insert a disk.
But, if I put a disk in the D: drive, look at its contents in Windows Explorer, then remove the disk and close the drive door; and evaluate the same expression... Now Windows prompts me to insert a disk into D:.
If I cancel the Windows prompt, then the expression again answers false.
Cheers,
Andy
.
> From: stephane.ducasse@inria.fr
> To: pharo-project@lists.gforge.inria.fr
> Subject: Re: [Pharo-project] New pharo-dev based on 10178
> Date: Fri, 28 Nov 2008 08:07:52 +0100
>
>
> On Nov 28, 2008, at 12:44 AM, Igor Stasenko wrote:
>
> > 2008/11/27 Damien Cassou <damien.cassou@gmail.com>:
> >> https://gforge.inria.fr/frs/download.php/11845/pharo0.1-10178dev08.11.7.zip
> >>
> >
> > Funny thing. When i start this image on windowz, it asks me 2 times to
> > insert a disc in a drive, before showing a main window.
> > Have any idea what may cause such idiocy? :)
>
> windows :)
>
> Stef
>
> >
> >
> >> --
> >> Damien Cassou
> >> http://damiencassou.seasidehosting.st
> >>
> >> _______________________________________________
> >> Pharo-project mailing list
> >> Pharo-project@lists.gforge.inria.fr
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >>
> >
> >
> >
> > --
> > Best regards,
> > Igor Stasenko AKA sig.
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project@lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Read amazing stories to your kids on Messenger Try it Now!