Hi all,

org.apache.fop.pdf.PDFGoTo currently has the following position

    public void setYPosition(float yPosition) {
        this.yPosition = yPosition;

    public void setXPosition(int xPosition) {
        this.xPosition = (xPosition / 1000f);

This seems a little inconsistent to me.

setYPosition is called from the PDFRenderer, setXPosition isn't called
from anywhere at all in the FOP sources.

Since PDFGoTo.java is included in my upcoming basic-links patch
proposal anyway, shall I make setXPosition consistent with
setYPosition (accepting float, no division by 1000)?

Kind regards,
Paul Vinkenoog

Reply via email to