Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Greek characters support
  FAQ FAQ  Forum Search   Register Register  Login Login

Greek characters support

 Post Reply Post Reply
Author
Message
stakon View Drop Down
Team Player
Team Player


Joined: 09 Oct 09
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote stakon Quote  Post ReplyReply Direct Link To This Post Topic: Greek characters support
    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.
Back to Top
stakon View Drop Down
Team Player
Team Player


Joined: 09 Oct 09
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote stakon Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Wheeley View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 Oct 05
Location: United States
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wheeley Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store