Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Copied text missing spaces - v2.9.7

More
IP: 192.168.0.70 12 years 6 months ago - 12 years 6 months ago #5402 by rhill
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:
Code:
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?
Last edit: 12 years 6 months ago by Raj123. Reason: 2nd attempt to add PDF
More
IP: 192.168.0.121 12 years 6 months ago #5505 by emanuele
Hi,

can you try file upload with a different browser?
More
IP: 192.168.0.70 12 years 6 months ago #5549 by rhill
added PNG showing PDF file that caused resulted in the text being retrieved not having any spaces...
More
IP: 192.168.0.70 12 years 6 months ago #5555 by stronglee
Hi,
could you upload this pdf file let me check this problem.
More
IP: 192.168.0.70 12 years 6 months ago #5559 by rhill
having real trouble attaching files :(
More
IP: 192.168.0.70 12 years 6 months ago #5560 by rhill
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...
Time to create page: 0.666 seconds
Powered by Kunena Forum