OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: How to prevent one word from being split into two lines


Baoqiu Cui <cbaoqiu@yahoo.com> writes:

> Camille Bégnis <camille@neodoc.biz> writes:
>
>> Hi,
>>
>> what I found in those cases is to use the zero width no break space
>> U+FEFF between characters.
>>
>> aka:
>>
>> C&#xFEFF;+&#xFEFF;+
>>
>> Not tested though.
>
> Thanks a lot, Camille!  This works like a charm!

Another thought: unicode character &#x2060; (WORD JOINER) could be a
better character than &#xFEFF; for this purpose.  What do you think?

- Baoqiu

>
> - Baoqiu
>
>> Camille.
>>
>> Baoqiu Cui wrote:
>>> Hi,
>>>
>>> For PDF output using FOP, is there a way to prevent a word like "C++"
>>> from being split into two lines ("C" is at the end of one line and "++"
>>> is at the start of the next line)?  I have never run into this problem
>>> until today, and I could not find a solution for this problem anywhere.
>>>
>>> I must be missing something...  Can anyone give me some help?
>>>
>>> Thanks in advance!
>>>
>>> - Baoqiu



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]