You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Ralph Bruno <Ra...@visiontext.co.uk> on 2001/04/25 17:32:59 UTC
embedding Arial Unicode MS
Hi Fops,
I'm new to Fop and am having a problem getting Arial Unicode MS to display
properly in my pdf. I managed to create a metrics file, and edited the
userconfig.xml as follows
<font metrics-file="conf/arialuni.xml" kerning="yes"
embed-file="file://C:/WINNT/Fonts/ARIALUNI.TTF">
<font-triplet name="Arial Unicode MS" style="italic"
weight="bold"/>
</font>
I'm using an .xsl file, and this seems to be the root of my problem - how
exactly do I specify the font? I've tried Arial, and ArialUnicodeMS in the
following bit of code
<fo:block
color="black"
font-size="8pt"
line-height="11pt"
font-family="Arial">
<xsl:apply-templates select="*|text()"/>
</fo:block>
but only get "WARNING: unknown font Arial,normal,normal so defaulted font to
any" in return.
Where am I going wrong?
Thanks in advance for the help.
Ralph Bruno
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: embedding Arial Unicode MS
Posted by Petr Andrs <pa...@artax.karlin.mff.cuni.cz>.
You have to use the same name in userconfig.xml and in Your FO document
pa
On Wed, 25 Apr 2001, Ralph Bruno wrote:
> Hi Fops,
>
> I'm new to Fop and am having a problem getting Arial Unicode MS to display
> properly in my pdf. I managed to create a metrics file, and edited the
> userconfig.xml as follows
>
> <font metrics-file="conf/arialuni.xml" kerning="yes"
> embed-file="file://C:/WINNT/Fonts/ARIALUNI.TTF">
> <font-triplet name="Arial Unicode MS" style="italic"
> weight="bold"/>
> </font>
>
> I'm using an .xsl file, and this seems to be the root of my problem - how
> exactly do I specify the font? I've tried Arial, and ArialUnicodeMS in the
> following bit of code
>
> <fo:block
> color="black"
> font-size="8pt"
> line-height="11pt"
> font-family="Arial">
> <xsl:apply-templates select="*|text()"/>
> </fo:block>
>
> but only get "WARNING: unknown font Arial,normal,normal so defaulted font to
> any" in return.
>
> Where am I going wrong?
>
> Thanks in advance for the help.
>
> Ralph Bruno
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org