[ https://issues.apache.org/jira/browse/FOP-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033182#comment-17033182 ]
Justus Piater commented on FOP-2591: ------------------------------------ Workaround until this fix is applied: [Register|https://xmlgraphics.apache.org/fop/2.1/fonts.html#register] the OTF fonts explicitly with fop. > [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 > Priority: Major > 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 (v8.3.4#803005)