[xep-support] missing special hyphenation character

From: Bob Stayton <bobs@sagehill.net>
Date: Thu Sep 01 2005 - 17:01:29 PDT

Hi,
I'm trying to use the character &#x21B5; (carriage return symbol) as the
value of hyphenation-character in a block that displays a code sample. The
carriage return symbol indicates that a long line of code is broken in the
display. But it appears that the font selection process does not take place
for the hyphenation character. Here is a short sample that illustrates the
problem.

<fo:block
      font-family="Courier New, Arial Unicode MS"
      hyphenate="true"
      font-selection-strategy="character-by-character"
      hyphenation-character="&#x21B5;">
SometextinthefirstlineandmaybeasecondlineSometextinthefirstlineandmaybeaseco
ndlineSometextinthefirstlineandmaybeasecondlineSome text
</fo:block>

This displays in the PDF an empty square box where the symbol should be at
the end of the hyphenated line.

When I use font-family="Courier New", then I get the same thing.

When I use font-family="Arial Unicode MS", then I get the right symbol, but
my code text is not in the right font.

Now the weird part: if I put the &#x21B5; character in the line of text
within the block, then it renders fine inline *and* it shows as the
hyphenation character. I can even insert inline another character from that
font (such as &#x22A4;), and I will still get the correct hyphenation
symbol. That suggests that the secondary font is not being loaded based on
the hyphenation-character, but once it is loaded for the text, it becomes
available for the hyphenation.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net

-------------------
(*) 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 Fri Sep 2 05:25:20 2005

This archive was generated by hypermail 2.1.8 : Fri Sep 02 2005 - 05:25:23 PDT