The actual line height of lines of text are coming out shorter than the specified value. In the following example, there are two blocks with yellow backgrounds seperated by a 1in space. The line-heights of the two yellow blocks are set to 0.25in. Each block should have 4 lines of text, for a total block height of 1in (4 x 0.25in). When rendered, the height of the blocks are noticably shorter than the 1in space. <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master margin-bottom="0.25in" margin- right="0.6in" margin-left="0.4in" page-height="11in" page-width="8.5in" master- name="body"> <fo:region-after extent="14pt"/> <fo:region-body margin-top="0.5in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="body"> <fo:flow flow-name="xsl-region-body"> <fo:block font-family="Courier" font-size="12pt" line- height="0.25in" hyphenate="false" background-color="yellow" space- after="1in">This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. </fo:block> <fo:block font-family="Courier" font-size="12pt" line- height="0.25in" hyphenate="false" background-color="yellow" space- after="1in">This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
Bug fixed in latest Trunk (rev 584703), and probably in FOP 0.94 and earlier versions
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed