Print Page | Close Window

Character Encoding - Update?

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=4007
Printed Date: 22 Nov 24 at 7:42AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Character Encoding - Update?
Posted By: funkl
Subject: Character Encoding - Update?
Date Posted: 14 Apr 23 at 7:37AM
I am using Version 12.12 of the library and  have now the need to print greek letters into the PDFs that I am creating programmatically.
As far as I have seen in the online documentation, version 12 is not capable of doing so - there seems to be only a very limited list of unicode chars that can be used.

Can the newer versions of the library print greek characters (and eventually others like arabic, chinese, etc.)?

Regards,
Martin



Replies:
Posted By: tfrost
Date Posted: 14 Apr 23 at 10:34AM
I have one ancient machine here which has 12:12 installed, and it seems to support Unicode fully. Of course you need to select a font which includes the Unicode characters you need, and to be using a programming language which allows you to send them to QP.DrawText easily (I use Delphi).

I suggest starting by running the supplied DebenuPDFLibraryDemo.exe, and go to Scripts/Fonts/Add Unicode Text. When I ran this script it created a PDF in the 'output' folder with the correct Chinese text 你好 visible. and when I changed the sample text to Καλημέρα it wrote this into a PDF also.

Then you should be able to convert the script into whatever programming language you are using. And yes, this would be the same in later versions, if it was possible to upgrade, which of course is no longer the case.

If this still fails to work for you, please post some details of the code you are using and I am sure someone here can help.



Posted By: funkl
Date Posted: 14 Apr 23 at 12:09PM
Thanks, that helped a lot - works now!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk