[xep-support] Hyphenation character not being displayed?

From: John Maddock <john@johnmaddock.co.uk>
Date: Thu Feb 19 2009 - 04:17:34 PST

Hi there,

While preparing PDF's of the Boost C++ libraries for release I'm having
problems getting a Unicode hyphenation character to display: I'm trying to
enable line-wrapping and hyphenation in a C++ code block, so that character
&#x21B5; (carriage return symbol) is used as a hyphenation character - I can
get this character to display OK in a regular text block, but in monospace
text I see nothing showing up at all (not even a square "character not
found" block).

In contrast if I use a regular ASCII character such as '\' as the
hyphenation character then it does show up OK.

The block starts something like this:

<fo:block id="id742525" border-color="#DCDCDC" border-width="1px"
border-style="solid" padding-left="0.2cm" padding-right="0.2cm"
padding-top="0.2cm" padding-bottom="0.2cm" widows="6" orphans="40"
font-size="9pt" hyphenate="true" wrap-option="wrap"
hyphenation-character="&#x21B5;" text-align="start"
space-before.minimum="0.8em" space-before.optimum="1em"
space-before.maximum="1.2em" space-after.minimum="0.8em"
space-after.optimum="1em" space-after.maximum="1.2em"
white-space-collapse="false" white-space-treatment="preserve"
linefeed-treatment="preserve" font-family="monospace">

I'm attaching the complete FO file as well: unfortunately since it's machine
generated from DocBook there's quite a bit of "chaff" in there :-(

Is this a bug, or am I doing something wrong here?

Many thanks, John Maddock.

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

Received on Thu Feb 19 04:44:05 2009

This archive was generated by hypermail 2.1.8 : Thu Feb 19 2009 - 04:44:10 PST