[xep-support] Hyphenation character not being displayed?
John Maddock
john at johnmaddock.co.uk
Thu Feb 19 04:17:34 PST 2009
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
↵ (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="↵" 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hyphenation.zip
Type: application/x-zip-compressed
Size: 2852 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20090219/a6e6a6ba/attachment.bin>
More information about the Xep-support
mailing list