pdfminer.six/tests
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
..
helpers.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
test_converter.py Fix converting path to multiple rectangles (#371) 2020-07-11 17:34:38 +02:00
test_encodingdb.py Catch ValueError when converting font encoding differences to characters (#389) 2020-03-16 20:12:45 +01:00
test_font_size.py Fix bug in computing character bounding box (#348) 2020-01-16 22:15:50 +01:00
test_highlevel_extracttext.py Fix ordering of textlines within a textbox when boxes_flow is disabled (#412) 2020-05-09 15:37:49 +02:00
test_layout.py Also group center-aligned text lines in addition to left-aligned and right-aligned text lines (#382) (#384) 2020-03-23 22:38:39 +01:00
test_pdfdocument.py Fix failing test on develop & cleaning up test files (#319) 2019-10-26 18:42:33 +02:00
test_pdfencoding.py add shebang line to script in tools (#408) 2020-04-28 10:58:42 +02:00
test_pdfminer_ccitt.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
test_pdfminer_crypto.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
test_pdfminer_psparser.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
test_tools_dumppdf.py Dont dump fallback xref by default when using dumppdf.py, adding a flag to enable it 2020-05-23 18:04:34 +02:00
test_tools_pdf2txt.py Fix converting path to multiple rectangles (#371) 2020-07-11 17:34:38 +02:00
test_utils.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00