Re: [xep-support] missing special hyphenation character

From: Alexander Peshkov <peshkov@renderx.com>
Date: Thu Sep 08 2005 - 02:14:18 PDT

Hello Bob,

Yes, it is a bug. It'll be fixed in the next maintenance release of
XEP. Thanks for your report and sorry for delayed reply.

Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX

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

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

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

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

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

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

BS> Bob Stayton
BS> Sagehill Enterprises
BS> DocBook Consulting
BS> bobs@sagehill.net

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

-------------------
(*) 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 Sep 8 02:43:22 2005

This archive was generated by hypermail 2.1.8 : Thu Sep 08 2005 - 02:43:26 PDT