xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Upgrade 0.20.5 to 0.95: line spacing increased?
Date Fri, 16 Jul 2010 08:09:16 GMT
Hi,

line-height-stretch is not a valid XSL-FO property, but seems to be a
RTF2FO configuration property.
You should visit RTF2FO site or googlize for line-height-stretch, this
list is only for FOP usage.

Note that XSL-FO line-height defaults to 1.2, but you can change this by
specifying line-height directly on fo:root, since this property is
inherited when a numerical value is used.

Pascal

Le 15/07/2010 23:56, Skhay a écrit :
>
> Hi Stuart,
>
> Even im facing the same issue as you have mentioned.
>
> I have upgraded to FOP 0.95 and the new form generated has some of the text
> moved to second page becos of bigger line space.
>
> I noticed your resolution of setting line-height-stretch property.
> So can you please let me know how you were able to set this property to the
> value 1.13?
>
> In my xsl, line-height is given in <fo:block> and when i try adding
> line-height-stretch property, it errors out.
>
>
> Thanks in advance,
> Skhay
>
>
>
>
>
> Stuart Turner wrote:
>   
>> Hi
>>
>> Thanks for your quick replies. Thought I'd let you know how I got on. I
>> was resigned to trying different options as suggested until I took another
>> look at the RTF2FO configuration files. The file options.xml contains
>> compatibility settings to tailor the fo output for the different fo to pdf
>> converters supported by RTF2FO. Don't know how I missed it the first time
>> around but the setting line-height-stretch was exactly what I was looking
>> for. I decreased this value for FOP, (from 1.23 to 1.13 in case anyone is
>> interested), and the fo output produced now has a correspondingly
>> decreased line-height value. Vertical spacing is now virtually the same as
>> 0.20.5.
>>
>> As Manuel says the differences with the centre justification are to do
>> with core changes to FOP and so our users are going to have to live with
>> them. I'm sure in some cases the line breaking will look better and in
>> others not so. Hard line breaks definitely provide some level of control
>> over this.
>>
>> Thanks for your help,
>> Stuart
>>
>>
>>     
>   


---------------------------------------------------------------------
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