Dear all,

I have an issue regarding PDFs that seem to have embedded fonts. I can run the 
pdfbox on my Mac OSX machine with no problems. The result looks great.
But when I run the same command with the same PDF on our Linux server the 
result is not readable/usable (there is text containing mainly special 
characters). 

Here is the command I ran:
java -cp pdfbox-app-1.2.1.jar org.apache.pdfbox.PDFToImage -imageType jpeg 
a.pdf 

Here is the output on the Linux server:
24.08.2010 16:36:40 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont getawtFont
INFO: Can't read the embedded font UMQUZZ+Verdana-Bold
24.08.2010 16:36:40 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont getawtFont
INFO: Using font Verdana Bold instead
24.08.2010 16:36:41 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont getawtFont
INFO: Can't read the embedded font ASLLDO+Calibri-Bold
24.08.2010 16:36:41 org.apache.pdfbox.pdmodel.font.PDTrueTypeFont getawtFont
INFO: Using font Arial instead

And some other info messages like: 
INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = 
java.awt.color.icc_colorsp...@f06fc94 transparency = 1 has alpha = false 
isAlphaPre = false
24.08.2010 16:36:53 org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap 
getRGBImage

But those are printed on OSX as well and seem not to affect the result. The 
only difference in output is the font issue.

Any idea or workaround to get it working on Linux/Ubuntu?

That would help me a lot! 
Thank you so much for your support

Reply via email to