[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] using greek characters with docbook
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">Ο</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... Justus Jens Skripczynski <skripi-lists@myrealbox.com> wrote on Tue, 1 Jun 2004 22:33:42 +0200: > I use Ο and ⊕ in the xml file. > > After generating the pdf file with xsl 1.65.1 and fop 0.20.5 > I can only see '#' instead of the characters. -- Justus H. Piater, Ph.D. http://www.montefiore.ulg.ac.be/~piater/ Institut Montefiore, B28 Phone: +32-4-366-2279 Université de Liège, Belgium Fax: +32-4-366-2620
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]