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

Add support for scaling-mode="integer-pixels"

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

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.10
    • 2.9
    • fo/inline
    • None
    • Patch

    Description

      Hello all!

      I'm hoping to upstream a patch we've been using for a decade or so to support `scaling-mode="integer-pixels"` on `external-graphic`.  It's attached and available at https://github.com/mgaffigan/xmlgraphics-fop/tree/fop-2_9-integer_pixel

      We use it primarily to render barcodes at low resolutions (e.g.: 200 dpi) with the tiff renderer.  This patch allows a bitmap to fit to the pixel grid.  It works, but does not significantly benefit pdf and other vector renderers.

      Please let me know if there is a step I missed - this is a first issue.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            mgaffigan Mitch Gaffigan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment