Eliot Jones
81e7861854
check if build works on windows 2016
2022-02-19 15:47:04 -04:00
Eliot Jones
77ac6caa64
use windows 2019 for actions
2022-02-19 12:57:33 -04:00
Eliot Jones
eac36ceae3
Merge pull request #420 from MeVitae/writer-text-mode
...
Add `SetTextRenderingMode` method to `PdfPageBuilder`
2022-02-16 08:25:09 -04:00
Eliot Jones
e54cd8f209
allow minfeature array to be array in type 1 and ignore failures #380
2022-01-15 14:02:33 +00:00
Eliot Jones
0b876cb338
skip application specific markers when parsing jpg headers
2022-01-15 13:42:23 +00:00
Eliot Jones
e2b7de54e9
#406 always use standard 14 width for advance if available for truetype with standard14 font type
2022-01-15 13:07:35 +00:00
Eliot Jones
5b66e4b846
#409 handle aes decrypt of empty arrays correctl
2022-01-12 19:37:44 +00:00
Eliot Jones
b89c8c577d
add 3rd part of archive to integration tests
2022-01-11 17:39:14 +00:00
Eliot Jones
83948f42d7
#405 check encryption token value for null
2022-01-11 16:13:52 +00:00
Eliot Jones
a342115b9c
run build and test on pull requests
2022-01-11 13:56:13 +00:00
Eliot Jones
7ed985a023
move console runner to named file and clean output then run in action
2022-01-11 11:27:50 +00:00
Eliot Jones
16e1e5e52d
fix workflow typos
2022-01-11 10:13:23 +00:00
Eliot Jones
bb16af1d9a
add code to try unzip archives
2022-01-11 10:05:21 +00:00
Eliot Jones
41bfa1a054
let wget create archive folder if not exists
2022-01-10 23:07:18 +00:00
Eliot Jones
0bb77c1144
also download and cache part 1
2022-01-10 23:05:18 +00:00
Eliot Jones
20e1695c5f
try caching downloaded file
2022-01-10 23:01:17 +00:00
Eliot Jones
9a46135de5
start writing an action for integration tests
2022-01-10 22:50:37 +00:00
Eliot Jones
879513e83d
add snupkg to nightly build step
2022-01-10 21:05:09 +00:00
Eliot Jones
124f54119e
#405 allow user access permissions in encryption to be bigger than int
2022-01-10 21:00:33 +00:00
Eliot Jones
a538aaf0de
bump version so that nightly builds for pre-release have correct version
2022-01-10 12:40:47 +00:00
Eliot Jones
a57e5f39ad
Merge pull request #401 from plaisted/master
...
adjust string serialization to handle raw byte data properly
2021-12-30 12:22:08 +00:00
Eliot Jones
99c284c719
Merge pull request #400 from davebrokit/master
...
PageXmlTextExporter: ensure no coords on the page boundaries #399
2021-12-30 12:20:13 +00:00
Eliot Jones
5524473e0e
Merge pull request #385 from BobLd/master
...
Clean DocstrumBoundingBoxes and make relevant static methods public
2021-10-25 07:57:42 -04:00
Eliot Jones
615e8964e9
Merge pull request #372 from otuncelli/master
...
PDF/A-1 doesn't allow transparency.
2021-09-28 17:00:33 -04:00
Eliot Jones
4c36f84a0d
version 0.1.5
2021-09-17 11:16:43 -04:00
Eliot Jones
e8f917bbb1
try last known good version of action
2021-08-27 14:05:43 -04:00
Eliot Jones
2ac20d1a78
coding is hell
2021-08-27 10:33:12 -04:00
Eliot Jones
40b331b4a0
something to do with this right, maybe
2021-08-27 09:49:33 -04:00
Eliot Jones
fa7186143f
is it because i'm on windows, what do you want!?
2021-08-27 09:47:32 -04:00
Eliot Jones
0c2bd83545
why, why do these need to be single letter
2021-08-27 09:35:30 -04:00
Eliot Jones
afc0810f1e
try to fix broken yaml rubbish
2021-08-27 07:40:23 -04:00
Eliot Jones
df3552c38e
Merge pull request #359 from plaisted/master
...
link annotation fix for PdfDocumentBuilder
2021-08-27 07:38:22 -04:00
Eliot Jones
905f09b18a
remove unrecognized flag from nightly publish
2021-08-22 16:22:20 -04:00
Eliot Jones
36e593cf3f
Merge branch 'master' of github.com:UglyToad/PdfPig into master
2021-08-21 15:40:38 -04:00
Eliot Jones
c4e23ff5ac
remove prevent check date run and use master job
2021-08-21 15:40:11 -04:00
Eliot Jones
bf2e291f22
Merge pull request #358 from Poltuu/handle_wrong_return_char
...
\r only in token scanner
2021-08-17 18:10:00 -04:00
Eliot Jones
3f1035cd6d
nightly release push action rework v12
2021-08-16 22:01:08 -04:00
Eliot Jones
b1f880d089
nightly push action rework v11
2021-08-16 21:50:37 -04:00
Eliot Jones
7176fc8814
nightly push action rework v10
2021-08-16 21:46:23 -04:00
Eliot Jones
e1716e0393
nightly push action rework v9
2021-08-16 21:40:34 -04:00
Eliot Jones
4ac2de2fdd
nightly push action rework v8
2021-08-16 21:39:51 -04:00
Eliot Jones
c82287119e
nightly push action rework v7
2021-08-16 07:11:39 -04:00
Eliot Jones
889063f83c
nightly push action rework v6
...
Failed due to incorrect csproj name
2021-08-14 21:07:53 -04:00
Eliot Jones
c77e2f7952
port png transparency fixes from biggustave changes #346
2021-08-14 14:47:23 -04:00
Eliot Jones
50dc67c2ca
nightly push action rework v5
...
include alpha in the generate nightly package version
i don't know which logic nuget uses to detect pre-release
so it's safer to include alpha in the nightly build version.
2021-08-14 13:21:27 -04:00
Eliot Jones
235f789e4f
nightly push action rework v4
...
probably safer to move the dependent job into the
same action file. of course there's probably a way to
separate them but there's also no way to test for certain
2021-08-14 13:20:08 -04:00
Eliot Jones
fcdd08a21c
nightly push action rework v3
...
i think you need to use the double brackets and scope
to the action secrets to access the api key. who knows
it's not like there's any validation or debugging or testing
capability because the entire field of devops has soup for
brain 🧌
2021-08-14 13:17:09 -04:00
Eliot Jones
661d37de0e
nightly push action rework v2
...
very poor documentation for a dependent needs
action/job. looks like it might be repository dispatch
or it must be included in the main file.
2021-08-14 13:10:23 -04:00
Eliot Jones
165bc74c53
try creating a nightly push to nuget script v1
...
this is intended to create nightly build with package
versions of the form x.y.z-yyyyMMdd.sha and
push them to nuget automatically, only where there
are new changes per day. since devops is a nightmare
and entirely untestable we will have to go through 20
iterations to actually get this to work
2021-08-14 13:01:46 -04:00
Eliot Jones
53471207df
normalize line endings in ccitt file
2021-08-11 21:12:35 -04:00
Eliot Jones
1b472f6992
handle messed up numbers in content #355
2021-08-11 20:56:06 -04:00
Eliot Jones
a3e316958a
try handling malformed operators where operands are not provided #355
2021-08-08 11:36:43 -04:00
Eliot Jones
2df5ec9b10
handle transparency when adding pdfs in builder #345 #346
2021-08-07 13:49:01 -04:00
Eliot Jones
dd95b38345
handle case where xref has multiple parts with incorrect offset #352
2021-08-06 19:47:54 -04:00
Eliot Jones
72db3bf244
Merge pull request #351 from plaisted/master
...
AddPage fixes for streams and page dict inheritance
2021-08-04 07:52:22 -04:00
Eliot Jones
b3a361e2f2
performance tweak and test case for #334
2021-06-10 16:31:16 -04:00
Eliot Jones
8163163dfc
Merge branch 'master' of github.com:UglyToad/PdfPig into master
2021-06-10 16:03:31 -04:00
Eliot Jones
ea4889778d
support specifying number of documents for console runner
2021-06-02 13:45:12 -04:00
Eliot Jones
672e665d44
Merge pull request #332 from kasperdaff/xplat-unit-tests
...
Make unit tests behave cross platform
2021-06-02 07:21:25 -04:00
Eliot Jones
14276d5d16
Merge pull request #331 from kasperdaff/various-image-fixes
...
Various image related fixes and ICCBased (limited), CalGray and CalRGB color spaces support
2021-06-01 08:14:49 -04:00
Eliot Jones
e353fc69e8
ignore console runner launchsettings
...
since the console runner is used to run through a test directory stored
locally its value will be different for each developer. we'll ignore it
to avoid it getting committed accidentally
2021-05-30 13:20:55 -04:00
Eliot Jones
3869bbb786
Merge pull request #327 from kasperdaff/decodeparm-fix
...
DecodeParameterResolver looks in the wrong array when retrieving filter parameters
2021-05-30 12:24:56 -04:00
Eliot Jones
636936330a
Merge pull request #326 from kasperdaff/ccitt-fax-filter-fixes
...
Fixes for recent CCITT Fax Filter implementation
2021-05-15 12:26:02 -04:00
Eliot Jones
beedb96326
Merge pull request #328 from d-franklin/master
...
Fixes null reference exception
2021-05-15 12:21:59 -04:00
Eliot Jones
16d26effc5
0.1.5-alpha002
2021-05-09 13:05:54 -04:00
Eliot Jones
97e831c321
handle narrow whitespaces in default text extractor #319
...
where the gap is small but much larger than all previous gaps at this
font size (and still larger than some minimum threshold) then break
the word at this gap boundary.
2021-05-09 12:59:53 -04:00
Eliot Jones
264cf7b8a8
fix write token for paint shading #325
2021-05-09 12:33:22 -04:00
Eliot Jones
421dd74840
fix bug in encryption handler. couple of code style tweaks
2021-05-09 12:31:51 -04:00
Eliot Jones
a85bcb4ec1
Merge pull request #324 from kasperdaff/ccitt-fax-filter
...
Port of PDFBox's CCITTFaxFilter
2021-05-09 11:52:46 -04:00
Eliot Jones
45efdf3699
Merge pull request #323 from kasperdaff/unpack-indices
...
Improves support for indexed colorspace images.
2021-05-05 16:06:59 -04:00
Eliot Jones
d7f7fb5fd0
Merge pull request #321 from UglyToad/decrypted-string-encoding-support
...
correctly detect encrypted string encoding when decrypting #313
2021-04-30 13:29:51 -04:00
Eliot Jones
c7c4adf441
correctly detect encrypted string encoding when decrypting #313
2021-04-30 10:22:50 -04:00
Eliot Jones
c2f2916c04
Merge pull request #318 from kasperdaff/indexed-color-space-table-in-string-token
...
The palette of an indexed color space can be stored in a StringToken
2021-04-29 06:55:36 -04:00
Eliot Jones
d1a6debfb6
Merge pull request #316 from kasperdaff/master
...
CMYK has four color components
2021-04-26 09:24:32 -04:00
Eliot Jones
9ae0a5ec15
allow stream filters to contain indirect references to name tokens
2021-04-25 16:22:22 -04:00
Eliot Jones
c74ca5fda8
Merge pull request #312 from Poltuu/null_token
...
fix null token handling in document creation
2021-04-02 12:06:41 -04:00
Eliot Jones
ea9c2f045c
change console runner to target net core 2.1
2021-03-02 12:24:50 -04:00
Eliot Jones
12ad8278e3
don't lose object stream offsets when brute-forcing offsets
2021-03-01 14:18:19 -04:00
Eliot Jones
3437b48925
actions build and test v003
...
also adds a console runner for testing arbitrary files
2021-02-28 17:03:32 -04:00
Eliot Jones
d5be096130
actions build and test v002
2021-02-28 16:04:50 -04:00
Eliot Jones
50037cdef8
actions build and test v001
2021-02-28 15:56:30 -04:00
Eliot Jones
b930924b9b
0.1.5-alpha001
2021-02-28 13:55:25 -04:00
Eliot Jones
6a1fa544d2
default height from font matrix for type 0 fonts when height missing #287
2021-02-28 13:48:23 -04:00
Eliot Jones
13247a5218
#301 add missing arial bold standard14 name
2021-02-28 13:33:07 -04:00
Eliot Jones
7c0fd48afa
#299 #241 add correct fallback cmap for korea1-3 and missing japan cmap
2021-02-28 13:27:16 -04:00
Eliot Jones
89ee5f5358
skip completely null dictionaries #300
2021-02-23 20:07:14 -04:00
Eliot Jones
cc81541ce2
avoid infinite loop in #291 , logic issue is still present for png predictor
2021-02-23 15:04:28 -04:00
Eliot Jones
560e8ae858
don't throw when reading corrupt truetype name table #292
2021-02-21 12:27:11 -04:00
Eliot Jones
becc772242
check for offsets exceeding file length for xref parsing #293
2021-02-21 12:04:17 -04:00
Eliot Jones
25cc3c8634
Merge pull request #279 from plaisted/edit-docs-v2
...
Add pages from PdfDocument to PdfDocumentBuilder
2021-02-14 09:58:08 -04:00
Eliot Jones
68dd3f5a75
add device cmyk support for png conversion
2021-02-08 18:40:28 -04:00
Eliot Jones
c19742a2ae
make converter public and add separation color space
2021-02-08 18:40:28 -04:00
Eliot Jones
9fc44f50d2
fix indexing into indexed color space by using table
2021-02-08 18:40:28 -04:00
Eliot Jones
6c293011a2
keep the bytes factory call which was accidentally removed
2021-02-08 18:40:28 -04:00
Eliot Jones
fad06eac27
add full color space details and transformation into full bytes for indexed
2021-02-08 18:40:28 -04:00
Eliot Jones and romain v
6f49b2e29e
Fix buggy font ( #283 )
...
* Adds checksum on font file reading
* fix name table parsing on broken table
* only warn if checksum invalid, avoid exception with bounds check #258
also returns a null object when the object generation number exceeds
ushort.maxvalue since this is the maximum allowed value and this
broke tests attempting to parse all objects in the file from #258
* remove potentially problematic document
it might be sensitive data
* use ttf from file to test without including full file
Co-authored-by: romain v <rvergnory@lucca.fr >
2021-02-07 12:23:11 -04:00
Eliot Jones
9d99ac4e9b
handle completely null content #243
2021-02-07 12:22:07 -04:00
Eliot Jones
be9fd4b071
add a couple of missing name tokens for viewports and measurements
2021-02-06 12:15:23 -04:00
Eliot Jones
864da75d64
Merge pull request #277 from UglyToad/checkbox-checked-state-tolerance
...
allow a checkbox to not declare a value and only be checked by appearance #267
2021-02-06 12:13:01 -04:00
Eliot Jones
d3502fdfc0
allow a checkbox to not declare a value and only be checked by appearance #267
...
in the example document in issue #267 the checkbox declares an
appearance state with no corresponding value, as long as the checkbox
defines its appearances dictionary we treat non-off checkboxes as checked
if there is no corresponding value in the checkbox form field dictionary
2021-02-06 11:58:35 -04:00