From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Mon Oct 13 2003 - 13:00:11 EDT
> Yes. You're right. But how come instant print used
> to work on unix? I
> guess the findFont mechanism in the run classes
> created the new fonts as
> needed as the the runs were being drawn. If there
> some way we can do this
> for all platforms?
There are a few reasons:
1) Because both UnixFontHandles and PS_Fonts wrapped
the same XAP_UnixFont
2) But that only worked because we don't allocate
fonts at 300 DPI with Xft2, because Xft2 and
FontConfig's APIs are, well, misleading and/or broken
3) We can't make the assumption that #1 will be the
case, because on Win32, we really are using different
DCs and different resolutions
In short, it only worked because pieces of our code
and Xft2/Fontconfig are broken.
Dom
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
This archive was generated by hypermail 2.1.4 : Mon Oct 13 2003 - 13:16:47 EDT