Skip to content

webOS-ports/org.webosports.app.pdf

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WebOS Ports PDF View

A PDF Viewer App for WebOS.

Building for WebOS

  • Clone the git repository
  • cd org.webosports.app.pdf
  • tools\deploy-webos.bat
  • palm-install bin*.ipk

Installing on Ports Emulator

tools\ports-install.bat bin*.ipk

Updating PDF Lib

This App uses Mozilla pdf.js library to render the PDF document. You can update it to the latest version using following steps (testted with pdf.js version 0.8.894)

$ git clone git://github.com/mozilla/pdf.js.git pdfjs
$ cd pdfjs
$ node make generic
$ cp build/generic/build/pdf.js FULL_PATH/org.webosports.app.pdf/lib/pdf.js/
$ cp build/generic/build/pdf.worker.js FULL_PATH/org.webosports.app.pdf/lib/pdf.js/
$ cp build/generic/web/compatibility.js FULL_PATH/org.webosports.app.pdf/lib/pdf.js/

Notes

  • Legacy WebOS does not support loading custom fonts. So it will fallback to default font. This means if your PDF uses some special font that does not translate well into the default font you will get garbage.

TODO