Chinese WMF file can not make readable pdf file

This Forum is for the use of Clarion For Windows - Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics.

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker - Clarion Support, John - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Support Staff, moderators

Post Reply
terryhcw
User
Posts: 14
Joined: Wed Mar 30, 2005 4:00 pm

Chinese WMF file can not make readable pdf file

Post by terryhcw » Sun Mar 17, 2013 3:50 pm

Hi,

Doese Pdf xchange support chinese?

I use the attach WMF to make a PDF file. The chinese content can not read. Does I miss some setting in the template or this is the clarion problem?

I attach the wmf and converted pdf file for your reference.

Regards

Terry Ho
Attachments
abc.zip
(41.81 KiB) Downloaded 125 times

User avatar
Paul - Tracker Supp
Site Admin
Posts: 4880
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Chinese WMF file can not make readable pdf file

Post by Paul - Tracker Supp » Sun Mar 17, 2013 11:24 pm

Hi terryhcw,

I believe the issue is related to the fonts used in the wmf file. When I used PDF-Tools to convert the image to PDF it also did not support the font. The same happened when I opened the file in MS Paint and sent it to the PDF-XChange Printer. http://tracker-software.com/product/pdf ... e-standard The fonts were not displayed correctly in Paint either.

When I opened your source file in the GIMP http://www.gimp.org/ image manipulation program it did render correctly and the resulting PDF is correct when printed through the PDF-XChange Printer.

You would be much better off using the PDF-XChange Printer than PDF Tools for this as it should take what it rendered by your graphic program and create a PDF with the same fonts, as long as they are available on your system of course.

Take a look at the results I attached. I think the Printer is your better option.

hth
Attachments
abc.zip
(38.17 KiB) Downloaded 139 times
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: Chinese WMF file can not make readable pdf file

Post by Tracker - Clarion Support » Mon Mar 18, 2013 12:54 am

Thanks for helping, Paul! :)
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

terryhcw
User
Posts: 14
Joined: Wed Mar 30, 2005 4:00 pm

Re: Chinese WMF file can not make readable pdf file

Post by terryhcw » Mon Mar 18, 2013 4:11 am

Hi

Thanks your advise. If using printer option, it need to install the printer driver in each user computer. Also I can not know when the the printer job is finish. I need to capture the finished PDF file and then through my email system to send or fax the file. Or I need to storage the PDF file in the database.

Regards

Terry Ho

User avatar
Paul - Tracker Supp
Site Admin
Posts: 4880
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: Chinese WMF file can not make readable pdf file

Post by Paul - Tracker Supp » Mon Mar 18, 2013 4:31 am

Hi terryhcw,

I think you will need the help of our Clarion expert Craig. I've sent him a note to take a look but it's after midnight where he is now so you won't see anything until tomorrow I expect.

regards
_________________
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com

Tracker - Clarion Support
Site Admin
Posts: 1412
Joined: Wed Jun 30, 2004 4:45 pm
Location: Maryland, USA
Contact:

Re: Chinese WMF file can not make readable pdf file

Post by Tracker - Clarion Support » Mon Mar 18, 2013 12:28 pm

Hi Terry!

If the Chinese fonts are available on the PC where you are creating the PDF, you can try PDF-Tools' Font Embedding to see if that will correct the output PDF display issue. You will have to set the default fonts at the Global and Report Procedure levels.

If you want to try the PDF-XChange Printer Driver under program control, it generates events inside the Clarion program that's calling it, one of which is the OnDocSaved event, which is when you know the PDF has actually been saved to your HDD.

You can download and test the printer driver by selecting the Clarion download from this page:

http://www.tracker-software.com/product ... rivers-api

You can change the report in the demo abtpdf50.app to use some Chinese characters, and see if the generated PDF is correct.
Craig Ransom
Tracker Software - Clarion Support
http://www.tracker-software.com

Post Reply

Return to “PDF-Tools SDK (DLL Libraries Only) - Clarion For Windows Developers Only Please”