PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: sub subscript increases line space
   PostPosted: 22 Feb 2012, 13:39 
When one line (in a paragraph) contains subscript text, the next line in the paragraph is rendered farther away (line height wise) than if there was no subscript. (Similar is probably true for superscript.)

In HTML this can be prevented by doing for example this:
Code:
p { line-height: 1.5em; }
sub, sup { line-height: 0; }

Is there a way to achieve this in generated PDF too?



[Reply]     [ 1 post ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share