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

Multiple font family names, fallback fonts and font styles

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: font/unqualified
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: