Mapping between Wingdings/Symbol characters and their Unicode equivalents

MsWord uses Wingdings and Symbol characters for bullets, by default their hex values are F0A7 and F0B7. I want to convert the bullets to their Unicode equivalents. Of course, it depends on the actual font used, so F0A7 Wingding would become Unicode 25AA (●). I've found a partial mapping from Wingdings to Unicode and from Symbol to Unicode. Is there a general a library (preferably in Java) or database for these mappings?



Such information is embedded in the .ttf file itself - I'm not sure how to access it in java.

AFAIK java.awt.Font only supports unicode - Apache PdfBox may have classes/methods for your needs (it has a ttf parser, if I remember)

链接地址: http://www.djcxy.com/p/47058.html

上一篇: 在使用scala actors时应该如何处理阻塞操作?

下一篇: Wingdings / Symbol字符与它们的Unicode等价物之间的映射