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

[PATCH] OTTFile.readName() returns incorrect name

    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

        1. OTFFile.java.patch
          0.9 kB
          Eric Lim
        2. OTFFile.java
          6 kB
          Eric Lim

        Activity

          People

            Unassigned Unassigned
            esclim Eric Lim
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: