[jira] [Updated] (FOP-3314) SVGUtil#formatMptArrayToPt doesn't actually convert milli-point to point
"Jonas Morrissey (Jira)" <[email protected]> Thu, 14 May 2026 15:58:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.fop.devel |
|---|---|
| Message-ID | <[email protected]> |
[ https://issues.apache.org/jira/browse/FOP-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonas Morrissey updated FOP-3314:
---------------------------------
Attachment: reproRed.fo
> SVGUtil#formatMptArrayToPt doesn't actually convert milli-point to point
> ------------------------------------------------------------------------
>
> Key: FOP-3314
> URL: https://issues.apache.org/jira/browse/FOP-3314
> Project: FOP
> Issue Type: Bug
> Components: renderer/svg
> Affects Versions: 2.11
> Reporter: Jonas Morrissey
> Priority: Minor
> Attachments: reproRed.fo
>
>
> SVGUtil#formatMptArrayToPt(int[]) is documented as formatting lengths in millipoints as point values, but the current implementation simply converts an int[] into a String[]:
> {code:java}
> public static String formatMptArrayToPt(int[] lengths) {
> return IFUtil.toString(lengths);
> } {code}
> without also dividing each entry by 1000.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)