[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: =?utf-8?q?=E2=82=AC?= Sign
From:       Manuel Mall <manuel () apache ! org>
Date:       2006-09-19 11:42:38
Message-ID: 200609191942.38578.manuel () apache ! org
[Download RAW message or body]

On Tuesday 19 September 2006 17:51, Pascal Sancho wrote:
> > -----Original Message-----
> > From: Christian Loock [mailto:c.loock@db-central.com]
> > Sent: Tuesday, September 19, 2006 11:26 AM
> >
> > i tried using &#x20ac;, or &#8366; and both didn't work, i
> > also tried using ISO-8859-15 instead of ISO-8859-1 but then
> > the PDF Generation fails with an Error
> >
> > [ERROR]ISO8859_15
> >
> > UTF-8 didn't work too ;(
> >
> > Any other ideas of how to display the €-Sign?
> >
> > -----Original Message-----
> > From: Pascal Sancho [mailto:pascal.sancho@takoma.fr]
> > Sent: Thursday, September 14, 2006 1:55 PM
> > To: fop-users@xmlgraphics.apache.org
> > Subject: RE: € Sign
> >
> > > -----Original Message-----
> > > From: Andreas Reuleaux [mailto:reuleaux@web.de]
> > > Sent: Thursday, September 14, 2006 1:31 PM
> > > To: fop-users@xmlgraphics.apache.org
> > > Subject: Re: € Sign
> > >
> > > On Thu, Sep 14, 2006 at 01:22:10PM +0200, Christian Loock wrote:
> > > > Hello,
> > > >
> > > > i have the problem that the € sign is not displayed in my PDF.
> > > > I Generate the PDF using FOP 0.20.5. THe Font is Arial and
> > >
> > > the encoding
> > >
> > > > iso-8859-1
> > >
> > > € is not in iso-8859-1, how about you try to you use utf-8 or
> > > iso-8859-15?
> > >
> > > -Andreas
> >
> > Hi,
> > You can use character entity, witch is not encoding dependant:
> > Euro symbol can be represented by either &#x20ac;, or &#8366;
> >
> > That can be done with any Unicode character.

The following works fine for me with the latest FOP trunk version

<fo:block font-family="Arial">FOP costs &#8364;0.00 which is 
NOTHING!</fo:block>

using a font metrics file generated from the Arial font from a standard 
English Windows 2000 installation.

Note that I used &#8364; and not &#8366;.
>
> Can you try it with a standard font (one of 'serif', 'sans-serif',
> 'monospace', 'Courier', 'Helvetica', or 'Times', not Arial)?
> - if that works: charset in your arial font don't embed desired
> glyphes - if that doesn't work: please provide a XSL-FO (not XSLT)
> that demonstrates your problem.
>
> FYI, encoding doesn't affect XML entities. Problem is elsewhere.
>
> Pascal

Manuel

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic