On Thursday 21 December 2006 06:08, J.Pietschmann wrote:
> Luca Furini wrote:
<snip/>
> > Another doubt: why aren't the "-" signs in text-align and
> > linefeed-treatment possible breaks?
>
> They should be, the dash in Unicode 5.0 has the property HY, which
> allows for a break after. The tables I generated were for 4.1 (or
> even 4.0) and might have to be updated, I haven't checked.
> The UAX14 has been updated too, which might have changed the pair
> table (cahp. 7.3), which is, oddly enough, part of the report instead
> of a data file.
>
My mistake, the code correctly generates break opportunities after the 
HYPHEN-MINUS U+002D. I didn't notice because the breaker didn't choose 
them, probably because of their higher penalty value. I tested again 
with words like:
Rindfleisch-etikettierungs-├╝berwachungs-aufgaben-├╝bertragungs-gesetz
Donau-dampf-schiffahrts-elektrizitaeten-hauptbetriebswerk-bauunterbeamten-gesellschaft
and it breaks correctly after the hyphens.

>
> J.Pietschmann
Manuel

Reply via email to