OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] using greek characters with docbook


Hi Justus,

thx for the help, worked fine. The pdf has finally the missing
chars.
Justus H. Piater:
> Jens,
> 
> The problem is Fop's font handling. Fop does not automatically switch
> fonts if a given glyph does not exist in the current font.
> 
> I've been helping myself with the following workaround: put the
> special character into a dedicated element, e.g.,
> 
>   <phrase role="symbol">&Omicron;</phrase>
> 
> and then put a template into your stylesheet customization that
> switches to a font that contains this glyph:
> 
>   <xsl:template match="phrase[@role='symbol']">
>     <fo:inline font-family="Symbol">
>       <xsl:apply-templates/>
>     </fo:inline>
>   </xsl:template>
> 
> Ugly, but works for me...

Ciao

Jens Skripczynski
-- 
E-Mail: skripi-lists(at)myrealbox(dot)com

"...The box said use Win95 or better, so I installed Linux..."



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]