Sorry, i've found proper method --> BaseFont.getWidthPoint(String text, float 
fontSize)

Regards, Eugene

> Hello.
> 
> I have a question. I need to know width of the text in some particular font 
> in pdf units. We have BaseFont.getWidth(String text), but the result is in 
> normalized 1000 units. Could you tell me, please, how i can convert that 
> units to pdf-related units?
> 
> Thanks a lot.
> 
> Regards, Eugene

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to