This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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..."


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]