Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.5
-
None
-
None
-
Operating System: other
Platform: Other
-
43835
Description
The latest (revision version of org.apache.fop.render.java2d.FontSetup uses
java.awt.Font.getFontName() to obtain the detected font name and parses it to
register an appropriate FontTriplet. The problem is that getFontName() returns
the font name in the system's default locale, which can be different that
English and than the name parsing fails. Attaching patch which uses
Font.getName(), tested on Windows XP. Another possibility would be to use
Font.getFontName(Locale.ENGLISH).