When I look at the metric file it says "HelveticaCyr", not "Helvetica",
which might indicate an east-european variant of Helvetica in a
different encoding. I assume FOP can't deal with that kind of font, yet,
and handles it wrong. I think the best alternative for you would be to
find out whether there's a TrueType variant of the font.

On 11.03.2007 17:46:08 lidl wrote:
> 
> Hi @all
> 
> I have the following problem on which, I hope, you can help me.
> Im searching for an Solution for days :(...
> 
> I have an xls-fo file which should use Helvetica & Helvetica Bold, so I
> created a PFM & a XML-Metrics file form a PFB-file.
> 
> The output-PDF looks good, and also the font was successfullly embed by FOP,
> but only umlauts are not displayed.
> 
> My xls-fo file looks like the following:
> 
> <?xml version="1.0" encoding="UTF-8"?>
>       <fo:root xmlns:fn="http://www.w3.org/2005/xpath-functions";
> xmlns:fo="http://www.w3.org/1999/XSL/Format";
> xmlns:xdt="http://www.w3.org/2005/xpath-datatypes";
> xmlns:xs="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>       <fo:layout-master-set>
>               <fo:simple-page-master master-name="default-page" 
> page-height="11in"
> page-width="8.5in" margin-left="0.6in" margin-right="0.6in">
>                       <fo:region-body margin-top="0.79in" 
> margin-bottom="0.79in"/>
>               </fo:simple-page-master>
>       </fo:layout-master-set>
>       <fo:page-sequence master-reference="default-page" 
> initial-page-number="1"
> format="1">
>               <fo:flow flow-name="xsl-region-body">
>               <fo:block>
>                       <fo:inline font-family="Helvetica">Helvetica ÖÄÜ 
> öäü</fo:inline>
>                       <fo:block break-after="page">
>                       </fo:block>
>                       <fo:block id="SV_RefID_PageTotal"/>
>               </fo:block>
>               </fo:flow>
>       </fo:page-sequence>
> </fo:root>
> 
> The font-reference in the FOP-config:
> ...
> <font metrics-url="fonts/Helvetica/HVYU____/HVYU____.xml" kerning="yes"
> embed-url="fonts/Helvetica/HVYU____/HVYU____.pfb">
>           <font-triplet name="Helvetica" style="normal" weight="normal"/>
>         </font>
> ...
> 
> The PDF-File contents only
> "Helvetia", and after that word 8 Whitespaces (1 Real, 1 for Ö, 1 for Ä and
> so on...)
> 
> When I mark the (ö) whitespace and copy & paste it into a notepad i can see
> these letters correctly.
> 
> So whats wrong? I can't find it.
> http://www.nabble.com/file/7083/HVYB____.xml HVYB____.xml 
> -- 
> View this message in context: 
> http://www.nabble.com/FOP-embed-font---%3E-umlauts-are-not-displayed-tf3385049.html#a9422252
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 



Jeremias Maerki


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

Reply via email to