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
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
Sebastian
89396ebe44
unit tests added
2019-07-11 15:52:28 +02: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
1d7a18c468
Use local, optimized version of saslprep package
2019-06-06 19:44:27 -03:00
Floyd May
5eb7b0d978
code review tweaks
2019-05-07 08:32:25 -05:00
Floyd May
fd29fe2f99
throw errors when dash receives invalid args
2019-05-06 08:51:49 -05: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
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
512874f931
Fix object index in annotation test
2019-04-17 20:10:34 -03:00
Luiz Américo
f7a2a87ebb
Merge branch 'master' into named-destinations-es6
2019-04-17 19:31:11 -03:00
Luiz Américo
1c5c12afba
Add link annotation test
2019-04-17 19:23:17 -03:00
Libor M
01ee515080
add test for goTo
2019-03-30 08:53:40 +01:00
Libor M
597b369fd1
improve tests
2019-03-24 16:58:28 +01:00
Libor M
eff6cbc2dd
tests for destinations
2019-03-24 16:33:56 +01:00
Libor M
ee87e72c10
fixed test
2019-03-24 15:55:24 +01:00
Luiz Américo
8ffaef6809
Update tests snapshots and cleanup cyrilic string in text test
2019-03-04 10:42:54 -03:00
Luiz Américo
38d9a2a5fa
Merge pull request #938 from blikblum/font-cache
...
Add fontLayoutCache option
2019-03-03 19:52:45 -03:00
Luiz Américo
dae45a44ae
Rename fontCache to fontLayoutCache
2019-03-03 19:50:14 -03:00
Luiz Américo
b3a943bd9d
Add fontCache option
2019-03-03 15:17:08 -03:00
Luiz Américo
b4be0c4ee4
Add standalone virtual file system implementation
2019-03-03 12:48:54 -03:00
Luiz Américo
bd0631f782
Add option to defined default font
2019-03-02 20:42:56 -03:00
Luiz Américo
f52cca9214
Use valueOf when converting String object values
2019-02-16 20:25:02 -03:00
Luiz Américo
15636ee610
Update version to 0.9.0 ( #901 )
2019-01-27 19:08:42 -08:00
Luiz Américo
a6af76467c
Add prettier npm script and run it in *.js files
2019-01-07 20:51:06 -03:00
Luiz Américo
e3c7d64f7b
Fix PDF corruption when adding PNG images with transparency (not alpha channel)
2018-12-24 19:22:01 -03:00
Luiz Américo
b7edc73318
Fix 16bit png files with alpha channel
2018-12-23 22:16:21 -03:00
Luiz Américo
7c6134aa4e
Add new png tests
2018-12-22 22:48:02 -03:00
Luiz Américo
f2208a7c20
Add png unit tests
2018-12-21 23:40:50 -03:00
Luiz Américo
a1156fbff7
Move integration tests into a separated directory and add script to run only integration tests
2018-12-20 13:52:37 -03:00
Luiz Américo
8bf29c5d9c
Update saved snapshots
2018-12-20 13:36:12 -03:00
Luiz Américo
5f125f792d
Mock PDFSecurity methods in tests to ensure same output accross different runs or systems
2018-12-20 13:34:54 -03:00
Luiz Américo
883983aa3d
Import test dependencies directly from src through babel-jest. Adapt relative paths accordingly
2018-12-20 13:33:05 -03:00
Yang Liu
c400dfa9e6
Add unit tests for trailer
2018-12-18 20:56:28 +09:00
Yang Liu
870260c629
Add tests for security features and update snapshots
2018-12-17 21:20:19 +09:00
Luiz Américo
b3c2790cd5
Add initial reference spec
2018-12-16 22:12:21 -03:00
Luiz Américo
83f5f72431
Convert to EcmaScript (ES6+) ( #859 )
2018-11-29 08:14:45 -08:00