|
Hi: While trying to render a XSL-FO document to PLAIN_TEXT, the
text rendering output shows lots of extra line breaks and spaces. For example, the following FO snippet…. ----- <fo:table table-layout="fixed"
background-color="#FFFFFF" margin-top="0.0pt"
margin-bottom="0.0pt" margin-left="0.0pt"
margin-right="0.0pt" border-top-width="0.0pt"
border-top-color="#FFFFFF" border-bottom-width="0.0pt"
border-bottom-color="#FFFFFF" border-left-width="0.0pt"
border-left-color="#FFFFFF" border-right-width="0.0pt"
border-right-color="#FFFFFF"> <fo:table-column
column-width="200.0pt"></fo:table-column> <fo:table-body> <fo:table-row height="14pt"> <fo:table-cell background-color="#FFFFFF"
padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt"
border-top-width="0.0pt" border-top-color="#FFFFFF" border-bottom-width="0.0pt"
border-bottom-color="#FFFFFF" border-left-width="0.0pt"
border-left-color="#FFFFFF" border-right-width="0.0pt"
border-right-color="#FFFFFF" margin-top="0.0pt"
margin-bottom="0.0pt" margin-left="0.0pt"
margin-right="0.0pt" width="200.0pt"
number-columns-spanned="1" number-rows-spanned="1"
wrap-option="no-wrap" display-align="before"> <fo:block text-align="left"><fo:inline
color="#000000" text-decoration="none"
font-family="Tahoma" font-size="10pt"
font-weight="normal" font-style="normal">a</fo:inline></fo:block></fo:table-cell> </fo:table-row> <fo:table-row height="14pt"> <fo:table-cell background-color="#FFFFFF"
padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt"
border-top-width="0.0pt" border-top-color="#FFFFFF" border-bottom-width="0.0pt"
border-bottom-color="#FFFFFF" border-left-width="0.0pt"
border-left-color="#FFFFFF" border-right-width="0.0pt"
border-right-color="#FFFFFF" margin-top="0.0pt"
margin-bottom="0.0pt" margin-left="0.0pt" margin-right="0.0pt"
width="200.0pt" number-columns-spanned="1"
number-rows-spanned="1" wrap-option="no-wrap"
display-align="before"> <fo:block text-align="left"><fo:inline
color="#000000" text-decoration="none"
font-family="Tahoma" font-size="10pt"
font-weight="normal" font-style="normal">a</fo:inline></fo:block></fo:table-cell> </fo:table-row> <fo:table-row height="14pt"> <fo:table-cell background-color="#FFFFFF"
padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt"
border-top-width="0.0pt" border-top-color="#FFFFFF" border-bottom-width="0.0pt"
border-bottom-color="#FFFFFF" border-left-width="0.0pt"
border-left-color="#FFFFFF" border-right-width="0.0pt"
border-right-color="#FFFFFF" margin-top="0.0pt"
margin-bottom="0.0pt" margin-left="0.0pt"
margin-right="0.0pt" width="200.0pt"
number-columns-spanned="1" number-rows-spanned="1"
wrap-option="no-wrap" display-align="before"> <fo:block text-align="left"><fo:inline
color="#000000" text-decoration="none"
font-family="Tahoma" font-size="10pt"
font-weight="normal" font-style="normal">a</fo:inline></fo:block></fo:table-cell> </fo:table-row> <fo:table-row height="14pt"> <fo:table-cell background-color="#FFFFFF"
padding-top="0.0pt" padding-bottom="0.0pt"
padding-left="0.0pt" padding-right="0.0pt"
border-top-width="0.0pt" border-top-color="#FFFFFF" border-bottom-width="0.0pt"
border-bottom-color="#FFFFFF" border-left-width="0.0pt"
border-left-color="#FFFFFF" border-right-width="0.0pt"
border-right-color="#FFFFFF" margin-top="0.0pt"
margin-bottom="0.0pt" margin-left="0.0pt"
margin-right="0.0pt" width="200.0pt" number-columns-spanned="1"
number-rows-spanned="1" wrap-option="no-wrap"
display-align="before"> <fo:block text-align="left"><fo:inline
color="#000000" text-decoration="none"
font-family="Tahoma" font-size="10pt"
font-weight="normal" font-style="normal">a</fo:inline></fo:block></fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> ----- Shows the TEXT output as:
a
a
a
Repeating the fo:table-row block as above for multiple times
show multiple text lines, when rendered as PLAIN_TEXT, shows ‘a’ in
different lines, sometimes with double spacing and sometimes with single
spacing Any clue? Many thanks in anticipation, Regards, Debasish |
- FOP 0.92 : Text Rendering problem Debasish Jana
- Re: FOP 0.92 : Text Rendering problem Chris Bowditch
- Re: FOP 0.92 : Text Rendering problem J.Pietschmann
- Re: FOP 0.92 : Text Rendering problem Paul Tremblay
