|
Hi;
Attached is a program that determines the text
width using both Java and iText. The output is:
The iText width measure appears to be more accurate
when the actual pdf is written. However, my code is all written using the java
AttributedString/AttributedCharacterIterator code which handles all the word
breaks, etc. based on locale which I also need.
Any ideas on how to get the java calls to return
values that match what Acrobat displays? Because at the moment I have the end of
one word overwriting the bef=gining of the next (when there is a character
format change between the words and I have to display each
seperately).
thanks - dave
|
RegisterFonts.java
Description: Binary data
TextWidthTest.java
Description: Binary data
