File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Encoding problem in converting PDF to Image using PDFImageWriter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Encoding problem in converting PDF to Image using PDFImageWriter" Watch "Encoding problem in converting PDF to Image using PDFImageWriter" New topic
Author

Encoding problem in converting PDF to Image using PDFImageWriter

kien ngo doan
Greenhorn

Joined: Dec 08, 2010
Posts: 1
Hi every body!
I have a small project and the purpose of project is:
- Generate PDF file from a xls fo file (*.fo)
- Convert file PDF into multiple image (.jpg or .png), each image display a page of PDF file.
I've generated PDF file successfully but I encountered a problem: All unicode character (é, à, á ...) and special character (Europe currency character ... ) in PDF file are not displayed properly in file image.
This error was happened only with my generated PDF file. I've attempted convert other PDF file and its okay. So I guest the problem is from my generated PDF, but I cant correct it.
Can you help me? Thanks a lot

my project link: convert_pdf_to_image
ps: my project was uploaded in mediafire site, just click to download it and run it by eclipse IDE.
file fo: test.fo
generated pdf: test.pdf
generated image: preview1.jpg
all necessary libraries in ./test/lib
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Encoding problem in converting PDF to Image using PDFImageWriter