xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Delmelle <andreas.delme...@telenet.be>
Subject Re: Undesirable line breaks
Date Mon, 15 Sep 2008 19:14:30 GMT
On Sep 15, 2008, at 16:38, Manuel Mall wrote:

>>
>> -----Original Message-----
>> From: Amick, Eric [mailto:Eric.Amick@mail.house.gov]
>> <snip />
>> The following description of the numeric prefix characters from the
>> Unicode standard suggests it shouldn't be breaking there:
>>
>> Characters that usually precede a numerical expression may not be
>> separated from following numeric characters or following opening
>> characters, even if a space character intervenes. For example,  
>> there is
>> no break opportunity in "$ (100.00)".
>>
>> Many currency signs can appear on both sides, or even the middle,  
>> of a
>> numeric expression. Therefore the line breaking algorithm, by  
>> default,
>> does not break between PR [numeric prefix] and numbers or  
>> *letters* on
>> either side. [emphasis mine]
>>
>
> Correct, that is what the text says. But when you look at the formal
> definition there is a rule saying 'PR x AL' (in LB 24), but there  
> is no rule
> AL x PR in LB 25 (or anywhere else AFAICT). The same is true for  
> the pair
> table model of the rules which says AL followed by PR is a direct  
> break
> opportunity while PR followed by AL is an indirect break opportunity.

Confirmed. The message of the text cited by Eric is reflected by LB  
24 being part of the set of 'tailorable line-breaking rules'. An  
implementation is free to use any other set of rules, as long as the  
'non-tailorable' ones are respected.


Cheers

Andreas

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