[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Re: Inclunded font doesn't work
From: Vincent Hennebert <vhennebert () gmail ! com>
Date: 2009-10-16 14:08:40
Message-ID: 4AD87E68.10000 () gmail ! com
[Download RAW message or body]
Hi,
Georg Datterl wrote:
> Hi Michael,
>
> Now your OS probably doesn't know what to do with "pala". I know current FOP \
> versions don't need font configuration any longer, but I'm oldfashioned, I can only \
> tell you how the old configuration method was:
> <font metrics-url="fonts/ariali.xml" kerning="yes" embed-url="fonts/ariali.ttf">
> <font-triplet name="arial italic" style="normal" weight="normal"/>
> </font>
>
> metrics-url and embed-url are file system names, name is what you use in your fo \
> file.
Well, still using the XML metrics file is /really/ old-fashioned. In
most cases it's no longer needed. So you can do the following:
<font embed-url="fonts/ariali.ttf">
<font-triplet name="Arial" style="italic" weight="normal"/>
</font>
Vincent
> Regards,
>
> Georg Datterl
>
> ------ Kontakt ------
>
> Georg Datterl
>
> Geneon media solutions gmbh
> Gutenstetter Straße 8a
> 90449 Nürnberg
>
> HRB Nürnberg: 17193
> Geschäftsführer: Yong-Harry Steiert
>
> Tel.: 0911/36 78 88 - 26
> Fax: 0911/36 78 88 - 20
>
> www.geneon.de
>
> Weitere Mitglieder der Willmy MediaGroup:
>
> IRS Integrated Realization Services GmbH: www.irs-nbg.de
> Willmy PrintMedia GmbH: www.willmy.de
> Willmy Consult & Content GmbH: www.willmycc.de
> -----Ursprüngliche Nachricht-----
> Von: Reliquiem [mailto:bbmicha@live.de]
> Gesendet: Freitag, 16. Oktober 2009 12:44
> An: fop-users@xmlgraphics.apache.org
> Betreff: Re: AW: Inclunded font doesn't work
>
>
> Hi Georg!
>
>
> I changed it now so that it is the same in config and xsl:
>
> Config:
> <font-triplet name="pala" style="normal" weight="normal"/>
>
> XSL:
> <fo:block font-family="pala">
>
> But the error still appears.
>
> Greetings,
> Michael
>
>
> Georg Datterl wrote:
> > Hi Michael,
> >
> > How exactly would fop know pala = Palatino?
> >
> > Regards,
> >
> > Georg Datterl
> >
> > ------ Kontakt ------
> >
> > Georg Datterl
> >
> > Geneon media solutions gmbh
> > Gutenstetter Straße 8a
> > 90449 Nürnberg
> >
> > HRB Nürnberg: 17193
> > Geschäftsführer: Yong-Harry Steiert
> >
> > Tel.: 0911/36 78 88 - 26
> > Fax: 0911/36 78 88 - 20
> >
> > www.geneon.de
> >
> > Weitere Mitglieder der Willmy MediaGroup:
> >
> > IRS Integrated Realization Services GmbH: www.irs-nbg.de
> > Willmy PrintMedia GmbH: www.willmy.de
> > Willmy Consult & Content GmbH: www.willmycc.de
> > -----Ursprüngliche Nachricht-----
> > Von: Reliquiem [mailto:bbmicha@live.de]
> > Gesendet: Freitag, 16. Oktober 2009 12:16
> > An: fop-users@xmlgraphics.apache.org
> > Betreff: Inclunded font doesn't work
> >
> >
> > Hello!
> >
> > I have a problem with a font that i included to fop:
> >
> > I added this here to the fop.xconf File:
> >
> >
> >
> > <font-triplet name="Palatino" style="normal" weight="normal"/>
> >
> >
> > the part in the XSL File looks like this:
> >
> > <fo:block font-family="pala">
> > α-Diagnose
> > </fo:block>
> >
> >
> > If I execute the compiler, this message appears:
> >
> > "Font pala,normal,400' not found.Substituting with 'any,normal,400'."
> >
> > Any suggestions or ideas where I made a mistake?
> >
> > Greetings,
> > Michael
---------------------------------------------------------------------
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