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 - Differebd behaivour fo characters
  FAQ FAQ  Forum Search   Register Register  Login Login

Differebd behaivour fo characters

 Post Reply Post Reply
Author
Message
redak105 View Drop Down
Beginner
Beginner


Joined: 18 Mar 15
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote redak105 Quote  Post ReplyReply Direct Link To This Post Topic: Differebd behaivour fo characters
    Posted: 23 Mar 15 at 3:48PM
Hi,
managed to show Czech characters in PDF form.
But I have problem with character space. After I add some Czech character, all string in form field gets double spacing of characters. This cause to disappear half of text.
Somebody had same problem?
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 23 Mar 15 at 4:39PM
Show repro example.

Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
redak105 View Drop Down
Beginner
Beginner


Joined: 18 Mar 15
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote redak105 Quote  Post ReplyReply Direct Link To This Post Posted: 23 Mar 15 at 5:01PM
http://s3.postimg.org/7u5ky8mtf/PDF.png
Back to Top
mLipok View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 Apr 14
Location: Poland, Zabrze
Status: Offline
Points: 453
Post Options Post Options   Thanks (0) Thanks(0)   Quote mLipok Quote  Post ReplyReply Direct Link To This Post Posted: 23 Mar 15 at 5:05PM
and How you trying to fill this field in your code (show repro script).
edit: part of your code.



Edited by mLipok - 23 Mar 15 at 5:06PM
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600
Back to Top
redak105 View Drop Down
Beginner
Beginner


Joined: 18 Mar 15
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote redak105 Quote  Post ReplyReply Direct Link To This Post Posted: 23 Mar 15 at 5:12PM
Basicaly:
    int fontID = [DQPL AddTrueTypeFont:@"Arial {1250}" :1];
    
    NSLog( @"%d", [DQPL SelectFont:fontID]);
    
    [DQPL SetFontFlags:1 :0 :0 :1 :0 :0 :0 :0];
    int newFontID = [DQPL AddFormFont:fontID];
    
    // update font
    int field_count = [DQPL FormFieldCount];
    while (field_count > 0)
    {
        NSLog(@"%@", [DQPL GetFormFieldTitle:field_count]);
        
        NSLog(@"Add font %d", [DQPL SetFormFieldFont:field_count :newFontID]);
        
        field_count--;
    }
    
    // set form field
    [DQPL SetFormFieldValueByTitle:@"Main_Name" : @"ěščřžýáíé "];
    
    // flate form field
    field_count = [DQPL FormFieldCount];
    while (field_count > 0)
    {
        [DQPL UpdateAndFlattenFormField:field_count];
        
        field_count--;
    }
Back to Top
redak105 View Drop Down
Beginner
Beginner


Joined: 18 Mar 15
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote redak105 Quote  Post ReplyReply Direct Link To This Post Posted: 24 Mar 15 at 3:50PM
Any idea?
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