606 Commits

Author SHA1 Message Date
Devon Govett
9fbd52e033
Merge branch 'master' into support-png-interlaced 2019-11-16 19:26:51 -08:00
Luiz Américo
733c1210a9 Update changelog 2019-11-15 23:00:55 -03:00
Luiz Américo
a7116f244c Pass number function directly to map 2019-11-15 22:59:00 -03:00
Luiz Américo
4d8de9164c Fix gradient with multiple stops (#1045) 2019-11-15 22:56:10 -03:00
Luiz Américo
b284473bcc
Merge pull request #1054 from blikblum/nointerop
Do not emit interopDefault helper
2019-11-14 21:56:07 -03:00
Luiz Américo
f0d7da28dd Do not emit interopDefault helper 2019-11-14 21:55:52 -03:00
Luiz Américo
d09df0ab46
Merge pull request #1052 from blikblum/master
Update dependencies
2019-11-14 21:28:09 -03:00
Luiz Américo
10920f183e Update dependencies 2019-11-14 21:22:19 -03:00
Luiz Américo
44e265bc2a
Merge pull request #1023 from URSELF-FR/master
Fix infinite loop when lineWidth is smaller than width of a character
2019-11-14 12:52:14 -03:00
VincentGuinaudeau
acf318b87c comments, test and changelog entry for fix when a character is too bigger than the width of the text. 2019-11-14 12:08:04 +01:00
Luiz Américo
51d4fdd0a3
Merge pull request #1020 from padraiggalvin/link-annotation-flag
Set link annotation flag to print by default
2019-11-13 19:32:04 -03:00
Luiz Américo
3af8c95d47
Merge pull request #1031 from blikblum/master
Simplify github PR template
2019-09-29 00:49:46 -03:00
Luiz Américo
dfc6bf3b72 Simplify github PR template 2019-09-29 00:47:45 -03:00
Luiz Américo
508793ece4 Update changelog 2019-09-29 00:37:33 -03:00
Luiz Américo
59a782e42a png: add interlaced images tests 2019-09-29 00:04:03 -03:00
Luiz Américo
30ec8b0c30 png: use predictor 1 (none) for interlaced images 2019-09-29 00:03:07 -03:00
Luiz Américo
c658bef0cc png: decode pixels when image is interlaced 2019-09-28 21:26:11 -03:00
Luiz Américo
50dbed9401 Remove redundant value existence checks 2019-09-28 21:21:30 -03:00
VincentGuinaudeau
17e08a66dd Fix infinite loop when lineWidth is smaller than width of a character. Not sure about what to do in this case yet. 2019-09-11 14:57:51 +02:00
Pádraig Galvin
058f6fa5e7 Fix typo in comment 2019-09-06 18:54:41 +02:00
Pádraig Galvin
f6cd98666e Set link annotation flag to print 2019-09-05 16:41:00 +02:00
Luiz Américo
1228c259bd
Merge pull request #1019 from padraiggalvin/define-font-mapping
Explicitly define default value for CIDToGIDMap
2019-09-04 11:17:31 -03:00
Pádraig Galvin
068e9afe05 Explicitly define default value for CIDToGIDMap 2019-09-04 15:04:27 +02:00
Luiz Américo
4a64e94c3a
Merge pull request #1013 from HughePaul/patch-1
Allow removing link annotation in continued text
2019-09-02 19:15:49 -03:00
Paul Winkler
b410466068
enable removing link annotation in continued text
Text options currently add a link annotation unless the link is `undefined` or `null`. When the text options are built using the continued flag any value that is `null` or `undefined` is overridden by the continued options. As `0` is used for a first page link, it should be allowed to specify `false` to stop continued text being a link.
2019-09-02 16:45:58 +01:00
Luiz Américo
87ebd521ae
Merge pull request #998 from maiers/maiers-patch-1
Fix bug with undefined / null document properties crashing `new PDFDocument`
2019-07-11 12:04:25 -03:00
Sebastian
8dd2211ce2 simplified as per review comment by blikblum 2019-07-11 17:01:46 +02:00
Sebastian
89396ebe44 unit tests added 2019-07-11 15:52:28 +02:00
Sebastian Maier
546a7f82a3
Fix bug with document properties being undefined
`generateFileID` builds a hash on some document properties, some of them might be undefined or null such that `toString()` will fail. Replaced `toString()` with `String(value)`
2019-07-11 14:54:23 +02:00
Luiz Américo
deeffd559c
Merge pull request #987 from blikblum/master
Fix infinite loop when text is positioned after page right margin. Based on #986
2019-06-11 21:37:24 -03:00
Luiz Américo
f6ba2ef0c0 Fix infinite loop when text is positioned after page right margin. Based on #986. Fixes #477 #877 #391 2019-06-11 21:36:51 -03:00
Luiz Américo
fd2f9dc80e v0.10.0 2019-06-06 21:11:29 -03:00
Luiz Américo
1e4fd0c933 Update browser usage in readme 2019-06-06 20:35:05 -03:00
Luiz Américo
646fa5b805 Remove saslprep dependency 2019-06-06 20:11:37 -03:00
Luiz Américo
f4888ee75b Add standalone build 2019-06-06 20:09:57 -03:00
Luiz Américo
f80058a68a Uses full saslprep path in import (fix build) 2019-06-06 20:08:10 -03:00
Luiz Américo
1d7a18c468 Use local, optimized version of saslprep package 2019-06-06 19:44:27 -03:00
Luiz Américo
4d02fff04e Remove deprecated method PDFDocument.output 2019-06-06 19:19:11 -03:00
Luiz Américo
d91b890494
Merge pull request #969 from floyd-may/throw-on-bad-dash
throw errors when invalid values passed to dash(...)
2019-05-07 12:26:27 -03:00
Floyd May
5eb7b0d978 code review tweaks 2019-05-07 08:32:25 -05:00
Luiz Américo
77dce77341
simplify string join expression
Co-Authored-By: floyd-may <floyd.may@gmail.com>
2019-05-07 08:29:07 -05:00
Floyd May
fd29fe2f99 throw errors when dash receives invalid args 2019-05-06 08:51:49 -05:00
Libor M
58d5495920
Merge pull request #970 from foliojs/jade-to-pug
Jade to Pug
2019-05-05 08:33:49 +02:00
Luiz Américo
f486d11efe Add dash unit tests 2019-05-04 22:30:34 -03:00
Luiz Américo
0938f79d1a Fix logic to check if test passes in toContainChunk 2019-05-04 22:30:08 -03:00
Luiz Américo
fba7f33c14 Normalize unit tests to use jest matcher and ES import 2019-05-04 21:10:57 -03:00
Luiz Américo
3f4052568d Improve output of toContainChunk jest matcher 2019-05-04 20:06:50 -03:00
Libor M
8f0e2ba901 update ignored files in npm 2019-05-04 13:45:40 +02:00
Libor M
f6f8694a06 missing license added 2019-05-04 13:36:55 +02:00
Libor M
1d45080575 Update yarn.lock 2019-05-04 13:31:40 +02:00