Mitch Gaffigan created FOP-3205:
-----------------------------------
Summary: Add support for scaling-mode="integer-pixels"
Key: FOP-3205
URL: https://issues.apache.org/jira/browse/FOP-3205
Project: FOP
Issue Type: New Feature
Components: fo/inline
Affects Versions: main
Reporter: Mitch Gaffigan
Fix For: 2.9
Attachments: 0001-integer-pixels.patch
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)