Hi,
you can generate the metrics from the TTF file as per instructions at http://xmlgraphics.apache.org/fop/trunk/fonts.html ,
a decent unicode font that covers loads of the glyphs is "Arial Unicode MS" font found at C:\WINDOWS\Fonts on my PC.

See:- http://www.alanwood.net/unicode/fonts.html#arialunicodems for details of the Unicode tables it covers.

Even though you are on a Mac, you can still download the font TTF file from Microsoft

cheers

Karl



From: Paul Loy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 19 September 2006 2:29 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Unicode Fonts!!!!

yeah but that still doesn't give me the fonts I need. Where are the unicode PS fonts that I can use?

Kai Mütz wrote:
Did you check: http://xmlgraphics.apache.org/fop/trunk/fonts.html?

  
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Paul Loy
Sent: Monday, September 18, 2006 5:35 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Unicode Fonts!!!!


Do I have to translate all the foreign characters into a character
reference?

Paul Loy wrote:
    
Hi All,

I've inherited a poorly written system. Part of it uses FOP to create
PDFs from an xslt. Now, we have international people on our site which
is fine in HTML (xhtml1.1, utf-8) but when I try to use FOP I get #
instead of any polish characters. I think this is due to the font we
were using didn't have the unicode glyphs.

My question is, where are any unicode fonts for FOP. I just want an
Arial or Helvetica type font, nothing fancy! Then, how do I use this
font in my PDF? Here's a snippet of my xslt:

<xsl:template match="para">
       <fo:block font-family="VAGRounded" font-weight="normal"
font-size="10pt" line-height="13pt" space-before.optimum="10pt"
space-after.optimum="10pt">
           <xsl:apply-templates/>
       </fo:block>
   </xsl:template>
   <xsl:template match="sup">
       <fo:inline vertical-align="super"
font-size="8pt"><xsl:apply-templates/></fo:inline>
   </xsl:template>
   <xsl:template match="sub">
       <fo:inline vertical-align="sub"
font-size="8pt"><xsl:apply-templates/></fo:inline>
   </xsl:template>
   <xsl:template match="i">
       <fo:inline font-style="italic"><xsl:apply-templates/></fo:inline>
   </xsl:template>
   <xsl:template match="i">
       <fo:inline
text-decoration="underline"><xsl:apply-templates/></fo:inline>
   </xsl:template>
   <xsl:template match="pre">
       <fo:block font-family="VAGRounded" font-weight="normal"
font-size="10pt" line-height="13pt" space-before.optimum="5pt"
space-after.optimum="5pt" white-space-collapse="false">
           <xsl:apply-templates/>
       </fo:block>
   </xsl:template>

I've tried changing the VAGRounded bit to Arial, Helvetica, Times New
Roman but I still don't get the characters to be in the final PDF!!!

Thanks for any help,

Paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

      
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

    


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  

This email has been scanned by Postini.
For more information please visit http://www.postini.com

NOTICE

This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank.

Reply via email to