pdfminer.six/pdfminer
Kwok-kuen Cheung 60863cfd55
Fix converting path to multiple rectangles (#371)
* Fix converting path to multiple rectangles

For path that consists of a series of rectangles
(shape is 'mlllhmlllh...'), call paint_path again with each group of
5 points. The result is multiple rects instead of a single curve.

fixes #369

* Reduce pdf size by removing font

* Add unittest for PDFLayoutAnalyzer.paint_path()

* Add line to CHANGELOG.md

* Add reference to pdf reference manual

* Cleanup function paint_path a bit

* Reduce line length of tests

* Reduce line length of tests

Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
2020-07-11 17:34:38 +02:00
..
cmap Include compiled cmap resources to simplify installation for CJK languages 2015-12-27 13:32:29 +09:00
Makefile apply more patches 2010-02-13 15:00:43 +00:00
__init__.py Bump version 2020-05-17 17:50:01 +02:00
arcfour.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
ascii85.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
ccitt.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
cmapdb.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
converter.py Fix converting path to multiple rectangles (#371) 2020-07-11 17:34:38 +02:00
encodingdb.py Catch ValueError when converting font encoding differences to characters (#389) 2020-03-16 20:12:45 +01:00
fontmetrics.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
glyphlist.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
high_level.py Change Text extraction is not allowed error to warning (#453) 2020-07-11 16:04:11 +02:00
image.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
jbig2.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
latin_enc.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
layout.py Fix ordering of textlines within a textbox when boxes_flow is disabled (#412) 2020-05-09 15:37:49 +02:00
lzw.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfcolor.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfdevice.py Fix value for font-family in html by removing the subset tag from the PDF font-name (#357) 2020-01-16 22:25:20 +01:00
pdfdocument.py Change Text extraction is not allowed error to warning (#453) 2020-07-11 16:04:11 +02:00
pdffont.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfinterp.py Validate that object is PDFStream in do_EI (#451) 2020-07-05 13:42:15 +02:00
pdfpage.py Change Text extraction is not allowed error to warning (#453) 2020-07-11 16:04:11 +02:00
pdfparser.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
pdftypes.py Pack the /P (ermissions) entry from the /Encrypt dictionionary in the file trailer, as unsigned long (#352) 2020-01-07 21:59:13 +01:00
psparser.py add shebang line to script in tools (#408) 2020-04-28 10:58:42 +02:00
rijndael.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
runlength.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
settings.py Remove webapp and other (un)helpful application references: django, cgi, and pyinstaller. (#320) 2019-10-26 19:16:37 +02:00
utils.py Fix #392 Split out IO logic from high level functions (#393) 2020-03-26 22:52:00 +01:00