Eliot Jones
487e368e9e
Merge pull request #224 from InusualZ/object-copier
...
Writer: New API to copy token
2020-10-06 14:57:52 +01:00
InusualZ
704c56285c
Address CI Errors
2020-10-05 20:16:41 -04:00
InusualZ
a190653683
Use the new IObjectCopier API in the PdfMerger
...
Added a new PagesCopier, this class would be the one responsible to give a parent to the page tree that are copied from other documents
2020-10-02 21:33:36 -04:00
InusualZ
8f0326a818
Introduce a new API for intercepting token that are being copied
...
This API would allow us to track any type of token while is/was copied to a stream, so when a similar token come again, we can decide if want to just use the already written token or the new one.
This API would allow us to divide the code for each specific thing that we are trying to avoid having duplicate, while not penalizing performance.
Another plus would be, that since every "deduplicator" code would be behind a class, if a class is causing some performance regression that the user don't want, the user could decide not to add it and the resultant pdf would still be valid
2020-10-02 21:11:46 -04:00
InusualZ
5a98b21c2f
Don't brute force search for similar token. since the process is slow
...
Since this class is the writer of token, it should never be the one responsible to check if a token is duplicated.
2020-10-02 20:36:31 -04:00
Eliot Jones
034e9a9ec3
Merge pull request #222 from BobLd/read-order-improv
...
Improve `UnsupervisedReadingOrderDetector` customisation
2020-09-29 14:22:03 +01:00
BobLd
d3b619b6ee
Fix Error CS0136 and tidy up code
2020-09-29 13:50:05 +01:00
BobLd
90dacb1fcf
Improve UnsupervisedReadingOrderDetector customisation: allows changing the spatial reasoning rule in use and using or not rendering order.
2020-09-26 12:29:24 +01:00
Eliot Jones
9f225cb2c3
Merge pull request #216 from BobLd/pub-clipping
...
IntersectsWith(rect, line) and Intersect(rect, line)
2020-09-22 21:02:22 +01:00
Eliot Jones
2ec79852cb
Merge pull request #220 from BobLd/fix-clip-line-fill
...
fix clipping error when trying to fill a single line
2020-09-22 20:36:24 +01:00
BobLd
8f0f7769a6
fix clipping error when trying to fill a single line; add log; set EvenOdd as default in initiate CurrentClippingPath; add tests
2020-09-22 10:47:34 +01:00
BobLd
46b183f564
add IntersectsWith(PdfRectangle, PdfLine) and Intersect(PdfRectangle, PdfLine)
2020-09-15 11:41:24 +01:00
Eliot Jones
e41ae7d3a2
Merge pull request #213 from BobLd/linux-font
...
fix LinuxSystemFontLister not able to find any font
2020-09-12 19:12:50 +01:00
BobLd
d29cc52973
add test that fails on linux: LinuxSystemFontLister cannot find the 'TimesNewRomanPSMT' font
2020-09-12 17:11:55 +01:00
BobLd
4ca020fc34
LinuxSystemFontLister: also check the HOME env variable and explore all sub-directories
2020-09-12 16:59:44 +01:00
Eliot Jones
1502cf60fe
Merge pull request #207 from BobLd/pdfpath-ext
...
Adding Pdfpath/PdfSubpath extensions
2020-09-10 17:28:58 +01:00
Eliot Jones
85ef2daba8
Merge pull request #210 from Poltuu/add_font3_name
...
ADD : name on type 3 fonts
2020-09-10 13:59:30 +01:00
romain v
a544dc4bde
refacto : pr comments
2020-09-10 14:45:24 +02:00
romain v
9315ec5a4f
ADD : name on type 3 fonts
2020-09-10 14:16:14 +02:00
Eliot Jones
58ecfbf963
0.1.3-alpha001
v0.1.3-alpha001
2020-09-04 13:19:03 +01:00
BobLd
7b085a8498
update documentation and add note about concave poly issue
2020-09-01 11:18:22 +01:00
BobLd
e5ab4eb571
minor corrections
2020-08-31 11:36:17 +01:00
BobLd
77d448c517
better functions documentation
2020-08-30 13:57:02 +01:00
BobLd
ce3edcd0cc
tidy up code and use EvenOdd as default in PointInPaths()
2020-08-30 13:44:35 +01:00
BobLd
f656922d2d
add tests for PdfPath.Contains(Rectangle) - EvenOdd
2020-08-29 19:27:12 +01:00
BobLd
b9419469ac
add PdfSubpath and PdfPath geometry extensions
2020-08-29 17:08:02 +01:00
Eliot Jones
9b7554c973
#203 enable utf16 be strings to be written to the document builder
2020-08-27 09:06:14 +01:00
Eliot Jones
f2522f149c
add a convenience method for extracting the original rectangle from a subpath
2020-08-22 17:04:14 +01:00
Eliot Jones
04f785aed4
attempt to find bug in #202 due to seemingly empty codespace ranges
2020-08-22 15:38:59 +01:00
Eliot Jones
5ffada46e3
Merge pull request #201 from UglyToad/png-builder-support
...
Png builder support
2020-08-22 15:37:20 +01:00
Eliot Jones
54f227ea95
add support for extracting grayscale images and inline images
2020-08-22 15:08:59 +01:00
Eliot Jones
6359ba5df1
handle objects without endobj markers #198
2020-08-21 18:15:30 +01:00
Eliot Jones
52104b6580
support conversion of pdf format images to png
2020-08-21 13:12:01 +01:00
Eliot Jones
8860e29191
tidy up png support
2020-08-21 12:11:27 +01:00
Eliot Jones
5ac7a957d0
add initial png support
2020-08-21 10:50:17 +01:00
Eliot Jones
6f26b274c4
Merge pull request #197 from Poltuu/fix_undefined_references
...
FIX : undefined references is a valid use case.
2020-08-19 17:48:09 +01:00
Eliot Jones
b2b85e2f44
Merge pull request #200 from everharder/get-encoding-from-indirectreferencetoken
...
FIX Error when getting Encoding from an IndirectReferenceToken referencing a Name Token
2020-08-19 17:45:21 +01:00
Daniel Eberharter
304c17eac9
if baseEncodingObject is a IndirectReferenceToken to a NameToken the previous implementation tried to resolve it as a DictionaryToken, which resultet in an PdfFormatException
2020-08-19 17:01:30 +02:00
romain v
5a82c36631
FIX : undefined references is a valid use case.
...
I tried to mitigate the breaking change by keep on throwing in most uses of the change method.
2020-08-17 11:10:44 +02:00
Eliot Jones
dc55fd8011
guess at possible bug in #192
...
it may be that we try reading a corrupted os/2 table, hard to tell without test document.
2020-07-26 14:36:35 +01:00
Eliot Jones
142c871c47
update editorconfig to override other project defaults
2020-07-26 14:29:18 +01:00
Eliot Jones
e42df5b5b5
fix remaining missing culture dependent strings #190
2020-07-26 14:14:37 +01:00
Eliot Jones
f3f7533507
add string culture in core code #190
2020-07-26 13:53:34 +01:00
Eliot Jones
48522ae1a5
support indirect name tokens for cidtogidmap in cid fonts #191
2020-07-19 14:36:11 +01:00
Eliot Jones
98af575ee3
version 0.1.2
v0.1.2
2020-07-04 16:55:14 +01:00
Eliot Jones
5caf5f2686
Merge pull request #187 from BobLd/dla-example-1
...
Add AdvancedTextExtraction example
2020-07-01 17:35:49 +01:00
Eliot Jones
7d166131ad
Merge pull request #186 from BobLd/dupOverlap
...
Implement DuplicateOverlappingTextProcessor
2020-07-01 16:09:48 +01:00
BobLd
a60be8d60a
add AdvancedTextExtraction
2020-06-26 12:28:12 +01:00
BobLd
4cda06c2fa
make Letter public and flag letter as bold
2020-06-26 10:29:44 +01:00
BobLd
fe8bc0e5be
Implement DuplicateOverlappingTextProcessor
2020-06-25 15:00:20 +01:00