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: hypenation of numbers in fop
Date Mon, 11 Jan 2010 14:27:14 GMT

FOP relies on Unicode UAX #29 [1] for break opportunities.
It is said there: "/Do not break within sequences of digits, or digits 
adjacent to letters (“3a”, or “A3”)"

If you want to have a break opportuniy in such sequence of digits (or 
mixed letters+digits), you should insert yourself  one or more 
Zero-Width-Space (ZWSP; &#x200b;) anywhere in the sequence.
[1] http://www.unicode.org/reports/tr29/#Default_Word_Boundaries


lexa2009 a écrit :
> hello, i use 
> <fo:table-cell><fo:block text-indent="0cm" hyphenate="true"
> language="ru">xyz</fo:block></fo:table-cell>
> if xyz - any text on english all worls good, but if xyz - a number(10000) or
> some text like 1000-2000 it overflows my table. how to fix it?
> i do not need a good hyphenation, it may wrap on any place, but i need no
> overflow. what to do? 

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

View raw message