![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I have a collection of Traditional Chinese Truetype fonts, but they only have a BIG5 and not a Unicode-to-glyph mapping. I discovered though that in Windows XP, you can add the conversion table for CP950, make Windows display Chinese in menus, and then force it to install BIG5 fonts.
But then I found that the character 十 ("ten") does not display correctly. Examining the BIG5-to-Unicode mapping table revealed the problem: there's a conflict between the Hangzhou Numeral Ten (BIG5 0xA2CC) and the normal character for ten (BIG5 0xA451).
So I used TTX to dump the CMAP table, alter 0xA2CC to point to the same glyph as 0xA451, and merged the table back into the font. Voila, the font now displays correctly.
But you'd think that if Microsoft were smart and erred on the side of caution, they would have defaulted to using the normal glyph for 十 in Unicode (0x5341). Alas.
But then I found that the character 十 ("ten") does not display correctly. Examining the BIG5-to-Unicode mapping table revealed the problem: there's a conflict between the Hangzhou Numeral Ten (BIG5 0xA2CC) and the normal character for ten (BIG5 0xA451).
So I used TTX to dump the CMAP table, alter 0xA2CC to point to the same glyph as 0xA451, and merged the table back into the font. Voila, the font now displays correctly.
But you'd think that if Microsoft were smart and erred on the side of caution, they would have defaulted to using the normal glyph for 十 in Unicode (0x5341). Alas.
no subject
Date: 2004-03-13 02:29 pm (UTC)