xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: word wrap, hyphenation
Date Mon, 02 Nov 2009 17:03:59 GMT
Jan Driesen wrote:
> Dear all,

Hi Jan,

> 
> 
> While outputting PDF using FOP 0.95, I'm encountering an issue in PDF markup.
> 
> The (XSLT-generated) FO code is:
> 
> <fo:table-row>
> <fo:table-cell padding-right="1mm" padding-top="9pt" text-align="justify" line-height="11pt"
font-size="9pt" font-family="Times New Roman" number-columns-spanned="2"> <fo:block>
<fo:inline font-style="italic">XaV Latin 9598 fol. 88 ; Reg Antwerp 146 fol. 252, 194
fol. 190v ; G 109 n° 16, G 660, 951</fo:inline> </fo:block> </fo:table-cell>
</fo:table-row>
> 
> 
> In the PDF output, this line is wrapped between "G 109 n" and "° 16, G 660, 951". Rather
than choosing a white-space to wrap the line. Is there any way to avoid this? I need wrapping
here to fit the content, but preferably not between the "n°" sequence... 


How about:

<fo:table-cell padding-right="1mm" padding-top="9pt" 
text-align="justify" line-height="11pt" font-size="9pt" 
font-family="Times New Roman" number-columns-spanned="2"> <fo:block> 
<fo:inline font-style="italic">XaV Latin 9598 fol. 88 ; Reg Antwerp 146 
fol. 252, 194 fol. 190v ; <fo:inline keep-together.within-line="true">G 
109 n° 16</fo:inline>, G 660, 951</fo:inline> </fo:block> 
</fo:table-cell> </fo:table-row>

Thanks,

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message