Fop
  1. Fop
  2. FOP-1806

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

    Details

    • Type: Bug 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.

        Activity

        Hide
        Julien Aymé added a comment -

        Attachment NativeTextHandler.diff has been added with description: The proposed patch

        Show
        Julien Aymé added a comment - Attachment NativeTextHandler.diff has been added with description: The proposed patch
        Hide
        Glenn Adams added a comment -

        resetting P2 open bugs to P3 pending further review

        Show
        Glenn Adams added a comment - resetting P2 open bugs to P3 pending further review
        Show
        Glenn Adams added a comment - http://svn.apache.org/viewvc?view=revision&revision=1310672

          People

          • Assignee:
            fop-dev
            Reporter:
            Julien Aymé
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development