You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Reliquiem <bb...@live.de> on 2009/10/16 12:16:00 UTC
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
--
View this message in context: http://www.nabble.com/Inclunded-font-doesn%27t-work-tp25923033p25923033.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Inclunded font doesn't work
Posted by Vincent Hennebert <vh...@gmail.com>.
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
AW: AW: Inclunded font doesn't work
Posted by Georg Datterl <ge...@geneon.de>.
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.
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
> --
> View this message in context:
> http://www.nabble.com/Inclunded-font-doesn%27t-work-tp25923033p2592303
> 3.html Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Inclunded-font-doesn%27t-work-tp25923033p25923362.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: AW: Inclunded font doesn't work
Posted by Reliquiem <bb...@live.de>.
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
> --
> View this message in context:
> http://www.nabble.com/Inclunded-font-doesn%27t-work-tp25923033p25923033.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Inclunded-font-doesn%27t-work-tp25923033p25923362.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
AW: Inclunded font doesn't work
Posted by Georg Datterl <ge...@geneon.de>.
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
--
View this message in context: http://www.nabble.com/Inclunded-font-doesn%27t-work-tp25923033p25923033.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org