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

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

    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

        1. 0001-integer-pixels.patch
          17 kB
          Mitch Gaffigan

        Activity

          People

            Unassigned Unassigned
            mgaffigan Mitch Gaffigan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: