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

Multiple font family names, fallback fonts and font styles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • font/unqualified
    • None
    • Operating System: All
      Platform: All
    • 44451

    Description

      The attached patch fixes two problems:

      • If distinct fonts declare the same font family name, the resulting font
        mapping is currently arbitrary; now, a name-similarity heuristic is used to
        prioritize the font mappings.
      • "Medium" and "demi" fonts are now recognized as "bold", solving several
        real-world problems (although this solution may be an oversimplification).

      Attachments

        1. fonts.diff
          9 kB
          Justus Piater

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            justus-bulk@piater.name Justus Piater
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: