GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - baupen/SimplePDFKit: A performant PDF rendering library for single pages.

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
SimplePDFKit
SimplePDFKit
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

Need to display very complex PDFs with good performance?
Consider your prayers answered:

SimplePDFKit

A performant, PDFium-based iOS PDF rendering library for single pages.

The PDFium build used is from paulocoutinhox/pdfium-lib, who managed what I never could: to get PDFium to build for iOS (thanks so much!).

Pros

  • It's fast. Like really fast. Many PDFs that are barely viewable with the built-in PDFKit are no problem at all for this library.
  • Supports virtually any zoom level (well, any zoom level UIScrollView supports; all I'm saying is this library isn't going to be the limiting factor).
  • Has simple but powerful APIs for overlaying things onto the PDF, as well as changing the overall visuals.

Cons

  • While PDFium is very good at rendering curves, it's actually less performant than the built-in PDFKit when it comes to rendering font-based text! It's not terrible, but definitely noticeable.
  • Contains 42 MB PDFium binary. This is really not a big problem though, especially considering bitcode + app thinning will trim it down even further for end users—12 MB of that is x64 rather than ARM, for the simulator.

About

A performant PDF rendering library for single pages.

Topics

iospdfpdf-viewerswiftuikit

Resources

Readme
MIT license
Activity
Custom properties

Stars

29 stars

Watchers

6 watching

Forks

7 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.