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

[PATCH] Support Fonts in JAR files

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: font/unqualified
    • Labels:
      None
    • Environment:
      Operating System: Mac OS X 10.4
      Platform: Macintosh
    • External issue ID:
      42982

      Description

      Please also note XGC-6
      which contains the part to be applied to xmlgraphics-commons.

      This
      patch will come in two steps:
      Step 1: Replaces Font autoconfiguration to use URL instead
      of Font. This patch is independent from the xmlgraphics-commons part and could (theoretically)
      be applied before the 0.94 release.
      Step 2: Will use the resource support from xmlgraphics,
      and will therefore have to be delayed until after the release. (I estimate it to be only
      4 lines, however).

        Activity

        Hide
        gadams Glenn Adams added a comment -

        batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed

        Show
        gadams Glenn Adams added a comment - batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed
        Hide
        dev@cumiskey.com Adrian Cumiskey added a comment -

        Patch applied, good work Max!

        Adrian.

        Show
        dev@cumiskey.com Adrian Cumiskey added a comment - Patch applied, good work Max! Adrian.
        Hide
        max@berger.name Max Berger added a comment -

        Please note:

        • This patch needs testing! The automatic tests ran fine on my
          machine, but there may be more subtle hiden bugs. I can only test on OS X and
          Linux, and would need someone to test this on Windows.
        • FontLoader#loadFont()
          was also kept in the old (File) style, as it looks to me to be part of the
          public API. The old version may safely be deleted if it was not part of the
          public API.
        Show
        max@berger.name Max Berger added a comment - Please note: This patch needs testing! The automatic tests ran fine on my machine, but there may be more subtle hiden bugs. I can only test on OS X and Linux, and would need someone to test this on Windows. FontLoader#loadFont() was also kept in the old (File) style, as it looks to me to be part of the public API. The old version may safely be deleted if it was not part of the public API.
        Hide
        max@berger.name Max Berger added a comment -

        Attachment fontFileToURI.patch has been added with description: Replaces font autodetection to use URI instead of File

        Show
        max@berger.name Max Berger added a comment - Attachment fontFileToURI.patch has been added with description: Replaces font autodetection to use URI instead of File

          People

          • Assignee:
            fop-dev@xmlgraphics.apache.org fop-dev
            Reporter:
            max@berger.name Max Berger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development