[xep-support] Problem with greek characters in chapter titles using some fonts

Alexander Peshkov peshkov at renderx.com
Tue Sep 16 00:23:55 PDT 2003


Hello Marc,

I believe this problem has nothing to do with XEP itself but rather
caused by XSLT (customization or native Docbook stylesheets) which
generate inadequate XSL FO. Could you please send me a problematic XSL
FO file?

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


MB> Nikolai,

MB> thank you for your comments, but this does not fit with what I
MB> observe:

MB> in the *BODY* of the text *EVERYTHING* is fine with the greek
MB> characters, whatever font I choose (Palatino, Helvetica,
MB> BookAntiqua ...).
MB> It is *ONLY* in the *TITLES* that I have problems.

MB> So I do not think it is an inherent problem with the fonts.
MB> Because even if Helvetica does not cover the greek alphabet,
MB> the docbook 1.62.0 stylesheet generated fo code should tell
MB> XEP to fall back on other fonts (which seems to work fine for
MB> the body of the text):

MB>   font-selection-strategy="character-by-character"
MB>   font-family="Helvetica,Symbol,ZapfDingbats"

MB> My feeling is rather that maybe XEP does not honour these
MB> settings for titles for some reason ???

MB> Any hints on this are greatly appreciated,
MB> Marc


>>>> "Nikolai Grigoriev" said:
MB>  >> Marc,
MB>  >> 
MB>  >> > I experience problems with greek characters in chapter
MB>  >> > titles. Depending on the font I use, these are fine,
MB>  >> > do not appear at all, or show an empty box.
MB>  >> > 
MB>  >> > In the chapter body, the greek characters are fine.
MB>  >> > 
MB>  >> > To be more specific:
MB>  >> > 
MB>  >> > Font                 Greek Characters
MB>  >> > Palatino (TTF)       fine
MB>  >> 
MB>  >> Palatino covers Greek alphabet.
MB>  >> 
MB>  >> > Helvetica (afm)      nothing/empty
MB>  >> 
MB>  >> The built-in Helvetica font covers only Adobe ExtendedRoman 
MB>  >> charset - that is, a superposition of WinAnsi and MacRoman.
MB>  >> There is a single Greek character there (mu, used as a micro
MB>  >> sign). You can find lists of characters covered by the base
MB>  >> fonts in examples/charsets/ directory in your XEP distribution.
MB>  >> 
MB>  >> > BookAntiqua (TTF)    empty boxes
MB>  >> 
MB>  >> Same as above. Most probably, there are no Greek characters
MB>  >> in the font. Please check font composition. To see the repertory
MB>  >> of glyphs covered by a font, you can run the following class
MB>  >> from XEP's jar:
MB>  >> 
MB>  >> java  ... com.renderx.fonts.AFM <font_file_name>
MB>  >> 
MB>  >> It will list all Unicode codepoints that XEP can discern
MB>  >> in your font.
MB>  >>  
MB>  >> Best regards,
MB>  >> Nikolai Grigoriev
MB>  >> RenderX
MB>  >> -------------------
MB>  >> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
MB>  >> in the body of the message to majordomo at renderx.com from the address
MB>  >> you are subscribed from.
MB>  >> (*) By using the Service, you expressly agree to these Terms of Service htt
MB>      p://www.renderx.com/tos.html
MB>  >> 

MB> Marc Baaden


-------------------
(*) 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/tos.html



More information about the Xep-support mailing list