Hi,

I can't get FOP to render ▶ correctly in PDF (see e.g.
http://en.wikipedia.org/wiki/Unicode_Geometric_Shapes). 

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"). 

The font's encoding is reported as Ansi, though, and I guess that's where
the problem is. 

In some related bug (https://issues.apache.org/bugzilla/show_bug.cgi?id=6237)
it was recommended to "use a Unicode user font". Now I wonder how I can get
FOP to use or embed a Type 1 font with Unicode encoding?

Bug https://issues.apache.org/bugzilla/show_bug.cgi?id=17828 lets me think
that embedding a TrueType Font could solve the problem, as it seems
TTF is treated as Unicode.

Here is a simple self-contained example to show the glyph in question:

    <?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:flow>
        </fo:page-sequence>
    </fo:root>

Thanks for any hints,
Jörg

-- 
____________________________________________________________________
artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 
UST-Id. DE 217652550

begin:vcard
fn;quoted-printable:J=C3=B6rg von Frantzius
n;quoted-printable:von Frantzius;J=C3=B6rg
org:artnology GmbH
adr:;;Milastr. 4;Berlin;;10437;Germany
email;internet:[EMAIL PROTECTED]
title:Software Architect
tel;work:+49 (30) 443 50 99 26
tel;fax:+49 (30) 443 50 99 99
x-mozilla-html:TRUE
version:2.1
end:vcard


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

Reply via email to