New Forum | Previous | Next | (P-PDF) Acrobat 6.0
Topic: Confusing coordinate values
Conf: (P-PDF) Acrobat 6.0, Msg: 137826
From: j_lalith
Date: 8/12/2005 02:54 PM
Hi,
I wrote a program to track how the path construction works (rectangles, etc),
I observed the tokens as follows and printed (using PDFBox).
Pdpage.getContents().getStream().getStreamTokens().iterator();
......
......
I analyzed each and every token and observed the following sequence of operator pattern(only the operators are listed below) with necessary coordinate values
m, l, l, l, f*,Q,q,cm,rg
I opened the PDF using a different viewer (jpedal) which gives the universal coordinates,
The problem I have is the coordinate values which I get from the stream along with the operators
does not seems to be correct with the one I got from the other viewer program which gives the universal coordinates.
In order to achieve the universal coordinates what should I do.
Thanks,