Skip to content

This sample shows a issue of Apple PDFKit when making changes to PDF files.

License

Notifications You must be signed in to change notification settings

HackingGate/PDFReader-Mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDFReader-Mac Application

This sample shows a issue of Apple PDFKit when making changes to PDF files.

Overview

This example has a Highlight text feature, select a text, tap "Highlight" on Touch Bar, changes will automatically save.

Issue

PDFDocument.write(toFile:) (document) breaks vertical writting PDF documents.

Steps to reproduce

Find a vertical writting PDF document that text can select vertically.

Download the example doucment.

Check if document text can be select vertically.

select_vertically

Open this document in PDFReader-Mac.

Select a text, tap "Hightlight" on Touch Bar.

Close and open file again.

You can see vertical text selection is broken.

broken

About

This sample shows a issue of Apple PDFKit when making changes to PDF files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages