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
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
Libor M
b890ab482b
migrate from Jade to Pug
2019-05-04 13:22:09 +02:00
Libor M
5426f6d0c5
cleanup after decaffeinate
2019-05-04 08:04:24 +02:00
Libor M
16b1802f75
Merge pull request #968 from foliojs/docs-imagemagick
...
Cross-platform support for generate docs
2019-05-04 05:49:35 +02:00
Luiz Américo
5cfab52910
Add test helpers to make easier to write unit tests
2019-05-03 22:05:48 -03:00
Luiz Américo
e08d2dfd47
Update babel to v7 and jest to v24
2019-05-03 21:26:15 -03:00
Libor M
9a9d03916b
switch to cross-platform ImageMagick ( #966 )
2019-05-01 13:33:27 +02:00
Libor M
c759486d5e
fixed writing pdf example files
2019-05-01 07:35:13 +02:00
Libor M
e641a78508
links update
2019-04-30 15:44:49 +02:00
Libor M
5d5d8c4fd5
fix generate website and guide
2019-04-30 15:34:59 +02:00
Libor M
4863560826
fix paper sizes page
2019-04-30 15:28:13 +02:00
Libor M
17f9a018dd
fix annotations example
2019-04-30 15:10:35 +02:00
Libor M
1922c505a4
fix 0.9.1 release date
2019-04-30 07:26:49 +02:00