big thanks it works perfect.
I think the pdf font should be parametrized somewhere in properties i.e
general.properties

I've found that there are used two different fonts: one when you set
font-family="" and another one when you dont't specify this attribute.
maybe the second one is set somewhere...

Krzysztof Podejma


2007/6/27, Christian Geisert <[EMAIL PROTECTED]>:

Krzysztof Podejma schrieb:
> Hello,
> I need polish characters in pdf files, so I have to set FOP default font
to
> Arial.
> I've configured fop.xconf to use Arial and generated font files.
> It works well when I change font-family for blocks in fo files but I
don't
> want to modify all files.

You can declare the font-family in the fo:root element which means you
don't have to do it on every block, just once per document.

> Do you happen to know how to do this?

The default-value for the font-family property is 'sans-serif'
(Helvetica) which is hard coded in FOP.

But if you work with FoDecorator/FoReportDecorator - which you should
should do IMHO - you can declare it there and don't have to worry about
in every report.

--
Christian



Reply via email to