[jira] [Updated] (FOP-2591) OTTFile.readName() returns incorrect name
[ https://issues.apache.org/jira/browse/FOP-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Lim updated FOP-2591: -- Attachment: OTFFile.java possible fix. > 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)
[jira] [Updated] (FOP-2591) OTTFile.readName() returns incorrect name
[ https://issues.apache.org/jira/browse/FOP-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Lim updated FOP-2591: -- Attachment: OTFFile.java.patch > 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, OTFFile.java.patch > > > 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)