Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

arabic save problem! 10 years 8 months ago #3477

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
i found a bug!
in your last version you add note feature!
we work on it! add remove/modify it!
but now we give a bad problem ! when add arabic/persian note it's not save !
we check your PDFviewer sample [last version]!
when add arabic note after save it when press note icon not do any thing!
check pdf with preview the note is empty!

funny note : if you enter 1 character for example 'a'then append arabic charecter it's going to save!

Please Log in or Create an account to join the conversation.

arabic save problem! 10 years 8 months ago #3487

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
Hi,
Is this arabic text? :huh: "ينيخثنستب" I‘ll check this problem.
The following user(s) said Thank You: patel_patel_patel

Please Log in or Create an account to join the conversation.

arabic save problem! 10 years 8 months ago #3489

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
yup!
anyyyy character in arabic or persian !
but if enter 1 english charecter and append arabic charecter it's seems okay :(

Please Log in or Create an account to join the conversation.

arabic save problem! 10 years 8 months ago #3512

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
any solution ?

Please Log in or Create an account to join the conversation.

arabic save problem! 10 years 8 months ago #3513

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
Hi,
This bug was fixed ,there will release a new library. With the new library you can save arabic character. :)
The following user(s) said Thank You: patel_patel_patel

Please Log in or Create an account to join the conversation.

arabic save problem! 10 years 8 months ago #3514

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 64
  • Thank you received: 0
thank you!
but i fix it by little code :D ---->
        if ([[textAnnot substringToIndex:0] isEqualToString:@" "]) {
            textAnnot = [textAnnot substringFromIndex:1]; // when show note, delete space character

        }

        NSMutableString * tempTextAnnot = [[NSMutableString alloc] initWithString:textAnnot];
        [tempTextAnnot insertString:@" " atIndex:0]; // add space character for fix this problem :) 
        textAnnot = [tempTextAnnot copy];
        [m_view vModifyTextAnnot:tempTouchX :tempTouchY :textAnnot];


upload7.ir/images/64925342200789951615.png

i suggest you fix another problems :) or add feature Like change scale of annot or ....

Please Log in or Create an account to join the conversation.

Last edit: by patel_patel_patel.
  • Page:
  • 1
Powered by Kunena Forum