swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Pdf2Swf: getTextRunInfo() problem


From: Igor Sadovskiy
Subject: [Swftools-common] Pdf2Swf: getTextRunInfo() problem
Date: Tue, 19 Feb 2008 22:50:52 +0200

Hello.
 
We are using Pdf2Swf tool to convert PDF documents into SWF files and incorporate it into our Flash application. We are embedding fonts into generated SWF files (using -f option) and then trying to obtain the bounds of the single letters from the our application using textSnapshot.getTextRunInfo() MovieClip API method.
 
I can obtain the proper character's height from the returned result (using corner1y and corner3y properties). However I can't calculate the character's width since corner1x and corner3x properties contains incorrect values (Math.abs(corner1x - corner3x) is always lower than 1 for any character I tried). I tried different documents but character's width was incorrect for all. So looks like something wrong with the Pdf2Swf converter..
 
We are really interested in eliminating this issue so we are ready to donate some money so speedup its resolving. Also we can provide the test source illustrated the issue. Please let us know if you are interested in so we can contact directly and discuss the described problem.
 
Regards,
Igor
 
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]