[jira] [Commented] (FOP-3314) SVGUtil#formatMptArrayToPt doesn't actually convert milli-point to point
"Simon Steiner (Jira)" <[email protected]> Thu, 14 May 2026 08:14: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:comment-tabpanel&focusedCommentId=18080821#comment-18080821 ]
Simon Steiner commented on FOP-3314:
------------------------------------
Can you give replication steps using a fo file
> 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
>
> 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)