what is the status of the font rendering

Andrew Tween amtween at hotmail.com
Sat Apr 21 16:02:27 UTC 2007


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