Hi,

IIRC, the standard Courier font doesn't contain the glyph x25B6;
This is why FOP replaces it with '#'

Font substitution in acrobat Reader cannot retrive the original glyph.
If you want this glyph, you have to ensure that the font used at the FOP stage:
  1/ contains the relevant glyph, and
  2/ is embeded in your PDF (see [1] and [2] for further details).
[1] http://xmlgraphics.apache.org/fop/0.95/fonts.html#embedding
[2] http://xmlgraphics.apache.org/fop/0.95/fonts.html#register

Pascal

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Joerg von 
> Frantzius
> Envoyé : vendredi 29 août 2008 12:16
> 
> Hi,
> 
> I can't get FOP to render ▶ correctly in PDF (see e.g.
> http://en.wikipedia.org/wiki/Unicode_Geometric_Shapes). 
> Before I file a
> bug report, I thought I better ask whether someone is able to 
> render it
> using the following example.
> 
> It should show up in font "Courier". I checked the PDF generated, and
> "Courier" is substituted with the Type 1 font "CourierStd" on 
> my system,
> telling from Acrobat Reader properties for the PDF file. I verified
> using kfontview that indeed "CourierStd" has that glyph (in Unicode
> block "Geometric Shapes").
> 
> I tried with both FOP 0.94 and 0.95.
> 
> Maybe someone could feed the following example into FOP to verify that
> it neither works for him/her while it should?
> 
>     <?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="only">
>                 <fo:region-body region-name="xsl-region-body"
>     margin="0.7in" />
>                 <fo:region-before region-name="xsl-region-before"
>     extent="0.7in" />
>                 <fo:region-after region-name="xsl-region-after"
>     extent="0.7in" />
>             </fo:simple-page-master>
>         </fo:layout-master-set>
>         <fo:page-sequence master-reference="only">
> 
>             <fo:flow flow-name="xsl-region-body">
> 
>                 <fo:block>This should be a black arrow 
> right</fo:block>
>                 <fo:block>
>                     Courier:
>                     <fo:inline font-family="Courier" 
> font-style="normal"
>     font-weight="normal">&#x25B6;
>                     </fo:inline>
>                 </fo:block>
>                 <fo:block>
>                     Helvetica:
>                     <fo:inline font-family="Helvetica" 
> font-style="normal"
>                         font-weight="normal">&#x25B6;</fo:inline>
>                 </fo:block>
>                 <fo:block>
>                     Times:
>                     <fo:inline font-family="Times" font-style="normal"
>     font-weight="normal">&#x25B6;
>                     </fo:inline>
>                 </fo:block>
>                 <fo:block>
>                     Symbol:
>                     <fo:inline font-family="Courier" 
> font-style="normal"
>     font-weight="normal">&#x25B6;
>                     </fo:inline>
>                 </fo:block>
>                 <fo:block>
>                     ITC Zapf Dingbats:
>                     <fo:inline font-family="ITC Zapf Dingbats"
>     font-style="normal"
>                         font-weight="normal">&#x25B6;</fo:inline>
>                 </fo:block>
>             </fo:flow>
>         </fo:page-sequence>
>     </fo:root>
> 
> Thanks,
> Jörg

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

Reply via email to