W3C home > Mailing lists > Public > www-xsl-fo@w3.org > February 2009

Re: Unable to print the character

From: Jeremias Maerki <dev@jeremias-maerki.ch>
Date: Sat, 07 Feb 2009 07:57:18 +0100
To: www-xsl-fo@w3.org
Message-Id: <20090207075134.C58E.60BA733C@jeremias-maerki.ch>

No, it won't take the system fonts by default. By default, you only get
the base 14 fonts (Helvetica, Times, Courier, Symbol and ZapfDingbats 
[1]) specified in the PDF specification. That has historical and
compatibility reasons.

[1] http://xmlgraphics.apache.org/fop/latest/fonts.html#Base-14+Fonts

However, you can switch system fonts on easily by placing <auto-detect/>
at the right place in the configuration file. Please see the
documentation here:
http://xmlgraphics.apache.org/fop/latest/fonts.html#basics

On 07.02.2009 05:24:57 Ganesh Babu N wrote:
> 
> Hai,
> 
> It won't take the system fonts? Each and every font need to be
> configured? This glyphs is available in Arial. So i have given arial
> in the font-family. But nothing seems working. If I use other Tahoma
> font. it is showing a warning as below:
> 
> Feb 7, 2009 9:54:51 AM org.apache.fop.fonts.FontInfo notifyFontReplacement
> WARNING: Font 'Tahoma,normal,400' not found. Substituting with 'any,normal,400'
> 
> Please let me know how to solve this problem.
> 
> Regards,
> Ganesh
> 
> 
> On Fri, Feb 6, 2009 at 7:15 PM, Jeremias Maerki <dev@jeremias-maerki.ch> wrote:
> >
> > Please see the FAQ entry here: http://xmlgraphics.apache.org/fop/faq.html#pdf-characters
> >
> > You'll need to configure a font that has all the glyphs you require.
> >
> > HTH
> >
> > On 06.02.2009 05:57:25 Ganesh Babu N wrote:
> >>
> >> Dear All,
> >>
> >> I am unable to print &#x107; in the PDF output. I am getting an "#"
> >> symbol instead. The following is the fo:block which is generating the
> >> PDF output.
> >>
> >>
> >> <fo:block font-size="8pt" font-family="Helvetica, Times"
> >> text-align="center">10.1057/9780230227798 &#8211; Serbia's
> >> Antibureaucratic Revolution: Milo&#353;evic, the Fall of Communism and
> >> Nationalist Mobilization, N. Vladisavljevi&#x107;</fo:block>
> >>
> >> I am using FOP 0.95.
> >>
> >> Regards,
> >> Ganesh
> >>
> >
> >
> >
> >
> > Jeremias Maerki
> >
> >
> >




Jeremias Maerki
Received on Saturday, 7 February 2009 06:57:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 7 February 2009 06:57:45 GMT