MuPDF 1.25.0 Documentationmupdf-gl 31 5.2 muraster 34 5.3 mutool 35 6 CAPI 65 6.1 MuPDF modules 65 7 MuPDF & Javascript 85 7.1 Class A-Z Index 85 7.2 Matrices and Rectangles 86 7.3 Colors 89 7.4 Object Protocols want to work from and do: npm install mupdf • To verify your installation you can then create a JavaScript file as such: const mupdf = require("mupdf"); console.log(mupdf); • Save this file as The following JavaScript sample demonstrates how to load a local document and then print out the page count. Ensure you have a valid PDF for “my_document.pdf” file alongside this JavaScript sample before0 码力 | 259 页 | 1.11 MB | 1 年前3
MuPDF 1.23.0 Documentationmupdf-gl 27 4.2 muraster 30 4.3 mutool 31 5 CAPI 61 5.1 MuPDF modules 61 6 MuPDF & Javascript 81 6.1 Class A-Z Index 81 6.2 Matrices and Rectangles 82 6.3 Colors 85 6.4 Object Protocols want to work from and do: npm install mupdf • To verify your installation you can then create a JavaScript file as such: const mupdf = require("mupdf"); console.log(mupdf); • Save this file as The following JavaScript sample demonstrates how to load a local document and then print out the page count. Ensure you have a valid PDF for “my_document.pdf” file alongside this JavaScript sample before0 码力 | 245 页 | 817.74 KB | 1 年前3
MuPDF 1.24.0 Documentationmupdf-gl 27 4.2 muraster 30 4.3 mutool 31 5 CAPI 61 5.1 MuPDF modules 61 6 MuPDF & Javascript 81 6.1 Class A-Z Index 81 6.2 Matrices and Rectangles 82 6.3 Colors 85 6.4 Object Protocols want to work from and do: npm install mupdf • To verify your installation you can then create a JavaScript file as such: const mupdf = require("mupdf"); console.log(mupdf); • Save this file as The following JavaScript sample demonstrates how to load a local document and then print out the page count. Ensure you have a valid PDF for “my_document.pdf” file alongside this JavaScript sample before0 码力 | 249 页 | 830.15 KB | 1 年前3
MuPDF 1.22.0 Documentation3 MuPDF on the command line 21 3.1 mupdf-gl 21 3.2 muraster 24 3.3 mutool 25 3.4 mutool JavaScript API 51 4 CAPI 121 4.1 MuPDF modules 121 5 Language Bindings 141 5.1 The C++ MuPDF • mutool An all purpose tool for dealing with PDF files. Used in conjunction with the mutool JavaScript API ### 3.1 mupdf-gl The OpenGL based viewer can read PDF, XPS, CBZ, EPUB, & FB2 documents user styles to load for EPUB layout. -X Ignore publisher styles for EPUB layout. -J Disable JavaScript in PDF forms. ## -A level Set anti-aliasing level or pixel rendering rule. • 0: off. • 2: 40 码力 | 175 页 | 698.87 KB | 1 年前3
PyMuPDF 1.24.2 DocumentationPDF doc.save("a-freetext.pdf") The result looks like this: ### 12.3 Using Buttons and JavaScript Since MuPDF v1.16, 'FreeText' annotations no longer support bold or italic versions of Helvetica, Courier. It is impossible to use PyMuPDF to modify this. Solution: Using Adobe's JavaScript API, it is possible to manipulate properties of Freetext annotations. Check out these references: we can make use of this JavaScript feature to modify the font - thus circumventing the above restriction. Use PyMuPDF v1.16.12 to create a push button that executes a Javascript containing the desired code0 码力 | 565 页 | 6.84 MB | 2 年前3
PyMuPDF 1.12.2 documentationsupport it with this flag. */ /* #define FZ_ENABLE_JPX 1 */ /* Choose whether to enable JavaScript. By default JavaScript is enabled both for mutool */ /* #define FZ_ENABLE_JS 1 */ /* Choose which fonts to 2018. Created using Sphinx 1.6.6. This destination refers to some named action to perform (e.g. a javascript, see Adobe PDF Reference 1.7). Standard actions provided are NextPage, PrevPage, FirstPage, and0 码力 | 387 页 | 2.70 MB | 2 年前3
共 6 条
- 1













