[jira] [Created] (FOP-3314) SVGUtil#formatMptArrayToPt doesn't actually convert milli-point to point

"Jonas Morrissey (Jira)" <[email protected]> Thu, 14 May 2026 07:49:00 +0000 (UTC)
Newsgroups gmane.text.xml.fop.devel
Message-ID <[email protected]>
Jonas Morrissey created FOP-3314:
------------------------------------

             Summary: 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


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)