Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2591

[PATCH] OTTFile.readName() returns incorrect name

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0, 2.5, 2.1
    • None
    • font/opentype
    • None
    • linux

    Description

      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"

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            esclim Eric Lim

            Dates

              Created:
              Updated:

              Slack

                Issue deployment