[xep-support] missing special hyphenation character

Alexander Peshkov peshkov at renderx.com
Thu Sep 8 02:14:18 PDT 2005


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 at renderx.com
RenderX


BS> Hi,
BS> I'm trying to use the character ↵ (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 at sagehill.net



BS> -------------------
BS> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
BS> in the body of the message to majordomo at 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 at 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



More information about the Xep-support mailing list