Thank you very much Pascal,
It's work fine with :
fo:inline font-size=12pt font-family=Wingdings#xF028;/fo:inline
fo:inline font-size=12pt font-family=Wingdings#xF0FE;/fo:inline
fo:inline font-size=12pt font-family=Wingdings#xF0FD;/fo:inline
fo:inline font-size=12pt font-family=Wingdings#xF0FC;/fo:inline
and this this fop.config :
fop version=2.0
renderers
renderer mime=application/pdf
filterList
valuenull/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.pes...@orange.fr
-Message d'origine-
From: Pascal Sancho
Sent: Monday, June 04, 2012 4:05 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Wingdings windows font not well rendered in pdf
Hi,
The characters map in Wingdings is not a standard thing:
#x28;#xFE;#xFD;#xFC; are Unicode for (þýü
Regarding what is output in the PDF produced with Word:
the sequence you expect is #xF028;#xF0FE;#xF0FD;#xF0FC;, 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
valuenull/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.85ptfo: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=12ptfo:leader
leader-length=0pt /AAA/fo:inline
fo:inline font-size=12pt font-family=Wingdings#x28;/fo:inline
fo:inline font-size=12pt font-family=Wingdings#xFE;/fo:inline
fo:inline font-size=12pt font-family=Wingdings#xFD;/fo:inline
fo:inline font-size=12pt font-family=Wingdings#xFC;/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
valuenull/value
/filterList
fonts
directoryfile: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-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org