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

TOPIC:

Enrichment showing christmas tree. 6 years 1 month ago #13501

  • doubleeye
  • doubleeye's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Creating Enrichment of text example "A X B" X-> mathmatical symbol.
resulting in PFA.
Attachments:

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

Enrichment showing christmas tree. 6 years 1 month ago #13502

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Your needs aren't clear.
May you better explain?

Are you looking for a way to render emoticons?
It's the font your using containing such symbols?

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

Enrichment showing christmas tree. 6 years 1 month ago #13509

  • doubleeye
  • doubleeye's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Hi,

I have highlighted Text like "A X B" . when I call method to get selected text - retured text not rendering special character (X -> multiplication) and when I print it in label it is printing Christmas tree.
Method name : Page_objsGetString - Not rendering multiplication symbol which is highlighted.

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

Enrichment showing christmas tree. 6 years 1 month ago #13510

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
Can you please tell us the model and OS version of the device you are testing on?

Can you also send us the full code snippet involved in this operation?

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

Enrichment showing christmas tree. 6 years 1 month ago #13522

  • doubleeye
  • doubleeye's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Ipad Mini, IOS version 9.3

fetching selected text using - [self.pdfVIew vSelGetText];

- (NSString *)vSelGetText {
//NSLog(@"selGettext");
if (m_status != sta_sel) return nil;
struct PDFV_POS pos;
[m_view vGetPos:&pos :m_tx :m_ty];
if (pos.pageno >= 0) {
self.selections = [[NSMutableArray alloc] init];
PDFVPage *vpage = [m_view vGetPage:pos.pageno];
[vpage getSelectionArray];
self.selections = [vpage selectionArray];
return [vpage GetSel];
}
return nil;
}

Font I am using is "argbsn00lp.ttf"

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

Enrichment showing christmas tree. 6 years 1 month ago #13525

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

can you please share the pdf file with the math symbol?

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum