[
https://issues.apache.org/jira/browse/FOP-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201706#comment-15201706
]
Chris Bowditch commented on FOP-2591:
-------------------------------------
Hi Eric,
Thanks for your contribution. Can you attach a patch instead of a Java File.
Thanks,
Chris
> OTTFile.readName() returns incorrect name
> -----------------------------------------
>
> Key: FOP-2591
> URL: https://issues.apache.org/jira/browse/FOP-2591
> Project: FOP
> Issue Type: Bug
> Components: font/opentype
> Affects Versions: 2.0, trunk, 2.1
> Environment: linux
> Reporter: Eric Lim
> Attachments: OTFFile.java
>
>
> OTTFile.readName() returns the "FamilyName", not the "FullName". This issue
> causes auto-detect font feature to select the wrong font.
> For example, if I select "FreeSerif", FOP may choose
> /usr/share/fonts/opentype/freefont/FreeSerifItalic.otf
> because the triplet for the above font file is "FreeSerif,normal,400"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)