Re: Chunk.GetWidthPoint() returns wrong width

iText mailing list <[email protected]>
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <[email protected]>
On 8/29/2014 6:19 PM, vadamovsky wrote:
> iText mailing list wrote
>> When you measure the characters in the Chunk, you measure the original
>> characters.
>> When you render the Arabic glyphs using ColumnText, the original
>> characters in the Chunk are replaced by the ligaturization process.
>> It should be obvious that the length of the original characters and the
>> replaced characters may not be identical.
> OK, thank you for the answer.
>
> So how do I get the real width of a chunk?
>
> I need to append dots (.................) after a text for a content page:
>
> Chapter one...............1
> Chapter two...............2
> Chapter three.............3
> etc.

In that case, you don't need the width of the Chunk, do you?
Why not use the DottedLineSeparator class to add the dots?

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.