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

TOPIC:

Cannot write text in EditBox 6 years 6 months ago #12975

  • umberto.marini
  • umberto.marini's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
It should be all ok, I am actually using "official" PDFView methods to change the value of the annotartions
- (void)setCommboItem :(int)item
- (void)setEditBoxWithText:(NSString *)text
As you say, they sequentially set the value, call vRenderSync, save the document and end the annotation.
When I call those methods, the instance of m_annot is good and m_status in sta_annot

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

Cannot write text in EditBox 6 years 6 months ago #12978

  • umberto.marini
  • umberto.marini's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I found the problem.
It seems that setting a font for the annotation is mandatory when setting up the library.
I added this line of code
Global_setAnnotFont( "Cousine" );
after configuring the font and all is magically working.

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum