DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=43835>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43835 Summary: [PATCH] Java2D FontSetup should use Font.getName() Product: Fop Version: 1.0dev Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: awt renderer AssignedTo: fop-dev@xmlgraphics.apache.org ReportedBy: [EMAIL PROTECTED] 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). -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.