freefont-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freefont-bugs] OS/2 tables


From: Primoz PETERLIN
Subject: [Freefont-bugs] OS/2 tables
Date: Tue, 6 May 2003 16:01:18 +0200 (METDST)

-----BEGIN PGP SIGNED MESSAGE-----

Hello,

A couple of days ago I've received a bug report from a user claiming that
Internet Explorer in Windows does not offer him FreeMono among monospaced
Greek fonts even though he has properly installed it onto his system. He
asked for help James Kass, and he claimed that our fonts have incorrect
OS/2 tables (either UnicodeRange or CodePageRange - he didn't specify
which one, and I don't know which one IE uses, either).

Now, using George Williams' showttf utility, I can write out the OS/2
UnicodeRange tables:

FreeMono.ttf             UnicodeRange=e0000eff 500078fb 00048020 00000000
FreeMonoBold.ttf         UnicodeRange=a0000aff 500078fb 00000000 00000000
FreeMonoBoldOblique.ttf  UnicodeRange=80000abf 5000607b 00000000 00000000
FreeMonoOblique.ttf      UnicodeRange=80000eff 5000607b 00000000 00000000
FreeSans.ttf             UnicodeRange=805f8eff 500720fb 000002a0 00000000
FreeSansBold.ttf         UnicodeRange=80002aaf 5000204a 00000008 00000000
FreeSansBoldOblique.ttf  UnicodeRange=80000aaf 5000204a 00000000 00000000
FreeSansOblique.ttf      UnicodeRange=80000eaf 5000204a 00000000 00000000
FreeSerif.ttf            UnicodeRange=e1338aff 5007fdff 00000920 00000000
FreeSerifBold.ttf        UnicodeRange=e0002aff 5006204a 00000000 00000000
FreeSerifBoldItalic.ttf  UnicodeRange=e0000aff 5000204a 00000000 00000000
FreeSerifItalic.ttf      UnicodeRange=e1000aff 5000204a 00000000 00000000

If my interpretation is correct, the value e0000eff in the first line
(FreeMono) thus means that bits 0-7, 9-11, and 29-31 are set, and that the
font (at least partly) covers Basic Latin, Latin-1 Supplement, Latin
Extended-A, Latin Extended-B, IPA Extensions, Spacing Modifier Letters,
Combining Diacritical Marks, Basic Greek, Cyrillic, Armenian, Basic
Hebrew, Latin Extended Additional, Greek Extended and General Punctuation
ranges? This seems correct to me.

What could then be the reason that Internet Explorer doesn't offer
FreeMono as a Greek font? The CodePageRange table for FreeMono reads
"800000bf 00000000", which I interpret as covering Latin 1, Latin 2,
Cyrillic, Greek, Turkish, Hebrew, Windows Baltic and Symbol Character Set
pages. This also seems correct to me. The only possible explanation I can
see is the big-endian/little-endian problem.

Can somebody confirm the problem with the fonts, as I don't have IE (or
Windows, for that matter) at hand.

With kind regards, Primoz

- --
Primož Peterlin,   Inštitut za biofiziko, Med. fakulteta, Univerza v Ljubljani
Lipičeva 2, SI-1000 Ljubljana, Slovenija.  address@hidden
Tel +386-1-5437632, fax +386-1-4315127,  http://biofiz.mf.uni-lj.si/~peterlin/
F8021D69 OpenPGP fingerprint: CB 6F F1 EE D9 67 E0 2F  0B 59 AF 0D 79 56 19 0F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (HP-UX)
Comment: For info see http://www.gnupg.org

iQB1AwUBPrfAMz3bcxr4Ah1pAQFQhQL/fUWxkm3uBMBE4fKVEWgBZuepFIwSaQ/n
3JmE3YYXN17jV6btK92tRqX4mnBRaTeBa9wI2CHOOJ9Onr1yonjW2PDTl5L4TXfn
Q3MJgSfbFH/euW2Y9gNoqnwPN60KP9RE
=IS0a
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]