Copied text missing spaces - v2.9.7 - 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
  • 2

TOPIC: Copied text missing spaces - v2.9.7

Copied text missing spaces - v2.9.7 4 years 9 months ago #5402

  • rhill
  • rhill's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
Hi I am currently using the iOS library v2.9.7. When I select the entire page content, there are instances where some words are all stuck together and are missing the spaces that appeared to be present in the PDF itself.

I am using the following code to select the entire page content:
    PDFPage *currentPage = [m_doc page:pageNumber];
    
    [currentPage objsStart];
    
    NSString *pageString = [currentPage objsString:0 :[currentPage objsCount]];

In the one instance, the text was returned as:

Results: Of eleven studies included, six were randomised controlled
trials, three were controlled clinical trials, and two were cohort studies.
Thedischargeplanningstrategiesusedvariedwidely,mostwerelimited
to preparation of discharge during in-patient treatment. Pooled risk

I would have attached a screenshot of the PDF showing the above region but the "Add File" option is not working...

Any ideas?
Attachments:

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

Last edit: by Raj123. Reason: 2nd attempt to add PDF

Copied text missing spaces - v2.9.7 4 years 9 months ago #5505

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 525
  • Karma: 20
  • Thank you received: 60
Hi,

can you try file upload with a different browser?

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

Copied text missing spaces - v2.9.7 4 years 9 months ago #5549

  • rhill
  • rhill's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
added PNG showing PDF file that caused resulted in the text being retrieved not having any spaces...

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

Copied text missing spaces - v2.9.7 4 years 9 months ago #5555

  • stronglee
  • stronglee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 92
  • Karma: 1
  • Thank you received: 2
Hi,
could you upload this pdf file let me check this problem.

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

Copied text missing spaces - v2.9.7 4 years 9 months ago #5559

  • rhill
  • rhill's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
having real trouble attaching files :(

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

Copied text missing spaces - v2.9.7 4 years 9 months ago #5560

  • rhill
  • rhill's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
Having to send the PDF to your support email address as there is absolutely no way I can get it to attach here in the forum...

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum