The issue is that when i provide an area [width x Height] and some text to
both Flex and Itext [ColumnText object] the results that i get are
Different. So two APIs are giving results that are conflicting. I was
wondering whether there is some kind of standardization. 

I use Flex in my presentation/client side and Itext in the  serverside to
churn out PDF files. Since the text i show in the client could not be
reproduced exactly in the PDF, i'm stuck.

 

1T3XT info wrote:
> 
>> And? What is the problem? AFAIK, there isn't a line in the PDF
>> Reference mentionning how a PDF producing software should behave
>> regarding text wrapping.
> 
> I also don't understand why the OP posted that "question".
> It's as if he would write to Microsoft complaining that
> a paragraph takes more lines in MSIE than in Firefox, or
> vice-versa.
> 
> iText uses font metrics to calculate the space needed by a
> String. If you address the lower level methods in PdfContentByte,
> you can take the kerning into account. You can also fine tune
> word spacing and stuff, so you could mimic what Flex does, but...
> that's a project on itself.
> -- 
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - http://www.1t3xt.info
> 
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
> looking to deploy the next generation of Solaris that includes the latest 
> innovations from Sun and the OpenSource community. Download a copy and 
> enjoy capabilities such as Networking, Storage and Virtualization. 
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Itext-and-Flex-Text-warping-issue-tp23845057p23874976.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to