Thank you very much Pascal,
It's work fine with :
<fo:inline font-size="12pt" font-family="Wingdings"></fo:inline>
<fo:inline font-size="12pt" font-family="Wingdings"></fo:inline>
<fo:inline font-size="12pt" font-family="Wingdings"></fo:inline>
<fo:inline font-size="12pt" font-family="Wingdings"></fo:inline>
and this this fop.config :
<fop version="2.0">
<renderers>
<renderer mime="application/pdf">
<filterList>
<value>null</value>
</filterList>
<fonts>
<!-- Wingdings -->
<font embed-url="file:C:/Windows/Fonts/Wingding.ttf">
<font-triplet name="Wingdings" style="normal"
weight="normal"/>
</font>
</fonts>
</renderer>
</renderers>
</fop>
Christian Pestel
christian.pestel@...
-----Message d'origine-----
From: Pascal Sancho
Sent: Monday, June 04, 2012 4:05 PM
To:
fop-users@...
Subject: Re: Wingdings windows font not well rendered in pdf
Hi,
The characters map in Wingdings is not a standard thing:
"(þýü" are Unicode for "(þýü"
Regarding what is output in the PDF produced with Word:
the sequence you expect is "", witch is
located in [private use character] Unicode page: IOW, this is clearly
not a standard set of characters.
You may use this sequence only with the Windings font, but this will
give unpredictable results with other fonts.
Le 04/06/2012 14:26, Christian Pestel a écrit :
> Hi,
> I use Fop last trunk with this fop.config :
> <fop version="2.0">
> <renderers>
> <renderer mime="application/pdf">
> <filterList>
> <value>null</value>
> </filterList>
> <fonts>
> <!-- Wingdings -->
> <font embed-url="file:C:/Windows/Fonts/Wingding.ttf">
> <font-triplet name="Wingdings" style="normal" weight="normal"/>
> </font>
> </fonts>
> </renderer>
> </renderers>
> </fop>
> and this fo :
> <?xml version="1.0" encoding="utf-8"?>
> <fo:root xmlns:fo="
http://www.w3.org/1999/XSL/Format" >
> <fo:layout-master-set>
> <fo:simple-page-master master-name="section1" page-width="8.26in"
> page-height="11.69in" margin-top="35.4pt" margin-bottom="35.4pt"
> margin-right="70.85pt" margin-left="70.85pt"><fo:region-body
> margin-top="35.45pt" margin-bottom="35.45pt" />
> </fo:simple-page-master>
> </fo:layout-master-set>
> <fo:page-sequence master-reference="section1" format="1">
> <fo:flow flow-name="xsl-region-body" >
> <fo:block line-height="1.2">
> <fo:inline font-family="Helvetica" font-size="12pt"><fo:leader
> leader-length="0pt" />AAA</fo:inline>
> <fo:inline font-size="12pt" font-family="Wingdings">(</fo:inline>
> <fo:inline font-size="12pt" font-family="Wingdings">þ</fo:inline>
> <fo:inline font-size="12pt" font-family="Wingdings">ý</fo:inline>
> <fo:inline font-size="12pt" font-family="Wingdings">ü</fo:inline>
> </fo:block>
> </fo:flow></fo:page-sequence></fo:root>
> the result is the pdf attached file : Wingdings_Fop.pdf
> <fop version="2.0">
> <renderers>
> <renderer mime="application/pdf">
> <filterList>
> <value>null</value>
> </filterList>
> <fonts>
> <directory>file:C:/MyFontsForFop</directory>
> <auto-detect/>
> </fonts>
> </renderer>
> </renderers>
> </fop>
> I delete .fop\fop-fonts.cache
> and I put wingding.ttf in C:/MyFontsForFop
> Same result.
> Please, could you tell me what is wrong ?
> Thank for your help.
--
Pascal
---------------------------------------------------------------------
To unsubscribe, e-mail:
fop-users-unsubscribe@...
For additional commands, e-mail:
fop-users-help@...
---------------------------------------------------------------------
To unsubscribe, e-mail:
fop-users-unsubscribe@...
For additional commands, e-mail:
fop-users-help@...