[ https://issues.apache.org/jira/browse/FOP-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Bowditch closed FOP-2936. ------------------------------- Resolution: Duplicate > [PATCH] Font-Family name is case sensitive. > ------------------------------------------- > > Key: FOP-2936 > URL: https://issues.apache.org/jira/browse/FOP-2936 > Project: FOP > Issue Type: Bug > Affects Versions: 2.4 > Reporter: Sanjitha Srinivasan > Priority: Major > Attachments: case-sensitivity.patch > > > This patch attempts to fix the following defect - > https://issues.apache.org/jira/browse/FOP-2573 > FOP performs its font registration and lookup using a HashMap whose key is > the FontTriplet object - a string combination of the font family, font style > and font weight. Therefore, 'Courier' and 'courier' and 'COURIER' are treated > as different fonts. > The change made to address this was to convert all font family names to lower > case while creating the FontTriplet object. -- This message was sent by Atlassian Jira (v8.3.4#803005)