You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by t_...@agency.com on 2000/11/01 20:55:26 UTC

Default value line-height attribute does not equal "normal"

Hi everybody,
  in the documents I develop the line heigt is too big when I use small
fonts.
However the lign height is correct if I use line-height="normal".
"normal" should be default value of the attribute accorting to XSL
specification.

Below is example which demonstrates the problem. The line height is
different 
for these two blocks of text.

    <fo:flow flow-name="xsl-region-body">
      <fo:block font-family="serif" font-size="8pt">
	FOP is the world's first print formatter driven by XSL formatting
	objects. It is a Java 1.1 application that reads a formatting object
	tree and then turns it into a PDF document. The formatting object
	tree, can be in the form of an XML document (output by an XSLT
engine
	like XT or Xalan) or can be passed in memory as a DOM Document or
(in
	the case of XT) SAX events.
      </fo:block>
      <fo:block font-family="serif" font-size="8pt" line-height="normal">
	FOP is the world's first print formatter driven by XSL formatting
	objects. It is a Java 1.1 application that reads a formatting object
	tree and then turns it into a PDF document. The formatting object
	tree, can be in the form of an XML document (output by an XSLT
engine
	like XT or Xalan) or can be passed in memory as a DOM Document or
(in
	the case of XT) SAX events.
      </fo:block>

Is it a bug or I missed something?

I used today's CVS snapshot of FOP.
Thank you
Andriy Palamarchuk