arabic save problem! - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: arabic save problem!

arabic save problem! 6 years 1 month ago #3477

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • 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! 6 years 1 month ago #3487

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 92
  • Karma: 1
  • 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! 6 years 1 month ago #3489

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • 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! 6 years 1 month ago #3512

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

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

arabic save problem! 6 years 1 month ago #3513

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 92
  • Karma: 1
  • 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! 6 years 1 month ago #3514

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • 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