1 charecter is missing in Copy!!! - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: 1 charecter is missing in Copy!!!

1 charecter is missing in Copy!!! 5 years 4 months ago #3601

  • truculent
  • truculent's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 64
  • Thank you received: 0
hi i found another bug ! :( :ohmy: :huh: :dry:

when copy arabic text 1 charecter is going to missing !

i think this method do that:

-(NSString *)GetSelString
{
if( m_index1 < 0 || m_index2 < 0 || !m_ok ) return NULL;
int txt_len = Page_objsGetCharCount(m_page) + 1;
char *txt = (char *)malloc( txt_len * 2 );
int len = Page_objsGetString(m_page, m_index1, m_index2, txt, txt_len );
NSString *ret = [[NSString alloc] initWithUTF8String:txt];
free( txt );
return ret;
}

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

1 charecter is missing in Copy!!! 5 years 4 months ago #3608

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 847
  • Karma: 43
  • Thank you received: 12
may you send me sample? and tell me pageno that problem appears.
my mail: This email address is being protected from spambots. You need JavaScript enabled to view it.

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

  • Page:
  • 1
Powered by Kunena Forum