On 4/8/07, David Powell <[EMAIL PROTECTED]> wrote: > I have a list of words and the coordinates (i.e. llx,lly, urx, ury) of the > position of each word in the PDF. The coordinate values are specified at a > resolution of 1200 PPI. I converted the coordinate values to PDF default > resolution of 72 PPI using the formula: convertedValue72ppi = (72/1200) * > coordinateValue1200ppi.
Are you doing integer math instead of floating point math (so 72/1200 == 0)? Brian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/