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

[PATCH] NativeTextHandler should use FontInfo method to transform AWT font into Fop font

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: renderer/ps
    • Labels:
    • Environment:
      Operating System: All
      Platform: All
    • External issue ID:
      49302

      Description

      NativeTextHandler createFont(java.awt.Font) method should use FontInfo method to transform AWT font into Fop font instead of reinventing the wheel:
      FontInfo#getFontInstanceForAWTFont(java.awt.Font) does all the job required.

        Attachments

          Activity

            People

            • Assignee:
              fop-dev@xmlgraphics.apache.org fop-dev
              Reporter:
              julien.ayme@gmail.com Julien Aymé
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: