Note that there is an unicode for "numéro" sign: №
But we improperly replace it with 'N' + degree symbol, witch is on keyboard.
This mistake is probably the cause of the break opportunity between 'N' and '°'.

2012/10/25 Christian Pestel <[email protected]>:
> Thank you Pascal, it's a good idea !
>
> Here is my example with the 2 Pascal solutions :
>
> First solution : <fo:inline keep-together.within-line="always"> arround the
> ° character
> <fo:block><fo:inline  font-size="14pt"
> font-family="Helvetica">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN</fo:inline><fo:inline
> keep-together.within-line="always" font-size="14pt"
> font-family="Helvetica">°</fo:inline><fo:inline font-size="14pt"
> font-family="Helvetica">AAAAAAAAAAAAAAAAAA</fo:inline></fo:block>
>
> Second solution : Word joined / &#x2060; before ° character
> <fo:block><fo:inline  font-size="14pt"
> font-family="Helvetica">AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN&#x2060;°AAAAAAAAAAAAAAAAAA</fo:inline></fo:block>
>
>
> -----Message d'origine----- From: Pascal Sancho
> Sent: Thursday, October 25, 2012 9:33 AM
>
> Hi,
>
> I'm not familiar with hyphenation patterns. As a starting point, you
> can read [1].
>
> That said, you can insert a WJ char (Word Joiner, ie: &#x2060;) where
> you want no break, in your case, just before the '°' character. FOP
> behaves as expected with it.
>
> [1] http://xmlgraphics.apache.org/fop/1.1/hyphenation.html#patterns
>
> 2012/10/24 Christian Pestel <[email protected]>:
>>
>> Hi Pascal,
>>
>> I clarify my request.
>> We don't use fophyph.jar, so what is the list of characters which cut
>> words
>> ?
>> Is this list configurable ?
>> Thank
>>
>>
>> -----Message d'origine----- From: Christian Pestel
>> Sent: Wednesday, October 24, 2012 5:59 PM
>>
>> To: [email protected]
>> Subject: Re: Word secability on character #176
>>
>> Thank you Pascal.
>>
>> Is there a possibility to indicate in the config Fop to do not cut on this
>> character ?
>>
>>
>> -----Message d'origine----- From: Pascal Sancho
>> Sent: Wednesday, October 24, 2012 5:47 PM
>>
>> Hi,
>> You should use the keep-together property (see [1]):
>> <fo:inline keep-together.within-line="always">...</fo:inline>
>>
>> [1] http://www.w3.org/TR/2006/REC-xsl11-20061205/#keep-together
>>
>> 2012/10/24 Christian Pestel <[email protected]>:
>>>
>>>
>>> Hi,
>>>
>>> Fop don’t cut a long word like “AAAAAAAAAAAAAAAABBBBBBBBBBBB”
>>> The pdf result is
>>> AAAAAAAAAAAAAAAABBBBB
>>> the end of line is truncated. That’s ok.
>>>
>>> Fop cut a long word like “AAAAAAAAAAAAAAAA BBBBBBBBBBBB” on the space
>>> character.
>>> The pdf result is
>>> AAAAAAAAAAAAAAAA
>>> BBBBBBBBBBBB
>>> That’s ok.
>>>
>>> But on the word “AAAAAAAAAAAAAAAAN°BBBBBBBBBBBB”
>>> The pdf result is
>>> AAAAAAAAAAAAAAAAN
>>> °BBBBBBBBBBBB
>>>
>>> I would like this result
>>> AAAAAAAAAAAAAAAAN°BBBBBBBBBBBB
>>>
>>> Have you a solution to not cut on the ° (#176) character ?
>>> Thanks.

-- 
pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to