Quoting Paul Cooley <[EMAIL PROTECTED]>:

> For some reason, the xslt generated into the pdf
> ignores my leading attributes on paragraphs.  Font
> sizes and families are registered correctly, but
> leading is complete ignored.  Here is a sample of the
> attribute in the tagmap:
> 
>      <tag name="paragraph" alias="someparagraph">
>         <attribute name="leading" value="10"/>
>         <attribute name="align" value="Left"/>
>         <attribute name="size" value="10"/>
>         <attribute name="font" value="helvetica"/>
>         <attribute name="style" value="normal"/>
>      </tag>
> 
> Any ideas?

Could it be that your paragraph-tag is nested into some
other paragraph that propagates its leading?

If you have this kind of construction:
<superparagraph leading="20">
     <someparagraph leading="10">blah blah</someparagraph>
<superparagraph>

The leading of 10 will be ignored and a leading of 20
will be used...

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to