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?
views:
149answers:
1
+2
A:
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)
giorgiga
2010-08-25 09:33:47
Adam Schmideg
2010-08-25 18:44:11