684 Commits

Author SHA1 Message Date
Jakub Valenta
393734cf18 tests/font.spec.js: Add EmbeddedFont.embed() test 2021-03-24 15:25:51 -03:00
Ben Schmidt
923c495022 Correct marking bug and improve demo accessibility. 2021-01-15 16:43:49 -03:00
Ben Schmidt
e3fa4f7c7b Remove accidental tabs. 2021-01-15 16:43:49 -03:00
Ben Schmidt
e3442a9aa2 Add shortcut for elements containing only marked content. 2021-01-15 16:43:49 -03:00
Ben Schmidt
4c4a49ebff Guard against adding a structure element to more than one parent. 2021-01-15 16:43:49 -03:00
Ben Schmidt
2ed3782473 Guard against invalid structure element children. 2021-01-15 16:43:49 -03:00
Ben Schmidt
057215fc8f Guard against adding children to ended structure elements. 2021-01-15 16:43:49 -03:00
Ben Schmidt
9c0aaec172 Remove unnecessary constructors. 2021-01-15 16:43:49 -03:00
Ben Schmidt
43a6a2d6d6 Add accessibility to features list. 2021-01-15 16:43:49 -03:00
Ben Schmidt
d565f862c0 Fix linter warnings. 2021-01-15 16:43:49 -03:00
Ben Schmidt
f1f1559720 Regenerate PDF guide. 2021-01-15 16:43:49 -03:00
Ben Schmidt
f3ec8e2f1d Add entry to change log. 2021-01-15 16:43:49 -03:00
Ben Schmidt
6bd9ac9f50 Add accessible version of demo. 2021-01-15 16:43:49 -03:00
Ben Schmidt
c2ec121ab8 Support automatic marking and structure construction for text. 2021-01-15 16:43:49 -03:00
Ben Schmidt
52033990bd Minor fixes/improvements to developer documentation. 2021-01-15 16:43:49 -03:00
Ben Schmidt
9b3aa7b50a Fully support PDF/UA. 2021-01-15 16:43:49 -03:00
Ben Schmidt
272444e397 Fully support accessibility features from PDF reference. 2021-01-15 16:43:49 -03:00
Ben Schmidt
c177874e82 Fully support Tagged PDF. 2021-01-15 16:43:49 -03:00
Ben Schmidt
bc09c32d1b Support marked structure content and logical structure. 2021-01-15 16:43:49 -03:00
Ben Schmidt
43128adbb3 Add number tree. 2021-01-15 16:43:49 -03:00
Ben Schmidt
ef5e52b2ad Support marking content. 2021-01-15 16:43:49 -03:00
Ben Schmidt
5df96274a6 Fix import syntax (at least for my Node version...). 2021-01-15 16:43:49 -03:00
Libor M
93157f9a03
github actions - disable fail-fast 2021-01-02 14:00:20 +01:00
Libor M
2b284f5c96
github actions - add Node.js 14 LTS 2020-12-30 16:47:22 +01:00
Libor M
eed0c566bf
github action - allow for push 2020-12-30 16:43:05 +01:00
Luiz Américo
326350b7f9 Fix eslint and prettier warnings 2020-09-09 20:35:10 -03:00
Luiz Américo
e05e89ba41 Add .prettierignore 2020-09-09 20:35:10 -03:00
Luiz Américo
1f86eebd5f Update and properly configure eslint 2020-09-09 20:35:10 -03:00
Luiz Américo
fd101bd251
Fix running lint script on lint and test action 2020-09-09 20:15:11 -03:00
Luiz Américo
2052340780
Create github action to lint and test pull requests 2020-09-09 20:08:25 -03:00
Luiz Américo
55732ab9a9
Rework integrations tests to compare pdf screenshots instead of raw content (#1162)
* Rework integrations tests to compare pdf screenshots instead of raw content

* Update documentation and configuration related to integration/visual tests
2020-09-09 17:33:28 -03:00
Luiz Américo
d2f257b0cb
Merge pull request #1150 from pfdgithub/fix-guide-generate-link
fix guide generate link
2020-08-12 16:53:22 -03:00
pfdgithub
76da594762 fix guide generate link
https://github.com/foliojs/pdfkit/issues/991
https://github.com/foliojs/pdfkit/pull/1013
2020-08-12 12:01:58 +08:00
Libor M
ba62aeff11 fix Buffer() is deprecation warning #1114 2020-07-25 11:25:56 +02:00
Luiz Américo
3f36801b29
Merge pull request #1134 from rokkie/bugfix/pass-encoding-param
Pass 'encoding' param of VFS' readFileSync to 'toString'
2020-07-19 20:44:21 -03:00
Rocco Bruyn
812a6db941 Pass 'encoding' param of VFS' readFileSync to 'toString'
Fixes #1133
2020-07-19 16:53:45 +02:00
Libor M
fd4f285dc4
Update CHANGELOG.md 2020-07-03 16:47:37 +02:00
Libor M
faa60d8ef8
Merge pull request #1126 from adrift2000/patch-1
Access permissions are not applied to PDF if pdfVersion is "1.7ext3".
2020-07-03 16:45:19 +02:00
adrift2000
d520bf2e02
Update security.js
Access permissions are not applied to PDF if pdfVersion is "1.7ext3".
2020-07-02 11:51:33 +10:00
Libor M
386cebb9ff
Merge pull request #1119 from yundi-fu/fu/script
contribution, fixed wrong npm script name in Contributing doc 🤓
2020-06-19 07:39:34 +02:00
yundi
7abd7a81d6 contribution, fixed wrong npm script name 🤓 2020-06-19 15:22:11 +10:00
Luiz Américo
d53ad762de
Merge pull request #1111 from freund17/patch-1
Added `valueOf()` to info-items in `generateFileID`
2020-05-25 21:21:12 -03:00
freund17
df33cbcbe3
Added valueOf() to generateFileID
Fixes https://github.com/foliojs/pdfkit/issues/1110
2020-05-19 16:13:27 +02:00
Luiz Américo
9bcfd64758
Merge pull request #1101 from NathanaelA/expose_linewrapper
Expose LineWrapper class
2020-04-08 14:49:04 -03:00
Nathanael Anderson
db6a8117d2 Expose LineWrapper class 2020-04-08 11:27:17 -05:00
Libor M
f17b0bc160
Merge pull request #1087 from r4tz52/feature/fix-forms-docs-font-example
Minor fix in Forms documentation
2020-02-05 08:05:57 +01:00
Evgeny.Baram
75340f0d33 Fixed mistake in Forms documentation (set font) 2020-02-05 12:53:20 +07:00
Devon Govett
0fc21a744c
Merge pull request #1066 from blikblum/update-v0.11
Update version to 0.11
v0.11.0
2019-12-09 20:10:53 -08:00
Luiz Américo
c03bd56369 Update version to 0.11 2019-12-03 21:21:56 -03:00
Luiz Américo
88adaa76c6
Merge pull request #1065 from blikblum/reduce-standalone
Do not bundle iconv-lite on standalone build
2019-12-03 19:47:57 -03:00