XSL support for font-family with fop

Hello,



I am using Apache fop 2.8 to generate pdf files.

I want to support different language fonts in pdf file, So in fop
configuration, I am using fop auto-detect tag to use custom fonts that are
installed in native os. However, this alone is not sufficient I am forced
to specify the font-family names in the xlst file. Is there any way where I
need not hard code font-family in xlst file such that xlst will use
whatever font is configured in fop. I would appreciate it if anyone could
help me out here.



Thanks

Himamsa

Received on Tuesday, 2 May 2023 11:59:32 UTC