Skip to content

nmtigor/pdf.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The purpose of this project is to help learning PDF format and developing PDF tools.

It is


  • Extract @mymain onto /path_to/TypeScript
  • cd /path_to/TypeScript
    npm i
    hereby LKG
  • Extract this project onto /path_to/pdf.ts
    • In vscode, in the workspace setting, add "typescript.tsdk": "/path_to/TypeScript/lib".

unittest

  • cd /path_to/pdf.ts/src/test
    deno task server
  • cd /path_to/pdf.ts/src/test
    deno run --allow-read --allow-run unittest.ts --tsc "/path_to/TypeScript/bin/tsc"

viewer.html

  • cd /path_to/pdf.ts/src/test
    deno task server
  • cd /path_to/pdf.ts
    /path_to/TypeScript/bin/tsc --preprocessorNames ~DENO,~TESTING
  • Visit http://localhost:9071/src/pdf/viewer.html

Current States

  • GENERIC on browsers
  • unittest: 1061 / 1121 (94.6%)