Sanjitha Srinivasan created FOP-2936:
----------------------------------------

             Summary: [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
         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)

Reply via email to