Page selection Index - 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: Page selection Index

Page selection Index 1 year 9 months ago #11941

  • cornelius
  • cornelius's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Hi

It seems like Radaee adds extra carriage return and new line feeds to the pdf text on iOS to render the page. When selecting the same text from PDFKit on macOS the pdf text does not contain the same carriage return and new line feeds as the text selected on iOS. Because of this the character index is not the same on Radaee for iOS and PDFKit for macOS.
Is there a way to remove the extra carriage return and new line feeds added by Radaee so that the character index is the same between Radaee for iOS and PDFKit for macOS?

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

Page selection Index 1 year 9 months ago #11956

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

PDF content is not grouped in lines, paragraphs or columns, but is a sequence of characters with defined positions.
Space characters or carriage return are interpreted by extraction algorithms but there is not a specific way to do it, as it is not a PDF spec.
You can also try using different reader like MacOS PDFKit, Acrobat Pro e Windows 10 PDF Reader, and you will get different results.

Anyway we are evaluating with developers how to handle this case

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

  • Page:
  • 1
Powered by Kunena Forum