I construct a paragraph with a number of phrases each one of which has a
Leading property passed in its constructor.  As I understand it the Leading
is the spacing between the lines.  The Paragraph also has a Leading property
and a Multiplied leading property, the later changing line spacing based on
the largest size of the Font in any line and the former being an absolute
value; the Total Leading being the addition of the two.  I do not
understanding how these values of leading are working together with that of
the Phases and therefore how I should set them correctly.  In particular how
does setting the Phrase leading have an effect on the way the paragraph is
finally rendered in the PDF?

Brian

-----Message d'origine-----
De : 1T3XT info [mailto:i...@1t3xt.info] 
Envoyé : mardi 24 août 2010 17:23
À : Post all your questions about iText here
Objet : Re: [iText-questions] Phrase leading property

On 24/08/2010 17:08, Brian Akehurst wrote:
> Hi,
>
> Can anyone point me to an email or piece of documentation or to tell me
> the precise use of the Leading value in the Phrase? I would like to
> understand how and when it is used in the rendering of a paragraph and
> how it interacts with other Font and or Paragraph properties.

I saw the earlier question involving RTF files.
I didn't understand the question.
As a matter of fact, I still don't understand the question.

As this old example demonstrates, the leading of a line is the
leading of the Phrase with the highest leading in that line:
http://1t3xt.info/examples/browse/?page=example&id=397
http://1t3xt.info/examples/results/questions/objects/different_leadings.pdf
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

----------------------------------------------------------------------------
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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