what is the status of the font rendering

sig siguctua at gmail.com
Sat Apr 21 16:24:51 UTC 2007


I think it would be better to "hardcode" a small window for
configuring font paths to let user specify them.. And keep paths list
in class var and don't care about guessing.  ;)

On 21/04/07, Andrew Tween <amtween at hotmail.com> wrote:
> Hi Stef,
> > Andrew did you look at sophie? because I had the impression that they
> > build a lot for font location....
>
> Thanks for the heads-up. Yes, I did.
>
> The approach I am taking with Windows is to use FFI to get the system fonts
> folder path if FFI is present, otherwise to guess it.
>
> For Linux, the font folder paths are hardcoded.
>
> For Mac OS X, I will either hardcode the system font paths, ( and ignore the
> user font folder for now); or make FFI a prerequisite, and get all the folder
> paths through FFI. (It will probably be the first approach, which will enable
> people to use it sooner. And then I'll migrate the FFI stuff over from Sophie
> later).
>
> The windows method is "close enough for jazz", although it should really be
> going to the Windows Registry to find all the installed fonts, since they don't
> have to be installed in the system Fonts folder.
>
> Cheers,
> Andy
>
> >
> > Stef
>
>
>



More information about the Squeak-dev mailing list