pdfminer.six/tests
wind_chh c883f5e13f
Add support identity unicode cmap (#626)
Fixes #625 

* add support for Identity-H/V cmap fonts

* format code to pass flake8 check

* Remove indent

* Remove indent

* Use isinstance instead of type check

* Use or instead of any

* Use str in variable, instead of str.find()

* Fix mypy error: add typing annotations to get_unichr()

* Fix type of PDFCIDFont. Can be any type of CMapBase.

This is a quick fix, the entire cmap structure does not have proper inheritance.

* Added line to CHANGELOG.md

* Add separate class for IdentityUnicodeMap

* Remove ABC from CmapBase

* Remove ABC from CmapBase

* Remove blank line

Co-authored-by: huan_cheng <huan_cheng@bestsign.cn>
Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
2021-10-13 21:52:00 +02:00
..
helpers.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
tempfilepath.py Issue #469 is fixed (When run on Windows a lot of tests fail with the error: [Errno 13] Permission denied) (#484) 2020-10-26 10:10:11 +01:00
test_converter.py Fix bug: _is_binary_stream should recognize TextIOWrapper as non-binary, escaped \r\n should be removed (#616) 2021-09-27 20:30:40 +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 Add support identity unicode cmap (#626) 2021-10-13 21:52:00 +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 594 use null id when encrypted but no id given (#595) 2021-08-29 21:32:14 +02:00
test_pdfencoding.py add shebang line to script in tools (#408) 2020-04-28 10:58:42 +02:00
test_pdffont.py Always try to get CMap, even if name is not recognized (#438) 2020-07-23 20:27:38 +02:00
test_pdfminer_ccitt.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
test_pdfminer_crypto.py Remove unused rijndael encryption implementation (#465) 2020-09-10 19:28:00 +02:00
test_pdfminer_psparser.py Enforce pep8 coding-style (#345) 2019-12-29 21:20:20 +01:00
test_tools_dumppdf.py Add type annotations (#661) 2021-10-09 16:23:28 +02:00
test_tools_pdf2txt.py Add support for ISO 32000-2 AES256 encryption (#614) 2021-09-06 22:00:23 +02:00
test_utils.py Allow a pathlib.PurePath object as a input to open_filename (#492) 2020-09-17 21:29:00 +02:00