Hi coders,

Both Flex and Itext have text wrapping mechanism exposed via APIs. But they 
both behave differently! meaning flex might display a text (in a Text Area) 
wrapped in 4 lines while Itext might do the wrapping in 3 for the same area 
(width x height)  Flex does a lot of padding and aligning behind the scene 
while ITex api is pretty low level and requires the developer to set each and 
every value. 

I have looked at the TextLineMatrix class which provides some info on how a 
Text is aligned inside a TextArea and all, but how the actual wrapping works is 
not documented

Can anybody help me demystify it ?


BTW: Itext is a java library used to generate PDF files. For the sake of this 
post ,consider Itext as another API which has a Text Wrapping functionality.

Regards
Shyam

Reply via email to