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

[PATCH] Cannot resolve fonts from custom URI schemes

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.1, 2.2
    • None
    • None
    • None
    • Patch

    Description

      I attach two patches (one for xmlgraphics-commons and one for fop) that allow fonts to be resolved from custom URI schemes. Previously this only worked if you disabled font caching, because the font cache tries to get the last modified date using java.io.File, which will fail for fonts that are resolved from locations other than the filesystem. The fix is relatively trivial, basically the UriResolver needs to also be able to resolve the last modified date of the resource or return -1 if it is not possible.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            adamretter adam Retter

            Dates

              Created:
              Updated:

              Slack

                Issue deployment