List Info

Thread: Subscript moves whole line down a small amount




Subscript moves whole line down a small amount
user name
2007-08-09 13:44:35
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?
 

Dean Nelson&nbsp; &nbsp;
Sr. Software Engineer
Enterprise Electronics Corp
http://www.EECradar.com &nbsp;

"Too much of the world is run on the theory that you don't need road manners if you drive a five-ton truck" - Cleon Lyles


This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed.  If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited.  If you have received this e-mail in error, please notify the sender by replying to this  message and delete this e-mail immediately.

&nbsp;
View Original Image
RE: Subscript moves whole line down a small amount
user name
2007-08-11 07:40:19
> -----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-20
011015/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/relea
se/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/co
mpliance.html#fo-property-line-height-sh
ift-adjustment

/MJ



------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )