Print Page | Close Window

Greek characters support

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=1247
Printed Date: 29 Nov 25 at 2:37PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Greek characters support
Posted By: stakon
Subject: Greek characters support
Date Posted: 16 Oct 09 at 11:57AM
Good day,
I am using your QuickPDF dll in MFC/C++

I am able to open/save PDF's with greek names by passing the strings encoded with utf-8 as pointed out in the documentation. Everything works fine here!

When i try to draw text though, the text appears as "?????" or other random characters.
From what i found in the documentation and here in the forums the code below should work.

std::string title("ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ");//The Greek alphabet
int GreekFont = pdf_dll->AddSubsettedFont("Arial",12,title);
pdf_dll->DrawText(100 ,500 ,pdf_dll->GetSubsetString(title));
//Save the pdf and exit...

Please point me out what i am doing wrong.

Thanx in advance,
Stakon.



Replies:
Posted By: stakon
Date Posted: 29 Oct 09 at 7:38AM
Hi,
I noticed that noone has any comment on this topic.

Is it possible that greek characters are unsupported?


Posted By: Ingo
Date Posted: 29 Oct 09 at 9:25AM
Hi!

It's not a problem with greek characters but with unicode.
This is the biggest thing the guys at Debenu are working on and unicode touches nearly every module, every function, ... so it still will last ... but i think it will be better with the next releases. Sure ;-)

Cheers, Ingo


Posted By: Wheeley
Date Posted: 29 Oct 09 at 9:56PM
You should try version 7.17 which was just released today.They made vast improvements for unicode code support. Your problem might be fixed in the latest version. If not contact support directly.

Remember this is a user to user support forum and it might take a while for someone with the answer to reply.

Wheeley Wink



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