try the following:
1. rewrite your fop conf file to read as follows:
...
<renderer mime="application/pdf">
<fonts>
<auto-detect/>
</fonts>
</renderer>
...
2. rm ~/.fop/fop-fonts.cache
then rerun to see if you get different behavior;
the two changes above ensure that FOP has access to the system supplied
fonts (via auto-detect), and that the FOP font cache is rebuilt prior to
formatting
regards,
glenn
On Tue, Aug 31, 2010 at 12:37 AM, Nikolaos Paraschou <[email protected]>wrote:
> Unfortunately FOP insists to put a "#" in place of "ί".
>
> I can confirm that Arial.ttf contains a CMAP entry for all the required
> characters. I opened Arial.ttf with Character Map (the Windows utility for
> viewing fonts). There I inserted code "03af" and it showed the character
> "ί".
> The same applies for FreeSans.ttf.
>
> myconfig2.xml contains exactly this code:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <fop version="1.0">
> <renderers>
> <renderer mime="application/pdf">
> <fonts>
> <font embed-url="file:///C:/Users/nikos/MyFonts/arial.ttf">
> <font-triplet name="arial" style="normal" weight="normal"/>
> </font>
> </fonts>
> </renderer>
> </renderers>
> </fop>
>
> Since I explicitly tell FOP to use arial.ttf, why does it not use it? I
> also tried this on a Mac OS X 10.6 using Arial with no success. I get the
> same warning telling iotatonos couldn't be found in font 'Symbol'.
>
> Maybe I am doing something else wrong?
>
> Nikos
>
>