Stupid me, I was not making a reference to the conf file,
thank you all very much for your help, this is great

I am now using DejaVu, and it does exactly what I need

At 14:25 8/05/2009, you wrote:
mmh, still not there yet

This is what I did in the configuration file

<font kerning="yes" embed-url="file:///f:/***/fonts/DejaVuSerif.ttf"> <font-triplet name="DejaVuSerif" style="normal" weight="400" />
                                </font>

<font kerning="yes" embed-url="file:///f:/***/fonts/DejaVuSerif-Bold.ttf"> <font-triplet name="DejaVuSerif" style="normal" weight="700" />
                                </font>

And I get this error,

8-mei-2009 14:22:23 org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'DejaVuSerif,normal,400' not found. Substituting with 'any,normal,
400'.
8-mei-2009 14:22:23 org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'DejaVuSerif,normal,700' not found. Substituting with 'any,normal,
700'.

so or I make an error, or it is not using the configuration




At 12:28 8/05/2009, you wrote:
Geert Bormans wrote:

Hi,

Sorry for being so ignorant....

Don't apologize for being a newbie. You've asked on the right list, so we are happy to answer your questions.

I came across dejavu in the archive of this forum
I have downloaded that yesterday
what do I need to exactly do to make it work with fop
- extract all the ttf from the zip
- make some sort of reference to the ttf files in the conf?

Yes add a font element into fop.xconf below the PDF Renderer, an example for Lucide Console:

<font kerning="yes" embed-url="file:///c:/windows/fonts/lucon.ttf">
        <font-triplet name="Lucida Console" style="normal" weight="normal"/>
</font>


- and set the default font family to "dejavu" in the root element of my fo

The 3 steps you've outlined above are a good summary of the steps involved. So give it a go and let us know if you have any problems.

Thanks,

Chris

thanks again


At 12:13 8/05/2009, you wrote:

Hi

Chris Bowditch wrote:
> Geert Bormans wrote:
>
> Hi,
>
>> Hi,
>>
>> I need to deliver PDF for all European languages using FOP (preferably)
>>
>> I am testing on a windows machine, the eventual operation will be on a
>> Sun Solaris 10 machine.
>> And I have a bunch of questions
>>
>> 1. Does anyone have a good recommendation for a font that covers all
>> the characters I will need. Currently I think that Arial Unicode MS
>> would suite best
>> I appreciate suggestions for alternatives
>
> Arial Unicode MS does indeed have a good coverage of glyphs for most
> languages. I can't immediately think of any alternatives. You may find
> you are breaching the license of that font if you are planning on using
> it on a Solaris system however, as I believe it is included with MS
> Office. So technically you would need a license for MS Office for your
> Solaris environment in order to be able to use the font there.

Linux-based distributions provide a lot of fonts with varying coverage
of the Unicode standard. I can think of two of them, DejaVu and
FreeFont, but there are probably others.
http://dejavu-fonts.org/wiki/index.php?title=Main_Page
http://www.gnu.org/software/freefont/
There are also the STIX fonts:
http://www.aip.org/stixfonts/

All those fonts should have a more permissive license than Arial Unicode
MS, and provide a good coverage of all European languages.

<snip/>

HTH,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to