Next in thread → Next in month →

RE: [docbook-apps] Subscript moves whole line down a small amount

From
Mauritz Jeanson <>
Date
2007-08-11T12:40:44+00:00
ID
001a01c7dc14$c8abafe0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] Subscript moves whole line down a small amount
> -----Original Message-----
> From: Nelson, Dean 
> 
> All
> I am using FOP 0.93 and the 1.72.0 stylesheets to make a PDF 
> file. I have noticed that the <subscript> feature places the 
> letters correctly, but allows the spacing between the lines 
> to increase. See attached image for example. 
>  
> Is there a way to keep the lines uniform?


The line-height-shift-adjustment property is used for this:
http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height-shift-adj
ustment

In DocBook XSL, the default is set to "disregard-shifts" in the
root.properties attribute-set:
http://docbook.sourceforge.net/release/xsl/current/doc/fo/root.properties.ht
ml

The property is not supported by FOP 0.93 (it is supported in the
"Development" version, so I suppose it will work with FOP 0.94):
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-line-height-sh
ift-adjustment

/MJ
Next in thread → Next in month →