[EMAIL PROTECTED] wrote: > > > On Thu, 7 Feb 2002 [EMAIL PROTECTED] wrote: > > > > > > > > Could you have a look at MS's webfonts that support iso8859-8 (times > > new roman, > <snip> > > Quoting Tzafrir Cohen <[EMAIL PROTECTED]>: > > http://microsoft.com/typography/ > > > > Those fonts are indeed very good. The only problem with them is that they > > are not freely distrebutable: You can't put them on a linux distro. > > You have to install them yourself, and make all sorts of settings. > > I meant that Eli Marmor should look at the encoding to figure out how MS made > the fonts work on both Windoze and Linux. Opening the fonts in a font program > (which I don't own) should reveal certain things.
I see that a short summary is needed: Thanks to a working font that Yedidya pointed me at (a font from IBM), I found the cause of the problem. As expected, it doesn't have anything to do with 8859-8/8859-1, but with an internal DICT attribute of Type1, called "Encoding", which usually contains a table with 256 definitions for the names of all the characters of the font. In the beginning, I used a built-in definition of Type1, called "StandardEncoding". Later, after having some X implementations that didn't support it, I looked at the sources of X, and moved to a standard where Alef, for example, is called "agrave", etc. This was supported by most of the implementations, while some still required the "StandardEncoding". Sometime recently (probably during the migration from XFree86 3 to 4.0), both of the tables stopped to work with some Linux distros. That IBM's font helped me to find a yet another table, which is needed for new Linux distros, where Alef (for example) is called "afii57664" (yuck). Unfortunately, this doesn't work with most of the other implementations, so I'll have to support 3 different sets simultaneously. As to the MS fonts: not only that this table is not included in them, they have a different format at all: TrueType. So no help can come from them to find the problem (which was already found, anyway). It's ironic that TrueType fonts work better. The reason is simple: The fonts are so different, so the X renderrers must be much more "forgiving", contrary to the case with Type1 fonts... -- Eli Marmor [EMAIL PROTECTED] CTO, Founder Netmask (El-Mar) Internet Technologies Ltd. __________________________________________________________ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]