core-pdf 0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- core_pdf/__init__.py +22 -0
- core_pdf/__main__.py +7 -0
- core_pdf/cli.py +65 -0
- core_pdf/impl/__init__.py +2 -0
- core_pdf/impl/engine/__init__.py +16 -0
- core_pdf/impl/engine/extraction/__init__.py +4 -0
- core_pdf/impl/engine/extraction/cache.py +16 -0
- core_pdf/impl/engine/extraction/common/__init__.py +2 -0
- core_pdf/impl/engine/extraction/common/observation_resolver.py +211 -0
- core_pdf/impl/engine/extraction/common/ordering.py +625 -0
- core_pdf/impl/engine/extraction/common/page_content.py +472 -0
- core_pdf/impl/engine/extraction/common/page_geometry.py +1560 -0
- core_pdf/impl/engine/extraction/common/page_profile.py +485 -0
- core_pdf/impl/engine/extraction/common/render.py +1803 -0
- core_pdf/impl/engine/extraction/document.py +38 -0
- core_pdf/impl/engine/extraction/document_extraction.py +397 -0
- core_pdf/impl/engine/extraction/document_structured.py +384 -0
- core_pdf/impl/engine/extraction/document_text.py +89 -0
- core_pdf/impl/engine/extraction/ocr/__init__.py +2 -0
- core_pdf/impl/engine/extraction/ocr/backend.py +1799 -0
- core_pdf/impl/engine/extraction/ocr/candidate_generation.py +1618 -0
- core_pdf/impl/engine/extraction/ocr/candidates.py +40 -0
- core_pdf/impl/engine/extraction/ocr/execution.py +566 -0
- core_pdf/impl/engine/extraction/ocr/full_page.py +853 -0
- core_pdf/impl/engine/extraction/ocr/geometry.py +158 -0
- core_pdf/impl/engine/extraction/ocr/glyph_recognizer.py +596 -0
- core_pdf/impl/engine/extraction/ocr/iterator_layout.py +994 -0
- core_pdf/impl/engine/extraction/ocr/layout.py +897 -0
- core_pdf/impl/engine/extraction/ocr/line_reconciliation.py +2836 -0
- core_pdf/impl/engine/extraction/ocr/page_analysis.py +653 -0
- core_pdf/impl/engine/extraction/ocr/postprocess.py +5202 -0
- core_pdf/impl/engine/extraction/ocr/rendering.py +405 -0
- core_pdf/impl/engine/extraction/ocr/schematic.py +2779 -0
- core_pdf/impl/engine/extraction/ocr/selection.py +720 -0
- core_pdf/impl/engine/extraction/ocr/session.py +401 -0
- core_pdf/impl/engine/extraction/ocr/table_regions.py +1943 -0
- core_pdf/impl/engine/extraction/ocr/text_analysis.py +884 -0
- core_pdf/impl/engine/extraction/ocr/tiling.py +551 -0
- core_pdf/impl/engine/extraction/ocr/types.py +283 -0
- core_pdf/impl/engine/extraction/ocr/vector_text.py +867 -0
- core_pdf/impl/engine/extraction/page.py +46 -0
- core_pdf/impl/engine/extraction/page_text/__init__.py +2 -0
- core_pdf/impl/engine/extraction/page_text/decisions.py +67 -0
- core_pdf/impl/engine/extraction/page_text/engine.py +466 -0
- core_pdf/impl/engine/extraction/page_text/mixin.py +13425 -0
- core_pdf/impl/engine/extraction/page_text/native.py +639 -0
- core_pdf/impl/engine/extraction/page_text/output.py +140 -0
- core_pdf/impl/engine/extraction/page_text/policy.py +1225 -0
- core_pdf/impl/engine/extraction/redactions.py +579 -0
- core_pdf/impl/engine/extraction/tables/__init__.py +2 -0
- core_pdf/impl/engine/extraction/tables/api.py +325 -0
- core_pdf/impl/engine/extraction/tables/core.py +746 -0
- core_pdf/impl/engine/extraction/tables/exports.py +310 -0
- core_pdf/impl/engine/extraction/tables/extract.py +856 -0
- core_pdf/impl/engine/extraction/tables/grid.py +443 -0
- core_pdf/impl/engine/extraction/tables/options.py +296 -0
- core_pdf/impl/engine/extraction/tables/protocols.py +63 -0
- core_pdf/impl/engine/extraction/tables/quality.py +71 -0
- core_pdf/impl/engine/extraction/tables/stream.py +591 -0
- core_pdf/impl/engine/extraction/tables/text_geometry.py +36 -0
- core_pdf/impl/engine/extraction/tables/types.py +60 -0
- core_pdf/impl/engine/layout/__init__.py +54 -0
- core_pdf/impl/engine/layout/data/wordlists/LICENSE_BartMassey_wordlists.txt +27 -0
- core_pdf/impl/engine/layout/data/wordlists/LICENSE_wordninja.txt +21 -0
- core_pdf/impl/engine/layout/data/wordlists/README.md +23 -0
- core_pdf/impl/engine/layout/data/wordlists/README_BartMassey_count_1w.md +16 -0
- core_pdf/impl/engine/layout/data/wordlists/norvig_count_1w.txt.gz +0 -0
- core_pdf/impl/engine/layout/data/wordlists/wordninja_words.txt.gz +0 -0
- core_pdf/impl/engine/layout/geometry.py +238 -0
- core_pdf/impl/engine/layout/geometry_quality.py +578 -0
- core_pdf/impl/engine/layout/glyphs.py +173 -0
- core_pdf/impl/engine/layout/models.py +806 -0
- core_pdf/impl/engine/layout/text_lines.py +1498 -0
- core_pdf/impl/engine/layout/word_frequencies.py +117 -0
- core_pdf/impl/engine/rendering/__init__.py +13 -0
- core_pdf/impl/engine/rendering/models.py +2871 -0
- core_pdf/impl/engine/rendering/page.py +289 -0
- core_pdf/impl/engine/spec/__init__.py +4 -0
- core_pdf/impl/engine/spec/s_07_content/__init__.py +24 -0
- core_pdf/impl/engine/spec/s_07_content/capture.py +2274 -0
- core_pdf/impl/engine/spec/s_07_content/inline_images.py +230 -0
- core_pdf/impl/engine/spec/s_07_content/marked_content.py +134 -0
- core_pdf/impl/engine/spec/s_07_content/operations.py +1056 -0
- core_pdf/impl/engine/spec/s_07_content/operators.py +1417 -0
- core_pdf/impl/engine/spec/s_07_content/state.py +1141 -0
- core_pdf/impl/engine/spec/s_07_content/text_helpers.py +257 -0
- core_pdf/impl/engine/spec/s_07_content/xobjects.py +167 -0
- core_pdf/impl/engine/spec/s_07_document/__init__.py +32 -0
- core_pdf/impl/engine/spec/s_07_document/document.py +169 -0
- core_pdf/impl/engine/spec/s_07_document/document_catalog.py +96 -0
- core_pdf/impl/engine/spec/s_07_document/document_embedded.py +92 -0
- core_pdf/impl/engine/spec/s_07_document/document_labels.py +109 -0
- core_pdf/impl/engine/spec/s_07_document/document_page_labels.py +79 -0
- core_pdf/impl/engine/spec/s_07_document/document_page_list.py +95 -0
- core_pdf/impl/engine/spec/s_07_document/document_page_recovery.py +220 -0
- core_pdf/impl/engine/spec/s_07_document/document_pages.py +220 -0
- core_pdf/impl/engine/spec/s_07_document/document_security.py +82 -0
- core_pdf/impl/engine/spec/s_07_document/document_selection.py +79 -0
- core_pdf/impl/engine/spec/s_07_document/document_source.py +78 -0
- core_pdf/impl/engine/spec/s_07_document/document_xref.py +415 -0
- core_pdf/impl/engine/spec/s_07_document/forms.py +260 -0
- core_pdf/impl/engine/spec/s_07_document/layers.py +120 -0
- core_pdf/impl/engine/spec/s_07_document/metadata.py +132 -0
- core_pdf/impl/engine/spec/s_07_document/metadata_types.py +49 -0
- core_pdf/impl/engine/spec/s_07_document/name_trees.py +130 -0
- core_pdf/impl/engine/spec/s_07_document/navigation.py +265 -0
- core_pdf/impl/engine/spec/s_07_document/page.py +332 -0
- core_pdf/impl/engine/spec/s_07_document/page_boxes.py +158 -0
- core_pdf/impl/engine/spec/s_07_document/page_interactions.py +250 -0
- core_pdf/impl/engine/spec/s_07_document/page_links.py +98 -0
- core_pdf/impl/engine/spec/s_07_document/page_state.py +157 -0
- core_pdf/impl/engine/spec/s_07_document/protocols.py +119 -0
- core_pdf/impl/engine/spec/s_07_filters/__init__.py +4 -0
- core_pdf/impl/engine/spec/s_07_filters/codecs.py +277 -0
- core_pdf/impl/engine/spec/s_07_filters/decode_spec.py +309 -0
- core_pdf/impl/engine/spec/s_07_filters/decoders.py +167 -0
- core_pdf/impl/engine/spec/s_07_filters/flate.py +144 -0
- core_pdf/impl/engine/spec/s_07_filters/pipeline.py +224 -0
- core_pdf/impl/engine/spec/s_07_filters/predictors.py +55 -0
- core_pdf/impl/engine/spec/s_07_objects/__init__.py +2 -0
- core_pdf/impl/engine/spec/s_07_objects/coercion.py +199 -0
- core_pdf/impl/engine/spec/s_07_objects/indirect_headers.py +46 -0
- core_pdf/impl/engine/spec/s_07_objects/object_cache.py +57 -0
- core_pdf/impl/engine/spec/s_07_objects/pdfdict.py +120 -0
- core_pdf/impl/engine/spec/s_07_objects/resolver.py +253 -0
- core_pdf/impl/engine/spec/s_07_objects/resolver_values.py +190 -0
- core_pdf/impl/engine/spec/s_07_security/__init__.py +4 -0
- core_pdf/impl/engine/spec/s_07_security/aes.py +215 -0
- core_pdf/impl/engine/spec/s_07_security/crypto_constants.py +550 -0
- core_pdf/impl/engine/spec/s_07_security/crypto_handlers.py +19 -0
- core_pdf/impl/engine/spec/s_07_security/errors.py +10 -0
- core_pdf/impl/engine/spec/s_07_security/rc4.py +33 -0
- core_pdf/impl/engine/spec/s_07_security/saslprep.py +47 -0
- core_pdf/impl/engine/spec/s_07_security/standard.py +174 -0
- core_pdf/impl/engine/spec/s_07_security/standard_v4.py +95 -0
- core_pdf/impl/engine/spec/s_07_security/standard_v5.py +113 -0
- core_pdf/impl/engine/spec/s_07_security/values.py +27 -0
- core_pdf/impl/engine/spec/s_07_syntax/__init__.py +2 -0
- core_pdf/impl/engine/spec/s_07_syntax/lexer.py +1110 -0
- core_pdf/impl/engine/spec/s_07_syntax/lexer_helpers.py +170 -0
- core_pdf/impl/engine/spec/s_07_syntax/objects.py +153 -0
- core_pdf/impl/engine/spec/s_07_syntax/tokens.py +30 -0
- core_pdf/impl/engine/spec/s_07_syntax/xref.py +715 -0
- core_pdf/impl/engine/spec/s_08_graphics/__init__.py +2 -0
- core_pdf/impl/engine/spec/s_08_graphics/color.py +623 -0
- core_pdf/impl/engine/spec/s_08_graphics/color_math.py +36 -0
- core_pdf/impl/engine/spec/s_08_graphics/color_spec.py +255 -0
- core_pdf/impl/engine/spec/s_08_graphics/icc_profiles.py +617 -0
- core_pdf/impl/engine/spec/s_08_graphics/matrix.py +45 -0
- core_pdf/impl/engine/spec/s_09_fonts/__init__.py +2 -0
- core_pdf/impl/engine/spec/s_09_fonts/cff.py +90 -0
- core_pdf/impl/engine/spec/s_09_fonts/data/__init__.py +4 -0
- core_pdf/impl/engine/spec/s_09_fonts/data/core14.py +13214 -0
- core_pdf/impl/engine/spec/s_09_fonts/decoder.py +745 -0
- core_pdf/impl/engine/spec/s_09_fonts/encoding.py +47 -0
- core_pdf/impl/engine/spec/s_09_fonts/font_names.py +27 -0
- core_pdf/impl/engine/spec/s_09_fonts/glyph_decode.py +137 -0
- core_pdf/impl/engine/spec/s_09_fonts/glyphs.py +141 -0
- core_pdf/impl/engine/spec/s_09_fonts/helpers.py +93 -0
- core_pdf/impl/engine/spec/s_09_fonts/metrics.py +68 -0
- core_pdf/impl/engine/spec/s_09_fonts/truetype.py +37 -0
- core_pdf/impl/engine/spec/s_09_fonts/widths.py +138 -0
- core_pdf/impl/engine/spec/s_14_structure/__init__.py +4 -0
- core_pdf/impl/engine/spec/s_14_structure/content.py +48 -0
- core_pdf/impl/engine/spec/s_14_structure/tree.py +564 -0
- core_pdf/impl/exceptions.py +18 -0
- core_pdf/impl/integrations/__init__.py +4 -0
- core_pdf/impl/models.py +301 -0
- core_pdf/impl/objects.py +90 -0
- core_pdf/impl/primitives.py +156 -0
- core_pdf/impl/protocols.py +20 -0
- core_pdf/impl/third_party/__init__.py +3 -0
- core_pdf/impl/third_party/_vendor/README.rst +16 -0
- core_pdf/impl/third_party/_vendor/__init__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/LICENSE +21 -0
- core_pdf/impl/third_party/_vendor/fontTools/LICENSE.external +388 -0
- core_pdf/impl/third_party/_vendor/fontTools/__init__.py +8 -0
- core_pdf/impl/third_party/_vendor/fontTools/__main__.py +35 -0
- core_pdf/impl/third_party/_vendor/fontTools/afmLib.py +439 -0
- core_pdf/impl/third_party/_vendor/fontTools/agl.py +5233 -0
- core_pdf/impl/third_party/_vendor/fontTools/annotations.py +30 -0
- core_pdf/impl/third_party/_vendor/fontTools/cffLib/CFF2ToCFF.py +258 -0
- core_pdf/impl/third_party/_vendor/fontTools/cffLib/CFFToCFF2.py +305 -0
- core_pdf/impl/third_party/_vendor/fontTools/cffLib/__init__.py +3694 -0
- core_pdf/impl/third_party/_vendor/fontTools/cffLib/specializer.py +927 -0
- core_pdf/impl/third_party/_vendor/fontTools/cffLib/transforms.py +495 -0
- core_pdf/impl/third_party/_vendor/fontTools/cffLib/width.py +210 -0
- core_pdf/impl/third_party/_vendor/fontTools/colorLib/__init__.py +0 -0
- core_pdf/impl/third_party/_vendor/fontTools/colorLib/builder.py +684 -0
- core_pdf/impl/third_party/_vendor/fontTools/colorLib/errors.py +2 -0
- core_pdf/impl/third_party/_vendor/fontTools/colorLib/geometry.py +143 -0
- core_pdf/impl/third_party/_vendor/fontTools/colorLib/table_builder.py +223 -0
- core_pdf/impl/third_party/_vendor/fontTools/colorLib/unbuilder.py +81 -0
- core_pdf/impl/third_party/_vendor/fontTools/config/__init__.py +90 -0
- core_pdf/impl/third_party/_vendor/fontTools/cu2qu/__init__.py +15 -0
- core_pdf/impl/third_party/_vendor/fontTools/cu2qu/__main__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/cu2qu/benchmark.py +54 -0
- core_pdf/impl/third_party/_vendor/fontTools/cu2qu/cli.py +198 -0
- core_pdf/impl/third_party/_vendor/fontTools/cu2qu/cu2qu.py +569 -0
- core_pdf/impl/third_party/_vendor/fontTools/cu2qu/errors.py +77 -0
- core_pdf/impl/third_party/_vendor/fontTools/cu2qu/ufo.py +383 -0
- core_pdf/impl/third_party/_vendor/fontTools/designspaceLib/__init__.py +3358 -0
- core_pdf/impl/third_party/_vendor/fontTools/designspaceLib/__main__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/designspaceLib/split.py +475 -0
- core_pdf/impl/third_party/_vendor/fontTools/designspaceLib/statNames.py +260 -0
- core_pdf/impl/third_party/_vendor/fontTools/designspaceLib/types.py +147 -0
- core_pdf/impl/third_party/_vendor/fontTools/diff/__init__.py +441 -0
- core_pdf/impl/third_party/_vendor/fontTools/diff/__main__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/diff/color.py +44 -0
- core_pdf/impl/third_party/_vendor/fontTools/diff/diff.py +294 -0
- core_pdf/impl/third_party/_vendor/fontTools/diff/utils.py +28 -0
- core_pdf/impl/third_party/_vendor/fontTools/encodings/MacRoman.py +258 -0
- core_pdf/impl/third_party/_vendor/fontTools/encodings/StandardEncoding.py +258 -0
- core_pdf/impl/third_party/_vendor/fontTools/encodings/__init__.py +1 -0
- core_pdf/impl/third_party/_vendor/fontTools/encodings/codecs.py +135 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/__init__.py +4 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/__main__.py +78 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/ast.py +2143 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/builder.py +1838 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/error.py +22 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/lexer.py +287 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/location.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/lookupDebugInfo.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/parser.py +2395 -0
- core_pdf/impl/third_party/_vendor/fontTools/feaLib/variableScalar.py +265 -0
- core_pdf/impl/third_party/_vendor/fontTools/fontBuilder.py +1014 -0
- core_pdf/impl/third_party/_vendor/fontTools/help.py +36 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/__init__.py +248 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/__main__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/base.py +81 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/cmap.py +173 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/layout.py +526 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/options.py +85 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/tables.py +352 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/unicode.py +78 -0
- core_pdf/impl/third_party/_vendor/fontTools/merge/util.py +143 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/__init__.py +1 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/arrayTools.py +424 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/bezierTools.py +1500 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/classifyTools.py +170 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/cliTools.py +53 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/configTools.py +351 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/cython.py +27 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/dictTools.py +83 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/eexec.py +119 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/encodingTools.py +72 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/enumTools.py +23 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/etree.py +456 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filenames.py +245 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/__init__.py +68 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_base.py +134 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_copy.py +45 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_errors.py +54 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_info.py +75 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_osfs.py +164 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_path.py +67 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_subfs.py +92 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_tempfs.py +34 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_tools.py +34 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_walk.py +55 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/filesystem/_zipfs.py +204 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/fixedTools.py +253 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/iftSparseBitSet.py +311 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/intTools.py +25 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/iterTools.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/lazyTools.py +42 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/loggingTools.py +543 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/macCreatorType.py +56 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/macRes.py +261 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/plistlib/__init__.py +681 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/plistlib/py.typed +0 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/psCharStrings.py +1511 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/psLib.py +398 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/psOperators.py +572 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/py23.py +96 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/roundTools.py +110 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/sstruct.py +227 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/symfont.py +242 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/testTools.py +233 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/textTools.py +156 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/timeTools.py +88 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/transform.py +516 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/treeTools.py +45 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/vector.py +147 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/visitor.py +158 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/xmlReader.py +188 -0
- core_pdf/impl/third_party/_vendor/fontTools/misc/xmlWriter.py +240 -0
- core_pdf/impl/third_party/_vendor/fontTools/mtiLib/__init__.py +1400 -0
- core_pdf/impl/third_party/_vendor/fontTools/mtiLib/__main__.py +5 -0
- core_pdf/impl/third_party/_vendor/fontTools/otlLib/__init__.py +1 -0
- core_pdf/impl/third_party/_vendor/fontTools/otlLib/builder.py +3481 -0
- core_pdf/impl/third_party/_vendor/fontTools/otlLib/error.py +11 -0
- core_pdf/impl/third_party/_vendor/fontTools/otlLib/maxContextCalc.py +96 -0
- core_pdf/impl/third_party/_vendor/fontTools/otlLib/optimize/__init__.py +53 -0
- core_pdf/impl/third_party/_vendor/fontTools/otlLib/optimize/__main__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/otlLib/optimize/gpos.py +439 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/__init__.py +1 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/areaPen.py +52 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/basePen.py +475 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/boundsPen.py +98 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/cairoPen.py +26 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/cocoaPen.py +26 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/cu2quPen.py +325 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/explicitClosingLinePen.py +101 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/filterPen.py +433 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/freetypePen.py +462 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/hashPointPen.py +89 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/momentsPen.py +879 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/perimeterPen.py +69 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/pointInsidePen.py +192 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/pointPen.py +653 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/qtPen.py +29 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/qu2cuPen.py +105 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/quartzPen.py +43 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/recordingPen.py +335 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/reportLabPen.py +79 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/reverseContourPen.py +96 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/roundingPen.py +130 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/statisticsPen.py +312 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/svgPathPen.py +310 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/t2CharStringPen.py +88 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/teePen.py +55 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/transformPen.py +115 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/ttGlyphPen.py +335 -0
- core_pdf/impl/third_party/_vendor/fontTools/pens/wxPen.py +29 -0
- core_pdf/impl/third_party/_vendor/fontTools/qu2cu/__init__.py +15 -0
- core_pdf/impl/third_party/_vendor/fontTools/qu2cu/__main__.py +7 -0
- core_pdf/impl/third_party/_vendor/fontTools/qu2cu/benchmark.py +56 -0
- core_pdf/impl/third_party/_vendor/fontTools/qu2cu/cli.py +129 -0
- core_pdf/impl/third_party/_vendor/fontTools/qu2cu/qu2cu.py +433 -0
- core_pdf/impl/third_party/_vendor/fontTools/subset/__init__.py +4096 -0
- core_pdf/impl/third_party/_vendor/fontTools/subset/__main__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/subset/cff.py +184 -0
- core_pdf/impl/third_party/_vendor/fontTools/subset/svg.py +252 -0
- core_pdf/impl/third_party/_vendor/fontTools/subset/util.py +25 -0
- core_pdf/impl/third_party/_vendor/fontTools/svgLib/__init__.py +3 -0
- core_pdf/impl/third_party/_vendor/fontTools/svgLib/path/__init__.py +65 -0
- core_pdf/impl/third_party/_vendor/fontTools/svgLib/path/arc.py +154 -0
- core_pdf/impl/third_party/_vendor/fontTools/svgLib/path/parser.py +322 -0
- core_pdf/impl/third_party/_vendor/fontTools/svgLib/path/shapes.py +185 -0
- core_pdf/impl/third_party/_vendor/fontTools/t1Lib/__init__.py +648 -0
- core_pdf/impl/third_party/_vendor/fontTools/tfmLib.py +460 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/__init__.py +30 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/__main__.py +148 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/macUtils.py +54 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/removeOverlaps.py +395 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/reorderGlyphs.py +285 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/scaleUpem.py +436 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/sfnt.py +664 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/standardGlyphOrder.py +271 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/B_A_S_E_.py +14 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/BitmapGlyphMetrics.py +64 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/C_B_D_T_.py +113 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/C_B_L_C_.py +19 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/C_F_F_.py +61 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/C_F_F__2.py +26 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/C_O_L_R_.py +165 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/C_P_A_L_.py +305 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/D_S_I_G_.py +170 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/D__e_b_g.py +35 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/DefaultTable.py +63 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/E_B_D_T_.py +835 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/E_B_L_C_.py +718 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/F_F_T_M_.py +52 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/F__e_a_t.py +159 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/G_D_E_F_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/G_P_O_S_.py +14 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/G_S_U_B_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/G_V_A_R_.py +5 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/G__l_a_t.py +235 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/G__l_o_c.py +85 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/H_V_A_R_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/I_F_T_.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/I_F_T_X_.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/J_S_T_F_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/L_T_S_H_.py +58 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/M_A_T_H_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/M_V_A_R_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/O_S_2f_2.py +752 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/S_T_A_T_.py +15 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/S_V_G_.py +223 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/S__i_l_f.py +1040 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/S__i_l_l.py +92 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I_B_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I_C_.py +14 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I_D_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I_J_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I_P_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I_S_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I_V_.py +26 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I__0.py +70 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I__1.py +163 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I__2.py +17 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I__3.py +22 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_S_I__5.py +60 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/T_T_F_A_.py +14 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/TupleVariation.py +886 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/V_A_R_C_.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/V_D_M_X_.py +249 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/V_O_R_G_.py +165 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/V_V_A_R_.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/__init__.py +97 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_a_n_k_r.py +15 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_a_v_a_r.py +200 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_b_g_c_l.py +136 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_b_s_l_n.py +15 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_c_i_d_g.py +24 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_c_m_a_p.py +1597 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_c_v_a_r.py +94 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_c_v_t.py +56 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_f_e_a_t.py +15 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_f_p_g_m.py +62 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_f_v_a_r.py +259 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_g_a_s_p.py +63 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_g_c_i_d.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_g_l_y_f.py +2302 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_g_v_a_r.py +340 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_h_d_m_x.py +127 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_h_e_a_d.py +130 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_h_h_e_a.py +147 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_h_m_t_x.py +164 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_k_e_r_n.py +289 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_l_c_a_r.py +13 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_l_o_c_a.py +70 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_l_t_a_g.py +72 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_m_a_x_p.py +147 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_m_e_t_a.py +112 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_m_o_r_t.py +14 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_m_o_r_x.py +15 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_n_a_m_e.py +1242 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_o_p_b_d.py +14 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_p_o_s_t.py +319 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_p_r_e_p.py +16 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_p_r_o_p.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_s_b_i_x.py +129 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_t_r_a_k.py +330 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_v_h_e_a.py +139 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/_v_m_t_x.py +19 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/asciiTable.py +20 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/grUtils.py +92 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/otBase.py +1467 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/otConverters.py +2334 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/otData.py +5983 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/otDataSchema.py +37 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/otTables.py +2733 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/otTraverse.py +163 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/sbixGlyph.py +149 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/sbixStrike.py +177 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/table_API_readme.txt +91 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/tables/ttProgram.py +596 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/ttCollection.py +125 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/ttFont.py +1696 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/ttGlyphSet.py +490 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/ttVisitor.py +32 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttLib/woff2.py +1680 -0
- core_pdf/impl/third_party/_vendor/fontTools/ttx.py +479 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/__init__.py +2575 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/converters.py +407 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/errors.py +30 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/etree.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/filenames.py +356 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/glifLib.py +2123 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/kerning.py +141 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/plistlib.py +47 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/pointPen.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/utils.py +107 -0
- core_pdf/impl/third_party/_vendor/fontTools/ufoLib/validators.py +1197 -0
- core_pdf/impl/third_party/_vendor/fontTools/unicode.py +50 -0
- core_pdf/impl/third_party/_vendor/fontTools/unicodedata/Blocks.py +817 -0
- core_pdf/impl/third_party/_vendor/fontTools/unicodedata/Mirrored.py +446 -0
- core_pdf/impl/third_party/_vendor/fontTools/unicodedata/OTTags.py +50 -0
- core_pdf/impl/third_party/_vendor/fontTools/unicodedata/ScriptExtensions.py +832 -0
- core_pdf/impl/third_party/_vendor/fontTools/unicodedata/Scripts.py +3639 -0
- core_pdf/impl/third_party/_vendor/fontTools/unicodedata/__init__.py +306 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/__init__.py +1582 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/__main__.py +6 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/avar/__init__.py +0 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/avar/__main__.py +72 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/avar/build.py +79 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/avar/map.py +124 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/avar/plan.py +1004 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/avar/unbuild.py +274 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/avarPlanner.py +8 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/builder.py +215 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/cff.py +631 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/errors.py +219 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/featureVars.py +703 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/hvar.py +113 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/instancer/__init__.py +2049 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/instancer/__main__.py +5 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/instancer/featureVars.py +190 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/instancer/names.py +388 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/instancer/solver.py +309 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/interpolatable.py +1209 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/interpolatableHelpers.py +360 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/interpolatablePlot.py +1264 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/interpolatableTestContourOrder.py +81 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/interpolatableTestStartingPoint.py +109 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/interpolate_layout.py +124 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/iup.py +490 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/merger.py +1717 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/models.py +663 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/multiVarStore.py +253 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/mutator.py +529 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/mvar.py +40 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/plot.py +238 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/stat.py +149 -0
- core_pdf/impl/third_party/_vendor/fontTools/varLib/varStore.py +739 -0
- core_pdf/impl/third_party/_vendor/fontTools/voltLib/__init__.py +5 -0
- core_pdf/impl/third_party/_vendor/fontTools/voltLib/__main__.py +206 -0
- core_pdf/impl/third_party/_vendor/fontTools/voltLib/ast.py +452 -0
- core_pdf/impl/third_party/_vendor/fontTools/voltLib/error.py +12 -0
- core_pdf/impl/third_party/_vendor/fontTools/voltLib/lexer.py +99 -0
- core_pdf/impl/third_party/_vendor/fontTools/voltLib/parser.py +664 -0
- core_pdf/impl/third_party/_vendor/fontTools/voltLib/voltToFea.py +911 -0
- core_pdf/impl/third_party/_vendor/fontTools.pyi +1 -0
- core_pdf/impl/third_party/_vendor/vendor.txt +1 -0
- core_pdf/impl/third_party/ccitt.py +789 -0
- core_pdf/impl/third_party/cff.py +830 -0
- core_pdf/impl/third_party/cid/5014.CIDFont_Spec.pdf +0 -0
- core_pdf/impl/third_party/cid/__init__.py +26 -0
- core_pdf/impl/third_party/cid/cmap.py +909 -0
- core_pdf/impl/third_party/cid/encoding.py +24 -0
- core_pdf/impl/third_party/cid/pdf_string.py +67 -0
- core_pdf/impl/third_party/cid/resource_loader.py +81 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-0 +134 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-1 +145 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-2 +146 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-3 +151 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-4 +152 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-5 +152 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-6 +152 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/Adobe-CNS1-7 +150 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/B5-H +331 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/B5-V +88 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/B5pc-H +335 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/B5pc-V +88 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/CNS-EUC-H +488 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/CNS-EUC-V +536 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/CNS1-H +235 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/CNS1-V +88 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/CNS2-H +158 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/CNS2-V +74 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/ETHK-B5-H +1326 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/ETHK-B5-V +88 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/ETen-B5-H +341 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/ETen-B5-V +89 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/ETenms-B5-H +77 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/ETenms-B5-V +97 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKdla-B5-H +1132 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKdla-B5-V +87 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKdlb-B5-H +1014 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKdlb-B5-V +87 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKgccs-B5-H +647 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKgccs-B5-V +87 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKm314-B5-H +637 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKm314-B5-V +87 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKm471-B5-H +787 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKm471-B5-V +87 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKscs-B5-H +1329 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/HKscs-B5-V +88 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UCS2-H +16990 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UCS2-V +88 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UTF16-H +19146 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UTF16-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UTF32-H +19144 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UTF32-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UTF8-H +19209 -0
- core_pdf/impl/third_party/cid/resources/Adobe-CNS1-7/CMap/UniCNS-UTF8-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/Adobe-GB1-0 +109 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/Adobe-GB1-1 +117 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/Adobe-GB1-2 +165 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/Adobe-GB1-3 +165 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/Adobe-GB1-4 +195 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/Adobe-GB1-5 +200 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/Adobe-GB1-6 +199 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GB-EUC-H +171 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GB-EUC-V +96 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GB-H +164 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GB-V +96 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBK-EUC-H +4271 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBK-EUC-V +95 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBK2K-H +5517 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBK2K-V +116 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBKp-EUC-H +4270 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBKp-EUC-V +95 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBT-EUC-H +2430 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBT-EUC-V +96 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBT-H +2423 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBT-V +96 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBTpc-EUC-H +2432 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBTpc-EUC-V +96 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBpc-EUC-H +173 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/GBpc-EUC-V +96 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UCS2-H +14319 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UCS2-V +99 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UTF16-H +14567 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UTF16-V +102 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UTF32-H +14565 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UTF32-V +102 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UTF8-H +14772 -0
- core_pdf/impl/third_party/cid/resources/Adobe-GB1-6/CMap/UniGB-UTF8-V +102 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Identity-0/CMap/Identity-H +337 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Identity-0/CMap/Identity-V +71 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78-EUC-H +724 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78-EUC-V +102 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78-H +716 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78-RKSJ-H +726 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78-RKSJ-V +102 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78-V +102 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78ms-RKSJ-H +816 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/78ms-RKSJ-V +153 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/83pv-RKSJ-H +312 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/90ms-RKSJ-H +257 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/90ms-RKSJ-V +154 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/90msp-RKSJ-H +255 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/90msp-RKSJ-V +153 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/90pv-RKSJ-H +353 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/90pv-RKSJ-V +127 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Add-H +725 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Add-RKSJ-H +736 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Add-RKSJ-V +133 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Add-V +133 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-0 +111 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-1 +111 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-2 +113 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-3 +114 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-4 +138 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-5 +157 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-6 +168 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Adobe-Japan1-7 +166 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/EUC-H +205 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/EUC-V +103 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Ext-H +755 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Ext-RKSJ-H +766 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Ext-RKSJ-V +115 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Ext-V +115 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/H +198 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Hankaku +86 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Hiragana +84 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Katakana +78 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/NWP-H +855 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/NWP-V +123 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/RKSJ-H +208 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/RKSJ-V +103 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/Roman +77 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UCS2-H +8868 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UCS2-HW-H +79 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UCS2-HW-V +277 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UCS2-V +273 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UTF16-H +14483 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UTF16-V +305 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UTF32-H +14481 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UTF32-V +305 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UTF8-H +14511 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS-UTF8-V +306 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS2004-UTF16-H +14486 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS2004-UTF16-V +305 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS2004-UTF32-H +14484 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS2004-UTF32-V +305 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS2004-UTF8-H +14514 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJIS2004-UTF8-V +306 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJISPro-UCS2-HW-V +285 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJISPro-UCS2-V +278 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJISPro-UTF8-V +282 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJISX0213-UTF32-H +14475 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJISX0213-UTF32-V +301 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJISX02132004-UTF32-H +14478 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/UniJISX02132004-UTF32-V +301 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/V +103 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Japan1-7/CMap/WP-Symbol +103 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-0 +87 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-1 +94 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-2 +120 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-3 +121 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-4 +122 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-5 +123 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-6 +131 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-7 +149 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-8 +163 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/Adobe-KR-9 +165 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/UniAKR-UTF16-H +12595 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/UniAKR-UTF32-H +12589 -0
- core_pdf/impl/third_party/cid/resources/Adobe-KR-9/CMap/UniAKR-UTF8-H +12687 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/Adobe-Korea1-0 +114 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/Adobe-Korea1-1 +149 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/Adobe-Korea1-2 +149 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSC-EUC-H +560 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSC-EUC-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSC-H +554 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSC-Johab-H +4343 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSC-Johab-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSC-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSCms-UHC-H +774 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSCms-UHC-HW-H +773 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSCms-UHC-HW-V +91 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSCms-UHC-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSCpc-EUC-H +606 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/KSCpc-EUC-V +92 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UCS2-H +8723 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UCS2-V +93 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UTF16-H +8893 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UTF16-V +97 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UTF32-H +8891 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UTF32-V +97 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UTF8-H +8989 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Korea1-2/CMap/UniKS-UTF8-V +97 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Manga1-0/CMap/Adobe-Manga1-0 +147 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Manga1-0/CMap/UniManga-UTF16-H +5831 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Manga1-0/CMap/UniManga-UTF16-V +82 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Manga1-0/CMap/UniManga-UTF32-H +5829 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Manga1-0/CMap/UniManga-UTF32-V +82 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Manga1-0/CMap/UniManga-UTF8-H +5955 -0
- core_pdf/impl/third_party/cid/resources/Adobe-Manga1-0/CMap/UniManga-UTF8-V +83 -0
- core_pdf/impl/third_party/cid/resources/LICENSE.md +28 -0
- core_pdf/impl/third_party/cid/resources/README.md +378 -0
- core_pdf/impl/third_party/cid/resources/VERSIONS.txt +218 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/Adobe-Japan2-0 +102 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/Hojo-EUC-H +160 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/Hojo-EUC-V +74 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/Hojo-H +160 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/Hojo-V +74 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UCS2-H +4434 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UCS2-V +73 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UTF16-H +4466 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UTF16-V +73 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UTF32-H +4460 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UTF32-V +73 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UTF8-H +4489 -0
- core_pdf/impl/third_party/cid/resources/deprecated/Adobe-Japan2-0/CMap/UniHojo-UTF8-V +73 -0
- core_pdf/impl/third_party/cid/widths.py +198 -0
- core_pdf/impl/third_party/filters/__init__.py +0 -0
- core_pdf/impl/third_party/filters/predictors.py +193 -0
- core_pdf/impl/third_party/jbig2.py +992 -0
- core_pdf/impl/third_party/truetype.py +407 -0
- core_pdf/impl/types.py +62 -0
- core_pdf/py.typed +1 -0
- core_pdf-0.0.2.dist-info/METADATA +32 -0
- core_pdf-0.0.2.dist-info/RECORD +741 -0
- core_pdf-0.0.2.dist-info/WHEEL +4 -0
- core_pdf-0.0.2.dist-info/licenses/LICENSE.txt +661 -0
core_pdf/__init__.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
from core_pdf.impl.engine.extraction.document import PdfDocument
|
|
5
|
+
from core_pdf.impl.engine.extraction.page import PdfPage
|
|
6
|
+
from core_pdf.impl.exceptions import (
|
|
7
|
+
PdfError,
|
|
8
|
+
PdfParseError,
|
|
9
|
+
PdfSourceError,
|
|
10
|
+
PdfUnsupportedError,
|
|
11
|
+
)
|
|
12
|
+
from core_pdf.impl.types import PageSelection
|
|
13
|
+
|
|
14
|
+
__all__ = (
|
|
15
|
+
"PageSelection",
|
|
16
|
+
"PdfDocument",
|
|
17
|
+
"PdfError",
|
|
18
|
+
"PdfPage",
|
|
19
|
+
"PdfParseError",
|
|
20
|
+
"PdfSourceError",
|
|
21
|
+
"PdfUnsupportedError",
|
|
22
|
+
)
|
core_pdf/__main__.py
ADDED
core_pdf/cli.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
import argparse
|
|
5
|
+
import sys
|
|
6
|
+
from collections.abc import Sequence
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
from core_pdf import PdfDocument
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def build_parser() -> argparse.ArgumentParser:
|
|
13
|
+
parser = argparse.ArgumentParser(
|
|
14
|
+
prog="core-pdf",
|
|
15
|
+
description="Extract PDF content with core-pdf.",
|
|
16
|
+
)
|
|
17
|
+
parser.add_argument("pdf", type=Path, help="Path to the PDF file")
|
|
18
|
+
parser.add_argument(
|
|
19
|
+
"--mode",
|
|
20
|
+
choices=("text", "markdown"),
|
|
21
|
+
default="text",
|
|
22
|
+
help="Plain output format",
|
|
23
|
+
)
|
|
24
|
+
parser.add_argument(
|
|
25
|
+
"--plain",
|
|
26
|
+
action="store_true",
|
|
27
|
+
help=argparse.SUPPRESS,
|
|
28
|
+
)
|
|
29
|
+
return parser
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def extract_output(document: PdfDocument, output_format: str) -> str:
|
|
33
|
+
if output_format == "markdown":
|
|
34
|
+
return document.to_markdown()
|
|
35
|
+
return document.extract_text()
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def print_plain_output(output: str) -> None:
|
|
39
|
+
sys.stdout.write(output)
|
|
40
|
+
if output and not output.endswith("\n"):
|
|
41
|
+
sys.stdout.write("\n")
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def main(argv: Sequence[str] | None = None) -> int:
|
|
45
|
+
parser = build_parser()
|
|
46
|
+
args = parser.parse_args(argv)
|
|
47
|
+
|
|
48
|
+
try:
|
|
49
|
+
document = PdfDocument(args.pdf)
|
|
50
|
+
except Exception as exc:
|
|
51
|
+
print(f"core-pdf: {exc}", file=sys.stderr)
|
|
52
|
+
return 1
|
|
53
|
+
|
|
54
|
+
try:
|
|
55
|
+
print_plain_output(extract_output(document, args.mode))
|
|
56
|
+
return 0
|
|
57
|
+
except Exception as exc:
|
|
58
|
+
print(f"core-pdf: {exc}", file=sys.stderr)
|
|
59
|
+
return 1
|
|
60
|
+
finally:
|
|
61
|
+
document.__exit__(None, None, None)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
if __name__ == "__main__":
|
|
65
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
"""Internal PDF engine packages.
|
|
3
|
+
|
|
4
|
+
Spec-aligned packages live under ``engine.spec`` and are prefixed by their
|
|
5
|
+
PDF 32000 section:
|
|
6
|
+
|
|
7
|
+
- ``s_07_*``: syntax, objects, filters, security, document structure, content streams
|
|
8
|
+
- ``s_08_graphics``: graphics state, matrices, colour, images
|
|
9
|
+
- ``s_09_fonts``: text/font data structures and text decoding
|
|
10
|
+
- ``s_14_structure``: marked content, logical structure, tagged PDF
|
|
11
|
+
|
|
12
|
+
Root-level packages are shared or derived processing layers:
|
|
13
|
+
``layout``, ``extraction``, ``rendering``, and ``compat``.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
__all__: tuple[str, ...] = ()
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
from collections.abc import Hashable, MutableMapping
|
|
5
|
+
from typing import TypeAlias, TypeVar
|
|
6
|
+
|
|
7
|
+
ExtractionCacheKey: TypeAlias = str | tuple[Hashable, ...]
|
|
8
|
+
ExtractionCacheMapping: TypeAlias = MutableMapping[ExtractionCacheKey, object]
|
|
9
|
+
|
|
10
|
+
_T = TypeVar("_T")
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ExtractionCache(dict[ExtractionCacheKey, object]):
|
|
14
|
+
def get_as(self, key: ExtractionCacheKey, expected_type: type[_T]) -> _T | None:
|
|
15
|
+
value = self.get(key)
|
|
16
|
+
return value if isinstance(value, expected_type) else None
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
# SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
from collections.abc import Iterable
|
|
5
|
+
from dataclasses import dataclass, replace
|
|
6
|
+
|
|
7
|
+
from core_pdf.impl.engine.extraction.common import page_geometry
|
|
8
|
+
from core_pdf.impl.engine.extraction.ocr.text_analysis import normalized_text_tokens
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@dataclass(frozen=True)
|
|
12
|
+
class ObservationResolution:
|
|
13
|
+
action: str
|
|
14
|
+
reason: str
|
|
15
|
+
candidate: page_geometry.PageObservation
|
|
16
|
+
matched: page_geometry.PageObservation | None = None
|
|
17
|
+
geometry_score: float = 0.0
|
|
18
|
+
coverage_ratio: float = 0.0
|
|
19
|
+
text_overlap: float = 0.0
|
|
20
|
+
useful_new_tokens: int = 0
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
@dataclass(frozen=True)
|
|
24
|
+
class ResolvedTextLine:
|
|
25
|
+
text: str
|
|
26
|
+
observation: page_geometry.PageObservation
|
|
27
|
+
break_before: int = 1
|
|
28
|
+
contributing_observations: tuple[page_geometry.PageObservation, ...] = ()
|
|
29
|
+
resolution: ObservationResolution | None = None
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def resolve_observation_append(
|
|
33
|
+
candidate: page_geometry.PageObservation,
|
|
34
|
+
accepted: Iterable[page_geometry.PageObservation],
|
|
35
|
+
*,
|
|
36
|
+
existing_text: str = "",
|
|
37
|
+
) -> ObservationResolution:
|
|
38
|
+
accepted_observations = tuple(
|
|
39
|
+
observation for observation in accepted if observation.bbox is not None
|
|
40
|
+
)
|
|
41
|
+
if candidate.bbox is None:
|
|
42
|
+
if observation_has_useful_new_text(candidate, existing_text):
|
|
43
|
+
return ObservationResolution("append", "no_geometry", candidate)
|
|
44
|
+
return ObservationResolution("skip", "duplicate_text", candidate)
|
|
45
|
+
if not candidate.text.strip():
|
|
46
|
+
return ObservationResolution("skip", "empty_text", candidate)
|
|
47
|
+
|
|
48
|
+
matched, geometry_score = best_observation_geometry_match(
|
|
49
|
+
candidate,
|
|
50
|
+
accepted_observations,
|
|
51
|
+
)
|
|
52
|
+
text_overlap = observation_text_overlap(candidate, matched) if matched is not None else 0.0
|
|
53
|
+
coverage_ratio = observation_coverage_ratio(candidate, accepted_observations)
|
|
54
|
+
useful_new_tokens = observation_useful_new_token_count(candidate, existing_text)
|
|
55
|
+
|
|
56
|
+
if coverage_ratio >= 0.72 and text_overlap >= 0.65:
|
|
57
|
+
return ObservationResolution(
|
|
58
|
+
"skip",
|
|
59
|
+
"covered_geometry",
|
|
60
|
+
candidate,
|
|
61
|
+
matched,
|
|
62
|
+
geometry_score,
|
|
63
|
+
coverage_ratio,
|
|
64
|
+
text_overlap,
|
|
65
|
+
useful_new_tokens,
|
|
66
|
+
)
|
|
67
|
+
if geometry_score >= 0.86 and text_overlap >= 0.65:
|
|
68
|
+
return ObservationResolution(
|
|
69
|
+
"skip",
|
|
70
|
+
"same_geometry",
|
|
71
|
+
candidate,
|
|
72
|
+
matched,
|
|
73
|
+
geometry_score,
|
|
74
|
+
coverage_ratio,
|
|
75
|
+
text_overlap,
|
|
76
|
+
useful_new_tokens,
|
|
77
|
+
)
|
|
78
|
+
if geometry_score >= 0.70 and text_overlap >= 0.45:
|
|
79
|
+
return ObservationResolution(
|
|
80
|
+
"skip",
|
|
81
|
+
"same_text_region",
|
|
82
|
+
candidate,
|
|
83
|
+
matched,
|
|
84
|
+
geometry_score,
|
|
85
|
+
coverage_ratio,
|
|
86
|
+
text_overlap,
|
|
87
|
+
useful_new_tokens,
|
|
88
|
+
)
|
|
89
|
+
return ObservationResolution(
|
|
90
|
+
"append",
|
|
91
|
+
"uncovered",
|
|
92
|
+
candidate,
|
|
93
|
+
matched,
|
|
94
|
+
geometry_score,
|
|
95
|
+
coverage_ratio,
|
|
96
|
+
text_overlap,
|
|
97
|
+
useful_new_tokens,
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def resolve_text_lines(
|
|
102
|
+
lines: Iterable[ResolvedTextLine],
|
|
103
|
+
*,
|
|
104
|
+
existing_text: str = "",
|
|
105
|
+
) -> tuple[ResolvedTextLine, ...]:
|
|
106
|
+
accepted_lines: list[ResolvedTextLine] = []
|
|
107
|
+
accepted_observations: list[page_geometry.PageObservation] = []
|
|
108
|
+
text_parts: list[str] = [existing_text] if existing_text else []
|
|
109
|
+
for line in lines:
|
|
110
|
+
observation = line.observation
|
|
111
|
+
if observation.text != line.text:
|
|
112
|
+
observation = replace(observation, text=line.text)
|
|
113
|
+
line = replace(line, observation=observation)
|
|
114
|
+
resolution = resolve_observation_append(
|
|
115
|
+
observation,
|
|
116
|
+
accepted_observations,
|
|
117
|
+
existing_text="\n".join(text_parts),
|
|
118
|
+
)
|
|
119
|
+
if resolution.action != "append":
|
|
120
|
+
continue
|
|
121
|
+
accepted_line = replace(line, resolution=resolution)
|
|
122
|
+
accepted_lines.append(accepted_line)
|
|
123
|
+
accepted_observations.append(observation)
|
|
124
|
+
text_parts.append(line.text)
|
|
125
|
+
return tuple(accepted_lines)
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def text_from_resolved_lines(lines: Iterable[ResolvedTextLine]) -> str:
|
|
129
|
+
parts: list[str] = []
|
|
130
|
+
for line in lines:
|
|
131
|
+
text = line.text.strip()
|
|
132
|
+
if not text:
|
|
133
|
+
continue
|
|
134
|
+
if parts:
|
|
135
|
+
parts.append("\n" * max(1, line.break_before))
|
|
136
|
+
parts.append(text)
|
|
137
|
+
return "".join(parts)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def best_observation_geometry_match(
|
|
141
|
+
candidate: page_geometry.PageObservation,
|
|
142
|
+
accepted: Iterable[page_geometry.PageObservation],
|
|
143
|
+
) -> tuple[page_geometry.PageObservation | None, float]:
|
|
144
|
+
best: page_geometry.PageObservation | None = None
|
|
145
|
+
best_score = 0.0
|
|
146
|
+
for observation in accepted:
|
|
147
|
+
score = page_geometry.observation_geometry_match_score(
|
|
148
|
+
candidate,
|
|
149
|
+
observation,
|
|
150
|
+
)
|
|
151
|
+
if score > best_score:
|
|
152
|
+
best = observation
|
|
153
|
+
best_score = score
|
|
154
|
+
return best, best_score
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
def observation_coverage_ratio(
|
|
158
|
+
candidate: page_geometry.PageObservation,
|
|
159
|
+
accepted: Iterable[page_geometry.PageObservation],
|
|
160
|
+
) -> float:
|
|
161
|
+
area = page_geometry.observation_area(candidate)
|
|
162
|
+
if area <= 0.0:
|
|
163
|
+
return 1.0
|
|
164
|
+
covered_area = 0.0
|
|
165
|
+
for observation in accepted:
|
|
166
|
+
covered_area += page_geometry.observation_intersection_area(
|
|
167
|
+
candidate,
|
|
168
|
+
observation,
|
|
169
|
+
)
|
|
170
|
+
return min(1.0, covered_area / area)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def observation_text_overlap(
|
|
174
|
+
left: page_geometry.PageObservation,
|
|
175
|
+
right: page_geometry.PageObservation | None,
|
|
176
|
+
) -> float:
|
|
177
|
+
if right is None:
|
|
178
|
+
return 0.0
|
|
179
|
+
left_tokens = set(normalized_text_tokens(left.text))
|
|
180
|
+
right_tokens = set(normalized_text_tokens(right.text))
|
|
181
|
+
if not left_tokens or not right_tokens:
|
|
182
|
+
return 0.0
|
|
183
|
+
return len(left_tokens & right_tokens) / max(1, min(len(left_tokens), len(right_tokens)))
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
def observation_has_useful_new_text(
|
|
187
|
+
candidate: page_geometry.PageObservation,
|
|
188
|
+
existing_text: str,
|
|
189
|
+
) -> bool:
|
|
190
|
+
return observation_useful_new_token_count(candidate, existing_text) > 0
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
def observation_useful_new_token_count(
|
|
194
|
+
candidate: page_geometry.PageObservation,
|
|
195
|
+
existing_text: str,
|
|
196
|
+
) -> int:
|
|
197
|
+
seen = set(normalized_text_tokens(existing_text))
|
|
198
|
+
count = 0
|
|
199
|
+
for token in normalized_text_tokens(candidate.text):
|
|
200
|
+
if token in seen:
|
|
201
|
+
continue
|
|
202
|
+
if token_has_content_signal(token):
|
|
203
|
+
count += 1
|
|
204
|
+
return count
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
def token_has_content_signal(token: str) -> bool:
|
|
208
|
+
alnum = "".join(ch for ch in token if ch.isalnum())
|
|
209
|
+
if any(ch.isdigit() for ch in alnum):
|
|
210
|
+
return True
|
|
211
|
+
return len(alnum) >= 3
|