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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.5
    • None
    • renderer/ps
    • Operating System: All
      Platform: All
    • 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

        1. NativeTextHandler.diff
          1.0 kB
          Julien Aymé

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: