xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: FOP Unicode problem
Date Fri, 17 Feb 2006 14:22:58 GMT
XSL-FO allows you to specify a list of font names in the font-family
property but this is not supported by FOP, yet (FOP uses the first font
in the list it supports regardless of the characters to be rendered).
You'll have to find a TrueType font that contains all the characters. In
that case you're back to creating a XML font metrics file using the
TTFReader. You may also want to look through the mailing list archives.
I think I remember certain suggestions for alternative work-arounds.

On 17.02.2006 15:13:21 Sascha Punzmann wrote:
> Yes a lot easier than I thought! But with this I encountered another problem! 
> my XML looks like this: <para>&#9744; Test text</para>
> if I apply the font-family="ZapfDingbats" then all the para text is
> displayed in this font-family. It it possible to set up an optional
> font-display it the character isn't available in the primary
> font-family?
> fop-users@xmlgraphics.apache.org schrieb am 17.02.06 15:01:15:
> > 
> > ZapfDingbats is one of the base 14 fonts which are available in FOP
> > without doing anything special (at least when you render to PDF and PS).
> > So, provided that the Unicode value is correct (I haven't checked), you
> > can simply specify font-family="ZapfDingbats" and your checkbox should
> > be shown. So, you see it's a lot simpler than you thought. :-)
> > 
> > On 17.02.2006 14:44:24 Sascha Punzmann wrote:
> > > I know it is an topic that has been discussed several times here, but I
> > > really canot find the solution for me! If I want to add a unicode
> > > character for a checkbox "&#9744; --> &#9744;" The PDF only contains
> > > "#". So far I understand that I need to convert this symbol somehow into
> > > an XML Font Metric to use it in the PDF Creation. But I don't know how.
> > > I tried to convert "ZapfDingbats" to such a XML file, but it failed due
> > > to a missing Unicode cmap table. So my question is, how do I get this
> > > symbol into my PDF?

Jeremias Maerki

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message