xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bowditch (Jira)" <j...@apache.org>
Subject [jira] [Closed] (FOP-2936) [PATCH] Font-Family name is case sensitive.
Date Fri, 15 May 2020 14:53:00 GMT

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

Mime
View raw message