Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Text to link miscalculation
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Text to link miscalculation

 Post Reply Post Reply
Author
rjplummer View Drop Down
New Member
New Member


Joined: 15 Sep 2016
Points: 1
Post Options Post Options   Quote rjplummer Quote  Post ReplyReply Direct Link To This Post Topic: Text to link miscalculation
    Posted: 15 Sep 2016 at 11:42pm
I have code that creates a link with a box calculated from text position. 
It uses the Matrix2D class, based on the example code in Adobe's JavaScript Reference (and reproduced many other places).

It works fine almost always, but I've come across a document where, on certain pages, the box is offset approx 15 pts up and to the left from where it's supposed to be. I've used the straight Adobe code (that uses a single word) and get the same behavior. I thought it might be the Crop Box or one of the other boxes that was causing the translation but none of those values was different from pages that worked correctly.

Anybody know what's going on?
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.09
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.031 seconds.