Hi,

And suddenly it works just fine. Thanks very much for your help J.Pietschmann.
Another question:
Let's say I integrate a font that the user, who reads the PDF, hasn't got on his computer. What will happen? Will he still see my font? Will the font be replaced by some default font? Will he see nothing?


And one more question:
Is there a simple way to integrate the fonts right away in the package, so I don't have to "register" the fonts in my code every time. What I mean: Modify the source-code of fop, compile it and don't worry about extra "registering".


Thanks
Jonny


From: "J.Pietschmann" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Integrate fonts in java-application?
Date: Fri, 12 Dec 2003 17:25:29 +0100

Jonny Pony wrote:
So how can I work with the config-file and font-XMLs and *.TTFs in my code?

See http://xml.apache.org/fop/embedding.html#config-external

(I don't want to have absolute paths, like "embed-file="file:///C:/Windows/Fonts/AriBlk.ttf" in my code)
Has anyone got sample code for this? Is there a tutorial?

Check the font base URL. See http://xml.apache.org/fop/fonts.html near the end.

J.Pietschmann


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


_________________________________________________________________
FreeSMS abr�umen mit dem MSN Messenger - der Countdown l�uft! http://messenger-mania.msn.de Jetzt mitmachen und gewinnen!



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



Reply via email to