Commit Graph

115 Commits

Author SHA1 Message Date
Antonin Stefanutti
ebbaa74e9f Migrate to opentype.js 2023-05-05 16:53:16 +02:00
Antonin Stefanutti
fc465c4a50 Skip compression for ill-formed fonts 2023-05-05 15:51:21 +02:00
Antonin Stefanutti
8d102c9115
chore: pass options argument around 2022-12-09 18:26:37 +01:00
Antonin Stefanutti
7ba704f82b
chore: Remove chalk-template dependency 2022-12-09 18:03:21 +01:00
Antonin Stefanutti
2b715577dd
fix: replace undefined chalk.keyword method 2022-12-09 17:17:50 +01:00
Nico Jansen
056002fcdc feat(esm): migrate this package to a pure ESM
BREAKING CHANGE: Please run node 12.20 or higher
BREAKING CHANGE: This package is now a pure esm, please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
2022-12-09 17:00:21 +01:00
Alecia Vogel
3114e7ef32 Add timeout to pdf buffering for slide 2022-11-29 09:00:37 +01:00
Kurt Moeller
8d581f4596 make two url loading timeouts options 2022-08-19 12:15:52 +02:00
Antonin Stefanutti
2c9d4ea98d
Use two-steps duplicated entries consolidation 2022-03-09 19:21:15 +01:00
Antonin Stefanutti
c4914a4cbe
Handle fonts with no metadata 2021-11-28 18:11:25 +01:00
Antonin Stefanutti
28507d454b
Add missing await 2021-11-28 18:08:26 +01:00
copart
2e788961f7 Added command line arguments to add author, subject, and title pdf meta data. 2021-09-30 09:04:40 +02:00
Eric Briand
de3d37dfbb Add the recursive option to mkdir 2020-08-11 22:27:38 +02:00
Eric Briand
ccad86a625 Create PDF dir if it doesn't exist 2020-08-11 22:27:38 +02:00
Antonin Stefanutti
cc7f2fbc34
Use pdf-lib instead of HummusJS for PDF processing 2020-05-15 20:17:30 +02:00
Antonin Stefanutti
9a910e1682
Upgrade Puppeteer to version 2.0.0 2020-01-02 20:01:47 +01:00
Antonin Stefanutti
95b14dbf82
Use hummus.PDFRStreamForBuffer instead of custom buffer adapter 2019-11-03 13:51:11 +01:00
Antonin Stefanutti
6b46a95780
Support passing additional arguments to Chrome from CLI 2018-10-19 12:49:15 +02:00
Antonin Stefanutti
fa215c4758
Revert to using networkidle0 instead of networkidle2 2018-09-14 08:42:40 +02:00
Antonin Stefanutti
2c4838a5c8
Better format JSHandle object from console message 2018-08-23 12:37:46 +02:00
Antonin Stefanutti
272b702492
Launch Chrome with --allow-file-access-from-files flag by default 2018-08-02 22:51:36 +02:00
Antonin Stefanutti
9000249825
Launch Chrome with --disable-dev-shm-usage flag by default 2018-08-02 18:46:19 +02:00
Antonin Stefanutti
76eb3e715a
Annotations are indirect references since Puppeteer 1.6 2018-07-19 12:16:37 +02:00
Antonin Stefanutti
6e98851d8b
Do not output warning on cancelled requests 2018-07-19 10:38:56 +02:00
Antonin Stefanutti
02b22f49fb
Console events are of type ConsoleMessage 2018-07-19 09:38:20 +02:00
Antonin Stefanutti
64185feb64
Add verbose option todo 2018-07-12 10:07:56 +02:00
The PosterKit developers
1a98a5b06b Run "page.goto" with "waitUntil: networkidle2" to make page loading work with data uri resources 2018-05-12 06:13:27 +02:00
Antonin Stefanutti
d28a33b71f
Upgrade Puppeteer to version 1.4.0 2018-05-09 18:11:19 +02:00
Antonin Stefanutti
1ee6449885
Upgrade Puppeteer to version 1.1.1 2018-02-28 15:26:23 +01:00
Antonin Stefanutti
5a5550f9b6 Update usage 2018-01-03 13:13:31 +01:00
Antonin Stefanutti
d59ad7fb67 Revert Puppeteer to version 0.12.0 to be compatible with latest Alpine (musl) Chromium 2018-01-03 11:20:59 +01:00
Antonin Stefanutti
3c05071bac Fix error message when size option is not valid 2017-12-20 11:04:44 +01:00
Antonin Stefanutti
bc3fd622da More robust font compression key 2017-12-19 15:50:44 +01:00
Antonin Stefanutti
c8cb03f1c3 Glyph contours can be null while consolidating fonts 2017-11-21 10:23:30 +01:00
Antonin Stefanutti
5e4ff9e9fa Fix local URL resolution on Windows 2017-11-18 15:25:31 +01:00
Antonin Stefanutti
baa00efb74 Upgrade Puppeteer to version 0.13.0 2017-11-12 15:05:45 +01:00
Antonin Stefanutti
64f504d1e5 Default to file:// scheme for slides URL 2017-11-10 17:49:52 +01:00
Antonin Stefanutti
65f29cd11b Migrate to fonteditor-core version 1.0.2 2017-11-02 17:43:39 +01:00
Antonin Stefanutti
e02347ea25 Avoid buffer copy when reading font compressed streams 2017-10-03 16:12:10 +02:00
Antonin Stefanutti
a9ef2120ef Do not timeout for pages with pending partial content requests 2017-09-29 15:47:41 +02:00
Antonin Stefanutti
20a3873032 Default size to 16:10 ratio for Shower presentations 2017-09-25 15:21:39 +02:00
Antonin Stefanutti
8091772176 Support Type0 / TTF fonts consolidation 2017-09-24 16:00:41 +02:00
Antonin Stefanutti
000d3f7142 Factorise duplicated images into single PDF XObject references 2017-09-15 10:56:35 +02:00
Antonin Stefanutti
5082bd7a75 Introduce context object for state-free default plugin 2017-09-14 18:54:48 +02:00
Antonin Stefanutti
e7cba27dbf Exit Node process on unhandled promise rejection 2017-09-12 16:47:00 +02:00
Antonin Stefanutti
af3fdbb8d9 First slide is exported regardless the slides option 2017-09-12 16:26:25 +02:00
Antonin Stefanutti
2f9116acab Fix return code 2017-09-11 14:50:59 +02:00
Antonin Stefanutti
2478f83798 Add link annotations to the output PDF 2017-09-08 17:10:38 +02:00
Antonin Stefanutti
659e646334 Add some console colors 2017-09-07 20:19:41 +02:00
Antonin Stefanutti
b9f9a552bc More ES6 / ES7 use 2017-09-04 12:06:40 +02:00