Forum How do I...?

Character encoding problem - Prince 6 & Redhat Linux ES

spatnaik
Hi

I am using Prince to convert html to pdf from my application.
To be more elaborate, I have a jsp which is generated dynamically. I capture the html stream of this jsp, feed it to Prince and get my pdf.

I could generate the reports successfully from the application on Windows platform.
I want to generate the same on Redhat Linux ES 4 and I am running into problems. The prince log file says -
---- begin
Wed Dec 5 01:08:22 2007: warning: no glyphs for character U+0044, fallback to '?'
Wed Dec 5 01:08:22 2007: internal error: no fallback glyph for character U+0044
Wed Dec 5 01:08:22 2007: ---- end

So I guess it is some kind of character encoding problem.

My jsps have

 page language="java" import="java.util.*" pageEncoding="ISO-8859-1" 
on top of the page and

 meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" 
within the <head> tags of the jsp

My Css file has
@CHARSET "ISO-8859-1";


Do I need to set the character encoding anywhere else? or do I need to use some other character encoding !!!! :roll:

Any help is greatly appreciated

Thanks,
Smita
mikeday
Actually it's probably a font problem, try installing the msttcorefonts package.
spatnaik
Installing the microsoft fonts helped ! Thanks :)