J. Pietschmann wrote:

> Hmm, standard fallback behaviour. The problem with text/plain is
> that some software in the processing chain (server or client) may
> be tempted to fiddle with line endings, which is bad for TTF which
> are binaries.
> ...
> Also try do define application/octet-stream for TTF
> in the server configuration and see whether this helps.

you have right, changing content type to application/octet-stream solved
the problem

> Finally, did you try to generate a PDF with
> jboss+tomcat without font embedding? Something might corrupt
> the PDF independently of that. I never had problems with Tomcat
> and all kinds of FOP servlets, I never used JBoss though.

generating PDFs using only standard fonts works correctly under Jboss + tomcat,
I've only noticed problems with user defined fonts, now solved, 

thank once again for help

best regards

-- 
Michał "Yahoo" Jaśtak,
  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
  http://www.ncac.torun.pl/~warlock

       "Try not. Do. Or do not. There is no try." (Yoda)

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

Reply via email to