# SOME DESCRIPTIVE TITLE. # Copyright (C) 2015-2023, Artifex # This file is distributed under the same license as the PyMuPDF package. # FIRST AUTHOR , 2023. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PyMuPDF 1.23.0rc1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-11-25 23:33+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: ja\n" "Language-Team: ja \n" "Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.10.3\n" #: ../../header.rst:-1 4b2125667c71405ca651d2f4f33203ce msgid "Artifex" msgstr "" #: ../../header.rst:-1 7a5706b2ba4a4c5f9ab33e6a435e268e msgid "" "PyMuPDF is a high-performance Python library for data extraction, " "analysis, conversion & manipulation of PDF (and other) documents." msgstr "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" #: ../../header.rst:-1 232846e89a9147f6abd57e2c5299b488 msgid "" "PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, " "PDF Splitting, PDF Creation, Pyodide, PyScript" msgstr "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" #: ../../../changes.txt:2 4cd69e5be9794686a140129e41fc4b95 msgid "Change Log" msgstr "" #: ../../../changes.txt:5 1505d60909e543b7809db6369fa0db8f msgid "**Changes in version 1.26.7**" msgstr "" #: ../../../changes.txt:7 ../../../changes.txt:43 ../../../changes.txt:73 #: ../../../changes.txt:95 ../../../changes.txt:117 ../../../changes.txt:146 #: ../../../changes.txt:171 ../../../changes.txt:192 ../../../changes.txt:212 #: ../../../changes.txt:236 ../../../changes.txt:285 ../../../changes.txt:335 #: ../../../changes.txt:366 ../../../changes.txt:387 ../../../changes.txt:423 #: ../../../changes.txt:443 ../../../changes.txt:457 ../../../changes.txt:485 #: ../../../changes.txt:507 ../../../changes.txt:530 ../../../changes.txt:556 #: ../../../changes.txt:589 ../../../changes.txt:611 ../../../changes.txt:625 #: ../../../changes.txt:642 ../../../changes.txt:664 ../../../changes.txt:673 #: ../../../changes.txt:686 ../../../changes.txt:698 ../../../changes.txt:715 #: ../../../changes.txt:728 ../../../changes.txt:741 ../../../changes.txt:754 #: ../../../changes.txt:766 ../../../changes.txt:778 ../../../changes.txt:801 #: ../../../changes.txt:833 ../../../changes.txt:859 ../../../changes.txt:899 #: ../../../changes.txt:926 ../../../changes.txt:948 ../../../changes.txt:1200 #: ../../../changes.txt:1334 049a26e13bb94229a79a69f81f7b5fbe #: 1f22271ed0b840efae8df95b0ee00fae 223eca2249444ff9ab2190c5225660fc #: 287da62560f74d3dab59fced5784a79f 289b8aaf54c746ecad54ca30175d6572 #: 2a7d7c2ae08a4078a26a35d98478462f 2d7b554ad4614d72aa34334544b1ad84 #: 3b0c2a7d2f02465d8a435c84b848e950 41d0c2d1b9dc4b92aaee342c76e8f6aa #: 4347b8c87fab492bb324cd690a0a5039 45a493f9bbb34d5d86014fc796fc7e5f #: 4ac9e175442d4fed9094777114001d05 5294b3baa70340d4b0683ea893cb8227 #: 55180f0a4ad14d779385728b45523412 56b9abeb67244e568154b0999908dc54 #: 590720763c4f4b6e944a5b6e9261c46a 5b96e63e430649e09364197f6640d348 #: 66a4fb9f871646b39fd2935322ff2bd7 681b44b2d00a428f95bec75570a9bd96 #: 6d3500e7906d4b5b9d5a852686c41f03 77caed4c8cf543c284393db2214dc425 #: 7930c830c16148e18e377994a974f7f6 8020c55d92a04b68b29f9b5c839563d9 #: 8dd9e915003d41dbbf42283bf55adefe 959e7f541c2147928cc800dcf3f54fa8 #: 980c2a259af24fc599c154fab471a6d4 9eeadae797794ba39efcdfe7dd30ea96 #: a1f33ce2da084e65927b1037ec5431c9 a5748cc98e13464f8d5833fb09a584c6 #: b003035ab22a486d8191c52df2f18d51 b1ac215bbe134f3e83fc2c3f1315274d #: b322fd43be9f42fcb134129f551f03d7 b8505854ea4346dca195196c3c729c8e #: baa47c681a164ab190fd710ab752c1e5 be5cdf51439747e9856bf7da70502394 #: c18708d565ec49bb9b6597c6e4746708 cbe526883f0a481b9e4b1e4727d250df #: d23ff8de34d7483c8f2da67985f1837a e53406c760874e3fba6776cc13ce71c4 #: ea5c09729ad243d1b44e29edb73a3242 f176ccdd28d44b75bfd267fa28648397 #: f325e778302b4997b940c6c03dc96ae8 fab1e85d6fcb480fba201316c8c6be02 msgid "Other:" msgstr "" #: ../../../changes.txt:9 eef8efb3b6884f43ada21c5e779231cb msgid "" "Retrospectively mark `4756 " "`_ as fixed in 1.26.6." msgstr "" #: ../../../changes.txt:10 64ed70e9271b4853b276b73970b50572 msgid "" "Improved safety of `pymupdf embed-extract`. This now refuses to write to " "an existing file or outside current directory, unless `-output` or new " "flag `-unsafe` is specified." msgstr "" #: ../../../changes.txt:15 f3d0c45b85df4b2e8952e6a2da3389b7 msgid "**Changes in version 1.26.6** (2025-11-05)" msgstr "" #: ../../../changes.txt:17 f42bfa1ba64243c3bbb367df56f3ac08 msgid "Use MuPDF-1.26.11." msgstr "" #: ../../../changes.txt:19 50c8518a04f0461d92243888e708323a msgid "Supported Python versions are now 3.10-3.14." msgstr "" #: ../../../changes.txt:21 ../../../changes.txt:35 ../../../changes.txt:59 #: ../../../changes.txt:87 ../../../changes.txt:110 ../../../changes.txt:132 #: ../../../changes.txt:164 ../../../changes.txt:183 ../../../changes.txt:203 #: ../../../changes.txt:226 ../../../changes.txt:249 ../../../changes.txt:259 #: ../../../changes.txt:274 ../../../changes.txt:294 ../../../changes.txt:304 #: ../../../changes.txt:321 ../../../changes.txt:347 ../../../changes.txt:380 #: ../../../changes.txt:396 ../../../changes.txt:406 ../../../changes.txt:438 #: ../../../changes.txt:475 ../../../changes.txt:502 ../../../changes.txt:524 #: ../../../changes.txt:541 ../../../changes.txt:584 ../../../changes.txt:605 #: ../../../changes.txt:619 ../../../changes.txt:632 ../../../changes.txt:658 #: ../../../changes.txt:671 07987b0a21a147d98b3290a64ffa8043 #: 1f57395ac4ea4c218653cd455c477ae4 21d647e365934565aea69ef24f0cd8f9 #: 262f48050967468c829ffe26a450be4b 4cef11a8719641dbb922f8aa1573a9c6 #: 4e96e411a9d04f3394926ff7a164019f 4f462e8fc6bf487c991f26164fb54c0f #: 502470bd29ee4a5f910f9b6c271e6371 5fac41e37738489fa8375e221307b3be #: 7d9274f30a6d48e080212ec423122787 7fb6e1f0f0a04c768954b3b7aa03e2f1 #: 8b358fae935541dd89ec020f9bdb1b41 8dbc5997591e480a88aef01fc75581db #: 94c9d89ad8d543cb833db162ba31fde4 9b23f29736354e1d8ed1668fd1f388bf #: 9e14b9596afa45b3a83e357fbda360af a2ea1d3f01d945e0b1771aa1b29caa0c #: a53b73a9f82648878f41f1760093e351 ad004edc4dba484fadde2289418127fe #: b70bd970a9944857a416f7ca0c9b1c6b bbd89b8b6e3544ab875a3a6e44ebe68d #: c08f485ce1c34a11ba134e40626b051f d727b39943064157a040eb5ba843fe41 #: d855c86985754c219d04723faa8e0b48 db0403d789674d7aae95b0d2af2dd802 #: e0509078460b456b924d980a899d39ea e182efb4eac34ad8bac7dece1504bf23 #: e2459e41e6d84b248942175137234803 e9129fdd854d4510beb02b78caf662e2 #: f752594e63ac42a1bc09a307033985cb f9a85782009445d9b72155a12a8ec8ed msgid "Fixed issues:" msgstr "" #: ../../../changes.txt:23 ae92f1fe5caf4bf1b49a2d9b55379d9c msgid "" "**Fixed** `4699 `_: " "cannot find ExtGState resource" msgstr "" #: ../../../changes.txt:24 22f8d06dd888459aa4f9fe1120d92dc8 msgid "" "**Fixed** `4712 `_: Crash" " with \"corrupted double-linked list\"" msgstr "" #: ../../../changes.txt:25 ccf146dfc96a47d3bab7d6102699c73d msgid "" "**Fixed** `4720 `_: " "Memory leaking in rewrite_images?" msgstr "" #: ../../../changes.txt:26 0f08a4cb18fe493ca72344c67c165f1d msgid "" "**Fixed** `4742 `_: " "'Rect' object has no attribute 'get_area'" msgstr "" #: ../../../changes.txt:27 e4563a3e5c574da8970663d208888aa7 msgid "" "**Fixed** `4746 `_: " "Document.__init__() got an unexpected keyword argument 'encoding'" msgstr "" #: ../../../changes.txt:28 2b1ad6590a63426bb7c3dc1b135aaf86 msgid "" "**Fixed** `4756 `_: swig " "--version doesn't work in all versions of swig; -version should be used " "instead" msgstr "" #: ../../../changes.txt:31 f4b0a46bedf54bc695a3074e319c3da7 msgid "**Changes in version 1.26.5** (2025-10-10)" msgstr "" #: ../../../changes.txt:33 25fffdf714bf48d695db8e6ab1a28c67 msgid "Use MuPDF-1.26.10." msgstr "" #: ../../../changes.txt:37 c88a8d28e397405f93d8379d00535d27 msgid "" "**Fixed** `2883 `_: " "Improve the Python type annotations for fitz_new" msgstr "" #: ../../../changes.txt:38 df91056120a24c1caa9c0b77f3fb1984 msgid "" "**Fixed** `4507 `_: Bugs " "in pyodide" msgstr "" #: ../../../changes.txt:39 70703777c2fa401bbc683f91ad94d06f msgid "" "**Fixed** `4613 `_: Thai " "and number blocks are not auto-scaled and get wrong hyphen when using in " "insert_htmlbox" msgstr "" #: ../../../changes.txt:40 c88bc69f0f244a52ad6f890499799047 msgid "" "**Fixed** `4700 `_: " "pymupdf.open() processes .zip file without raising" msgstr "" #: ../../../changes.txt:41 e323399440274525b34c54f4dec39093 msgid "" "**Fixed** `4716 `_: " "Problems with unreadable characters" msgstr "" #: ../../../changes.txt:45 3abefa34a28e4adf8e2457613ce56b45 msgid "Supported Python versions are now 3.9-3.14." msgstr "" #: ../../../changes.txt:46 16783112fa05425cb0e149b83c62e932 msgid "" "We now define all class methods explicitly instead of with dynamic " "assignment; this improves type hints." msgstr "" #: ../../../changes.txt:47 26f54231a095480aa0f42247a5a89ef4 msgid "Removed `pymupdf.utils.Shape` class, was duplicate of `pymupdf.Shape`." msgstr "" #: ../../../changes.txt:48 7ecda4cd98c54e6a9b9bf91163eff14b msgid "Allow use of cibuildwheel to build and test on Pyodide." msgstr "" #: ../../../changes.txt:49 93135916c58248c283baf01e7d053cd0 msgid "Fixed various Pyodide bugs." msgstr "" #: ../../../changes.txt:50 7ecc6290f1054757b942bc4fb105d1eb msgid "" "In documentation, added section about Linux wheels and glibc " "compatibility." msgstr "" #: ../../../changes.txt:51 92f2c3d79a944460985276d312eca3e4 msgid "Improved documentation of pymupdf.open()'s arg." msgstr "" #: ../../../changes.txt:52 562bb006d36840cdb5aadf8ddd466486 msgid "" "Retrospectively mark `4544 " "`_ as fixed in 1.26.4." msgstr "" #: ../../../changes.txt:55 b67d98ad96244427984fe137baacd5a1 msgid "**Changes in version 1.26.4 (2025-08-25)**" msgstr "" #: ../../../changes.txt:57 6d0728e9c0d245e69d0197ef60d55ff6 msgid "Use MuPDF-1.26.7." msgstr "" #: ../../../changes.txt:61 dae25b5e67ed40678841767ca82960df msgid "" "**Fixed** `3806 `_: pdf " "to image rendering ignore optional content offs" msgstr "" #: ../../../changes.txt:62 d27cf6acd0904ba3854fc86e793e1b0e msgid "" "**Fixed** `4388 `_: " "Incorrect PixMap from page due to cached data from other PDF" msgstr "" #: ../../../changes.txt:63 2485533a6f1c4ceeab94a3a74ea0040a msgid "" "**Fixed** `4457 `_: Wrong" " characters displayed after font subsetting (w/ native method)" msgstr "" #: ../../../changes.txt:64 ../../../changes.txt:89 #: 48034320908941b78280338d69474453 582145c0201942e4a97e4a6715f82496 msgid "" "**Fixed** `4462 `_: " "delete_pages() does not accept a single int" msgstr "" #: ../../../changes.txt:65 ee57c3dd80db447388f6e8ac0d049adb msgid "" "**Fixed** `4533 `_: Open " "PDF error segmentation fault" msgstr "" #: ../../../changes.txt:66 96cc9c5c43084b5e9cf0162eb38b2dbf msgid "" "**Fixed** `4544 `_: About" " pdf_clip_page" msgstr "" #: ../../../changes.txt:67 ed6dabd36ac34857a630542ffd191c57 msgid "" "**Fixed** `4565 `_: MacOS" " uses Tesseract and not Tesseract-OCR" msgstr "" #: ../../../changes.txt:68 fb88b0c8cbc84095bf2500c9a32f50ec msgid "" "**Fixed** `4571 `_: " "Broken merged pdfs." msgstr "" #: ../../../changes.txt:69 ef751fe8798b41eaaf64e166e23768fa msgid "" "**Fixed** `4590 `_: " "TypeError in utils.py scrub(): annot.update_file(buffer=...) is invalid" msgstr "" #: ../../../changes.txt:70 3b8c0e208f554eaebac0ea6abcd8b46d msgid "" "**Fixed** `4614 `_: " "Intercept bad widgets when inserting to another PDF" msgstr "" #: ../../../changes.txt:71 02cfdc76ab714494bf079b968391320e msgid "" "**Fixed** `4639 `_: " "pymupdf.mupdf.FzErrorGeneric: code=1: Director error: : 'JM_new_bbox_device_Device' object has no attribute " "'layer_name'" msgstr "" #: ../../../changes.txt:75 38712224dd5544e7a462aaeb1e2e304b msgid "" "Check that #4392 `Segfault when running with pytest and -Werror` is fixed" " if PyMuPDF is built with swig>=4.4." msgstr "" #: ../../../changes.txt:76 57972c515886453a932d8eac12c3b328 msgid "Add `Page.clip_to_rect()`." msgstr "" #: ../../../changes.txt:77 586a552aa4af4245b5e12d417ae1f42d msgid "Improved search for Tesseract data." msgstr "" #: ../../../changes.txt:78 9f280d1da9b04eedae2eb7fa58bf1973 msgid "Retrospectively mark #4496 as fixed in 1.26.1." msgstr "" #: ../../../changes.txt:79 3fde7874083c4911a6dd9d05ee3f3e7c msgid "Retrospectively mark #4503 as fixed in 1.26.3." msgstr "" #: ../../../changes.txt:80 e25d10cd0c8b485b998c07889f2c2b02 msgid "Added experimental support for Graal." msgstr "" #: ../../../changes.txt:83 a4c9e90997aa40e39b6e88a47283df1f msgid "**Changes in version 1.26.3 (2025-07-02)**" msgstr "" #: ../../../changes.txt:85 f2e0c9ebfbc8436a90fbc5210c2d61c5 msgid "Use MuPDF-1.26.3." msgstr "" #: ../../../changes.txt:90 88b28524dc38400e86ede8dfd69bda83 msgid "" "**Fixed** `4503 `_: " "Undetected character styles" msgstr "" #: ../../../changes.txt:91 82e1019dfacf4e889e4e2708d5c2ab67 msgid "" "**Fixed** `4527 `_: " "Rect.intersects() is much slower than necessary" msgstr "" #: ../../../changes.txt:92 3195a73537bc44b6be38e2643857a820 msgid "" "**Fixed** `4564 `_: " "Possible encoding issue in PDF metadata" msgstr "" #: ../../../changes.txt:93 ed811f813c204c15a71a72b02b3fc7f7 msgid "" "**Fixed** `4575 `_: Bug " "with IRect contains method" msgstr "" #: ../../../changes.txt:97 80940db1fc98463084fb0536e2a74c75 msgid "Class Shape is now available as pymupdf.Shape." msgstr "" #: ../../../changes.txt:98 8d3cbad84fc7406db910769a9e0c49cd msgid "Added table cell markdown support." msgstr "" #: ../../../changes.txt:101 979c685df84c433a99b2ce9a6192393e msgid "**Changes in version 1.26.2**" msgstr "" #: ../../../changes.txt:103 6253d76480234ecb99ef69856e2e4d7c msgid "[Skipped.]" msgstr "" #: ../../../changes.txt:106 696d62b448d042d7ac4c9ae344c9357e msgid "**Changes in version 1.26.1 (2025-06-11)**" msgstr "" #: ../../../changes.txt:108 97fd68cacc0d460ea6453d0f75969b06 msgid "Use MuPDF-1.26.2." msgstr "" #: ../../../changes.txt:112 f027534ba7294a6e8c8c22e759448323 msgid "" "**Fixed** `4520 `_: " "show_pdf_page does not like empty pages created by new_page" msgstr "" #: ../../../changes.txt:113 065f392247ae490ab226f1104d666ddc msgid "" "**Fixed** `4524 `_: " "fitz.get_text ignores 'pages' kwarg" msgstr "" #: ../../../changes.txt:114 ../../../changes.txt:137 #: 1c6997f9c6d7494ba9b55c63784e99cf c6a83f4370734e42a4528f25014f39ab msgid "" "**Fixed** `4412 `_: " "Regression? Spurious error? in insert_pdf in v1.25.4" msgstr "" #: ../../../changes.txt:115 bb0e76951378470a8d36dd42e908266d msgid "" "**Fixed** `4496 `_: " "pymupdf4llm with pymupdfpro" msgstr "" #: ../../../changes.txt:119 87089d7b25b9490a95ea7686681487c8 msgid "" "Partial fix for `4503 `_:" " Undetected character styles" msgstr "" #: ../../../changes.txt:120 ce6c18a243de4e81b72c53d4fefd499e msgid "" "New method `Document.rewrite_images()`, useful for reducing file size, " "changing image formats, or converting color spaces." msgstr "" #: ../../../changes.txt:121 0a3a89d09fd3461ca2a27fcca8f185ed msgid "`Page.get_text()`: restrict positional args to match docs." msgstr "" #: ../../../changes.txt:122 1a528cc8a62e43639f658f1f709590c9 msgid "Removed bogus definition of class `Shape`." msgstr "" #: ../../../changes.txt:123 552b40dd8819435dad4a76eae858df20 msgid "" "Removed release date from module, docs and changelog. * " "`pymupdf.pymupdf_date` and `pymupdf.VersionDate` are now both None. * " "They will be removed in a future release." msgstr "" #: ../../../changes.txt:128 158c863781294c5c93e9b0a8c8e1f847 msgid "**Changes in version 1.26.0 (2025-05-22)**" msgstr "" #: ../../../changes.txt:130 18567733eef64ab68965ed498958d670 msgid "Use MuPDF-1.26.1." msgstr "" #: ../../../changes.txt:134 4ea8e6ad2e414e978386c33aad8021d5 msgid "" "**Fixed** `4324 `_: " "cluster_drawings() fails to cluster horizontal and vertical thin lines" msgstr "" #: ../../../changes.txt:135 17554e87f7084cacb19d789d4694754f msgid "" "**Fixed** `4363 `_: " "Trouble with searching" msgstr "" #: ../../../changes.txt:136 2cb8333bfa3948d0a1e1df290b275159 msgid "" "**Fixed** `4404 `_: " "IndexError in page.get_links()" msgstr "" #: ../../../changes.txt:138 3fb86dc38b76431f8fa289ed24574576 msgid "" "**Fixed** `4423 `_: " "pymupdf.mupdf.FzErrorFormat: code=7: cannot find object in xref error " "encountered after version 1.25.3" msgstr "" #: ../../../changes.txt:139 e4d0ca8ddf164f08b449dac3a6fa04fa msgid "" "**Fixed** `4435 `_: " "get_pixmap method stuck on one page" msgstr "" #: ../../../changes.txt:140 73d115f25755496680f56c79674a6351 msgid "" "**Fixed** `4439 `_: New " "Xml class from data does not work - bug in code" msgstr "" #: ../../../changes.txt:141 b25d62127fea4feaa5d944e835c2a666 msgid "" "**Fixed** `4445 `_: " "Broken XREF table incorrectly repaired" msgstr "" #: ../../../changes.txt:142 a0a2ed6ac1354febb9da6afd02bc9b42 msgid "" "**Fixed** `4447 `_: " "Stroke color of annotations cannot be correctly set" msgstr "" #: ../../../changes.txt:143 616298c000ad48cdbc628ef4cdd172d8 msgid "" "**Fixed** `4479 `_: " "set_layer_ui_config() toggles all layers rather than just one" msgstr "" #: ../../../changes.txt:144 b15ec1ffa6f0419c8b5503c50587840c msgid "" "**Fixed** `4505 `_: " "Follow Widget flag values up its parent structure" msgstr "" #: ../../../changes.txt:148 7b7ea93f30ca49f88b45b05c08ecf10f msgid "" "Partial fixed for `4457 " "`_: Wrong characters " "displayed after font subsetting (w/ native method)" msgstr "" #: ../../../changes.txt:149 b0ae6f4b0bc24e12bd0071f22e599e11 msgid "Support image stamp annotations." msgstr "" #: ../../../changes.txt:150 f5f7682cfc6c4abba06ebd809edf0795 msgid "Support recoloring pages." msgstr "" #: ../../../changes.txt:151 01a95f3b08944431b06a9d2e99e50bdf msgid "" "Added example of using Django's file storage API to open files with " "pymupdf." msgstr "" #: ../../../changes.txt:152 1ea4d799a2714c90a3ad74a4f03f1ed8 msgid "" "Clarified FreeText annotation color options. We now raise an exception if" " an attempt is made to set attributes that can not be supported." msgstr "" #: ../../../changes.txt:154 856acd8f3343442bb8ee7254e8b8d062 msgid "Fixed potential segv in Pixmap.is_unicolor()." msgstr "" #: ../../../changes.txt:155 90dbf6ef976a4d76a799854a5aa774dc msgid "" "Added runtime assert that that PyMuPDF and MuPDF were built with " "compatible NDEBUG settings (related to `4390 " "`_)." msgstr "" #: ../../../changes.txt:157 0862256c36d142c48444aab07763f645 msgid "Simplified handling of filename/filetype when opening documents." msgstr "" #: ../../../changes.txt:158 5e85ed11581b46daaf1a09b8a22dcccb msgid "" "Removed PDF linearization support. * Calls to `Document.save()` with " "`linear` set to true will now raise an exception. * See " "https://artifex.com/blog/mupdf-removes-linearisation for more " "information." msgstr "" #: ../../../changes.txt:162 c7ce1a9bb27545978d6d1d9fed1a4524 msgid "**Changes in version 1.25.5 (2025-03-31)**" msgstr "" #: ../../../changes.txt:166 9548bbf70ba9469e8b935a45f29643ed msgid "" "**Fixed** `4372 `_: Text " "insertion fails due to missing /Resources object" msgstr "" #: ../../../changes.txt:167 f76e7622a9d7433db1b7b82bc7156145 msgid "" "**Fixed** `4400 `_: " "Infinite loop in fill_textbox" msgstr "" #: ../../../changes.txt:168 82f33cb8a6d34f62b854eca17a8c4254 msgid "" "**Fixed** `4403 `_: " "Unable to get_text() - layer/clip nesting too deep" msgstr "" #: ../../../changes.txt:169 84b7b13060424773820d4994525080dc msgid "" "**Fixed** `4415 `_: PDF " "page is mirrored, origin is at bottom-left" msgstr "" #: ../../../changes.txt:173 74a4792d6a8244eb9dcae4beb4bfe0ee msgid "Use MuPDF-1.25.6." msgstr "" #: ../../../changes.txt:174 d248e14b8c1a4e3fab6235c3cf5c614c msgid "Fixed MuPDF SEGV on MacOS with particular fonts." msgstr "" #: ../../../changes.txt:175 82ea9eb171144077a7870ae7a0b9eeb7 msgid "Fixed `Annot.get_textpage()`'s `clip` arg." msgstr "" #: ../../../changes.txt:176 2fccc9761609452e9d10dac746b11059 msgid "Fixed Python-3.14 (pre-release) build error." msgstr "" #: ../../../changes.txt:179 2fbd0061abcd475fafe6ef6a570e0d7a msgid "**Changes in version 1.25.4 (2025-03-14)**" msgstr "" #: ../../../changes.txt:181 9fa9e7eec7694807a4577e93e3fdb54e msgid "Use MuPDF-1.25.5." msgstr "" #: ../../../changes.txt:185 8f7a4be455684495af9c8e17de5ad09d msgid "" "**Fixed** `4079 `_: " "Unexpected result for apply_redactions()" msgstr "" #: ../../../changes.txt:186 6d876027b2104b01830654bbbae308e9 msgid "" "**Fixed** `4224 `_: MuPDF" " error: format error: negative code in 1d faxd" msgstr "" #: ../../../changes.txt:187 b7b89a62c35d4608987e21ec0f356173 msgid "" "**Fixed** `4303 `_: " "page.get_image_info() returns outdated cached results after replacing " "image" msgstr "" #: ../../../changes.txt:188 8b5c375bcfc24c81a1ab34fdfe2e3f87 msgid "" "**Fixed** `4309 `_: " "FzErrorFormat Error When Deleting First Page" msgstr "" #: ../../../changes.txt:189 33ebf7622662470e98f52b0e0681e4b1 msgid "" "**Fixed** `4336 `_: Major" " Performance Regression: pix.color_count is 150x slower in version 1.25.3" " compared to 1.23.8" msgstr "" #: ../../../changes.txt:190 159061230d824914a6d19ad6d73eeb7c msgid "" "**Fixed** `4341 `_: " "Invalid label retrieval when /Kids is an array of multiple /Nums" msgstr "" #: ../../../changes.txt:194 37e49743f93f41d9bf5880142941c864 msgid "Fixed handling of duplicate widget names when joining PDFs (PR #4347)." msgstr "" #: ../../../changes.txt:195 0cac0025172c4dd5baf122fc076da58e msgid "Improved Pyodide build." msgstr "" #: ../../../changes.txt:196 638ca0a27dd548cfa15a4095bd238671 msgid "" "Avoid SWIG-related build errors with Python-3.13 by disabling " "PY_LIMITED_API." msgstr "" #: ../../../changes.txt:199 24df824cc0ed4dcaa55266a462308f72 msgid "**Changes in version 1.25.3 (2025-02-06)**" msgstr "" #: ../../../changes.txt:201 86fbdb38e3ab475cb35bce8474a0517d msgid "Use MuPDF-1.25.4." msgstr "" #: ../../../changes.txt:205 11404e9f065f46d48c17de3eb0a56b4c msgid "" "**Fixed** `4139 `_: Text " "color numbers change between 1.24.14 and 1.25.0" msgstr "" #: ../../../changes.txt:206 f54ac127378c40efbea689f95f729a3d msgid "" "**Fixed** `4141 `_: Some " "insertion methods fails for pages without a /Resources object" msgstr "" #: ../../../changes.txt:207 1debce8303bb430aaf3c754c31d4e54a msgid "" "**Fixed** `4180 `_: " "Search problems" msgstr "" #: ../../../changes.txt:208 a43078709b894315ab60ab8c8077d919 msgid "" "**Fixed** `4182 `_: Text " "coordinate extraction error" msgstr "" #: ../../../changes.txt:209 2aa654ea699a4754864254e38097fcf4 msgid "" "**Fixed** `4245 `_: " "Highlighting issue distorted on recent versions" msgstr "" #: ../../../changes.txt:210 568c972326294ecab31a4378aee8aef3 msgid "" "**Fixed** `4254 `_: " "add_freetext_annot is drawing text outside the annotation box" msgstr "" #: ../../../changes.txt:214 3b1e13a8a53f41568994b6b10d784dd4 msgid "" "In annotations: * Added support for subtype FreeTextCallout. * Added " "support for rich text." msgstr "" #: ../../../changes.txt:217 20ad825019bc421aa9fa359d4c2cf2b9 msgid "" "Added miter_limit arg to insert_text*() to allow suppression of spikes " "caused by long miters." msgstr "" #: ../../../changes.txt:218 d8f3a5bd962d420482fbab442a82a337 msgid "Add Widget Support to `Document.insert_pdf()`." msgstr "" #: ../../../changes.txt:219 b25922bccda743b4a462eff61aa2da32 msgid "Add `bibi` to span dicts." msgstr "" #: ../../../changes.txt:220 16e4de5888954261941fe67d4f618949 msgid "Add `synthetic' to char dict." msgstr "" #: ../../../changes.txt:221 ../../../changes.txt:963 #: 2b958160bd134274b90ba5bd456e66c5 43a26b5aad0e4fe485acf6a41282f421 msgid "Fixed Pyodide builds." msgstr "" #: ../../../changes.txt:224 f65069a7584b4f128fa5b7cc86d526ab msgid "**Changes in version 1.25.2 (2025-01-17)**" msgstr "" #: ../../../changes.txt:228 af70ce0fc1a74152b86dbd49d309fdb9 msgid "" "**Fixed** `4055 `_: " "\"Yes\" for all checkboxes does not work for all PDF rendering engines." msgstr "" #: ../../../changes.txt:229 4410d36a900d450c97588b75ccb21628 msgid "" "**Fixed** `4155 `_: " "samples_mv is unsafe" msgstr "" #: ../../../changes.txt:230 61173d64746b46848303884ad4f7c6c2 msgid "" "**Fixed** `4162 `_: Got " "AttributeError, when tried to add Signature field" msgstr "" #: ../../../changes.txt:231 ade3c33dc1bc4fe5a6c9c79ad335b6ca msgid "" "**Fixed** `4186 `_: " "Incorrect handling of JPEG with color space CMYK image extraction" msgstr "" #: ../../../changes.txt:232 b0f948dd2aec4196879b796a7083ce66 msgid "" "**Fixed** `4195 `_: " "Pixmaps that are inverted and have an alpha channel are not rendered " "properly" msgstr "" #: ../../../changes.txt:233 f983aaf8e72b40329ef333edb032482d msgid "" "**Fixed** `4225 `_: " "pixmap.pil_save() fails due to colorspace definition" msgstr "" #: ../../../changes.txt:234 b9f784c7a8e347f0839af27a4aee0957 msgid "" "**Fixed** `4232 `_: " "Incorrect Font style and Size" msgstr "" #: ../../../changes.txt:238 46a2de9de8a84001a08386537fad1cb6 msgid "Use Python's built-in glyphname <> unicode conversion." msgstr "" #: ../../../changes.txt:239 98aaf3100ca44c3eb46b239c085990ce msgid "Improve speed of pixmap color inversion." msgstr "" #: ../../../changes.txt:240 761c1030615e4b9f8837990276cdd4aa msgid "" "Add new `char_flags` member to span dictionary, for example allows " "detection of invisible text." msgstr "" #: ../../../changes.txt:241 26863d989def4dd6b375f90f90ac816a msgid "Detect image masks in TextPage output." msgstr "" #: ../../../changes.txt:242 c106eb1531f34065ac0918f8967d868c msgid "Added `Pixmap.pil_image()`." msgstr "" #: ../../../changes.txt:245 f2917761f4f342b2b20eb583e456ac86 msgid "**Changes in version 1.25.1 (2024-12-11)**" msgstr "" #: ../../../changes.txt:247 5d2a2817fc15439e8cff5b48d2993934 msgid "Use MuPDF-1.25.2." msgstr "" #: ../../../changes.txt:251 1aa29c8b332c4f06b69b0f5c16618fed msgid "" "**Fixed** `4125 `_: " "memory leak while convert Pixmap's colorspace" msgstr "" #: ../../../changes.txt:252 6619cbba93b64266b96af9f2fb26333c msgid "" "**Fixed** `4034 `_: " "Possible regression in pdf cleaning during save." msgstr "" #: ../../../changes.txt:255 54ab8ad1ec3246298a9019b2227a46d8 msgid "**Changes in version 1.25.0 (2024-12-05)**" msgstr "" #: ../../../changes.txt:257 0a8714b7f18e45878f7b252f8af10ade msgid "Use MuPDF-1.25.1." msgstr "" #: ../../../changes.txt:261 686ebe75128d4be9b77bba0ddb563a43 msgid "" "**Fixed** `4026 `_: " "page.get_text('blocks') output two piece of very similar text with " "different bbox" msgstr "" #: ../../../changes.txt:262 efd9decd0d2a4a319ebd830a2c8531bd msgid "" "**Fixed** `4004 `_: " "Segmentation Fault When Updating PDF Form Field Value" msgstr "" #: ../../../changes.txt:263 ebdb384bd8e4477d80b10127b014145b msgid "" "**Fixed** `3887 `_: " "Subset Fonts problem using Fallback Font" msgstr "" #: ../../../changes.txt:264 e63e1845d9fb45198345afaff67f30e1 msgid "" "**Fixed** `3886 `_: " "Another issue with destroying PDF when inserting html" msgstr "" #: ../../../changes.txt:265 50adbcf9a18043e68b84aa9286698361 msgid "" "**Fixed** `3751 `_: " "apply_redactions causes part of the page content to be hidden / " "transparent" msgstr "" #: ../../../changes.txt:270 09e722df03fa4db18c4e0da832e997f7 msgid "**Changes in version 1.24.14 (2024-11-19)**" msgstr "" #: ../../../changes.txt:272 cb8ebd6072bd4e11919080375887f166 msgid "Use MuPDF-1.24.11." msgstr "" #: ../../../changes.txt:276 50b663786ee641cb9687580189342f8d msgid "" "**Fixed** `3448 `_: " "get_pixmap function removes the table and leaves just the content behind" msgstr "" #: ../../../changes.txt:277 54321b37a7f9420b8567fbb6d1e426a4 msgid "" "**Fixed** `3758 `_: Got " "\"malloc(): unaligned tcache chunk detected Aborted (core dumped)\" while" " using add_redact_annot/apply_redactions" msgstr "" #: ../../../changes.txt:278 296dc7d294134423a31f7b6d74f2aeaf msgid "" "**Fixed** `3813 `_: " "Stories: Ordered list count broken with nested unordered list" msgstr "" #: ../../../changes.txt:279 2215310351ca46c1a25a514468a905a8 msgid "" "**Fixed** `3933 `_: " "font.valid_codepoints() - malfunction" msgstr "" #: ../../../changes.txt:280 ff0631f5b7054df4b90b9fa8739b4ec1 msgid "" "**Fixed** `4018 `_: " "PyMuPDF hangs when iterating over zero page PDF pages backwards" msgstr "" #: ../../../changes.txt:281 a2a87af3e4c84a6abc63ea9d9e914391 msgid "" "**Fixed** `4043 `_: " "fullcopypage bug" msgstr "" #: ../../../changes.txt:282 55686d0fa4674d4299310ada01d1735d msgid "" "**Fixed** `4047 `_: " "Segmentation Fault in add_redact_annot" msgstr "" #: ../../../changes.txt:283 0c2e617044914d04b642de2fa1587abb msgid "" "**Fixed** `4050 `_: " "Content of dict returned by doc.embfile_info() does not fit to " "documentation" msgstr "" #: ../../../changes.txt:287 1bb6617fc61d474c946dbf47c807e5d8 msgid "" "Ensure that words from `Page.get_text()` never contain RTL/LTR char " "mixtures." msgstr "" #: ../../../changes.txt:288 2171b4b55a384da393be21b8cef7cd46 msgid "Fix building with system MuPDF." msgstr "" #: ../../../changes.txt:289 1b697fc68ecb486aa3b482711dd06c98 msgid "Add dot product for points and vectors." msgstr "" #: ../../../changes.txt:292 b3aa2aa2bfbc4c9ba5c5d2c84a823910 msgid "**Changes in version 1.24.13 (2024-10-29)**" msgstr "" #: ../../../changes.txt:296 532324021bbe48718cffa19ecedb034c msgid "" "**Fixed** `3848 `_: " "Piximap program crash" msgstr "" #: ../../../changes.txt:297 ../../../changes.txt:308 #: 2387d394753a42ad872fa2268d7e9a29 cb2a797b491348f58ab3ce4ba98b73d9 msgid "" "**Fixed** `3950 `_: " "Unable to consistently extract field labels from PDFs" msgstr "" #: ../../../changes.txt:298 51536c1106ea45ac9444978b1684c0c1 msgid "" "**Fixed** `3981 `_: " "PyMuPDF 1.24.12 with pyinstaller throws error." msgstr "" #: ../../../changes.txt:299 f44e8a92c6004f9f8c5c59b80ddbf558 msgid "" "**Fixed** `3994 `_: " "pix.color_topusage raise Segmentation fault (core dumped)" msgstr "" #: ../../../changes.txt:302 6bd1fa6f738340babc3df986bdc5a0a5 msgid "**Changes in version 1.24.12 (2024-10-21)**" msgstr "" #: ../../../changes.txt:306 5174733bb6794f2b8c431f53170d0267 msgid "" "**Fixed** `3914 `_: " "Ability to print MuPDF errors to logging instead of stdout" msgstr "" #: ../../../changes.txt:307 78495d3820584622819a2d243eabe922 msgid "" "**Fixed** `3916 `_: " "insert_htmlbox error: int too large to convert to float" msgstr "" #: ../../../changes.txt:310 dc5a73b307bb45128375b3e45f21f804 msgid "Supported Python versions are now 3.9-3.13." msgstr "" #: ../../../changes.txt:312 7fa696ad2ff84d4fb6204d9eeaa72eec msgid "Dropped support for Python-3.8 because end-of-life." msgstr "" #: ../../../changes.txt:313 2be21c1bbf164eb88dd5059514d52c40 msgid "Added support for Python-3.13 because now released." msgstr "" #: ../../../changes.txt:314 a07d59ffaf6a48c8827e65b703ee0856 msgid "See: https://devguide.python.org/versions/" msgstr "" #: ../../../changes.txt:317 d5600d2cd45b4009ba4eb42289cee550 msgid "**Changes in version 1.24.11 (2024-10-03)**" msgstr "" #: ../../../changes.txt:319 9d700953907b44fe86d10f2023bda708 msgid "Use MuPDF-1.24.10." msgstr "" #: ../../../changes.txt:323 808cd9169aeb4de68aaf51afd0fbff17 msgid "" "**Fixed** `3624 `_: Pdf " "file transform to image have a black block" msgstr "" #: ../../../changes.txt:324 8f414ff010194b2abb249bd69290b7a1 msgid "" "**Fixed** `3859 `_: " "doc.need_appearances() fails with \"AttributeError: module " "'pymupdf.mupdf' has no attribute 'PDF_TRUE' \"" msgstr "" #: ../../../changes.txt:325 144003ab4e5743f1a5a6728e0d572424 msgid "" "**Fixed** `3863 `_: " "apply_redactions() does not work as expected" msgstr "" #: ../../../changes.txt:326 dd7478f2b06449c48d6b3c1bda073aa9 msgid "" "**Fixed** `3905 `_: open " "stream can raise a FzErrorFormat error instead of FileDataError" msgstr "" #: ../../../changes.txt:328 bf8693cc8c1349408cbd9fc992ea196e msgid "Wheels now use the Python Stable ABI:" msgstr "" #: ../../../changes.txt:330 efc06a4c0fd84a09a008423f67eee13e msgid "There is one PyMuPDF wheel for each platform." msgstr "" #: ../../../changes.txt:331 4c8dea397efc48d68f2a64b021c76ed0 msgid "Each wheel works with all supported Python versions." msgstr "" #: ../../../changes.txt:332 1c41329749a64d22b3f9e3b61036f38c msgid "" "Each wheel is built using the oldest supported Python version (currently " "3.8)." msgstr "" #: ../../../changes.txt:333 2e864bd74a2f4ef98e175a1e44fec4df msgid "There is no PyMuPDFb wheel." msgstr "" #: ../../../changes.txt:337 aa491896b5e04bd582e529c840ead400 msgid "Improvements to get_text_words() with sort=True." msgstr "" #: ../../../changes.txt:338 283df97df8874c3fa38c6c9a57f6af06 msgid "Tests now always get the latest versions of required Python packages." msgstr "" #: ../../../changes.txt:339 f6a1523241f54a9ba84dfed4f6dde3b2 msgid "Removed dependency on setuptools." msgstr "" #: ../../../changes.txt:340 1596796af81b476e80835455e0a27a29 msgid "Added item to PyMuPDF-1.24.10 changes below - fix of #3630." msgstr "" #: ../../../changes.txt:343 0d1ea2fa95e1430a91731b5c309c154f msgid "**Changes in version 1.24.10 (2024-09-02)**" msgstr "" #: ../../../changes.txt:345 0fdb57593f1f47f78b61e459d90c4fd0 msgid "Use MuPDF-1.24.9." msgstr "" #: ../../../changes.txt:349 4c1b818189074d939767d48fa6ba40e6 msgid "" "**Fixed** `3450 `_: " "get_pixmap function takes too long to process" msgstr "" #: ../../../changes.txt:350 03bc289e1528407b8433671ea3e5587e msgid "" "**Fixed** `3569 `_: " "Invalid OCGs not ignored by SVG image creation" msgstr "" #: ../../../changes.txt:351 3e64094a0a16437ab1fceb4fd8904883 msgid "" "**Fixed** `3603 `_: " "ObjStm compression and PDF linearization doesn't work together" msgstr "" #: ../../../changes.txt:352 4a6c4d95199b49919c2ec7b76da32a3a msgid "" "**Fixed** `3650 `_: " "Linebreak inserted between each letter" msgstr "" #: ../../../changes.txt:353 a5fb10f857014368871b0ee0628a1ef1 msgid "" "**Fixed** `3661 `_: " "Update Document to check the /XYZ len" msgstr "" #: ../../../changes.txt:354 77892cd87ca346d381b0b249574312b4 msgid "" "**Fixed** `3698 `_: " "documentation issue - old code in the annotations documentation" msgstr "" #: ../../../changes.txt:355 8a4df3770f95440c870288e5f497cf93 msgid "" "**Fixed** `3705 `_: " "Document.select() behaves weirdly in some particular kind of pdf files" msgstr "" #: ../../../changes.txt:356 575c721454394ef5954021b2e3910c5a msgid "" "**Fixed** `3706 `_: " "extend Document.__getitem__ type annotation to reflect that the method " "also accepts slices" msgstr "" #: ../../../changes.txt:357 b4081c4845a3495cab35195cfcbd4e5f msgid "" "**Fixed** `3727 `_: " "Method get_pixmap() make the program exit without any exceptions or " "messages" msgstr "" #: ../../../changes.txt:358 4a582d7cc3ca40cfba3314faa5800f56 msgid "" "**Fixed** `3767 `_: " "Cannot get Tessdata with Tesseract-OCR 5" msgstr "" #: ../../../changes.txt:359 9a3c4b91a07e4c118de884a8c386dcfb msgid "" "**Fixed** `3773 `_: " "Link.set_border gives TypeError: '<' not supported between instances of " "'NoneType' and 'int'" msgstr "" #: ../../../changes.txt:360 d3028f61318447b68e56290fbd6732cc msgid "" "**Fixed** `3774 `_: " "fitz.__version__` does not work anymore" msgstr "" #: ../../../changes.txt:361 596c2f50505948db9e84f139ffaea8fa msgid "" "**Fixed** `3789 `_: " "ValueError: not enough values to unpack (expected 3, got 2) is thrown " "when call insert_pdf" msgstr "" #: ../../../changes.txt:362 e99c3b3c69d1484f8ea0b97279da22e4 msgid "" "**Fixed** `3820 `_: class" " improves namedDest handling" msgstr "" #: ../../../changes.txt:364 9c63afe342914710a2f4b27172881a97 msgid "" "**Fixed** `3630 `_: " "page.apply_redactions gives unwanted black rectangle" msgstr "" #: ../../../changes.txt:368 a69ca8bf39fc49c78509e477fc16ec48 msgid "" "Object streams and linearization cannot be used together; attempting to " "do so will raise an exception. (#3603)" msgstr "" #: ../../../changes.txt:370 d667244f9aa14f1d8b25176a013989e0 msgid "Fixed handling of non-existing /Contents object." msgstr "" #: ../../../changes.txt:373 007020c8bc19452da4cd657fdcba20c0 msgid "**Changes in version 1.24.9 (2024-07-24)**" msgstr "" #: ../../../changes.txt:375 3025163fadb648e88e840b5f088e6d56 msgid "Use MuPDF-1.24.8." msgstr "" #: ../../../changes.txt:378 259a038beea8413baaac6ee36c977d21 msgid "**Changes in version 1.24.8 (2024-07-22)**" msgstr "" #: ../../../changes.txt:382 a3d2403d008e4902bda8c294e7d5b193 msgid "" "**Fixed** `3636 `_: API " "documentation for the open function is not obvious to find." msgstr "" #: ../../../changes.txt:383 eb0f33456dca477bb49123d26150dbd5 msgid "" "**Fixed** `3654 `_: docx " "parsing was broken in 1.24.7" msgstr "" #: ../../../changes.txt:384 6c8df8e668094aef8d31035e9dc0e65d msgid "" "**Fixed** `3677 `_: " "Unable to extract subset font name using the newer versions of PyMuPDF : " "1.24.6 and 1.24.7." msgstr "" #: ../../../changes.txt:385 c5b0babed39f440d99efdd7a90d63f4b msgid "" "**Fixed** `3687 `_: " "Page.get_text results in AssertionError for epub files" msgstr "" #: ../../../changes.txt:389 e245fedf7bb24e8d92d8116cb00ad30e msgid "Fixed various spelling mistakes spotted by codespell." msgstr "" #: ../../../changes.txt:390 764d9b752f59499e856f560908cee6d9 msgid "Improved how we modify MuPDF's default configuration on Windows." msgstr "" #: ../../../changes.txt:391 6e8cb04f867c4ad59e8be783e217fc4d msgid "Make text search to work with ligatures." msgstr "" #: ../../../changes.txt:394 25efadfa996341b38552789392dbaf74 msgid "**Changes in version 1.24.7 (2024-06-26)**" msgstr "" #: ../../../changes.txt:398 fa9eea5710484750bedce90cc64b9daf msgid "" "**Fixed** `3615 `_: " "Document.pagemode or Document.pagelayout crashes for epub files" msgstr "" #: ../../../changes.txt:399 795aad875dfc458eb4a6c99bccde0cec msgid "" "**Fixed** `3616 `_: not " "last version reported" msgstr "" #: ../../../changes.txt:402 b75b54baeb764ed5bfca7d9290d654f6 msgid "**Changes in version 1.24.6 (2024-06-25)**" msgstr "" #: ../../../changes.txt:404 ce8d669017974969859f4cf2c64c5c09 msgid "Use MuPDF-1.24.4" msgstr "" #: ../../../changes.txt:408 f726a1ab74364bca9e9f707167e9d0af msgid "" "**Fixed** `3599 `_: " "Story.fit_width() has a weird line" msgstr "" #: ../../../changes.txt:409 8e99b98271ea423bb26bb068ec39ea52 msgid "" "**Fixed** `3594 `_: " "Garbled extraction for Amazon Sustainability Report" msgstr "" #: ../../../changes.txt:410 651a15f12d5043b6b328618180353f68 msgid "" "**Fixed** `3591 `_: " "'width' in Page.get_drawings() returns width equal as 0" msgstr "" #: ../../../changes.txt:411 02fe36631c264c87895576864dc44e43 msgid "" "**Fixed** `3561 `_: " "ZeroDivisionError: float division by zero with page.apply_redactions()" msgstr "" #: ../../../changes.txt:412 99db39151ed74f9d97810a41633d73e2 msgid "" "**Fixed** `3559 `_: " "SegFault 11 when empty H1 H2 H3 H4 etc element is used in insert_htmlbox" msgstr "" #: ../../../changes.txt:413 5e95ed936be0415c95c278cf1d1a9999 msgid "" "**Fixed** `3539 `_: Add " "dotted gridline detection to table recognition" msgstr "" #: ../../../changes.txt:414 75ffb0d518004dc2a74244b12b6c97bd msgid "" "**Fixed** `3519 `_: " "get_toc(simple=False) AttributeError: 'Outline' object has no attribute " "'rect'" msgstr "" #: ../../../changes.txt:415 495d1b01dfb7457ebb231eca62c7c539 msgid "" "**Fixed** `3510 `_: " "page.get_label() gets wrong label on the first page of doc" msgstr "" #: ../../../changes.txt:416 60f43a90ceb845b2adf2947634af64ac msgid "" "**Fixed** `3494 `_: " "1.24.2/1.24.3: spurious characters introduced when using subset_fonts and" " insert_pdf" msgstr "" #: ../../../changes.txt:417 a4e0010c0d8f45beaae70809abc81039 msgid "" "**Fixed** `3470 `_: " "subset_fonts error exit without exception/warning" msgstr "" #: ../../../changes.txt:418 99fd9bbe5dba43aa9c040b3a77aee77c msgid "" "**Fixed** `3400 `_: " "set_toc alters link coordinates for some rotated pages on pymupdf 1.24.2" msgstr "" #: ../../../changes.txt:419 82687af929194a6dbf9c19ea545b5e0b msgid "" "**Fixed** `3347 `_: " "Incorrect links to points on pages having different heights" msgstr "" #: ../../../changes.txt:420 340ce003832a4bf4a832ae0623c2ac19 msgid "" "**Fixed** `3237 `_: " "Set_metadata() does not work" msgstr "" #: ../../../changes.txt:421 ce983433667f4f27a675ad0f4ab90de8 msgid "" "**Fixed** `3493 `_: " "Isolate PyMuPDF from other libraries; issues when PyMuPDF is loaded with " "other libraries like GdkPixbuf" msgstr "" #: ../../../changes.txt:425 85db5876f5884fdb94a243fa8cea3bb5 msgid "" "Fixed concurrent use of PyMuPDF caused by use of constant temporary " "filenames." msgstr "" #: ../../../changes.txt:427 7bc8d5be62d24850bd1a2d0b042c5dc7 msgid "Add musllinux x86_64 wheels to release." msgstr "" #: ../../../changes.txt:429 8442053275014be3a2961c23d5c1e875 msgid "Added clearer version information:" msgstr "" #: ../../../changes.txt:431 898d54fe7f294059a365ce4df283fa8e msgid "`pymupdf.pymupdf_version`." msgstr "" #: ../../../changes.txt:432 e17b0b91f04f41c49b685ec88163c914 msgid "`pymupdf.mupdf_version`." msgstr "" #: ../../../changes.txt:433 b2b4d699826c44f3b82cbbffd7b8134e msgid "`pymupdf.pymupdf_date`." msgstr "" #: ../../../changes.txt:436 0641d353405748829b979a38171a2825 msgid "**Changes in version 1.24.5 (2024-05-30)**" msgstr "" #: ../../../changes.txt:440 d9b804a172e24fa782e586380589a791 msgid "" "**Fixed** `3479 `_: " "regression: fill_textbox: IndexError: pop from empty list" msgstr "" #: ../../../changes.txt:441 d00ec180a30548e7bd1094a5ff22289b msgid "" "**Fixed** `3488 `_: " "set_toc method error" msgstr "" #: ../../../changes.txt:445 53a42d7778c84e85ab793f4fc54ce4e8 msgid "Some more fixes to use MuPDF floating formatting." msgstr "" #: ../../../changes.txt:446 8feda6eedae84994a727c20e7a2336be msgid "Removed/disabled some unnecessary diagnostics." msgstr "" #: ../../../changes.txt:447 e96bd409e11d432aa398f8aeedd58c7a msgid "Fixed utils.do_links() crash." msgstr "" #: ../../../changes.txt:448 24e4d4aed05840ea9abe1c2c2805be34 msgid "" "Experimental new functions `pymupdf.apply_pages()` and " "`pymupdf.get_text()`." msgstr "" #: ../../../changes.txt:449 b8a6f1cfb64748d79bc0b69465631b51 msgid "Addresses wrong label generation for label styles \"a\" and \"A\"." msgstr "" #: ../../../changes.txt:452 0ba74ae644a1428d89fe14ef6b0babee msgid "**Changes in version 1.24.4 (2024-05-16)**" msgstr "" #: ../../../changes.txt:454 8347374b5a5e45b28a7f8f4afb292726 msgid "" "**Fixed** `3418 `_: Re-" "introduced bug, text align add_redact_annot" msgstr "" #: ../../../changes.txt:455 cb6d95a9123f4086b6ac158e88717571 msgid "" "**Fixed** `3472 `_: " "insert_pdf gives SystemError" msgstr "" #: ../../../changes.txt:459 c0361428884345bf8531a84f4780ea38 msgid "" "Fixed sysinstall test failing to remove all of prior installation before " "new install." msgstr "" #: ../../../changes.txt:461 5889a769a9d6497db5651e5de06b452c msgid "Fixed `utils.do_links()` crash." msgstr "" #: ../../../changes.txt:462 18689db9f7b34a0aada6aabae6348c36 msgid "Correct `TextPage` creation Code." msgstr "" #: ../../../changes.txt:463 47ec7c100c6c4cb89c0c9032e653d85d msgid "Unified various diagnostics." msgstr "" #: ../../../changes.txt:464 0ad11e95e8244ebab3b4e28a268c3b58 msgid "Fix bug in `page_merge()`." msgstr "" #: ../../../changes.txt:467 b8f39f2e163741529a0c07525b38ee4e msgid "**Changes in version 1.24.3 (2024-05-09)**" msgstr "" #: ../../../changes.txt:470 cad11f9fca1541eda51c5b1ddc360907 msgid "" "The Python module is now called `pymupdf`. `fitz` is still supported for " "backwards compatibility." msgstr "" #: ../../../changes.txt:473 26ab1d955ad94d82a842066be61b2b45 msgid "Use MuPDF-1.24.2." msgstr "" #: ../../../changes.txt:477 d78b4e742a1540d795b9023df668616a msgid "" "**Fixed** `3357 `_: " "PyMuPDF==1.24.0 will hanging when using page.get_text(\"text\")" msgstr "" #: ../../../changes.txt:478 d3a781ba5c1b4e4ea729e32165591767 msgid "" "**Fixed** `3376 `_: " "Redacting results are not as expected in 1.24.x." msgstr "" #: ../../../changes.txt:479 9d45832a290b4dec88aff88537dbbde6 msgid "" "**Fixed** `3379 `_: " "Documentation mismatch for get_text_blocks return value order." msgstr "" #: ../../../changes.txt:480 fb62ce84c5d24c1b802be0a91c9592fc msgid "" "**Fixed** `3381 `_: " "Contents stream contains floats in scientific notation" msgstr "" #: ../../../changes.txt:481 0862ddcf8e644d3ea7ac0a7c60de28d1 msgid "" "**Fixed** `3402 `_: " "Cannot add Widgets containing inter-field-calculation JavaScript" msgstr "" #: ../../../changes.txt:482 3d4f814eb5ec4e72a5adea1bd245b32f msgid "" "**Fixed** `3414 `_: " "missing attribute set_dpi()" msgstr "" #: ../../../changes.txt:483 cdcbe4b8d58544f0948c1b3c28f9b3d9 msgid "" "**Fixed** `3430 `_: " "page.get_text() cause process freeze with certain pdf on v1.24.2" msgstr "" #: ../../../changes.txt:487 ../../../changes.txt:509 #: 1034de3f71fc4bd187b3f046c83bedbe 8863ca296ccc4716b6f80e99291be2e5 msgid "New/modified methods:" msgstr "" #: ../../../changes.txt:489 8cea70e9366142759f75487402e703b3 msgid "" "`Page.remove_rotation()`: new, set page rotation to zero while keeping " "appearance." msgstr "" #: ../../../changes.txt:491 f1014ad8f9ec4d87968c7de24b7e7f70 msgid "Fixed some problems when checking for PDF properties." msgstr "" #: ../../../changes.txt:492 64cfa246e9094b0ebd62758e2eb3598f msgid "" "Fixed pip builds from sdist (see discussion `3360 " "`_: Alpine linux " "docker build failing \"No matching distribution found for " "pymupdfb==1.24.1\")." msgstr "" #: ../../../changes.txt:497 f8ef0c76081a402dbac0efa8b7644241 msgid "**Changes in version 1.24.2 (2024-04-17)**" msgstr "" #: ../../../changes.txt:499 bf95d9b1e5994a2091c8f66685f22854 msgid "" "Removed obsolete classic implementation from releases (previously " "available as module `fitz_old`)." msgstr "" #: ../../../changes.txt:504 4a87d3564d3d4cedae93e2b51349aaa2 msgid "" "**Fixed** `3331 `_: " "Document.pages() is incorrectly type-hinted" msgstr "" #: ../../../changes.txt:505 84e9e429e5af4263a7fd5db405b5842a msgid "" "**Fixed** `3354 `_: " "PyMuPDF==1.24.1: AttributeError: property 'metadata' of 'Document' object" " has no setter" msgstr "" #: ../../../changes.txt:511 818e26cf4c0f4ce08f1bf68e48eab8b0 msgid "`Document.bake()`: new, make annotations / fields permanent content." msgstr "" #: ../../../changes.txt:512 6a0b794fe12f4bb4a005a8f1bdc5c188 msgid "" "`Page.cluster_drawings()`: new, identifies drawing items (i.e. vector " "graphics or line-art) that belong together based on their geometrical " "vicinity." msgstr "" #: ../../../changes.txt:515 f1fb556a239a49e6b90a938b0360868a msgid "`Page.apply_redactions()`: added new parameter `text`." msgstr "" #: ../../../changes.txt:516 c47d84ec4dd34a6687719bcfafebdb25 msgid "" "`Document.subset_fonts()`: use MuPDF's `pdf_subset_fonts()` instead of " "PyMuPDF code." msgstr "" #: ../../../changes.txt:518 b56ff5e11e894337b35ae03c405c4666 msgid "The `Document` class now supports page numbers specified as slices." msgstr "" #: ../../../changes.txt:519 68a2d9fa6804400dbecc0e1d60d85280 msgid "Avoid causing MuPDF warnings." msgstr "" #: ../../../changes.txt:522 167f53146b304aaf9812103ca9c4e29c msgid "**Changes in version 1.24.1 (2024-04-02)**" msgstr "" #: ../../../changes.txt:526 9dcf0965da0a489cabf3d2ab88226762 msgid "" "**Fixed** `3278 `_: " "apply_redactions moves some unredacted text" msgstr "" #: ../../../changes.txt:527 c23c377d35194a0094bd6e4beab89d9d msgid "" "**Fixed** `3301 `_: Be " "more permissive when classifying links as kind LINK_URI" msgstr "" #: ../../../changes.txt:528 c6e16db559364535a9c002bd61adb627 msgid "" "**Fixed** `3306 `_: Text " "containing capital 'ET' not appearing as annotation" msgstr "" #: ../../../changes.txt:532 ae65e5dcbdbb47e7b6182ae2f1e35080 msgid "Use MuPDF-1.24.1." msgstr "" #: ../../../changes.txt:533 606e5f2a82694796b16017c9e6988751 msgid "" "Support ObjStm Compression. Methods `Document.save()`, " "`Document.ez_save()` and `Document.write()` now support new parameters " "`use_objstm`, compression_effort` and `preserve_metadata`." msgstr "" #: ../../../changes.txt:539 e0d826430dab4605843b857d55556f31 msgid "**Changes in version 1.24.0 (2024-03-21)**" msgstr "" #: ../../../changes.txt:543 56ae3cb3eae74794bf8c66f9478e1eaa msgid "" "**Fixed** `3281 `_: " "Preparing metadata (pyproject.toml) did not run successfully" msgstr "" #: ../../../changes.txt:544 c2af0005171741dfa062c48305fdff68 msgid "" "**Fixed** `3279 `_: " "PyMuPDF no longer builds in Alpine Linux" msgstr "" #: ../../../changes.txt:545 d9b6c05ed6004aca8f3189adad180c42 msgid "" "**Fixed** `3257 `_: " "apply_redactions() deleting text outside of annoted box" msgstr "" #: ../../../changes.txt:546 8baeb884a8f84d2fbf0d5b17af55639c msgid "" "**Fixed** `3216 `_: " "AttributeError: 'Annot' object has no attribute '__del__'" msgstr "" #: ../../../changes.txt:547 37068b47c21542ccbcc5d6326e7046f1 msgid "" "**Fixed** `3207 `_: " "get_drawings's items is missing line from h path operator" msgstr "" #: ../../../changes.txt:548 a4e36666ffbc4aca8006de811d305b60 msgid "" "**Fixed** `3201 `_: " "Memory leaks when merging PDFs" msgstr "" #: ../../../changes.txt:549 72cdc09b51ef425ab50c8aae8a380ce6 msgid "" "**Fixed** `3197 `_: " "page.get_text() returns hexadecimal text for some characters" msgstr "" #: ../../../changes.txt:550 055ea678a07b4991b05894009ada4484 msgid "" "**Fixed** `3196 `_: " "Remove text not working in 1.23.25 version vs 1.20.2" msgstr "" #: ../../../changes.txt:551 eebdd0d853a04d7890db0116aeda3b84 msgid "" "**Fixed** `3172 `_: PDF's" " 45º lines dissapearing in png conversion" msgstr "" #: ../../../changes.txt:552 fd48b5fe2cf74dbb8772e3ffda26cc5b msgid "" "**Fixed** `3135 `_: Do " "not log warnings to stdout" msgstr "" #: ../../../changes.txt:553 5a2c034748ca435d97157e0e01631edc msgid "" "**Fixed** `3125 `_: " "get_pixmap method stuck on one page and runs forever" msgstr "" #: ../../../changes.txt:554 2b0bc004e652473d8424fbaf44acc132 msgid "" "**Fixed** `2964 `_: There" " is an issue with the image generated by the page.get_pixmap() function" msgstr "" #: ../../../changes.txt:558 7489ffec843d457ca500cfb476753615 msgid "Use MuPDF-1.24.0." msgstr "" #: ../../../changes.txt:559 7c55068e2bc44f7a90942db48624c211 msgid "Add support for redacting vector graphics." msgstr "" #: ../../../changes.txt:560 994636840ff242bb90c2538f8b313764 msgid "Several fixes for table module" msgstr "" #: ../../../changes.txt:562 1cde4b0108a34c66bcf26a1e69169d92 msgid "Add new method for outputting the table as a markdown string." msgstr "" #: ../../../changes.txt:564 9fcf8beb4cbf4808b3636964252fb397 msgid "Address errors in computing the table header object:" msgstr "" #: ../../../changes.txt:566 466f446d303f45039a8d621fa72be582 msgid "" "We now allow None as the cell value, because this will be resolved where " "needed (e.g. in the pandas DataFrame)." msgstr "" #: ../../../changes.txt:569 b1456724d60f446b99497879dec77edc msgid "" "We previously tried to enforce rect-like tuples in all header cell " "bboxes, however this fails for tables with all-None columns. This fix " "enables this and constructs an empty string in the corresponding cell " "string." msgstr "" #: ../../../changes.txt:574 bd966cd782ae48e6bf574d6aa1e75969 msgid "" "We now correctly include start / stop points of lines in the bbox of the " "clustered graphic. We previously joined the line's rectangle - which had" " no effect because this is always empty." msgstr "" #: ../../../changes.txt:578 8b34024dc26b46d6bb00721aee57b203 msgid "Improved exception text if we fail to open document." msgstr "" #: ../../../changes.txt:579 2ad46d306493434ba2f21cbc55598c4e msgid "Fixed build with new libclang 18." msgstr "" #: ../../../changes.txt:582 e0f45c4d68334077bde30abcb37f442c msgid "**Changes in version 1.23.26 (2024-02-29)**" msgstr "" #: ../../../changes.txt:586 2f2ec05926254e2f9d6790002f8f0dbb msgid "" "**Fixed** `3199 `_: Add " "entry_points to setuptools configuration to provide command-line console " "scripts" msgstr "" #: ../../../changes.txt:587 254166b6829a47ebae52f0d1befd4f8c msgid "" "**Fixed** `3209 `_: Empty" " vertices in ink annotation" msgstr "" #: ../../../changes.txt:591 72a0f38fcb3f4fadae2a9750a83ecf70 msgid "Improvements to table detection:" msgstr "" #: ../../../changes.txt:593 70ae893cd45741a59c2a753e1efe9d04 msgid "" "Improved check for empty tables, fixes bugs when determining table " "headers." msgstr "" #: ../../../changes.txt:594 db5ad6c22fa8479fb66f6ada59044c7e msgid "Improved computation of enveloping vector graphic rectangles." msgstr "" #: ../../../changes.txt:595 7f5ea75a3d2b47809b85588c78b70318 msgid "Ignore more meaningless \"pseudo\" tables" msgstr "" #: ../../../changes.txt:597 6cd939d409f341f6a264ff3b4624cca6 msgid "Install command-line 'pymupdf' command that runs fitz/__main__.py." msgstr "" #: ../../../changes.txt:598 6afb7824085740ccaf2fc01c782dffcb msgid "Don't overwrite MuPDF's config.h when building on non-Windows." msgstr "" #: ../../../changes.txt:599 86e24a39bb0541a4ac1e71e88541c698 msgid "" "Fix `Story` constructor's `archive` arg to match docs - now accepts a " "single `Archive` constructor arg." msgstr "" #: ../../../changes.txt:600 a3ea96e9f72f483bbf461ca1d128b1e4 msgid "" "Do not include MuPDF source in sdist; will be downloaded automatically " "when building." msgstr "" #: ../../../changes.txt:603 b80b43ad742c43ab9880dd54056a9973 msgid "**Changes in version 1.23.25 (2024-02-20)**" msgstr "" #: ../../../changes.txt:607 ea65b6e10b4443fd98d4487f8a6227ce msgid "" "**Fixed** `3182 `_: " "Pixmap.invert_irect argument type error" msgstr "" #: ../../../changes.txt:608 420d27a70b34444aba118e43db9e4802 msgid "" "**Fixed** `3186 `_: " "extractText() extracts broken text from pdf" msgstr "" #: ../../../changes.txt:609 90aadcf4b788454abbf2665a0b7b8f22 msgid "" "**Fixed** `3191 `_: Error" " on .find_tables()" msgstr "" #: ../../../changes.txt:613 0a5a831494a04b18b50fdfc5d3833038 msgid "" "When building, be able to specify python-config directly, with " "environment variable `PIPCL_PYTHON_CONFIG`." msgstr "" #: ../../../changes.txt:617 93b9bfcd66aa426eaacb92d54e23c667 msgid "**Changes in version 1.23.24 (2024-02-19)**" msgstr "" #: ../../../changes.txt:621 3748e8d370624cd1889b240a694cc72e msgid "" "**Fixed** `3148 `_: Table" " extraction - vertical text not handled correctly" msgstr "" #: ../../../changes.txt:622 0017cea29f1247be99c102c56a8fabd1 msgid "" "**Fixed** `3179 `_: Table" " Detection: Incorrect Separation of Vector Graphics Clusters" msgstr "" #: ../../../changes.txt:623 dde9c50cb60147428936ac9e5bdacc81 msgid "" "**Fixed** `3180 `_: " "Cannot show optional content group: AttributeError: module 'fitz.mupdf' " "has no attribute 'pdf_array_push_drop'" msgstr "" #: ../../../changes.txt:627 838816f12e394f49b9e2ef7b4559fd71 msgid "Be able to test system install using `sudo pip install` instead of a venv." msgstr "" #: ../../../changes.txt:630 0b4ca8027622493090312b1e74a4839a msgid "**Changes in version 1.23.23 (2024-02-18)**" msgstr "" #: ../../../changes.txt:634 5c5c4b53219b4e8492fec8aafaa14b7e msgid "" "**Fixed** `3126 `_: " "Initialising Archive with a pathlib.Path fails." msgstr "" #: ../../../changes.txt:635 e5745b8508084965a56f4151794f8378 msgid "" "**Fixed** `3131 `_: " "Calling the next attribute of an Annot raises a \"No attribute .parent\" " "warning" msgstr "" #: ../../../changes.txt:636 59d2c178ba9c4d47977704a9feccc1ea msgid "" "**Fixed** `3134 `_: Using" " an IRect as clip parameter in Page.get_pixmap no longer works since " "1.23.9" msgstr "" #: ../../../changes.txt:637 43be27e8f82c45ef90522a9da30a0a72 msgid "" "**Fixed** `3140 `_: PDF " "document stays in use after closing" msgstr "" #: ../../../changes.txt:638 cbe3a25490474db9973829ac9e661e5b msgid "" "**Fixed** `3150 `_: " "doc.select() hangs on this doc." msgstr "" #: ../../../changes.txt:639 b40c96dbbba64f6f82a0dbc3fb5570db msgid "" "**Fixed** `3163 `_: " "AssertionError on using fitz.IRect" msgstr "" #: ../../../changes.txt:640 5b0e909d8b1c42c4815f57178c08f1d0 msgid "" "**Fixed** `3177 `_: " "fitz.Pixmap(None, pix) Unrecognised args for constructing Pixmap" msgstr "" #: ../../../changes.txt:645 bcff5266d81d44828538dd318c25c548 msgid "" "Improved `Document.select() by using new MuPDF function " "`pdf_rearrange_pages()`. This is a more complete (and faster) " "implementation of what needs to be done here in that not only pages will " "be rearranged, but also consequential changes will be made to the table " "of contents, links to removed pages and affected entries in the Optional " "Content definitions." msgstr "" #: ../../../changes.txt:651 7e5e70f9786348e485e9f480c4c5f649 msgid "`TextWriter.appendv()`: added `small_caps` arg." msgstr "" #: ../../../changes.txt:652 511da4bdc4cb4d488b5540f7118d05c6 msgid "Fixed some valgrind errors with MuPDF master." msgstr "" #: ../../../changes.txt:653 9fa27b2a0f6542779698b58b6ef2797f msgid "Fixed `Document.insert_image()` when build with MuPDF master." msgstr "" #: ../../../changes.txt:656 8215b8e723014b82adeefa3d490e76cf msgid "**Changes in version 1.23.22 (2024-02-12)**" msgstr "" #: ../../../changes.txt:660 9499acfbd68c4038bf82444da1a07c47 msgid "" "**Fixed** `3143 `_: " "Difference in decoding of OCGs names between doc.get_ocgs() and " "page.get_drawings()" msgstr "" #: ../../../changes.txt:662 6a05eddb0f5846589fe4c0086fc9e146 msgid "" "**Fixed** `3139 `_: " "Pixmap resizing needs positional arg \"clip\" - even if None." msgstr "" #: ../../../changes.txt:666 9a6bd516b5734957b5d8700fec418b18 msgid "Removed the use of MuPDF function `fz_image_size()` from PyMuPDF." msgstr "" #: ../../../changes.txt:669 32b339e622b6447890c25a4ab191fd39 msgid "**Changes in version 1.23.21 (2024-02-01)**" msgstr "" #: ../../../changes.txt:675 fab60867577a487b9c3f486166614839 msgid "" "Fixed bug in set_xml_metadata(), PR `3112 " "https://github.com/pymupdf/PyMuPDF/pull/3112>`_: Fix pdf_add_stream " "metadata error" msgstr "" #: ../../../changes.txt:676 5db3c0df43d7466bb49c93da76eb7ded msgid "Fixed lack of `.parent` member in `TextPage` from `Annot.get_textpage()`." msgstr "" #: ../../../changes.txt:677 6886cfc95dcf48449baf3597f9ed5a5b msgid "Fixed bug in `Page.add_widget()`." msgstr "" #: ../../../changes.txt:680 466b6a96778a400fa703f8a164dc6006 msgid "**Changes in version 1.23.20 (2024-01-29)**" msgstr "" #: ../../../changes.txt:682 ../../../changes.txt:693 ../../../changes.txt:711 #: ../../../changes.txt:723 ../../../changes.txt:737 ../../../changes.txt:750 #: ../../../changes.txt:761 ../../../changes.txt:773 ../../../changes.txt:797 #: ../../../changes.txt:917 ../../../changes.txt:934 ../../../changes.txt:966 #: ../../../changes.txt:1023 ../../../changes.txt:1099 #: ../../../changes.txt:1133 ../../../changes.txt:1142 #: ../../../changes.txt:1151 ../../../changes.txt:1169 #: ../../../changes.txt:1269 ../../../changes.txt:1308 #: 10bae71e3a574059884b4f1d5baea65c 11746df9cf7b4144bc9cabc8e95b78a9 #: 35c5e4be6606427a95322276ca783f0e 4bbb30be5f60421a87e36a340ddbe65f #: 524f6c6556b5468c90bac3e6f81b279d 5a44d84debe5475da967de80ba53914b #: 5ed487b98bc84f92a08fdb4934e8535b 74166ebee93f4e9e999f1cd22be78aaf #: 780c7d9984234abebe430e3254afc4e8 a47d1d46827b45bebe969ac04f21dc0f #: a6ae2f8c435749c4a8dc5fbe5c95dff6 a776aae290f74bdfaa636b31d9b933e0 #: bb6b3124820a4512a56446f360c94404 c7fa8793bb6d44aca1771c6152ac83d8 #: d22de0587ab24d4ab437626e883261d4 dd73709cf4c74a6e9d9a8eba46753cd2 #: e4a33a6c03dd49d0a338e5b67900cac8 f7e8261277e44b8abe33e6e0f05bcde7 #: f98503e4ea7c425391e56ac00fbae870 fc10345ba347482ba6bf7042461f8232 msgid "Bug fixes:" msgstr "" #: ../../../changes.txt:684 e101eae15b004da2849ab4be087a4010 msgid "" "**Fixed** `3100 `_: Wrong" " internal property accessed in get_xml_metadata" msgstr "" #: ../../../changes.txt:688 30795d0573e140c88dd4cf9e6887fbe0 msgid "Significantly improved speed of `Document.get_toc()`." msgstr "" #: ../../../changes.txt:691 f23cca9b1fc84d0ea474332f2e1c6c2c msgid "**Changes in version 1.23.19 (2024-01-25)**" msgstr "" #: ../../../changes.txt:695 36758073da3a48f5bc485fd6a9fc328e msgid "" "**Fixed** `3087 `_: " "Exception in insert_image with mask specified" msgstr "" #: ../../../changes.txt:696 202f997680f84ed9b7bf363b2b348028 msgid "" "**Fixed** `3094 `_: " "TypeError: '<' not supported between instances of 'FzLocation' and 'int' " "in doc.delete_pages" msgstr "" #: ../../../changes.txt:700 b8dceb00014f42ccb7877fe431320209 msgid "When finding tables:" msgstr "" #: ../../../changes.txt:702 311dca44e7df40e0a0c2ece5cca045f3 msgid "" "Allow addition of user-defined \"virtual\" vector graphics when finding " "tables." msgstr "" #: ../../../changes.txt:703 743195d5487f4c79b7dea4defa19efdb msgid "" "Confirm that the enveloping bboxes of vector graphics are inside the clip" " rectangle." msgstr "" #: ../../../changes.txt:704 91bcfe988eab4abe82d29ec6a73c24ac msgid "Avoid slow finding of rectangle intersections." msgstr "" #: ../../../changes.txt:706 6fbf98c2146642699598279e74ace969 msgid "Added `Font.bbox` property." msgstr "" #: ../../../changes.txt:709 02dd1c5dc69346c3aa052addbe84f62d msgid "**Changes in version 1.23.18 (2024-01-23)**" msgstr "" #: ../../../changes.txt:713 e98e1fa4a6be43e19c1235f235206973 msgid "" "**Fixed** `3081 `_: " "doc.close() not closing the document" msgstr "" #: ../../../changes.txt:717 da8086b4179148e78eef2c50eb3cd527 msgid "" "Reduced size of sdist to fit on pypi.org (by reducing size of two test " "files)." msgstr "" #: ../../../changes.txt:718 0b7e1df1d1024f52810b0f1778d8d2de msgid "Fix `Annot.file_info()` if no `Desc` item." msgstr "" #: ../../../changes.txt:721 df117a0a6648402e8810ca3b417979b4 msgid "**Changes in version 1.23.17 (2024-01-22)**" msgstr "" #: ../../../changes.txt:725 37f262e5ed6b4d118a5a82e4beb2b4ad msgid "" "**Fixed** `3062 `_: " "page_rotation_reset does not return page to original rotation" msgstr "" #: ../../../changes.txt:726 f86ef7904604429884e4c81fcf5ae787 msgid "" "**Fixed** `3070 `_: " "update_link(): AttributeError: 'Page' object has no attribute 'super'" msgstr "" #: ../../../changes.txt:730 6c6a0371126c46b0bcc8ebc5df7be344 msgid "Fixed bug in `Page.links()` (PR #3075)." msgstr "" #: ../../../changes.txt:731 a9475e5785414f199b597f416d8e1f8d msgid "Fixed bug in `Page.get_bboxlog()` with layers." msgstr "" #: ../../../changes.txt:732 8867fda0c26e4548b930e7d40da999bc msgid "Add support for timeouts in scripts/ and tests/run_compound.py." msgstr "" #: ../../../changes.txt:735 50f7599b93df4914acc301398f9fb589 msgid "**Changes in version 1.23.16 (2024-01-18)**" msgstr "" #: ../../../changes.txt:739 98d0c677086e45b8aefb2561c344d108 msgid "" "**Fixed** `3058 `_: " "Pixmap created from CMYK JPEG delivers RGB format" msgstr "" #: ../../../changes.txt:743 6280e0fb16044307be72a98e78055199 msgid "" "In table detection strategy \"lines_strict\", exclude fill-only vector " "graphics." msgstr "" #: ../../../changes.txt:744 7b87c57e26184d6fab0bf49037ae0ee0 msgid "Fixed sysinstall test failure." msgstr "" #: ../../../changes.txt:745 479fcf54b5cc40719b42543c6b8eb8d7 msgid "In documentation, update feature matrix with item about text writing." msgstr "" #: ../../../changes.txt:748 a58ed680108b456f811bd161fcda9c91 msgid "**Changes in version 1.23.15 (2024-01-16)**" msgstr "" #: ../../../changes.txt:752 db43cbaa428745bbbc155e1449a46274 msgid "" "**Fixed** `3050 `_: " "python3.9 pix.set_pixel has something wrong in c.append( ord(i))" msgstr "" #: ../../../changes.txt:756 85116010a87b4782a3c2cf37d6d3c233 msgid "Improved docs for Page.find_tables()." msgstr "" #: ../../../changes.txt:759 a0e9d51dec614dd5aad7a32d5195c117 msgid "**Changes in version 1.23.14 (2024-01-15)**" msgstr "" #: ../../../changes.txt:763 a147e66fe72c47f7ab10b2211f76dd3f msgid "" "**Fixed** `3038 `_: " "JM_pixmap_from_display_list > Assertion Error : Checking for wrong type" msgstr "" #: ../../../changes.txt:764 8e99271499a243a0ad21780cd0aa3b4f msgid "" "**Fixed** `3039 `_: Issue" " with doc.close() not closing the document in PyMuPDF" msgstr "" #: ../../../changes.txt:768 3976a531e434472590b8052395aea031 msgid "" "Ensure valid \"re\" rectangles in `Page.get_drawings()` with derotated " "pages." msgstr "" #: ../../../changes.txt:771 082bdc523e1f473f85543e64d3853ad8 msgid "**Changes in version 1.23.13 (2024-01-15)**" msgstr "" #: ../../../changes.txt:775 797a7ea0082844de9aa334285db2046a msgid "" "**Fixed** `2979 `_: list " "index out of range in to_pandas()" msgstr "" #: ../../../changes.txt:776 95667931dbcb4237bae8f4c9af83594b msgid "" "**Fixed** `3001 `_: " "Calling find_tables() on one document alters the bounding boxes of a " "subsequent document" msgstr "" #: ../../../changes.txt:780 186cd9d07f9b4a58beb7e8e41f3bc17d msgid "Fixed `Rect.height` and `Rect.width` to never return negative values." msgstr "" #: ../../../changes.txt:781 27c5d3626f094ec5863b809e2a812c25 msgid "Fixed `TextPage.extractIMGINFO()`'s returned `dictkey_yres` value." msgstr "" #: ../../../changes.txt:784 8255dfd1b9d149ba8ce261e1ceaff664 msgid "**Changes in version 1.23.12 (2024-01-12)**" msgstr "" #: ../../../changes.txt:786 5bb9f57d3682407b99532c75233dba1f msgid "" "**Fixed** `3027 `_: " "Page.get_text throws Attribute Error for 'parent'" msgstr "" #: ../../../changes.txt:789 2dae2447cbb74e1fb8e1a42264ec7e70 msgid "**Changes in version 1.23.11 (2024-01-12)**" msgstr "" #: ../../../changes.txt:791 cd671647a36347d9b8adbfb7ee2447a9 msgid "Fixed some Pixmap construction bugs." msgstr "" #: ../../../changes.txt:792 e891dfad684a4752b4e5805a6293dfcf msgid "Fixed Pixmap.yres()." msgstr "" #: ../../../changes.txt:795 f131f3b1f3b641e989cfeab5425a3e9c msgid "**Changes in version 1.23.10 (2024-01-12)**" msgstr "" #: ../../../changes.txt:799 ac50349144d841ab902a3ae407ef8714 msgid "" "**Fixed** `3020 `_: Can't" " resize a PixMap" msgstr "" #: ../../../changes.txt:803 3f395fa335f948a6bf2ec8e7dca4ea01 msgid "Fixed Page.delete_image()." msgstr "" #: ../../../changes.txt:806 c60fab8d493747628cff1c624cb39043 msgid "**Changes in version 1.23.9 (2024-01-11)**" msgstr "" #: ../../../changes.txt:808 1fa84ae4248d423485aa5cb183570533 msgid "Default to new \"rebased\" implementation." msgstr "" #: ../../../changes.txt:810 950a6848918d4d6b80203a0558ed5266 msgid "" "The old \"classic\" implementation is available with `import fitz_old as " "fitz`." msgstr "" #: ../../../changes.txt:811 bebd4b40a6314a9b99d384b13f921a74 msgid "" "For more information about why we are changing to the rebased " "implementation, see: https://github.com/pymupdf/PyMuPDF/discussions/2680" msgstr "" #: ../../../changes.txt:814 0a613f5215304e7b922f3fbb0c54ad9c msgid "Use MuPDF-1.23.9." msgstr "" #: ../../../changes.txt:816 ../../../changes.txt:848 #: 79b8f33e4c684085bbd12543c914a92c ed73712d903c42daa048538222480c72 msgid "Bug fixes (rebased implementation only):" msgstr "" #: ../../../changes.txt:818 f0a68870dc7e4101b40fb65d25d18b5a msgid "" "**Fixed** `2911 `_: " "Page.derotation_matrix returns a tuple instead of a Matrix with rebased " "implementation" msgstr "" #: ../../../changes.txt:819 b056b928a27c4740bfc45a1e268ab0d2 msgid "" "**Fixed** `2919 `_: " "Rebased version: KeyError in resolve_names when merging pdfs" msgstr "" #: ../../../changes.txt:820 736154fa84784e259b795c962116ed21 msgid "" "**Fixed** `2922 `_: New " "feature that allows inserting named-destination links doesn't work" msgstr "" #: ../../../changes.txt:821 bfe6879a0e3449928a0e143e35d1973d msgid "" "**Fixed** `2943 `_: " "ZeroDivisionError: float division by zero when use apply_redactions()" msgstr "" #: ../../../changes.txt:822 3aea2bcd6a984d8f8e814d25a05ea0cd msgid "" "**Fixed** `2950 `_: " "Shelling out to pip during tests is problematic" msgstr "" #: ../../../changes.txt:823 64a074a99c094bf2b64bf0a1175cfd6e msgid "" "**Fixed** `2954 `_: " "Replacement unicode character in text extraction" msgstr "" #: ../../../changes.txt:824 f1ab1e9632c440a1ad3ddceab5970793 msgid "" "**Fixed** `2957 `_: " "apply_redactions() moving text" msgstr "" #: ../../../changes.txt:825 be824c3a45bd4be0b2bc52d892f31652 msgid "" "**Fixed** `2961 `_: " "Passing a string as a page number raises IndexError instead of TypeError." msgstr "" #: ../../../changes.txt:826 e776dd1532cf4e4b930371d30841afe9 msgid "" "**Fixed** `2969 `_: " "annot.next throws AttributeError" msgstr "" #: ../../../changes.txt:827 ac77c79a100942f8a6159beb24f4e67a msgid "" "**Fixed** `2978 `_: " "1.23.9rc1: module 'fitz.mupdf' has no attribute 'fz_copy_pixmap_rect'" msgstr "" #: ../../../changes.txt:829 362af45c412f45c39a1d822fab1286b1 msgid "" "**Fixed** `2907 `_: " "segfault trying to call clean_contents on certain pdfs with python 3.12" msgstr "" #: ../../../changes.txt:830 c1135c0939ef4daab6a8385631c53704 msgid "" "**Fixed** `2905 `_: " "SystemError: returned a " "result with an exception set" msgstr "" #: ../../../changes.txt:831 a9d0e8515e0c4113af2e60251120838a msgid "" "**Fixed** `2742 `_: " "Segmentation Fault when inserting three (but not two) copies of the same " "source page into one destination page" msgstr "" #: ../../../changes.txt:835 bdbbaa0c597e4d8690d2acc01a05a511 msgid "Add optional setting of opacity to `Page.insert_htmlbox()`." msgstr "" #: ../../../changes.txt:836 ec4580cff71a44b881bd2289b03e1e76 msgid "Fixed issue with add_redact_annot() mentioned in #2934." msgstr "" #: ../../../changes.txt:837 37a7489f60b24988aabf68ab765c53aa msgid "" "Fixed `Page.rotation()` to return 0 for non-PDF documents instead of " "raising an exception." msgstr "" #: ../../../changes.txt:838 c15327390f2c412599adc9f6c2cd41eb msgid "Fixed internal quad detection to cope with any Python sequence." msgstr "" #: ../../../changes.txt:839 b5b25dcbb0e04533b6f266160078d7ac msgid "" "Fixed rebased `fitz.pymupdf_version_tuple` - was previously set to mupdf " "version." msgstr "" #: ../../../changes.txt:840 417b49c5b97a43b2884451f91a6ccd72 msgid "" "Improved support for Linux system installs, including adding regular " "testing on Github." msgstr "" #: ../../../changes.txt:841 dc9b6649df764b6d8bdd0aeb241c8116 msgid "Add missing `flake8` to `scripts/gh_release.py:test_packages`." msgstr "" #: ../../../changes.txt:842 526255ea77784aa5a86322e409396fbf msgid "Use newly public functions in MuPDF-1.23.8." msgstr "" #: ../../../changes.txt:843 78af7dcf823d4333b745e1411e2535c0 msgid "Improved `scripts/test.py` to help investigation of MuPDF issues." msgstr "" #: ../../../changes.txt:846 c4377b33474d4f08b8bb6ea1785e8cae msgid "**Changes in version 1.23.8 (2023-12-19)**" msgstr "" #: ../../../changes.txt:850 06bc7d28ba624f879fc3f4225f042ebd msgid "" "**Fixed** `2634 `_: " "get_toc and set_toc do not behave consistently for rotated pages" msgstr "" #: ../../../changes.txt:851 eaabee50b85a41f5a1eee3082375a7d5 msgid "" "**Fixed** `2861 `_: " "AttributeError in getLinkDict during PDF Merge" msgstr "" #: ../../../changes.txt:852 11a45b3c36814980abef6db057685eef msgid "" "**Fixed** `2871 `_: " "KeyError in getLinkDict during PDF merge" msgstr "" #: ../../../changes.txt:853 f6127a8b2c46475da27184f59e39e7ef msgid "" "**Fixed** `2886 `_: Error" " in Skeleton for Named Link Destinations" msgstr "" #: ../../../changes.txt:855 ../../../changes.txt:888 #: 586f106b986842b08028b0f5f627f7ca d8af7ffde72c450d915b0463309a4314 msgid "Bug fixes (rebased and classic implementations):" msgstr "" #: ../../../changes.txt:857 b33ad6378a46458cb75ad39284db9641 msgid "" "**Fixed** `2885 `_: " "pymupdf find tables too slow" msgstr "" #: ../../../changes.txt:861 ../../../changes.txt:901 #: 4728a8ecae8e40aa81aac714354f5cd8 dfafbc41ed064d4e9417228eef3b8869 msgid "Rebased implementation:" msgstr "" #: ../../../changes.txt:863 d5e148c0135c420faee01c379333d863 msgid "" "`Page.insert_htmlbox()`: new, much more powerful alternative to " "`Page.insert_textbox()` or `TextWriter.fill_textbox()`, using `Story`." msgstr "" #: ../../../changes.txt:864 61b9573e3d5140e89cab3a5f2306ae99 msgid "`Story.fit*()`: new methods for fitting a Story into an expanded rect." msgstr "" #: ../../../changes.txt:865 2c6161c5bc974598a30735ae4181b27c msgid "`Story.write_with_links()`: add support for external links." msgstr "" #: ../../../changes.txt:866 98b4230a54804ef4acb0b180f44e9ae5 msgid "" "`Document.language()`: fixed to use MuPDF's new " "`mupdf.fz_string_from_text_language2()`." msgstr "" #: ../../../changes.txt:867 40995750950149ef83a0d8f6ddad76ef msgid "`Document.subset_fonts()` - fixed." msgstr "" #: ../../../changes.txt:868 8f0552b58651471a97e511567a32e0c2 msgid "Fixed internal `Archive._add_treeitem()` method." msgstr "" #: ../../../changes.txt:869 87b1222b024441dea38cf29daba33184 msgid "" "Fixed `fitz_new.__doc__` to contain PyMuPDF and Python version " "information, and OS name." msgstr "" #: ../../../changes.txt:870 386cb55b9f0c4087ae1996bb06b51a33 msgid "" "Removed use of `(*args, **kwargs)` in API, we now specify keyword args " "explicitly." msgstr "" #: ../../../changes.txt:871 c59b0cc5fecc4bdd9562cd2ce75075d3 msgid "Work with new MuPDF Python exception classes." msgstr "" #: ../../../changes.txt:873 e3e5a541241440ed9d367ef19430a835 msgid "" "Fixed bug where `button_states()` returns None when `/AP` points to an " "indirect object." msgstr "" #: ../../../changes.txt:874 5af1990cff754cd89a3aa438eb9d383b msgid "" "Fixed pillow test to not ignore all errors, and install pillow when " "testing." msgstr "" #: ../../../changes.txt:875 1f1299ee32f346b6b3729cf40091e92c msgid "" "Added test for `fitz.css_for_pymupdf_font()` (uses package `pymupdf-" "fonts`)." msgstr "" #: ../../../changes.txt:876 8a8e3b21e7fe474598e60c7c3d327f5b msgid "Simplified Github Actions test specifications." msgstr "" #: ../../../changes.txt:877 285e6db854b84f7fab4a2c650152d2a2 msgid "Updated `tests/README.md`." msgstr "" #: ../../../changes.txt:880 25533a44e1824331b867fb200db45187 msgid "**Changes in version 1.23.7 (2023-11-30)**" msgstr "" #: ../../../changes.txt:882 583b1de242bb4157b4445d6446ee6bbb msgid "Bug fixes in rebased implementation, not fixed in classic implementation:" msgstr "" #: ../../../changes.txt:884 235fe8226daa4b0abbac192cae7fd37a msgid "" "**Fixed** `2232 `_: " "Geometry helper classes should support keyword arguments" msgstr "" #: ../../../changes.txt:885 e575834fcd73477b81b61829f22f495d msgid "" "**Fixed** `2788 `_: " "Problem with get_toc in pymupdf 1.23.6" msgstr "" #: ../../../changes.txt:886 48886ca53b3d4f75bb21c99311bdb5f3 msgid "" "**Fixed** `2791 `_: " "Experiencing small memory leak in save()" msgstr "" #: ../../../changes.txt:890 10a6b50400ed447497a29b25510f48e4 msgid "" "**Fixed** `2736 `_: " "Failure when set cropbox with mediabox negative value" msgstr "" #: ../../../changes.txt:891 2a0b37db8390439fbb646a9c37103f52 msgid "" "**Fixed** `2749 `_: " "RuntimeError: cycle in structure tree" msgstr "" #: ../../../changes.txt:892 3d06cf904a104c3d90b146fa78bf69ef msgid "" "**Fixed** `2753 `_: " "Story.write_with_links will ignore everything after the first \"page " "break\" in the HTML." msgstr "" #: ../../../changes.txt:893 8a53b50ea2524665955b3157294a2b2d msgid "" "**Fixed** `2812 `_: " "find_tables on landscape page generates reversed text" msgstr "" #: ../../../changes.txt:894 888fb15372974a36b1fe3d66ef22e391 msgid "" "**Fixed** `2829 `_: " "[cannot create /Annot for kind] is still printed despite #2345 is closed." msgstr "" #: ../../../changes.txt:895 4bddd57842e24f349a1d201577c84f44 msgid "" "**Fixed** `2841 `_: " "Unexpected KeyError when using scrub with fitz_new" msgstr "" #: ../../../changes.txt:897 94aee473c47b4b39a4c3c4cb53567f41 msgid "Use MuPDF-1.23.7." msgstr "" #: ../../../changes.txt:903 bec49d14f00548e4b548e3392c71e4f9 msgid "Added flake8 code checking to test suite, and made various fixes." msgstr "" #: ../../../changes.txt:904 5c2f03ef2da94a85b04bdcaa6b4452b2 msgid "" "Disable diagnostics during Document constructor to match classic " "implementation." msgstr "" #: ../../../changes.txt:906 614caa01606b4df1a5f36c79ba7597dc msgid "" "Additional fix to `2553 " "`_: Invalid characters in" " versions >= 1.22" msgstr "" #: ../../../changes.txt:907 249c2e20b6584ff5bde073c96d14cef8 msgid "" "Fixed `MuPDF Bug 707324 " "`_: Story: HTML " "table row background color repeated incorrectly" msgstr "" #: ../../../changes.txt:908 40274b78dadb4924955e4fcee62c82e9 msgid "Added `scripts/test.py`, for simple build+test of PyMuPDF git checkout." msgstr "" #: ../../../changes.txt:909 f4348c71af1f40479d9eb7d08fdba3aa msgid "Added `fitz.pymupdf_version_tuple`, e.g. `(1, 23, 6)`." msgstr "" #: ../../../changes.txt:910 0125831c6ca04067b9605b86aefa7ebb msgid "" "Restored mistakenly-reverted fix for `2345 " "`_: Turn off print " "statements in utils.py" msgstr "" #: ../../../changes.txt:911 ecf3f5029df1424ca67fedcd1eac52e1 msgid "" "Include any trailing `... repeated times...` text in warnings " "returned by `mupdf_warnings()` (rebased only)." msgstr "" #: ../../../changes.txt:915 dae1fc58258f4a368eb9b9e73fdc3418 msgid "**Changes in version 1.23.6 (2023-11-06)**" msgstr "" #: ../../../changes.txt:919 4b44a7b92e344051be42fcb7b2fd86ca msgid "" "**Fixed** `2553 `_: " "Invalid characters in versions >= 1.22" msgstr "" #: ../../../changes.txt:920 c22c67eda878468e84fdce9860d9470e msgid "" "**Fixed** `2608 `_: " "Incorrect utf32 text extraction (high & low surrogates are split)" msgstr "" #: ../../../changes.txt:921 ../../../changes.txt:944 #: 6e09bf78b2e8482189006eea2acba2bb 9836ec3981e942eab17d9cf2073f8760 msgid "" "**Fixed** `2710 `_: " "page.rect and text location wrong / differing from older version" msgstr "" #: ../../../changes.txt:922 cf4d2d380bbc48eb852fc95710f97677 msgid "" "**Fixed** `2774 `_: wrong" " encoding for \"\\?\" character when sort=True" msgstr "" #: ../../../changes.txt:923 1f6c84f41d254543a72dc62354b851c3 msgid "" "**Fixed** `2775 `_: " "fitz_new does not work with python3.10 or earlier" msgstr "" #: ../../../changes.txt:924 87951ce6577046f9b2d94ccd7a8d15cf msgid "" "**Fixed** `2777 `_: With " "fitz_new, wrong type for Page.mediabox" msgstr "" #: ../../../changes.txt:928 8d946635456d4d35be553ed4ef5c4c20 msgid "Use MuPDF-1.23.5." msgstr "" #: ../../../changes.txt:929 f7013808115244fc929c4e70b737e840 msgid "Added Document.resolve_names() (rebased implementation only)." msgstr "" #: ../../../changes.txt:932 fc23c2f02e0f4d6eaaf921039e93a96f msgid "**Changes in version 1.23.5 (2023-10-11)**" msgstr "" #: ../../../changes.txt:936 6009b9edb3184a869f2ce12fd73c20bd msgid "" "**Fixed** `2341 `_: " "Handling negative values in the zoom section for LINK_GOTO in linkDest" msgstr "" #: ../../../changes.txt:937 0dd0674d2f134d99b73659b6f62b19a1 msgid "" "**Fixed** `2522 `_: Typo " "in set_layer() - NameError: name 'f' is not defined" msgstr "" #: ../../../changes.txt:938 c5288d50055d4c5da1a7e0df44a0ac43 msgid "" "**Fixed** `2548 `_: Fitz " "freezes on some PDFs when calling the fitz.Page.get_text_blocks method." msgstr "" #: ../../../changes.txt:939 5ff84b8fb6be4feb8cdbf5edbbb0abaa msgid "" "**Fixed** `2596 `_: " "save(garbage=3) breaks get_pixmap() with side effect" msgstr "" #: ../../../changes.txt:940 123cb55d916f49108937ed096e7ddb25 msgid "" "**Fixed** `2635 `_: " "\"clean=True\" makes objects invisible in the pdf" msgstr "" #: ../../../changes.txt:941 ../../../changes.txt:969 #: 7654b31ea4c84890bf69fa4688837d78 8eef4b86cdec4085ae3f96a960c2ce20 msgid "" "**Fixed** `2637 `_: " "Page.insert_textbox incorrectly handles the last word if it starts a new " "line" msgstr "" #: ../../../changes.txt:942 bcc1d82ed2934ae49084a16db226ddf1 msgid "" "**Fixed** `2699 `_: " "extract paragraph with below table" msgstr "" #: ../../../changes.txt:943 75014a04729c49dd8bc091fb9ba66444 msgid "" "**Fixed** `2703 `_: Wrong" " fontsize calculation in corner cases (\"page.get_texttrace()\")" msgstr "" #: ../../../changes.txt:945 f469c85d192646e5aab002778053d0a5 msgid "" "**Fixed** `2723 `_: When " "will a Python 3.12 wheel be available?" msgstr "" #: ../../../changes.txt:946 0fa82c24bbeb42d2be8390fbba927f0d msgid "" "**Fixed** `2730 `_: " "persistent get_text() formatting" msgstr "" #: ../../../changes.txt:950 72690f1bf41e43bda38ccd424aacca3c msgid "Use MuPDF-1.23.4." msgstr "" #: ../../../changes.txt:951 30ff227bd04646bdb17474afeccd9981 msgid "Fix optimisation flags with system installs." msgstr "" #: ../../../changes.txt:952 6906912e05f34a26b46e5f8c0b9dd6e0 msgid "" "Fixed the problem that the clip parameter does not take effect during " "table recognition" msgstr "" #: ../../../changes.txt:953 70a6a8cd8dcc4c90acf6957467999a4f msgid "Support Pillow mode \"RGBa\"" msgstr "" #: ../../../changes.txt:954 500cf538fcc84a5d88b63e846009e940 msgid "Support extra word delimiters" msgstr "" #: ../../../changes.txt:955 c5a98d3b81ca4f3b92ee9b55641041eb msgid "Support checking valid PDF name objects" msgstr "" #: ../../../changes.txt:958 9780d5d181924c1f98f6e987dee32f09 msgid "**Changes in version 1.23.4 (2023-09-26)**" msgstr "" #: ../../../changes.txt:960 89f0cd5d2bdb4c2a86b8130279eaafbd msgid "Improved build instructions." msgstr "" #: ../../../changes.txt:961 ba599b28412843c2b4970a1f78cfe599 msgid "Fixed Tesseract in rebased implementation." msgstr "" #: ../../../changes.txt:962 ad9696206b1147e8a6e75796ad68f204 msgid "Improvements to build/install with system MuPDF." msgstr "" #: ../../../changes.txt:964 0b8845dfb30c4a3ebf1bab255c2231f3 msgid "Fixed rebased bug in _insert_image()." msgstr "" #: ../../../changes.txt:968 0c9e490c29db4714af654a120396b8e6 msgid "" "**Fixed** `2556 `_: " "Segmentation fault at caling get_cdrawings(extended=True)" msgstr "" #: ../../../changes.txt:970 b47698c2a99a4d67be8d09ea95ac3f34 msgid "" "**Fixed** `2683 `_: " "Windows sdist build failure - non-quoting of path and using UNIX which " "command" msgstr "" #: ../../../changes.txt:971 2e8eaa9c953340e3b7f9cab5aa9c144a msgid "" "**Fixed** `2691 `_: " "Page.get_textpage_ocr() bug in rebased fitz_new version" msgstr "" #: ../../../changes.txt:972 01bf199cda4f40eb80f58292500d052e msgid "" "**Fixed** `2692 `_: " "Page.get_pixmap(clip=Rect()) bug in rebased fitz_new version" msgstr "" #: ../../../changes.txt:975 e635ca7f3a7144c7b155a0d53f366bc4 msgid "**Changes in version 1.23.3 (2023-08-31)**" msgstr "" #: ../../../changes.txt:977 b622f722651945db8c9065920951a027 msgid "Fixed use of Tesseract for OCR." msgstr "" #: ../../../changes.txt:980 0b6d628f664246e1af3613f80ef88e31 msgid "**Changes in version 1.23.2 (2023-08-28)**" msgstr "" #: ../../../changes.txt:982 5b021aef8d8846649ea00de593b61159 msgid "" "**Fixed** `#2613 `_: " "release 1.23.0 not MacOS-arm64 compatible" msgstr "" #: ../../../changes.txt:985 18a26e38b78544d8bed38a8639d031b2 msgid "**Changes in version 1.23.1 (2023-08-24)**" msgstr "" #: ../../../changes.txt:987 e62a756953074ab996467e70681646a5 msgid "Updated README and package summary description." msgstr "" #: ../../../changes.txt:990 a21901dee64f4a1899288f13aaebfd95 msgid "" "Fixed a problem on some Linux installations with Python-3.10 (and " "possibly earlier versions) where `import fitz` failed with `ImportError: " "libcrypt.so.2: cannot open shared object file: No such file or " "directory`." msgstr "" #: ../../../changes.txt:996 57b658dc047548bbbf4b37367da3eb2a msgid "Fixed `incompatible architecture` error on MacOS arm64." msgstr "" #: ../../../changes.txt:999 d42dcb0953b54804aee03e472206b6ee msgid "" "Fixed installation warning from Poetry about missing entry in wheels' " "RECORD files." msgstr "" #: ../../../changes.txt:1003 d3a8e8bb4f464faf90ac4e4f2d3d4257 msgid "**Changes in version 1.23.0 (2023-08-22)**" msgstr "" #: ../../../changes.txt:1005 73d894b0d405493fa197c028fc016e16 msgid "Add method `find_tables()` to the `Page` object." msgstr "" #: ../../../changes.txt:1007 0381413ce0b8400e912c1027cc2af4d5 msgid "" "This allows locating tables on any supported document page, and " "extracting table content by cell." msgstr "" #: ../../../changes.txt:1010 7e8f7d58a9bc4339b09e0b5f9ac4ee2d msgid "New \"rebased\" implementation of PyMuPDF." msgstr "" #: ../../../changes.txt:1012 9fc6a3029b014900b58e9338c2babb18 msgid "" "The rebased implementation is available as Python module `fitz_new`. It " "can be used as a drop-in replacement with `import fitz_new as fitz`." msgstr "" #: ../../../changes.txt:1017 738d34d7aebd43ff89c69b82aa7d46e8 msgid "" "Python-independent MuPDF libraries are now in a second wheel called " "`PyMuPDFb` that will be automatically installed by pip." msgstr "" #: ../../../changes.txt:1020 bca75d93dfe54dd0b930fe20a80af757 msgid "" "This is to save space on pypi.org - a full release only needs one " "`PyMuPDFb` wheel for each OS." msgstr "" #: ../../../changes.txt:1025 5ea8868d14804747b7a032703ca8e9b5 msgid "" "**Fixed** `#2542 `_: " "fitz.utils.scrub AttributeError Annot object has no attribute fileUpd " "inside" msgstr "" #: ../../../changes.txt:1026 d834522e9a47458f8df14e8f629b6a80 msgid "" "**Fixed** `#2533 `_: " "get_texttrace returned a incorrect character bbox" msgstr "" #: ../../../changes.txt:1027 fa9e61cc88804262a37529823e6ae230 msgid "" "**Fixed** `#2537 `_: " "Validation when setting a grouped RadioButton throws a RuntimeError: path" " to 'V' has indirects" msgstr "" #: ../../../changes.txt:1029 ../../../changes.txt:1829 #: ../../../changes.txt:1993 8bbac0324fdd4e349f9a5fa96e73089b #: eaf8cd2128cd4c5c877473f9bd315793 ec5d869f0874493ea625e47c43bf59f8 msgid "Other changes:" msgstr "" #: ../../../changes.txt:1031 038268fa0e3d4530b127e02b008b0de5 msgid "Dropped support for Python-3.7." msgstr "" #: ../../../changes.txt:1033 2f238ba63e474abd882d994c5d8a6c7d msgid "Fix for wrong page / annot `/Contents` cleaning." msgstr "" #: ../../../changes.txt:1035 8de4c1abb94c4af0ae76a8bc208f2498 msgid "We need to set `pdf_filter_options::no_update` to zero." msgstr "" #: ../../../changes.txt:1037 3be90380c41041df9c0e8a4b1514f49a msgid "Added new function get_tessdata()." msgstr "" #: ../../../changes.txt:1039 e2dd7eb60faf45958693b36439454d65 msgid "Cope with problem `/Annot` arrays." msgstr "" #: ../../../changes.txt:1041 f3a9365058d14581b262aefd3dc3f5cd msgid "" "When copying page annotations in method Document.insert_pdf we previously" " did not check the validity of members of the `/Annots` array. For " "faulty members (like null or non-dictionary items) this could cause " "unnecessary exceptions. This fix implements more checks and skips such " "array items." msgstr "" #: ../../../changes.txt:1047 15b514dde25a435db2d8761712b2b511 msgid "Additional annotation type checks." msgstr "" #: ../../../changes.txt:1049 3d28a76d5772428ca847e78115435df5 msgid "" "We did not previously check for annotation type when getting / setting " "annotation border properties. This is now checked in accordance with " "MuPDF." msgstr "" #: ../../../changes.txt:1053 1db4c46ee27f4603907a8be59ce434bd msgid "Increase fault tolerance." msgstr "" #: ../../../changes.txt:1055 cfeadbde1d1a4bd28e4394f298039395 msgid "" "Avoid exceptions in method `insert_pdf()` when source pages contains " "invalid items in the `/Annots` array." msgstr "" #: ../../../changes.txt:1058 e95424ad171f4befacebac209026dccf msgid "Return empty border dict for applicable annots." msgstr "" #: ../../../changes.txt:1060 d32e47da50ad4e1bbec4315e5deb475a msgid "" "We previously were returning a non-empty border dictionary even for non-" "applicable annotation types. We now return the empty dictionary `{}` in " "these cases. This requires some corresponding changes in the annotation " "`.update()` method, namely for dashes and border width." msgstr "" #: ../../../changes.txt:1065 a743fc735f8e4751aa4c9fb35972a0e6 msgid "Restrict `set_rect` to applicable annot types." msgstr "" #: ../../../changes.txt:1067 33dd0a503f44425489708bfc1eba3781 msgid "" "We were insufficiently excluding non-applicable annotation types from " "`set_rect()` method. We now let MuPDF catch unsupported annotations and " "return `False` in these cases." msgstr "" #: ../../../changes.txt:1071 3c981f3c14264a87a5e5864716eb590f msgid "Wrong fontsize computation in `page.get_texttrace()`." msgstr "" #: ../../../changes.txt:1073 d2bca3e2d5044d88b32f20c0e92bf049 msgid "" "When computing the font size we were using the final text transformation " "matrix, where we should have taken `span->trm` instead. This is " "corrected here." msgstr "" #: ../../../changes.txt:1077 4e4387c698a9431c875e14e61bfe5993 msgid "Updates to cope with changes to latest MuPDF." msgstr "" #: ../../../changes.txt:1079 68949888709c441996bba638e370acdd msgid "`pdf_lookup_anchor()` has been removed." msgstr "" #: ../../../changes.txt:1081 8e5efc45233c429083dbb2e7710b8e46 msgid "Update fill_textbox to better respect rect.width" msgstr "" #: ../../../changes.txt:1083 193ee81062494935a4b6e5f7a2d5d470 msgid "" "The function norm_words in fill_textbox had a bug in its last loop, " "appending n+1 characters when actually measuring width of n characters. " "It led to a bug in fill_texbox when you tried to write a single word " "mostly composed of \"wide\" letters (M,m, W, w...), causing the written " "text to exceed the given rect." msgstr "" #: ../../../changes.txt:1089 6719947ef5ad4b44b30317c8cd0d27f0 msgid "The fix was just to replace n+1 by n." msgstr "" #: ../../../changes.txt:1091 a7647cf90c074ee7bf1e22c92b11aad2 msgid "Add `script_focus` and `script_blur` options to widget." msgstr "" #: ../../../changes.txt:1095 e7f3a5c65c2a4b4095652b5ee87ecf26 msgid "**Changes in version 1.22.5 (2023-06-21)**" msgstr "" #: ../../../changes.txt:1097 e0f897c4559d4185828a667deab0b5e1 msgid "This release uses ``MuPDF-1.22.2``." msgstr "" #: ../../../changes.txt:1101 d01a2996634d4afd910a1b19f88fe54d msgid "" "**Fixed** `#2365 `_: " "Incorrect dictionary values for type \"fs\" drawings." msgstr "" #: ../../../changes.txt:1102 37372904c5fc4a288d1bcfae3658be44 msgid "" "**Fixed** `#2391 `_: " "Check box automatically uncheck when we update same checkbox more than 1 " "times." msgstr "" #: ../../../changes.txt:1103 da93bf73beab4c7394a870d6ef00aa74 msgid "" "**Fixed** `#2400 `_: Gaps" " within text of same line not filled with spaces." msgstr "" #: ../../../changes.txt:1104 c7bbdcecf83d4af18820e8854d6ed2f7 msgid "" "**Fixed** `#2404 `_: " "Blacklining an image in PDF won't remove underlying content in version " "1.22.X." msgstr "" #: ../../../changes.txt:1105 5dab0dae25104c5fac71c4bea81bd2ab msgid "" "**Fixed** `#2430 `_: " "Incorrectly reducing ref count of Py_None." msgstr "" #: ../../../changes.txt:1106 28dd826ad25d4fe989f269746f3f3beb msgid "" "**Fixed** `#2450 `_: " "Empty fill color and fill opacity for paths with fill and stroke " "operations with 1.22.*" msgstr "" #: ../../../changes.txt:1107 6eeb2a8ef825424fad2bdbac330da13d msgid "" "**Fixed** `#2462 `_: " "Error at \"get_drawing(extended=True )\"" msgstr "" #: ../../../changes.txt:1108 d83cacb33bfb43289ba1cac19694532b msgid "" "**Fixed** `#2468 `_: " "Decode error when trying to get drawings" msgstr "" #: ../../../changes.txt:1109 6816013f54d4446bb7b60530a6e49ad6 msgid "" "**Fixed** `#2710 `_: " "page.rect and text location wrong / differing from older version" msgstr "" #: ../../../changes.txt:1110 2a55b8aad74742ba905c8261e774e40e msgid "" "**Fixed** `#2723 `_: When" " will a Python 3.12 wheel be available?" msgstr "" #: ../../../changes.txt:1112 89917a32f35f46348baa0a3c330b174e msgid "New features:" msgstr "" #: ../../../changes.txt:1114 84e05da539e34fb1b20339210c836492 msgid "" "**Changed** Annotations now support \"cloudy\" borders. The " ":attr:`Annot.border` property has the new item `clouds`, and method " ":meth:`Annot.set_border` supports the corresponding `clouds` argument." msgstr "" #: ../../../changes.txt:1118 bce76d38c410446ba81647f0896ef355 msgid "" "**Changed** Radio button widgets in the same RB group are now " "consistently updated **if the group is defined in the standard way**." msgstr "" #: ../../../changes.txt:1121 f53cb26ab76e43dfbbd2f4c2efc5a821 msgid "" "**Added** Support for the `/Locked` key in PDF Optional Content. This " "array inside the catalog entry `/OCProperties` can now be extracted and " "set." msgstr "" #: ../../../changes.txt:1124 def96ff824944143acfaffad2e689880 msgid "" "**Added** Support for new parameter `tessdata` in OCR functions. New " "function :meth:`get_tessdata` locates the language support folder if " "Tesseract is installed." msgstr "" #: ../../../changes.txt:1129 ab43957ddc794c8a9b04c475426c4984 msgid "**Changes in version 1.22.3 (2023-05-10)**" msgstr "" #: ../../../changes.txt:1131 ../../../changes.txt:1140 #: ../../../changes.txt:1149 ../../../changes.txt:1161 #: 03ca33346d3944328c25a5c144420613 07f4c427f5f544f5bd7d767983484060 #: 0fb05318e4944beeb5124143ee76589f d7e781b29559409897126ce3786cd3e7 msgid "This release uses ``MuPDF-1.22.0``." msgstr "" #: ../../../changes.txt:1135 91c90d81ef504a9d8aeaffb101145d25 msgid "" "**Fixed** `#2333 `_: " "Unable to set any of button radio group in form" msgstr "" #: ../../../changes.txt:1138 016b5d8017ec4b46aa0db0ca2575d91b msgid "**Changes in version 1.22.2 (2023-04-26)**" msgstr "" #: ../../../changes.txt:1144 2a883f3384d24cb4b50c413be7b7248d msgid "" "**Fixed** `#2369 `_: " "Image extraction bugs with newer versions" msgstr "" #: ../../../changes.txt:1147 558df7978ec349b98ce43b9afb00b02e msgid "**Changes in version 1.22.1 (2023-04-18)**" msgstr "" #: ../../../changes.txt:1153 2f26d737893143a0b598c60bbf17e7c1 msgid "" "**Fixed** `#2345 `_: Turn" " off print statements in utils.py" msgstr "" #: ../../../changes.txt:1154 88393d4c4b1c4de88301c4a0c889142a msgid "" "**Fixed** `#2348 `_: " "extract_image returns an extension \"flate\" instead of \"png\"" msgstr "" #: ../../../changes.txt:1155 a669f7b9c4be4a208b4f533e8f283873 msgid "" "**Fixed** `#2350 `_: Can " "not make widget (checkbox) to read-only by adding flags " "PDF_FIELD_IS_READ_ONLY" msgstr "" #: ../../../changes.txt:1156 2b3bdc6748004a1aa84e2d6b31562785 msgid "" "**Fixed** `#2355 `_: " "1.22.0 error when using get_toc (AttributeError: 'SwigPyObject' object " "has no attribute)" msgstr "" #: ../../../changes.txt:1159 350bcb28a30944fdacb28843123738f2 msgid "**Changes in version 1.22.0 (2023-04-14)**" msgstr "" #: ../../../changes.txt:1163 44f570ec1df54e41a946bffb631b53c9 msgid "Behavioural changes:" msgstr "" #: ../../../changes.txt:1165 3826a16556c6458d8e1e603e51ffd973 msgid "" "Text extraction now includes glyphs that overlap with clip rect; " "previously they were included only if they were entirely contained within" " the clip rect." msgstr "" #: ../../../changes.txt:1171 3c30c3109974444198cf37e90e8ecabb msgid "" "**Fixed** `#1763 `_: " "Interactive(smartform) form PDF calculation not working in pymupdf" msgstr "" #: ../../../changes.txt:1172 af42fd504f0640239d81c483794b7e87 msgid "" "**Fixed** `#1995 `_: " "RuntimeError: image is too high for a long paged pdf file when trying" msgstr "" #: ../../../changes.txt:1173 c1d1a1930cec45f3aeb64999517485da msgid "" "**Fixed** `#2093 `_: " "Image in pdf changes color after applying redactions" msgstr "" #: ../../../changes.txt:1174 44f1654607db4a3a8bea70e0742f243f msgid "" "**Fixed** `#2108 `_: " "Redaction removing more text than expected" msgstr "" #: ../../../changes.txt:1175 13a17730caa849b68c2ae08ecb2ca4d8 msgid "" "**Fixed** `#2141 `_: " "Failed to read JPX header when trying to get blocks" msgstr "" #: ../../../changes.txt:1176 59f63490e3084544a37ad382c51db86f msgid "" "**Fixed** `#2144 `_: " "Replace image throws an error" msgstr "" #: ../../../changes.txt:1177 126c1e66cfb94388a6f083d43390e614 msgid "" "**Fixed** `#2146 `_: " "Wrong Handling of Reference Count of \"None\" Object" msgstr "" #: ../../../changes.txt:1178 c2df8c498e4c4870b10129059c78dc55 msgid "" "**Fixed** `#2161 `_: " "Support adding images as pages directly" msgstr "" #: ../../../changes.txt:1179 fa791f2adef34202b8f713657d47816f msgid "" "**Fixed** `#2168 `_: " "``page.add_highlight_annot(start=pointa, stop=pointb)`` not working" msgstr "" #: ../../../changes.txt:1180 e34fc762c8864c6db478c2a49d9e26ef msgid "" "**Fixed** `#2173 `_: " "Double free of ``Colorspace`` used in ``Pixmap``" msgstr "" #: ../../../changes.txt:1181 18b7a0bf38a14b94a56b1ba2feea09b9 msgid "" "**Fixed** `#2179 `_: " "Incorrect documentation for ``pixmap.tint_with()``" msgstr "" #: ../../../changes.txt:1182 30fdc624e4da4b0da0d438177b35bb4d msgid "" "**Fixed** `#2208 `_: " "Pushbutton widget appears as check box" msgstr "" #: ../../../changes.txt:1183 4d209898906843229670a95f12041360 msgid "" "**Fixed** `#2210 `_: " "``apply_redactions()`` move pdf text to right after redaction" msgstr "" #: ../../../changes.txt:1184 e6423ce2ee3e42cd842814a3ea98cae3 msgid "" "**Fixed** `#2220 `_: " "``Page.delete_image()`` | object has no attribute ``is_image``" msgstr "" #: ../../../changes.txt:1185 c6210c2a77804a929b68c35607fa6823 msgid "" "**Fixed** `#2228 `_: open" " some pdf cost too much time" msgstr "" #: ../../../changes.txt:1186 b599a24386c74a8c913ae912d614557a msgid "" "**Fixed** `#2238 `_: Bug " "- can not extract data from file in the newest version 1.21.1" msgstr "" #: ../../../changes.txt:1187 b350fda19a5149f5848f62509b82c19a msgid "" "**Fixed** `#2242 `_: " "Python quits silently in ``Story.element_positions()`` if callback " "function prototype is wrong" msgstr "" #: ../../../changes.txt:1188 e6dc566181194da487883bc82530e4c5 msgid "" "**Fixed** `#2246 `_: " "TextWriter write text in a wrong position" msgstr "" #: ../../../changes.txt:1189 3a1d2b5a77714081819e4147e4876ed9 msgid "" "**Fixed** `#2248 `_: " "After redacting the content, the position of the remaining text changes" msgstr "" #: ../../../changes.txt:1190 be48ed21d0f44f6dba17fab6201c8b78 msgid "" "**Fixed** `#2250 `_: " "docs: unclear or broken link in page.rst" msgstr "" #: ../../../changes.txt:1191 1f64252d8b684958a8360570bc1b540a msgid "" "**Fixed** `#2251 `_: " "mupdf_display_errors does not apply to Pixmap when loading broken image" msgstr "" #: ../../../changes.txt:1192 e8ac54952809456694e4b366c0992b6d msgid "" "**Fixed** `#2270 `_: " "``Annot.get_text(\"words\")`` - doesn't return the first line of words" msgstr "" #: ../../../changes.txt:1193 982ad8c99b6f4f739e357ee11cd3b514 msgid "" "**Fixed** `#2275 `_: " "insert_image: document that rotations are counterclockwise" msgstr "" #: ../../../changes.txt:1194 eb8b181a15924a07abee72fea8a50ce9 msgid "" "**Fixed** `#2278 `_: Can " "not make widget (checkbox) to read-only by adding flags " "PDF_FIELD_IS_READ_ONLY" msgstr "" #: ../../../changes.txt:1195 2dd5e761dcb94cde9a62d9e95e521f8a msgid "" "**Fixed** `#2290 `_: " "Different image format/data from Page.get_text(\"dict\") and " "Fitz.get_page_images()" msgstr "" #: ../../../changes.txt:1196 b626d2a058c1457bb8fc7b175049d787 msgid "" "**Fixed** `#2293 `_: 68 " "failed tests when installing from sdist on my box" msgstr "" #: ../../../changes.txt:1197 c7c26b4cf78644b98a99810e21c743c5 msgid "" "**Fixed** `#2300 `_: Too " "much recursion in tree (parents), makes program terminate" msgstr "" #: ../../../changes.txt:1198 53cf50d333db4541900b708daa262c2d msgid "" "**Fixed** `#2322 `_: " "add_highlight_annot using clip generates \"A Number is Out of Range\" " "error in PDF" msgstr "" #: ../../../changes.txt:1202 dc34fa0179bf4c0097c613d4e4d7cd5d msgid "" "Add key \"/AS (Yes)\" to the underlying annot object of a selected button" " form field." msgstr "" #: ../../../changes.txt:1204 851dc87410c04af3811c1fce6e46d473 msgid "" "Remove unused ``Document`` methods ``has_xref_streams()`` and " "``has_old_style_xrefs()`` as MuPDF equivalents have been removed." msgstr "" #: ../../../changes.txt:1207 85d63fb357cc4ae6843661251e81671d msgid "" "Add new ``Document`` methods and properties for getting/setting " "``/PageMode``, ``/PageLayout`` and ``/MarkInfo``." msgstr "" #: ../../../changes.txt:1210 4692f2e3d07246f4b715a11b16c41826 msgid "" "New ``Document`` property ``version_count``, which contains the number of" " incremental saves plus one." msgstr "" #: ../../../changes.txt:1213 35dcac5f24064e0aa4e37ed607d7ee66 msgid "" "New ``Document`` property ``is_fast_webaccess`` which tells whether the " "document is linearized." msgstr "" #: ../../../changes.txt:1216 123a5e07f4e14c818cdcd4df6eb3afee msgid "``DocumentWriter`` is now a context manager." msgstr "" #: ../../../changes.txt:1218 78db04ba2a9c48b7ad95cf5a7935dbd9 msgid "Add support for ``Pixmap`` JPEG output." msgstr "" #: ../../../changes.txt:1220 75aea400570e4b6e9fec59457f4f883e msgid "Add support for drawing rectangles with rounded corners." msgstr "" #: ../../../changes.txt:1222 8f7ef5836f6341ec93a07f437355992f msgid "``get_drawings()``: added optional ``extended`` arg." msgstr "" #: ../../../changes.txt:1224 e60534dd491e4153a778b53b862c3666 msgid "" "Fixed issue where trace devices' state was not being initialised " "correctly; data returned from things like ``fitz.Page.get_texttrace()`` " "might be slightly altered, e.g. ``linewidth`` values." msgstr "" #: ../../../changes.txt:1228 5ce1cdb70dd7438d9abe42cb5886dddc msgid "" "Output warning to ``stderr`` if it looks like we are being used with " "current directory containing an invalid ``fitz/`` directory, because this" " can break import of ``fitz`` module. For example this happens if one " "attempts to use ``fitz`` when current directory is a PyMuPDF checkout." msgstr "" #: ../../../changes.txt:1234 ../../../changes.txt:1289 #: 349693fd237b4cbc8a22aa6cf3da10f1 8656870c12324ba69e9770b2a5f4fad6 msgid "Documentation:" msgstr "" #: ../../../changes.txt:1236 d223e4e942aa4b40ae6748f3f806de5d msgid "General rework:" msgstr "" #: ../../../changes.txt:1238 f085940fb9eb4248aa37862aa5ee511f msgid "Introduces a new home page and new table of contents." msgstr "" #: ../../../changes.txt:1239 7d45f07d7c9f45d085714f462f775464 msgid "Structural update to include new About section." msgstr "" #: ../../../changes.txt:1240 fbd4e460a3094b4e9f3cbe8bdb120960 msgid "Comparison & performance graphing." msgstr "" #: ../../../changes.txt:1241 42f77bb0503d48488766f5fdb4d19c15 msgid "Includes performance methodology in appendix." msgstr "" #: ../../../changes.txt:1242 3bc9a3e24e0249a7a103014e58b0cfe0 msgid "Updates conf.py to understand single back-ticks as code." msgstr "" #: ../../../changes.txt:1243 a3e9a116b3fb453fa81fe3081ca9ac28 msgid "Converts double back-ticks to single back-ticks." msgstr "" #: ../../../changes.txt:1244 dc12d40a4c6148f6b2c2740f969fe028 msgid "Removes redundant files." msgstr "" #: ../../../changes.txt:1246 4b1314b91c0c4a57afc180019e7fcf7f msgid "Improve ``insert_file()`` documentation." msgstr "" #: ../../../changes.txt:1248 d4504863060147358071d6130ed1d42c msgid "``get_bboxlog()``: aded optional ``layers`` to ``get_bboxlog()``." msgstr "" #: ../../../changes.txt:1249 c11f7f0d2dab4b70968cca0abf587247 msgid "" "``Page.get_texttrace()``: add new dictionary key ``layer``, name of " "Optional Content Group." msgstr "" #: ../../../changes.txt:1251 202373f80f8d415a95fc9f1ab5c7f3c6 msgid "Mention use of Python venv in installation documentation." msgstr "" #: ../../../changes.txt:1253 b7d408d9e1624b44b165a77a64070262 msgid "Added missing fix for #2057 to release 1.21.1's changelog." msgstr "" #: ../../../changes.txt:1255 e6cde05edeef4042a0657f838649a63c msgid "Fixes many links to the PyMuPDF-Utilities repo scripts." msgstr "" #: ../../../changes.txt:1257 038857900256474c9fded24cb273f8b5 msgid "Avoid duplication of ``changes.txt`` and ``docs/changes.rst``." msgstr "" #: ../../../changes.txt:1259 e343ebb10ae64a2baebc475af2998387 msgid "Build" msgstr "" #: ../../../changes.txt:1261 70564fcedaa2459bbccc68bc3d893e47 msgid "Added ``pyproject.toml`` file to improve builds using pip etc." msgstr "" #: ../../../changes.txt:1265 b1ea3fa1f44849439039e1a63d88a6e4 msgid "**Changes in Version 1.21.1 (2022-12-13)**" msgstr "" #: ../../../changes.txt:1267 92d79ae3bac04eae98a0a5093fe8273d msgid "This release uses ``MuPDF-1.21.1``." msgstr "" #: ../../../changes.txt:1271 3276e784b07a47648e6c6390b6cd3266 msgid "" "**Fixed** `#2110 `_: " "Fully embedded font is extracted only partially if it occupies more than " "one object" msgstr "" #: ../../../changes.txt:1272 950a39d02c9a4c8b8fa42d3ac1ac9e37 msgid "" "**Fixed** `#2094 `_: " "Rectangle Detection Logic" msgstr "" #: ../../../changes.txt:1273 2f5a46c0803d4b5a9cbbacd71100b204 msgid "" "**Fixed** `#2088 `_: " "Destination point not set for named links in toc" msgstr "" #: ../../../changes.txt:1274 97e2df4608364a7782f5c3a2e5b51f8d msgid "" "**Fixed** `#2087 `_: " "Image with Filter \"[/FlateDecode/JPXDecode]\" not extracted" msgstr "" #: ../../../changes.txt:1275 2168171e471542ada426f030b803e71d msgid "" "**Fixed** `#2086 `_: " "Document.save() owner_pw & user_pw has buffer overflow bug" msgstr "" #: ../../../changes.txt:1276 a23066f8e8654302b8b78db3816529c8 msgid "" "**Fixed** `#2076 `_: " "Segfault in fitz.py" msgstr "" #: ../../../changes.txt:1277 13898161176b4a65990185478cb80a77 msgid "" "**Fixed** `#2057 `_: " "Document.save garbage parameter not working in PyMuPDF 1.21.0" msgstr "" #: ../../../changes.txt:1278 9d7d27f10c4946fd8036c536b9c192e1 msgid "" "**Fixed** `#2051 `_: " "Missing DPI Parameter" msgstr "" #: ../../../changes.txt:1279 f53e894aea1048b0b6ea80c4ea26c7c5 msgid "" "**Fixed** `#2048 `_: " "Invalid size of TextPage and bbox with newest version 1.21.0" msgstr "" #: ../../../changes.txt:1280 f969ab18933245a593f97d97ee9ecbf6 msgid "" "**Fixed** `#2045 `_: " "SystemError: returned a result " "with an error set" msgstr "" #: ../../../changes.txt:1281 1f16bd21e2a8445d9592684ec7ecca51 msgid "" "**Fixed** `#2039 `_: " "1.21.0 fails to build against system libmupdf" msgstr "" #: ../../../changes.txt:1282 3c45097d33ee470a9481317257d311f7 msgid "" "**Fixed** `#2036 `_: " "Archive::Archive defined twice" msgstr "" #: ../../../changes.txt:1284 6533ecdf4d754fe7a4443b4a1b02bb72 msgid "Other" msgstr "" #: ../../../changes.txt:1286 9b576f8a8de143e3b3b9de9b6368ca18 msgid "Swallow \"&zoom=nan\" in link uri strings." msgstr "" #: ../../../changes.txt:1287 f70b7dad981d4d249124939b4f1aaaee msgid "" "Add new Page utility methods ``Page.replace_image()`` and " "``Page.delete_image()``." msgstr "" #: ../../../changes.txt:1291 4f89ab38e60b43ea987d07e27961bb7d msgid "" "`#2040 `_: Added note " "about test failure with non-default build of MuPDF, to " "``tests/README.md``." msgstr "" #: ../../../changes.txt:1292 558ff70ae6224480af3e735540cac2e3 msgid "" "`#2037 `_: In " "``docs/installation.rst``, mention incompatibility with chocolatey.org on" " Windows." msgstr "" #: ../../../changes.txt:1293 397d721cec884107af23df22baffdcb0 msgid "" "`#2061 `_: Fixed " "description of ``Annot.file_info``." msgstr "" #: ../../../changes.txt:1294 c6511b374b8b434caf2413b84c80813d msgid "" "`#2065 `_: Show how to " "insert internal PDF link." msgstr "" #: ../../../changes.txt:1295 6a5f0c4f501b4afd92cfe917137a0758 msgid "Improved description of building from source without an sdist." msgstr "" #: ../../../changes.txt:1296 67690117d7be41879e6fa66746eefeb1 msgid "Added information about running tests." msgstr "" #: ../../../changes.txt:1297 49b3f25fb63147c3b4c90a255b9ef648 msgid "" "`#2084 `_: Fixed broken " "link to PyMuPDF-Utilities." msgstr "" #: ../../../changes.txt:1300 575f368bd94e401b9952c6d42b41700d msgid "**Changes in Version 1.21.0 (2022-11-8)**" msgstr "" #: ../../../changes.txt:1302 673df835349745e7865e5b7f56344a60 msgid "This release uses ``MuPDF-1.21.0``." msgstr "" #: ../../../changes.txt:1304 17bf58b166d24d168b6139c6e77d3a91 msgid "New feature: Stories." msgstr "" #: ../../../changes.txt:1306 a17fc35b1e5e48ab82510fb0a263af42 msgid "Added wheels for Python-3.11." msgstr "" #: ../../../changes.txt:1310 15df913e178e4f6781add4fa251aec7f msgid "" "**Fixed** `#1701 `_: " "Broken custom image insertion." msgstr "" #: ../../../changes.txt:1311 2e7ca2e90f944214af8d8a773028ae37 msgid "" "**Fixed** `#1854 `_: " "`Document.delete_pages()` declines keyword arguments." msgstr "" #: ../../../changes.txt:1312 346bb412bfad447b83a0e599f7336a01 msgid "" "**Fixed** `#1868 `_: " "Access Violation Error at `page.apply_redactions()`." msgstr "" #: ../../../changes.txt:1313 9284226d16f4445cb9f22941a7e04dab msgid "" "**Fixed** `#1909 `_: " "Adding text with `fontname=\"Helvetica\"` can silently fail." msgstr "" #: ../../../changes.txt:1314 c11ff004104f4de1b6e767abc09ba8c4 msgid "" "**Fixed** `#1913 `_: " "`draw_rect()`: does not respect width if color is not specified." msgstr "" #: ../../../changes.txt:1315 0f7b31ba423c48a185bae37f8c31c421 msgid "" "**Fixed** `#1917 `_: " "`subset_fonts()`: make it possible to silence the stdout." msgstr "" #: ../../../changes.txt:1316 a785e9b369404f42b2a872e50d17133b msgid "" "**Fixed** `#1936 `_: " "Rectangle detection can be incorrect producing wrong output." msgstr "" #: ../../../changes.txt:1317 08fa2dec869748e4aa0d6b44cb796106 msgid "" "**Fixed** `#1945 `_: " "Segmentation fault when saving with `clean=True`." msgstr "" #: ../../../changes.txt:1318 3f1f9499ba9540f090c963df0a8cf1c2 msgid "" "**Fixed** `#1965 `_: " "`pdfocr_save()` Hard Crash." msgstr "" #: ../../../changes.txt:1319 e675868f950a47b89b02bdec849ddfaf msgid "" "**Fixed** `#1971 `_: " "Segmentation fault when using `get_drawings()`." msgstr "" #: ../../../changes.txt:1320 9af37195cb0a40ef94d54604e449326c msgid "" "**Fixed** `#1946 `_: " "`block_no` and `block_type` switched in `get_text()` docs." msgstr "" #: ../../../changes.txt:1321 cad632bb6e5347fdb160df1d5e205e7f msgid "" "**Fixed** `#2013 `_: " "AttributeError: 'Widget' object has no attribute '_annot' in delete " "widget." msgstr "" #: ../../../changes.txt:1323 c6abbf7c5af64afe8a6d1294f4458a5b msgid "Misc changes to core code:" msgstr "" #: ../../../changes.txt:1325 bcadf404caaf42199adda95adecf0183 msgid "Fixed various compiler warnings and a sequence-point bug." msgstr "" #: ../../../changes.txt:1326 1e7ac8c3fc184879954a671e241386ce msgid "Added support for Memento builds." msgstr "" #: ../../../changes.txt:1327 2d4b0ca48cff409ab625548ad136c9dd msgid "Fixed leaks detected by Memento in test suite." msgstr "" #: ../../../changes.txt:1328 eb361878f2a34aba8443b994d71d171a msgid "Fixed handling of exceptions in set_name() and set_rect()." msgstr "" #: ../../../changes.txt:1329 a57b2a7cb8ee4135a049aa057aa122ab msgid "Allow build with latest MuPDF, for regular testing of PyMuPDF master." msgstr "" #: ../../../changes.txt:1330 94ed6dc32d87489980b579f7731e909a msgid "Cope with new MuPDF exceptions when setting rect for some Annot types." msgstr "" #: ../../../changes.txt:1331 0ddc8291d7994c71af6956edb68bd61f msgid "" "Reduced cosmetic differences between MuPDF's config.h and PyMuPDF's " "_config.h." msgstr "" #: ../../../changes.txt:1332 ca97b466331943fbaf5357ca77d105ff msgid "Cope with various changes to MuPDF API." msgstr "" #: ../../../changes.txt:1336 ebefa94d051a413c87fa9a3656dcceda msgid "Fixed various broken links and typos in docs." msgstr "" #: ../../../changes.txt:1337 425cc8bc1fcf4fdaac66e442ee2e5513 msgid "Mention install of `swig-python` on MacOS for #875." msgstr "" #: ../../../changes.txt:1338 7073906d3d64408c836b7d3de96519aa msgid "Added (untested) wheels for macos-arm64." msgstr "" #: ../../../changes.txt:1343 30436208e7954516bb195ab1ea1ed488 msgid "**Changes in Version 1.20.2**" msgstr "" #: ../../../changes.txt:1345 ccf93339cf7245b2820d527e6e093f20 msgid "This release uses ``MuPDF-1.20.3``." msgstr "" #: ../../../changes.txt:1347 e392d8912dbc4a8596ade19a8161d639 msgid "" "**Fixed** `#1787 `_. Fix " "linking issues on Unix systems." msgstr "" #: ../../../changes.txt:1350 4d180eaf011b4a9fbb8c216aa4a505ec msgid "" "**Fixed** `#1824 `_. " "SegFault when applying redactions overlapping a transparent image. (Fixed" " in ``MuPDF-1.20.3``.)" msgstr "" #: ../../../changes.txt:1354 6cb696c83bfc47bbb07c549f1a1f0267 msgid "Improvements to documentation:" msgstr "" #: ../../../changes.txt:1356 0ad4a7a79fe54f24869d872723b404e8 msgid "" "Improved information about building from source in " "``docs/installation.rst``." msgstr "" #: ../../../changes.txt:1357 81117814315f48efbc87955f9a7ef58d msgid "Clarified memory allocation setting ``JM_MEMORY` in ``docs/tools.rst``." msgstr "" #: ../../../changes.txt:1358 b488d65744d743c4b1333dacf311664c msgid "Fixed link to PDF Reference manual in ``docs/app3.rst``." msgstr "" #: ../../../changes.txt:1359 472c19e0e68c4c109bde0bb001020dac msgid "Fixed building of html documentation on OpenBSD." msgstr "" #: ../../../changes.txt:1360 c99ee292bc6c46c686c3cad285701923 msgid "Moved old ``docs/faq.rst`` into separate ``docs/recipes-*`` files." msgstr "" #: ../../../changes.txt:1362 5fed1f452c8f47549032bcab7853bdde msgid "Removed some unused files and directories:" msgstr "" #: ../../../changes.txt:1364 7c310414b4384898a324f2841f54decd msgid "``installation/``" msgstr "" #: ../../../changes.txt:1365 5e5ae4637cb640d19cd1b1a5305c90d8 msgid "``docs/wheelnames.txt``" msgstr "" #: ../../../changes.txt:1368 f4d58a60a4f946a69ea863d1d7d30c62 msgid "**Changes in Version 1.20.1**" msgstr "" #: ../../../changes.txt:1370 23e14128203842beadfff33baa6792ae msgid "" "**Fixed** `#1724 `_. Fix " "for building on FreeBSD." msgstr "" #: ../../../changes.txt:1373 ca0919e2a72b45eca23b6ffabb073f2d msgid "" "**Fixed** `#1771 `_. " "`linkDest()` had a broken call to `re.match()`, introduced in 1.20.0." msgstr "" #: ../../../changes.txt:1376 1acfe9e0464545878372d78884eac896 msgid "" "**Fixed** `#1751 `_. " "`get_drawings()` and `get_cdrawings()` previously always returned with " "`closePath=False`." msgstr "" #: ../../../changes.txt:1379 b1c751d4d6b249f7b1603c75f54e6948 msgid "" "**Fixed** `#1645 `_. " "Default FreeText annotation text color is now black." msgstr "" #: ../../../changes.txt:1382 f7bb3767b4b546a8921290a547e0cf50 msgid "Improvements to sphinx-generated documentation:" msgstr "" #: ../../../changes.txt:1384 a5a5cb7bebe241279daf65c0700e6d10 msgid "Use readthedocs theme with enhancements." msgstr "" #: ../../../changes.txt:1385 d06c9bab26ef40449327e0f849c88152 msgid "Renamed the `.txt` files to have `.rst` suffixes." msgstr "" #: ../../../changes.txt:1389 7af006a5c3a84b03914bc4dcb23055ef msgid "**Changes in Version 1.20.0**" msgstr "" #: ../../../changes.txt:1391 c5bccf72f35e4edf807800d879e696ff msgid "This release uses ``MuPDF-1.20.0``, released 2022-06-15." msgstr "" #: ../../../changes.txt:1393 68d1b02687f849fab3365ec98f0308d4 msgid "" "Cope with new MuPDF link uri format, changed from ``#,,`` " "to ``#page=&zoom=,,``." msgstr "" #: ../../../changes.txt:1395 d17d731c792044cfa0b4bc0486f4c5a8 msgid "" "In ``tests/test_insertpdf.py``, use new reference output " "``joined-1.20.pdf``. We also check that new output values are " "approximately the same as the old ones." msgstr "" #: ../../../changes.txt:1397 96cbfad0c6cb404db15d7aa8d13c5f65 msgid "" "**Fixed** `#1738 `_. Leak" " of `pdf_graft_map`. Also fixed a SEGV issue that this seemed to expose, " "caused by incorrect freeing of underlying fz_document." msgstr "" #: ../../../changes.txt:1400 a1460a0ec164432ebbe35656a0272c02 msgid "" "**Fixed** `#1733 `_. " "Fixed ownership of `Annotation.get_pixmap()`." msgstr "" #: ../../../changes.txt:1402 1fb8672935f346f18177065d4a876d9b msgid "Changes to build/release process:" msgstr "" #: ../../../changes.txt:1404 d1f37ff28e754e3891af3658a6d2c4f7 msgid "" "If pip builds from source because an appropriate wheel is not available, " "we no longer require MuPDF to be pre-installed. Instead the required " "MuPDF source is embedded in the sdist and automatically built into " "PyMuPDF." msgstr "" #: ../../../changes.txt:1406 c6743d7a837547bfbd14121f922f188b msgid "" "Various changes to ``setup.py`` to download the required MuPDF release as" " required. See comments at start of setup.py for details." msgstr "" #: ../../../changes.txt:1408 2deed3b348e44634a95976500ca61ff1 msgid "" "Added ``.github/workflows/build_wheels.yml`` to control building of " "wheels on Github." msgstr "" #: ../../../changes.txt:1412 bfd2558d12c24e4ba3c0aee0edff3507 msgid "**Changes in Version 1.19.6**" msgstr "" #: ../../../changes.txt:1414 e9b569d9e70b42518f53a71536bd4f28 msgid "" "**Fixed** `#1620 `_. The " ":ref:`TextPage` created by :meth:`Page.get_textpage` will now be freed " "correctly (removed memory leak)." msgstr "" #: ../../../changes.txt:1415 058f760c8ce740e48a627eb2aee78a56 msgid "" "**Fixed** `#1601 `_. " "Document open errors should now be more concise and easier to interpret. " "In the course of this, two PyMuPDF-specific Python exceptions have been " "**added:**" msgstr "" #: ../../../changes.txt:1417 15ef5b12f13b4750a9571bf258d1dd43 msgid "" "``EmptyFileError`` -- raised when trying to create a :ref:`Document` " "(``fitz.open()``) from an empty file or zero-length memory." msgstr "" #: ../../../changes.txt:1418 f1c391fa54a1405ba4a28d352d108404 msgid "" "``FileDataError`` -- raised when MuPDF encounters irrecoverable document " "structure issues." msgstr "" #: ../../../changes.txt:1420 56b2878654114138ac79fad54cecad1b msgid "**Added** :meth:`Page.load_widget` given a PDF field's xref." msgstr "" #: ../../../changes.txt:1422 c0ece2db951a48efac1849cd7074f28e msgid "" "**Added** Dictionary :attr:`pdfcolor` which provide the about 500 colors " "defined as PDF color values with the lower case color name as key." msgstr "" #: ../../../changes.txt:1424 f9628cc364244bf3a41e4b3a8c2d40c6 msgid "" "**Added** algebra functionality to the :ref:`Quad` class. These objects " "can now also be added and subtracted among themselves, and be multiplied " "by numbers and matrices." msgstr "" #: ../../../changes.txt:1426 b66574a55e8d41d7accf7dd33f070642 msgid "" "**Added** new constants defining the default text extraction flags for " "more comfortable handling. Their naming convention is like " ":data:`TEXTFLAGS_WORDS` for ``page.get_text(\"words\")``. See " ":ref:`text_extraction_flags`." msgstr "" #: ../../../changes.txt:1428 8f6f15bc876b4df68cda93624b20a4ea msgid "" "**Changed** :meth:`Page.annots` and :meth:`Page.widgets` to detect and " "prevent reloading the page (illegally) inside the iterator loops via " ":meth:`Document.reload_page`. Doing this brings down the interpretor. " "Documented clean ways to do annotation and widget mass updates within " "properly designed loops." msgstr "" #: ../../../changes.txt:1430 287feb6044a2402d9651e9690ee78512 msgid "" "**Changed** several internal utility functions to become standalone " "(\"SWIG inline\") as opposed to be part of the :ref:`Tools` class. This, " "among other things, increases the performance of geometry object " "creation." msgstr "" #: ../../../changes.txt:1432 ec2b054b07e449debcbc15b510c35e5e msgid "" "**Changed** :meth:`Document.update_stream` to always accept stream " "updates - whether or not the dictionary object behind the xref already is" " a stream. Thus the former ``new`` parameter is now ignored and will be " "removed in v1.20.0." msgstr "" #: ../../../changes.txt:1437 89534acd0d50489793f84d93defb75d9 msgid "**Changes in Version 1.19.5**" msgstr "" #: ../../../changes.txt:1439 15c312e55ff84d4990200b73b5ab7088 msgid "" "**Fixed** `#1518 `_. A " "limited \"fix\": in some cases, rectangles and quadrupels were not " "correctly encoded to support re-drawing by :ref:`Shape`." msgstr "" #: ../../../changes.txt:1441 4ba09954c0b641a2926f1026d979da09 msgid "" "**Fixed** `#1521 `_. This" " had the same ultimate reason behind issue #1510." msgstr "" #: ../../../changes.txt:1443 dde5fa3810eb4a82b0aa2e61d8cf863b msgid "" "**Fixed** `#1513 `_. Some" " Optional Content functions did not support non-ASCII characters." msgstr "" #: ../../../changes.txt:1445 3d2e4740ec0b41b4aaad51d97655f8e9 msgid "" "**Fixed** `#1510 `_. " "Support more soft-mask image subtypes." msgstr "" #: ../../../changes.txt:1447 e79ebb09f5ea405a8ed23fbed6aa913a msgid "" "**Fixed** `#1507 `_. " "Immunize against items in the outlines chain, that are ``\"null\"`` " "objects." msgstr "" #: ../../../changes.txt:1449 cd737a2d921f4ee6929d54d756b3ca78 msgid "" "**Fixed** re-opened `#1417 " "`_. (\"too many open " "files\"). This was due to insufficient calls to MuPDF's " "``fz_drop_document()``. This also fixes `#1550 " "`_." msgstr "" #: ../../../changes.txt:1451 10995303e588406895c48eaa98334bdd msgid "" "**Fixed** several undocumented issues in relation to incorrectly setting " "the text span origin :data:`point_like`." msgstr "" #: ../../../changes.txt:1453 c395df4c98a441958d507eaf1a55d6de msgid "" "**Fixed** undocumented error computing the character bbox in method " ":meth:`Page.get_texttrace` when text is **flipped** (as opposed to just " "rotated)." msgstr "" #: ../../../changes.txt:1455 d82b9d2a17b64ddb90e236a9e42f1420 msgid "" "**Added** items to the dictionary returned by :meth:`image_properties`: " "``orientation`` and ``transform`` report the natural image orientation " "(EXIF data)." msgstr "" #: ../../../changes.txt:1457 30117ed837094556807bb67193004816 msgid "" "**Added** method :meth:`Document.xref_copy`. It will make a given target " "PDF object an exact copy of a source object." msgstr "" #: ../../../changes.txt:1462 c6cda05060f04f1080faf3f5125286a2 msgid "**Changes in Version 1.19.4**" msgstr "" #: ../../../changes.txt:1465 b2517533bd4f4096af88ca08d40edf65 msgid "" "**Fixed** `#1505 `_. " "Immunize against circular outline items." msgstr "" #: ../../../changes.txt:1467 a0d1479b30084068bad49749240fac45 msgid "" "**Fixed** `#1484 `_. " "Correct CropBox coordinates are now returned in all situations." msgstr "" #: ../../../changes.txt:1469 cf4a7ec57222449f974ef9027151cf36 msgid "**Fixed** `#1479 `_." msgstr "" #: ../../../changes.txt:1471 89d3111a652d4fe8809050d5c921e6ea msgid "" "**Fixed** `#1474 `_. " "TextPage objects are now properly deleted again." msgstr "" #: ../../../changes.txt:1473 ae6c28903fab4ede991daa53cbb1c7b1 msgid "" "**Added** :ref:`Page` methods and attributes for PDF ``/ArtBox``, " "``/BleedBox``, ``/TrimBox``." msgstr "" #: ../../../changes.txt:1475 d88880cbc50841bfa7c2c78158e9dd46 msgid "" "**Added** global attribute :attr:`TESSDATA_PREFIX` for easy checking of " "OCR support." msgstr "" #: ../../../changes.txt:1477 2be427b5e13c407995bd4f89c694dada msgid "" "**Changed** :meth:`Document.xref_set_key` such that dictionary keys will " "physically be removed if set to value ``\"null\"``." msgstr "" #: ../../../changes.txt:1479 2a9573afceb049e6b671e0432bd529be msgid "" "**Changed** :meth:`Document.extract_font` to optionally return a " "dictionary (instead of a tuple)." msgstr "" #: ../../../changes.txt:1483 4f57093fd45345639ada517bdde872fb msgid "**Changes in Version 1.19.3**" msgstr "" #: ../../../changes.txt:1485 18dfed128cbf40c38cad3ea42fd28a79 msgid "" "This patch version implements minor improvements for :ref:`Pixmap` and " "also some important fixes." msgstr "" #: ../../../changes.txt:1487 1296ee8815a942b6b05e865c50765b3b msgid "" "**Fixed** `#1351 `_." " Reverted code that introduced the memory growth in v1.18.15." msgstr "" #: ../../../changes.txt:1489 3fb4097c0d9c45d884b47f003b15344b msgid "" "**Fixed** `#1417 `_." " Developped circumvention for growth of open file handles using " ":meth:`Document.insert_pdf`." msgstr "" #: ../../../changes.txt:1491 770e6646f6e74afcb2d4d3dcf9c81366 msgid "" "**Fixed** `#1418 `_." " Developped circumvention for memory growth using " ":meth:`Document.insert_pdf`." msgstr "" #: ../../../changes.txt:1493 9689f4e9544c4246b896448b2322a17e msgid "" "**Fixed** `#1430 `_." " Developped circumvention for mass pixmap generations of document pages." msgstr "" #: ../../../changes.txt:1495 056b81d61e89402fb676e8fa87a24efc msgid "" "**Fixed** `#1433 `_." " Solves a bbox error for some Type 3 font in PyMuPDF text processing." msgstr "" #: ../../../changes.txt:1497 d99a708337c94a539ed17294cc959f0d msgid "" "**Added** :meth:`Pixmap.color_topusage` to determine the share of the " "most frequently used color. Solves `#1397 " "`_." msgstr "" #: ../../../changes.txt:1499 72e87358c82b4604b24eac87ac4b4a0f msgid "" "**Added** :meth:`Pixmap.warp` which makes a new pixmap from a given " "arbitrary convex quad inside the pixmap." msgstr "" #: ../../../changes.txt:1501 82fcb8b930d84658abdd8396247c78de msgid "" "**Added** :attr:`Annot.irt_xref` and :meth:`Annot.set_irt_xref` to " "inquire or set the `/IRT` (\"In Responde To\") property of an annotation." " Implements `#1450 " "`_." msgstr "" #: ../../../changes.txt:1503 9d4d189ab5d14fb799a720844599254d msgid "" "**Added** :meth:`Rect.torect` and :meth:`IRect.torect` which compute a " "matrix that transforms to a given other rectangle." msgstr "" #: ../../../changes.txt:1505 4efbe89603de46a59e1fac42a1a66f6a msgid "" "**Changed** :meth:`Pixmap.color_count` to also return the count of each " "color." msgstr "" #: ../../../changes.txt:1506 d98f12929cce4021be5db663b7606192 msgid "" "**Changed** :meth:`Page.get_texttrace` to also return correct span and " "character bboxes if ``span[\"dir\"] != (1, 0)``." msgstr "" #: ../../../changes.txt:1510 d093ad5f399047259588e551285fd994 msgid "**Changes in Version 1.19.2**" msgstr "" #: ../../../changes.txt:1512 2de7c1c23ba441aa92a089ee02a4635b msgid "" "This patch version implements minor improvements for " ":meth:`Page.get_drawings` and also some important fixes." msgstr "" #: ../../../changes.txt:1514 79ddabf469564139b54099c248dbd2b3 msgid "" "**Fixed** `#1388 `_." " Fixed intermittent memory corruption when insert or updating " "annotations." msgstr "" #: ../../../changes.txt:1516 3f76bb3657c5462ba1ebcdd58bdd3116 msgid "" "**Fixed** `#1375 `_." " Inconsistencies between line numbers as returned by the \"words\" and " "the \"dict\" options of :meth:`Page.get_text` have been corrected." msgstr "" #: ../../../changes.txt:1518 da3c5e5c691b4bf89bac0ae41797880b msgid "" "**Fixed** `#1364 `_. The " "check for being a ``\"rawdict\"`` span in :meth:`recover_span_quad` now " "works correctly." msgstr "" #: ../../../changes.txt:1520 63807063fb894a7e983829cafe298fe5 msgid "" "**Fixed** `#1342 `_. " "Corrected the check for rectangle infiniteness in " ":meth:`Page.show_pdf_page`." msgstr "" #: ../../../changes.txt:1522 517a112dc4114acab7f4f5c1b91d6fa8 msgid "" "**Changed** :meth:`Page.get_drawings`, :meth:`Page.get_cdrawings` to " "return an indicator on the area orientation covered by a rectangle. This " "implements `#1355 `_. " "Also, the recognition rate for rectangles and quads has been " "significantly improved." msgstr "" #: ../../../changes.txt:1524 dcddfb46c54741fd8eda15a642648605 msgid "" "**Changed** all text search and extraction methods to set the new " "``flags`` option ``TEXT_MEDIABOX_CLIP`` to ON by default. That bit causes" " the automatic suppression of all characters that are completely outside " "a page's mediabox (in as far as that notion is supported for a document " "type). This eliminates the need for using ``clip=page.rect`` or similar " "for omitting text outside the visible area." msgstr "" #: ../../../changes.txt:1526 f1b34d7957c44c178eece4e7a6585117 msgid "" "**Added** parameter ``\"dpi\"`` to :meth:`Page.get_pixmap` and " ":meth:`Annot.get_pixmap`. When given, parameter ``\"matrix\"`` is " "ignored, and a :ref:`Pixmap` with the desired dots per inch is created." msgstr "" #: ../../../changes.txt:1528 1317c20bf9004475b5d9e6eff7531e6d msgid "" "**Added** attributes :attr:`Pixmap.is_monochrome` and " ":attr:`Pixmap.is_unicolor` allowing fast checks of pixmap properties. " "Addresses `#1397 `_." msgstr "" #: ../../../changes.txt:1530 2f34d297248a424d9e4bd6390d4abd59 msgid "" "**Added** method :meth:`Pixmap.color_count` to determine the unique " "colors in the pixmap." msgstr "" #: ../../../changes.txt:1532 0eb08456d2ad4e70b01c79a2c2394012 msgid "" "**Added** boolean parameter ``\"compress\"`` to PDF document method " ":meth:`Document.update_stream`. Addresses / enables solution for `#1408 " "`_." msgstr "" #: ../../../changes.txt:1536 e801177ed48145dda1d2c1383f2b0ffc msgid "**Changes in Version 1.19.1**" msgstr "" #: ../../../changes.txt:1538 57c5fb9887f847ba933543ad12d8a479 msgid "" "This is the first patch version to support MuPDF v1.19.0. Apart from one " "bug fix, it includes important improvements for OCR support and the " "option to **sort extracted text** to the standard reading order \"from " "top-left to bottom-right\"." msgstr "" #: ../../../changes.txt:1540 650b810759ce426fb04200ced720f29f msgid "" "**Fixed** `#1328 `_. " "\"words\" text extraction again returns correct ``(x0, y0)`` coordinates." msgstr "" #: ../../../changes.txt:1542 3ba1314a889d44d78998ee7e4000e490 msgid "" "**Changed** :meth:`Page.get_textpage_ocr`: it now supports parameter " "``dpi`` to control OCR quality. It is also possible to choose whether the" " **full page** should be OCRed or **only the images displayed** by the " "page." msgstr "" #: ../../../changes.txt:1544 e63faaa903ec48a596466ba7c81be36a msgid "" "**Changed** :meth:`Page.get_drawings` and :meth:`Page.get_cdrawings` to " "automatically convert colors to RGB color tuples. Implements `#1332 " "`_. Similar change " "was applied to :meth:`Page.get_texttrace`." msgstr "" #: ../../../changes.txt:1546 478ae75188fb496dbd68e612249a93be msgid "" "**Changed** :meth:`Page.get_text` to support a parameter ``sort``. If set" " to ``True`` the output is conveniently sorted." msgstr "" #: ../../../changes.txt:1551 1fcee4618b1a4606bc1bb1cb00a3c04c msgid "**Changes in Version 1.19.0**" msgstr "" #: ../../../changes.txt:1553 ddc73ab2354e49519073ae9c706da26e msgid "" "This is the first version supporting MuPDF 1.19.*, published 2021-10-05. " "It introduces many new features compared to the previous version 1.18.*." msgstr "" #: ../../../changes.txt:1555 b350897b3a7d4af6a0a1184d0161e9f5 msgid "" "PyMuPDF has now picked up integrated Tesseract OCR support, which was " "already present in MuPDF v1.18.0." msgstr "" #: ../../../changes.txt:1557 35dd462d0329459bb8788ee6118ce5b5 msgid "" "Supported images can be OCRed via their :ref:`Pixmap` which results in a " "1-page PDF with a text layer." msgstr "" #: ../../../changes.txt:1558 40eb6a6a0deb477f802cfaa332cd816d msgid "" "All supported document pages (i.e. not only PDFs), can be OCRed using " "specialized text extraction methods. The result is a mixture of standard " "and OCR text (depending on which part of the page was deemed to require " "OCRing) that can be searched and extracted without restrictions." msgstr "" #: ../../../changes.txt:1559 734f1859407e4513b2cad5b0b02ac6f4 msgid "" "All this requires an independent installation of Tesseract. MuPDF " "actually (only) needs the location of Tesseract's ``\"tessdata\"`` " "folder, where its language support data are stored. This location must be" " available as environment variable ``TESSDATA_PREFIX``." msgstr "" #: ../../../changes.txt:1561 b0bd5ab69f33429697fd89f94ea87403 msgid "" "A new MuPDF feature is **journalling PDF updates**, which is also " "supported by this PyMuPDF version. Changes may be logged, rolled back or " "replayed, allowing to implement a whole new level of control over PDF " "document integrity -- similar to functions present in modern database " "systems." msgstr "" #: ../../../changes.txt:1563 c3bc9664f319416cbfbd764f183ecaf1 msgid "" "A third feature (unrelated to the new MuPDF version) includes the ability" " to detect when page **objects cover or hide each other**. It is now e.g." " possible to see that text is covered by a drawing or an image." msgstr "" #: ../../../changes.txt:1565 368ec08cb31e489e94e2d8a7e4ee86e4 msgid "" "**Changed** terminology and meaning of important geometry concepts: " "Rectangles are now characterized as *finite*, *valid* or *empty*, while " "the definitions of these terms have also changed. Rectangles specifically" " are now thought of being \"open\": not all corners and sides are " "considered part of the retangle. Please do read the :ref:`Rect` section " "for details." msgstr "" #: ../../../changes.txt:1567 6dd7d23a06ad4f14b2021126e1286e49 msgid "" "**Added** new parameter `\"no_new_id\"` to :meth:`Document.save` / " ":meth:`Document.tobytes` methods. Use it to suppress updating the second " "item of the document ``/ID`` which in PDF indicates that the original " "file has been updated. If the PDF has no ``/ID`` at all yet, then no new " "one will be created either." msgstr "" #: ../../../changes.txt:1569 de9906d677934e3c8dbe4a106dce7c74 msgid "" "**Added** a **journalling facility** for PDF updates. This allows logging" " changes, undoing or redoing them, or saving the journal for later use. " "Refer to :meth:`Document.journal_enable` and friends." msgstr "" #: ../../../changes.txt:1571 c4160924dc184c4b927a1b6297223458 msgid "" "**Added** new :ref:`Pixmap` methods :meth:`Pixmap.pdfocr_save` and " ":meth:`Pixmap.pdfocr_tobytes`, which generate a 1-page PDF containing the" " pixmap as PNG image with OCR text layer." msgstr "" #: ../../../changes.txt:1573 0e3c62d627264d9f8ffce673e0023b81 msgid "" "**Added** :meth:`Page.get_textpage_ocr` which executes optical character " "recognition for the page, then extracts the results and stores them " "together with \"normal\" page content in a :ref:`TextPage`. Use or reuse " "this object in subsequent text extractions and text searches to avoid " "multiple efforts. The existing text search and text extraction methods " "have been extended to support a separately created textpage -- see next " "item." msgstr "" #: ../../../changes.txt:1575 04ef1d300161437ba5b4e28ffed12386 msgid "" "**Added** a new parameter ``textpage`` to text extraction and text search" " methods. This allows reuse of a previously created :ref:`TextPage` and " "thus achieves significant runtime benefits -- which is especially " "important for the new OCR features. But \"normal\" text extractions can " "definitely also benefit." msgstr "" #: ../../../changes.txt:1577 a6d0664ee9d14b07908e08d426ef50e7 msgid "" "**Added** :meth:`Page.get_texttrace`, a technical method delivering low-" "level text character properties. It was present before as a private " "method, but the author felt it now is mature enough to be officially " "available. It specifically includes a \"sequence number\" which indicates" " the page appearance build operation that painted the text." msgstr "" #: ../../../changes.txt:1579 ccb6adfad05549ff96a7d75a2f08de75 msgid "" "**Added** :meth:`Page.get_bboxlog` which delivers the list of rectangles " "of page objects like text, images or drawings. Its significance lies in " "its sequence: rectangles intersecting areas with a lower index are " "covering or hiding them." msgstr "" #: ../../../changes.txt:1581 3edfcd55b842410ab082ab50b80e132f msgid "" "**Changed** methods :meth:`Page.get_drawings` and " ":meth:`Page.get_cdrawings` to include a \"sequence number\" indicating " "the page appearance build operation that created the drawing." msgstr "" #: ../../../changes.txt:1583 d4fd7415a1f44eb0b738d6f5df0af7cb msgid "" "**Fixed** `#1311 `_. " "Field values in comboboxes should now be handled correctly." msgstr "" #: ../../../changes.txt:1584 7733dd257974437aa148b45f6ada6568 msgid "" "**Fixed** `#1290 `_. " "Error was caused by incorrect rectangle emptiness check, which is fixed " "due to new geometry logic of this version." msgstr "" #: ../../../changes.txt:1585 f61c1c44cead4da28d5a0d498a515a7c msgid "" "**Fixed** `#1286 `_. Text" " alignment for redact annotations is working again." msgstr "" #: ../../../changes.txt:1586 bba07d14226e43b498663a99b03b7eb5 msgid "" "**Fixed** `#1287 `_. " "Infinite loop issue for non-Windows systems when applying some redactions" " has been resolved." msgstr "" #: ../../../changes.txt:1587 5324927b491340e983434647e41ce37e msgid "" "**Fixed** `#1284 `_. Text" " layout destruction after applying redactions in some cases has been " "resolved." msgstr "" #: ../../../changes.txt:1591 29ec5f63fdcc4f7b857449ced614ae34 msgid "**Changes in Version 1.18.18 / 1.18.19**" msgstr "" #: ../../../changes.txt:1593 629737c065e9445f96330c435e44d4dc msgid "" "**Fixed** issue `#1266 " "`_. Failure to set " ":attr:`Pixmap.samples` in important cases, was hotfixed in a new version " "1.18.19." msgstr "" #: ../../../changes.txt:1595 0abe968e8c8349d6991a7e4002c7cc03 msgid "" "**Fixed** issue `#1257 " "`_. Removing the read-" "only flag from PDF fields is now possible." msgstr "" #: ../../../changes.txt:1597 d5ee064120c44b55a574eb82a9b65093 msgid "" "**Fixed** issue `#1252 " "`_. Now correctly " "specifying the ``zoom`` value for PDF link annotations." msgstr "" #: ../../../changes.txt:1599 a7183e1808424b69a1a92a0c6c19251d msgid "" "**Fixed** issue `#1244 " "`_. Now correctly " "computing the transform matrix in :meth:`Page.get_image__bbox`." msgstr "" #: ../../../changes.txt:1601 5b909b03e5e84a92b114914838261915 msgid "" "**Fixed** issue `#1241 " "`_. Prevent returning " "artifact characters in :meth:`Page.get_textbox`, which happened in " "certain constellations." msgstr "" #: ../../../changes.txt:1603 76b7202d83754586a167674467627ca6 msgid "" "**Fixed** issue `#1234 " "`_. Avoid creating " "infinite rectangles in corner cases -- :meth:`Page.get_drawings`, " ":meth:`Page.get_cdrawings`." msgstr "" #: ../../../changes.txt:1605 11277e7c50c84168b89d7c869c0aeb1e msgid "" "**Added** test data and test scripts to the source PyPI source " "distribution." msgstr "" #: ../../../changes.txt:1609 490bf1a121f24135b3e3256666187363 msgid "**Changes in Version 1.18.17**" msgstr "" #: ../../../changes.txt:1611 d1e131b0d646485daf1c919e31b766d3 msgid "" "Focus of this version are major performance improvements of selected " "functions." msgstr "" #: ../../../changes.txt:1613 03ea6bb0f78c4d679bd6c08b450d9c4e msgid "" "**Fixed** issue `#1199 " "`_. Using a non-existing " "page number in :meth:`Document.get_page_images` and friends will no " "longer lead to segfaults." msgstr "" #: ../../../changes.txt:1615 0316ddf4a6a14b918ae314d88765508c msgid "" "**Changed** :meth:`Page.get_drawings` to now differentiate between " "\"stroke\", \"fill\" and combined paths. Paths containing more than one " "rectangle (i.e. \"re\" items) are now supported. Extracting \"clipped\" " "paths is now available as an option." msgstr "" #: ../../../changes.txt:1617 68269b90e4374ece9bcc4beae2a5d8ab msgid "" "**Added** :meth:`Page.get_cdrawings`, performance-optimized version of " ":meth:`Page.get_drawings`." msgstr "" #: ../../../changes.txt:1619 b9fdb8798cef43d6af0ab313e6117152 msgid "" "**Added** :attr:`Pixmap.samples_mv`, *memoryview* of a pixmap's pixel " "area. Does not copy and thus always accesses the current state of that " "area." msgstr "" #: ../../../changes.txt:1621 b4530586fbcc46de94110b7f601c43dd msgid "" "**Added** :attr:`Pixmap.samples_ptr`, Python \"pointer\" to a pixmap's " "pixel area. Allows much faster creation (factor 800+) of Qt images." msgstr "" #: ../../../changes.txt:1627 494c735b3a214b2bb172c9afb76b92b1 msgid "**Changes in Version 1.18.16**" msgstr "" #: ../../../changes.txt:1629 9320ef32a6ec458db091ec9991261f2f msgid "" "**Fixed** issue `#1184 " "`_. Existing PDF widget " "fonts in a PDF are now accepted (i.e. not forcedly changed to a Base-14 " "font)." msgstr "" #: ../../../changes.txt:1631 159b6408c2ea4b86a063f21fcce0b7de msgid "" "**Fixed** issue `#1154 " "`_. Text search hits " "should now be correct when ``clip`` is specified." msgstr "" #: ../../../changes.txt:1633 e98ab6e601d143ab99e23ce8ac756e25 msgid "**Fixed** issue `#1152 `_." msgstr "" #: ../../../changes.txt:1635 0793a7276f6a47c7833dc4f02c69c59c msgid "**Fixed** issue `#1146 `_." msgstr "" #: ../../../changes.txt:1637 634669f89d54425fabf3395cef374ae3 msgid "" "**Added** :attr:`Link.flags` and :meth:`Link.set_flags` to the " ":ref:`Link` class. Implements enhancement requests `#1187 " "`_." msgstr "" #: ../../../changes.txt:1639 f0c43b248f16409a8f0905afee41db5d msgid "" "**Added** option to *simulate* :meth:`TextWriter.fill_textbox` output for" " predicting the number of lines, that a given text would occupy in the " "textbox." msgstr "" #: ../../../changes.txt:1641 7ed434aeca7e4c8283c2ce9ac764e204 msgid "" "**Added** text output support as subcommand `gettext` to the ``fitz`` CLI" " module. Most importantly, original **physical text layout** reproduction" " is now supported." msgstr "" #: ../../../changes.txt:1646 7a61839613704cb6ba89df11cfd8e0c5 msgid "**Changes in Version 1.18.15**" msgstr "" #: ../../../changes.txt:1648 76b9d70df76946379cb92b397413d1b1 msgid "" "**Fixed** issue `#1088 " "`_. Removing an " "annotation's fill color should now work again both ways, using the " "``fill_color=[]`` argument in :meth:`Annot.update` as well as ``fill=[]``" " in :meth:`Annot.set_colors`." msgstr "" #: ../../../changes.txt:1650 be8edc4369ba4c6d92c42fd279c10a37 msgid "" "**Fixed** issue `#1081 " "`_. " ":meth:`Document.subset_fonts`: fixed an error which created wrong " "character widths for some fonts." msgstr "" #: ../../../changes.txt:1652 c86ec8d5f336461a9a82cf58dab23bca msgid "" "**Fixed** issue `#1078 " "`_. :meth:`Page.get_text`" " and other methods related to text extraction: changed the default value " "of the :ref:`TextPage` ``flags`` parameter. All whitespace and " ":data:`ligatures` are now preserved." msgstr "" #: ../../../changes.txt:1654 6bf853d1b4f24ed3b493acbbaf102307 msgid "" "**Fixed** issue `#1085 " "`_. The old *snake_cased*" " alias of ``fitz.detTextlength`` is now defined correctly." msgstr "" #: ../../../changes.txt:1656 0974e8722a4445e0894e2188d5074069 msgid "" "**Changed** :meth:`Document.subset_fonts` will now correctly prefix font " "subsets with an appropriate six letter uppercase tag, complying with the " "PDF specification." msgstr "" #: ../../../changes.txt:1658 437884a2beb34834be5a5813ff146205 msgid "" "**Added** new method :meth:`Widget.button_states` which returns the " "possible values that a button-type field can have when being set to " "\"on\" or \"off\"." msgstr "" #: ../../../changes.txt:1660 e165a6b51c0c42f6ac55bb2164ed36ce msgid "" "**Added** support of text with **Small Capital** letters to the " ":ref:`Font` and :ref:`TextWriter` classes. This is reflected by an " "additional bool parameter ``small_caps`` in various of their methods." msgstr "" #: ../../../changes.txt:1665 5fa6df6719ec4a30bc5737a2250ddf26 msgid "**Changes in Version 1.18.14**" msgstr "" #: ../../../changes.txt:1667 246831ba1ef247c09cc05eb90a12135b msgid "" "**Finished** implementing new, \"snake_cased\" names for methods and " "properties, that were \"camelCased\" and awkward in many aspects. At the " "end of this documentation, there is section :ref:`Deprecated` with more " "background and a mapping of old to new names." msgstr "" #: ../../../changes.txt:1669 e9896e6c30074ac28de21b72e13344fd msgid "" "**Fixed** issue `#1053 " "`_. " ":meth:`Page.insert_image`: when given, include image mask in the hash " "computation." msgstr "" #: ../../../changes.txt:1671 856342d7e04c4c05ad362a20f30a00c5 msgid "" "**Fixed** issue `#1043 " "`_. Added " "``Pixmap.getPNGdata`` to the aliases of :meth:`Pixmap.tobytes`." msgstr "" #: ../../../changes.txt:1673 a40ac7bfdd1d4c329450f6a5ba99872e msgid "" "**Fixed** an internal error when computing the enveloping rectangle of " "drawn paths as returned by :meth:`Page.get_drawings`." msgstr "" #: ../../../changes.txt:1675 dae13ebf211f48aaa0f6305a01c8c616 msgid "" "**Fixed** an internal error occasionally causing loops when outputting " "text via :meth:`TextWriter.fill_textbox`." msgstr "" #: ../../../changes.txt:1677 944833cd11d14508b1e6e8fa1a487586 msgid "" "**Added** :meth:`Font.char_lengths`, which returns a tuple of character " "widths of a string." msgstr "" #: ../../../changes.txt:1679 4c127faaaa4542d68be1974e72156cdb msgid "" "**Added** more ways to specify pages in :meth:`Document.delete_pages`. " "Now a sequence (list, tuple or range) can be specified, and the Python " "``del`` statement can be used. In the latter case, Python ``slices`` are " "also accepted." msgstr "" #: ../../../changes.txt:1681 06fd838ceb61465d9f689dfd3aebbab2 msgid "" "**Changed** :meth:`Document.del_toc_item`, which disables a single item " "of the TOC: previously, the title text was removed. Instead, now the " "complete item will be shown grayed-out by supporting viewers." msgstr "" #: ../../../changes.txt:1686 7a4fd8bb15ab4fbcaaa183993d721089 msgid "**Changes in Version 1.18.13**" msgstr "" #: ../../../changes.txt:1688 aeb68fdb27db43d68f6b5362aa749391 msgid "**Fixed** issue `#1014 `_." msgstr "" #: ../../../changes.txt:1689 8ee7d51d2b5941f8b64a7092fe06f789 msgid "" "**Fixed** an internal memory leak when computing image bboxes -- " ":meth:`Page.get_image_bbox`." msgstr "" #: ../../../changes.txt:1690 6e3c2aaf0d0b4752b02aa8c91326937e msgid "" "**Added** support for low-level access and modification of the PDF " "trailer. Applies to :meth:`Document.xref_get_keys`, " ":meth:`Document.xref_get_key`, and :meth:`Document.xref_set_key`." msgstr "" #: ../../../changes.txt:1691 d26b610465374b1a95f57d151f841d2e msgid "**Added** documentation for maintaining private entries in PDF metadata." msgstr "" #: ../../../changes.txt:1692 49f75a7ada254386acc0d8b341ed91c6 msgid "" "**Added** documentation for handling transparent image insertions, " ":meth:`Page.insert_image`." msgstr "" #: ../../../changes.txt:1693 457c2b1325b24f60ab107fe02a4e0085 msgid "" "**Added** :meth:`Page.get_image_rects`, an improved version of " ":meth:`Page.get_image_bbox`." msgstr "" #: ../../../changes.txt:1694 a7471bfaf29b46c0bf1baba965058c8b msgid "" "**Changed** :meth:`Document.delete_pages` to support various ways of " "specifying pages to delete. Implements `#1042 " "`_." msgstr "" #: ../../../changes.txt:1695 3f2e525e5db5466cbf2b21ae6e3e9c36 msgid "" "**Changed** :meth:`Page.insert_image` to also accept the xref of an " "existing image in the file. This allows \"copying\" images between pages," " and extremely fast mutiple insertions." msgstr "" #: ../../../changes.txt:1696 819681238cbc4a129e57b370dfb026fc msgid "" "**Changed** :meth:`Page.insert_image` to also accept the integer " "parameter ``alpha``. To be used for performance improvements." msgstr "" #: ../../../changes.txt:1697 43b014e80e8041ce88847b0848cd3523 msgid "" "**Changed** :meth:`Pixmap.set_alpha` to support new parameters for pre-" "multiplying colors with their alpha values and setting a specific color " "to fully transparent (e.g. white)." msgstr "" #: ../../../changes.txt:1698 d00c4f08df31471e976b37826d70cb1c msgid "" "**Changed** :meth:`Document.embfile_add` to automatically set creation " "and modification date-time. Correspondingly, :meth:`Document.embfile_upd`" " automatically maintains modification date-time (``/ModDate`` PDF key), " "and :meth:`Document.embfile_info` correspondingly reports these data. In " "addition, the embedded file's associated \"collection item\" is included " "via its :data:`xref`. This supports the development of PDF portfolio " "applications." msgstr "" #: ../../../changes.txt:1702 d6c3f0ac21134173a004ebfa78fe2315 msgid "**Changes in Version 1.18.11 / 1.18.12**" msgstr "" #: ../../../changes.txt:1704 5c6ecd8a73da4cd6a54e60917ddff07a msgid "" "**Fixed** issue `#972 `_. " "Improved layout of source distribution material." msgstr "" #: ../../../changes.txt:1705 086168881dcc4f639364df509a6877b1 msgid "" "**Fixed** issue `#962 `_. " "Stabilized Linux distribution detection for generating PyMuPDF from " "sources." msgstr "" #: ../../../changes.txt:1706 3a60973423d2463aa5423dc31856ba76 msgid "" "**Added:** :meth:`Page.get_xobjects` delivers the result of " ":meth:`Document.get_page_xobjects`." msgstr "" #: ../../../changes.txt:1707 a0b89ac75a28458fb93356628c87d9ab msgid "" "**Added:** :meth:`Page.get_image_info` delivers meta information for all " "images shown on the page." msgstr "" #: ../../../changes.txt:1708 9e865b21aa37414dbfea24ec37e19b67 msgid "" "**Added:** :meth:`Tools.mupdf_display_warnings` allows setting on / off " "the display of MuPDF-generated warnings. The default is off." msgstr "" #: ../../../changes.txt:1709 e3d2420ee8c24d1aa43455c800972e3c msgid "" "**Added:** :meth:`Document.ez_save` convenience alias of " ":meth:`Document.save` with some different defaults." msgstr "" #: ../../../changes.txt:1710 7007006565b94595b23bf039c3e09338 msgid "" "**Changed:** Image extractions of document pages now also contain the " "image's **transformation matrix**. This concerns " ":meth:`Page.get_image_bbox` and the DICT, JSON, RAWDICT, and RAWJSON " "variants of :meth:`Page.get_text`." msgstr "" #: ../../../changes.txt:1715 62af1c5f6b62467897742422e1590f7d msgid "**Changes in Version 1.18.10**" msgstr "" #: ../../../changes.txt:1717 922707d45703479bbd67527180a768ec msgid "" "**Fixed** issue `#941 `_. " "Added old aliases for :meth:`DisplayList.get_pixmap` and " ":meth:`DisplayList.get_textpage`." msgstr "" #: ../../../changes.txt:1718 5f5903a43c1f44a3bf154f3b1530d64a msgid "" "**Fixed** issue `#929 `_. " "Stabilized removal of JavaScript objects with :meth:`Document.scrub`." msgstr "" #: ../../../changes.txt:1719 0972fadf04e741629d46a18515526a9d msgid "" "**Fixed** issue `#927 `_. " "Removed a loop in the reworked :meth:`TextWriter.fill_textbox`." msgstr "" #: ../../../changes.txt:1720 033e96b4eceb4014bd5620c1e986198d msgid "" "**Changed** :meth:`Document.xref_get_keys` and " ":meth:`Document.xref_get_key` to also allow accessing the PDF trailer " "dictionary. This can be done by using `-1` as the xref number argument." msgstr "" #: ../../../changes.txt:1721 74ff56e5727c43138b496604bbfe57f9 msgid "" "**Added** a number of functions for reconstructing the quads for text " "lines, spans and characters extracted by :meth:`Page.get_text` options " "\"dict\" and \"rawdict\". See :meth:`recover_quad` and friends." msgstr "" #: ../../../changes.txt:1722 29aa32686d874d42b22bfa8a3901aa14 msgid "" "**Added** :meth:`Tools.unset_quad_corrections` to suppress character quad" " corrections (occasionally required for erroneous fonts)." msgstr "" #: ../../../changes.txt:1726 3a7453ab65404c52984aee45364e6724 msgid "**Changes in Version 1.18.9**" msgstr "" #: ../../../changes.txt:1729 e1b22c2f9fe54eb993a50fcd6112601f msgid "" "**Fixed** issue `#888 `_. " "Removed ambiguous statements concerning PyMuPDF's license, which is now " "clearly stated to be GNU AGPL V3." msgstr "" #: ../../../changes.txt:1730 f4d998abf2364f48a156cb6de76c69b7 msgid "**Fixed** issue `#895 `_." msgstr "" #: ../../../changes.txt:1731 69b074661fb04a1c9748f0ae259d8153 msgid "" "**Fixed** issue `#896 `_. " "Since v1.17.6 PyMuPDF suppresses the font subset tags and only reports " "the base fontname in text extraction outputs \"dict\" / \"json\" / " "\"rawdict\" / \"rawjson\". Now a new global parameter can request the old" " behaviour, :meth:`Tools.set_subset_fontnames`." msgstr "" #: ../../../changes.txt:1732 0e51b11e295245bdb5143f3055f5f4c6 msgid "" "**Fixed** issue `#885 `_. " "Pixmap creation now also works with filenames given as ``pathlib.Paths``." msgstr "" #: ../../../changes.txt:1733 3bfe043f395249f2ad66c8714a4dcd24 msgid "" "**Changed** :meth:`Document.subset_fonts`: Text is **not rewritten** any " "more and should therefore **retain all its origial properties** -- like " "being hidden or being controlled by Optional Content mechanisms." msgstr "" #: ../../../changes.txt:1734 23ad1d2d69494a61b31f3bf6e0d688e0 msgid "" "**Changed** :ref:`TextWriter` output to also accept text in right to left" " mode (Arabian, Hebrew): :meth:`TextWriter.fill_textbox`, " ":meth:`TextWriter.append`. These methods now accept a new boolean " "parameter `right_to_left`, which is *False* by default. Implements `#897 " "`_." msgstr "" #: ../../../changes.txt:1735 27997725f8e4450c87939082e366439e msgid "" "**Changed** :meth:`TextWriter.fill_textbox` to return all lines of text, " "that did not fit in the given rectangle. Also changed the default of the " "``warn`` parameter to no longer print a warning message in overflow " "situations." msgstr "" #: ../../../changes.txt:1736 66e2fd480ef348c094149914650471d0 msgid "" "**Added** a utility function :meth:`recover_quad`, which computes the " "quadrilateral of a span. This function can be used for correctly marking " "text extracted with the \"dict\" or \"rawdict\" options of " ":meth:`Page.get_text`." msgstr "" #: ../../../changes.txt:1740 dce8476d6a3749f89835fc274cdabd84 msgid "**Changes in Version 1.18.8**" msgstr "" #: ../../../changes.txt:1743 fa20b571b5c14e288bfcba7b82655bee msgid "" "This is a bug fix version only. We are publishing early because of the " "potentially widely used functions." msgstr "" #: ../../../changes.txt:1745 21142c13d0cd44bea29198c954e7f0e6 msgid "" "**Fixed** issue `#881 `_. " "Fixed a memory leak in :meth:`Page.insert_image` when inserting images " "from files or memory." msgstr "" #: ../../../changes.txt:1746 5f457acfd5954696ae76970b611ac49a msgid "" "**Fixed** issue `#878 `_. " "``pathlib.Path`` objects should now correctly handle file path " "hierarchies." msgstr "" #: ../../../changes.txt:1751 85971c3fb54e449190448842ef48209a msgid "**Changes in Version 1.18.7**" msgstr "" #: ../../../changes.txt:1754 fbe2287c70d74d55bfa1dd7a61d1a827 msgid "" "**Added** an experimental :meth:`Document.subset_fonts` which reduces the" " size of eligible fonts based on their use by text in the PDF. Implements" " `#855 `_." msgstr "" #: ../../../changes.txt:1755 e300f81c0c2a414a95786dc2a5b922be msgid "" "**Implemented** request `#870 " "`_: " ":meth:`Document.convert_to_pdf` now also supports PDF documents." msgstr "" #: ../../../changes.txt:1756 8b39542efeb8486782751bc4045f8c45 msgid "" "**Renamed** ``Document.write`` to :meth:`Document.tobytes` for greater " "clarity. But the deprecated name remains available for some time." msgstr "" #: ../../../changes.txt:1757 6717eb5a2cfb422a8b239e698e9d1a4e msgid "" "**Implemented** request `#843 " "`_: " ":meth:`Document.tobytes` now supports linearized PDF output. " ":meth:`Document.save` now also supports writing to Python **file " "objects**. In addition, the open function now also supports Python file " "objects." msgstr "" #: ../../../changes.txt:1758 318196b9b9f24559b099a5a3b86b61a3 msgid "**Fixed** issue `#844 `_." msgstr "" #: ../../../changes.txt:1759 22303a902c214152a94cf6908eaada79 msgid "**Fixed** issue `#838 `_." msgstr "" #: ../../../changes.txt:1760 8d1575cb41f944d1ab091d1f15fdfe3f msgid "" "**Fixed** issue `#823 `_. " "More logic for better support of OCRed text output (Tesseract, ABBYY)." msgstr "" #: ../../../changes.txt:1761 938fa234a4d64b4998e755f30a353917 msgid "**Fixed** issue `#818 `_." msgstr "" #: ../../../changes.txt:1762 5b25601056b641bebbe1fdbe9fbf59fc msgid "**Fixed** issue `#814 `_." msgstr "" #: ../../../changes.txt:1763 b4352fd5bf734216a09bc2b65068a9a1 msgid "" "**Added** :meth:`Document.get_page_labels` which returns a list of page " "label definitions of a PDF." msgstr "" #: ../../../changes.txt:1764 d10d74d2add045f19432215b68dc5965 msgid "" "**Added** :meth:`Document.has_annots` and :meth:`Document.has_links` to " "check whether these object types are present anywhere in a PDF." msgstr "" #: ../../../changes.txt:1765 344e56b009634edaa8a7654870785c6a msgid "" "**Added** expert low-level functions to simplify inquiry and modification" " of PDF object sources: :meth:`Document.xref_get_keys` lists the keys of " "object :data:`xref`, :meth:`Document.xref_get_key` returns type and " "content of a key, and :meth:`Document.xref_set_key` modifies the key's " "value." msgstr "" #: ../../../changes.txt:1766 97ffd95b565242c8a475c6f2123f9b83 msgid "" "**Added** parameter ``thumbnails`` to :meth:`Document.scrub` to also " "allow removing page thumbnail images." msgstr "" #: ../../../changes.txt:1767 be54a84b631a4f539269cea4d2530c10 msgid "" "**Improved** documentation for how to add valid text marker annotations " "for non-horizontal text." msgstr "" #: ../../../changes.txt:1769 7ec7306e128341c2a63a9daaf99494bb msgid "" "We continued the process of renaming methods and properties from " "*\"mixedCase\"* to *\"snake_case\"*. Documentation usually mentions the " "new names only, but old, deprecated names remain available for some time." msgstr "" #: ../../../changes.txt:1775 40b8c78ac8154766b3f786804b70d764 msgid "**Changes in Version 1.18.6**" msgstr "" #: ../../../changes.txt:1777 099ac66b71ab437b8f793444fbf3c368 msgid "**Fixed** issue `#812 `_." msgstr "" #: ../../../changes.txt:1778 8d754c7625ba4e16b8b1d2da2931571c msgid "" "**Fixed** issue `#793 `_. " "Invalid document metadata previously prevented opening some documents at " "all. This error has been removed." msgstr "" #: ../../../changes.txt:1779 b6756d8e13654194ae64028173969354 msgid "" "**Fixed** issue `#792 `_. " "Text search and text extraction will make no rectangle containment checks" " at all if the default ``clip=None`` is used." msgstr "" #: ../../../changes.txt:1780 f3374a74399e41139ae1b0fd15053232 msgid "**Fixed** issue `#785 `_." msgstr "" #: ../../../changes.txt:1781 6f0ad41d3e0845679fc1b7f630d9350e msgid "" "**Fixed** issue `#780 `_. " "Corrected a parameter check error." msgstr "" #: ../../../changes.txt:1782 a9af2b2f5b024f1d90aca0eed1eff596 msgid "" "**Fixed** issue `#779 `_. " "Fixed typo" msgstr "" #: ../../../changes.txt:1783 52e2c5d1e3734d0b9c1eafeea70502c0 msgid "" "**Added** an option to set the desired line height for text boxes. " "Implements `#804 `_." msgstr "" #: ../../../changes.txt:1784 8a89dd2499fa4288aa2e4376409bc950 msgid "" "**Changed** text position retrieval to better cope with Tesseract's " "glyphless font. Implements `#803 " "`_." msgstr "" #: ../../../changes.txt:1785 1c3abaa13d464f07839341b87f7b065c msgid "" "**Added** an option to choose the prefix of new annotations, fields and " "links for providing unique annotation ids. Implements request `#807 " "`_." msgstr "" #: ../../../changes.txt:1786 705f241926b94e4faed825b90187d9a8 msgid "" "**Added** getting and setting color and text properties for Table of " "Contents items for PDFs. Implements `#779 " "`_." msgstr "" #: ../../../changes.txt:1787 f290b3e394a643ef92eb166d6ac700ba msgid "" "**Added** PDF page label handling: :meth:`Page.get_label()` returns the " "page label, :meth:`Document.get_page_numbers` return all page numbers " "having a specified label, and :meth:`Document.set_page_labels` adds or " "updates a PDF's page label definition." msgstr "" #: ../../../changes.txt:1792 204e52071aeb4560ad583594170382fc msgid "" "This version introduces **Python type hinting**. The goal is to provide " "each parameter and the return value of all functions and methods with " "type information. This still is work in progress although the majority of" " functions has already been handled." msgstr "" #: ../../../changes.txt:1797 ff861662db5c4fe985c61a23a602d0ab msgid "**Changes in Version 1.18.5**" msgstr "" #: ../../../changes.txt:1799 8972338cdcc14af3a7644a3dcddf69e2 msgid "" "Apart from several fixes, this version also focusses on several minor, " "but important feature improvements. Among the latter is a more precise " "computation of proper line heights and insertion points for writing / " "inserting text. As opposed to using font-agnostic constants, these values" " are now taken from the font's properties." msgstr "" #: ../../../changes.txt:1801 f9a9d31367f946218578af60d466b702 msgid "" "Also note that this is the first version which does no longer provide " "pregenerated wheels for Python versions older than 3.6. PIP also " "discontinues support for these by end of this year 2020." msgstr "" #: ../../../changes.txt:1803 93396822ddee484c904221f0e650bb40 msgid "" "**Fixed** issue `#771 `_. " "By using \"small glyph heights\" option, the full page text can be " "extracted." msgstr "" #: ../../../changes.txt:1804 4283660ecb4e497a8d5f66c223269138 msgid "**Fixed** issue `#768 `_." msgstr "" #: ../../../changes.txt:1805 cb94c9971f18482b8a6116bac1e91eda msgid "**Fixed** issue `#750 `_." msgstr "" #: ../../../changes.txt:1806 0f4ccdc52d33496780a6883b3eac2040 msgid "" "**Fixed** issue `#739 `_. " "The \"dict\", \"rawdict\" and corresponding JSON output variants now have" " two new *span* keys: ``\"ascender\"`` and ``\"descender\"``. These " "floats represent special font properties which can be used to compute " "bboxes of spans or characters of **exactly fontsize height** (as opposed " "to the default line height). An example algorithm is shown in section " "\"Span Dictionary\" `here " "`_. Also improved the " "detection and correction of ill-specified ascender / descender values " "encountered in some fonts." msgstr "" #: ../../../changes.txt:1807 46d09243233b47bfabfb624aabe62a7f msgid "" "**Added** a new, experimental :meth:`Tools.set_small_glyph_heights` -- " "also in response to issue `#739 " "`_. This method sets or " "unsets a global parameter to **always compute bboxes with fontsize " "height**. If \"on\", text searching and all text extractions will " "returned rectangles, bboxes and quads with a smaller height." msgstr "" #: ../../../changes.txt:1808 2348f09c087f4e77a9552300a273b2f9 msgid "**Fixed** issue `#728 `_." msgstr "" #: ../../../changes.txt:1809 24ffb89f8a2847978a993810a34d9d8e msgid "" "**Changed** fill color logic of 'Polyline' annotations: this parameter " "now only pertains to line end symbols -- the annotation itself can no " "longer have a fill color. Also addresses issue `#727 " "`_." msgstr "" #: ../../../changes.txt:1810 d11988b7d91c474394a305026cbdac36 msgid "" "**Changed** :meth:`Page.getImageBbox` to also compute the bbox if the " "image is contained in an XObject." msgstr "" #: ../../../changes.txt:1811 92be2318a74e44bcbfe6d9d124cc6944 msgid "" "**Changed** :meth:`Shape.insertTextbox`, resp. " ":meth:`Page.insertTextbox`, resp. :meth:`TextWriter.fillTextbox` to " "respect font's properties \"ascender\" / \"descender\" when computing " "line height and insertion point. This should no longer lead to line " "overlaps for multi-line output. These methods used to ignore font " "specifics and used constant values instead." msgstr "" #: ../../../changes.txt:1816 726b3c851a2742a08174e040daa6b3fc msgid "**Changes in Version 1.18.4**" msgstr "" #: ../../../changes.txt:1818 0669695e181f46b8b1d1c44f84c7cc1e msgid "" "This version adds several features to support PDF Optional Content. Among" " other things, this includes OCMDs (Optional Content Membership " "Dictionaries) with the full scope of *\"visibility expressions\"* (PDF " "key ``/VE``), text insertions (including the :ref:`TextWriter` class) and" " drawings." msgstr "" #: ../../../changes.txt:1820 298b682a9c8e4b17b5d9c2763ce13305 msgid "" "**Fixed** issue `#727 `_. " "Freetext annotations now support an uncolored rectangle when " "``fill_color=None``." msgstr "" #: ../../../changes.txt:1821 2e4c66207d0441dd87fc8dee4d8db80f msgid "" "**Fixed** issue `#726 `_. " "UTF-8 encoding errors are now handled for HTML / XML :meth:`Page.getText`" " output." msgstr "" #: ../../../changes.txt:1822 e3ea52520ca74100aa5db3c1a47bcb22 msgid "" "**Fixed** issue `#724 `_. " "Empty values are no longer stored in the PDF /Info metadata dictionary." msgstr "" #: ../../../changes.txt:1823 a76c87f209e9404ea2a27260f984c079 msgid "" "**Added** new methods :meth:`Document.set_oc` and :meth:`Document.get_oc`" " to set or get optional content references for **existing** image and " "form XObjects. These methods are similar to the same-named methods of " ":ref:`Annot`." msgstr "" #: ../../../changes.txt:1824 6ae1cf58b5734e2db334370bae53194f msgid "" "**Added** :meth:`Document.set_ocmd`, :meth:`Document.get_ocmd` for " "handling OCMDs." msgstr "" #: ../../../changes.txt:1825 02c47a051f444e57a07a5c2cc00d8ece msgid "**Added** **Optional Content** support for text insertion and drawing." msgstr "" #: ../../../changes.txt:1826 033f5fd3092446d89a8b4be25eaf8fa5 msgid "" "**Added** new method :meth:`Page.deleteWidget`, which deletes a form " "field from a page. This is analogous to deleting annotations." msgstr "" #: ../../../changes.txt:1827 f3f7aabfa367473eb2a71dd0d3b0c8ef msgid "" "**Added** support for Popup annotations. This includes defining the Popup" " rectangle and setting the Popup to open or closed. Methods / attributes " ":meth:`Annot.set_popup`, :meth:`Annot.set_open`, :attr:`Annot.has_popup`," " :attr:`Annot.is_open`, :attr:`Annot.popup_rect`, " ":attr:`Annot.popup_xref`." msgstr "" #: ../../../changes.txt:1831 fff305ae1bfa4fa7a3b33de7de989103 msgid "" "The **naming of methods and attributes** in PyMuPDF is far from being " "satisfactory: we have *CamelCases*, *mixedCases* and " "*lower_case_with_underscores* all over the place. With the :ref:`Annot` " "as the first candidate, we have started an activity to clean this up step" " by step, converting to lower case with underscores for methods and " "attributes while keeping UPPERCASE for the constants." msgstr "" #: ../../../changes.txt:1833 5a5df8a85edd445a9168a3050257beb0 msgid "" "Old names will remain available to prevent code breaks, but they will no " "longer be mentioned in the documentation." msgstr "" #: ../../../changes.txt:1834 d9dd3ce555be40288946b5c7b8684d7d msgid "" "New methods and attributes of all classes will be named according to the " "new standard." msgstr "" #: ../../../changes.txt:1838 8d1aa669d43242329cb1e644baaea966 msgid "**Changes in Version 1.18.3**" msgstr "" #: ../../../changes.txt:1840 0cc7942ae4f54d4698a56df9bcfc4df1 msgid "" "As a major new feature, this version introduces support for PDF's " "**Optional Content** concept." msgstr "" #: ../../../changes.txt:1842 eba5a3b05af340fd8d30d56d8053156a msgid "**Fixed** issue `#714 `_." msgstr "" #: ../../../changes.txt:1843 e0d1304eda394d6a88565ba84484d6fe msgid "**Fixed** issue `#711 `_." msgstr "" #: ../../../changes.txt:1844 bc199ec49e1945f1947218cd0c858828 msgid "" "**Fixed** issue `#707 `_: " "if a PDF user password, but no owner password is supplied nor present, " "then the user password is also used as the owner password." msgstr "" #: ../../../changes.txt:1845 1e99eff725e24f2f91fffda242611187 msgid "" "**Fixed** ``expand`` and ``deflate`` parameters of methods " ":meth:`Document.save` and :meth:`Document.write`. Individual image and " "font compression should now finally work. Addresses issue `#713 " "`_." msgstr "" #: ../../../changes.txt:1846 c7dbcce5af3f4805bc0bff4a3aa999c8 msgid "" "**Added** a support of PDF optional content. This includes several new " ":ref:`Document` methods for inquiring and setting optional content status" " and adding optional content configurations and groups. In addition, " "images, form XObjects and annotations now can be bound to optional " "content specifications. **Resolved** issue `#709 " "`_." msgstr "" #: ../../../changes.txt:1852 7005feac30d44416a7ae56c3c62aa421 msgid "**Changes in Version 1.18.2**" msgstr "" #: ../../../changes.txt:1854 2557dd6711e74c5687da189106d7b072 msgid "" "This version contains some interesting improvements for text searching: " "any number of search hits is now returned and the **hit_max** parameter " "was removed. The new **clip** parameter in addition allows to restrict " "the search area. Searching now detects hyphenations at line breaks and " "accordingly finds hyphenated words." msgstr "" #: ../../../changes.txt:1856 f5a9d7fa7c5b434388c99b444417932e msgid "" "**Fixed** issue `#575 `_: " "if using ``quads=False`` in text searching, then overlapping rectangles " "on the same line are joined. Previously, parts of the search string, " "which belonged to different \"marked content\" items, each generated " "their own rectangle -- just as if occurring on separate lines." msgstr "" #: ../../../changes.txt:1857 fa0f315fcdbb4aa7a85ebd875b0542b2 msgid "" "**Added** :attr:`Document.isRepaired`, which is true if the PDF was " "repaired on open." msgstr "" #: ../../../changes.txt:1858 29939ef23137444db25656ddb5c2a50b msgid "" "**Added** :meth:`Document.setXmlMetadata` which either updates or creates" " PDF XML metadata. Implements issue `#691 " "`_." msgstr "" #: ../../../changes.txt:1859 be99f9d509a84865a76d789e59d88508 msgid "**Added** :meth:`Document.getXmlMetadata` returns PDF XML metadata." msgstr "" #: ../../../changes.txt:1860 b5792e748a424e2f81526972850dbdf9 msgid "" "**Changed** creation of PDF documents: they will now always carry a PDF " "identification (``/ID`` field) in the document trailer. Implements issue " "`#691 `_." msgstr "" #: ../../../changes.txt:1861 66eda59a33aa45ee88d7c201c85dfd3a msgid "" "**Changed** :meth:`Page.searchFor`: a new parameter ``clip`` is accepted " "to restrict the search to this rectangle. Correspondingly, the attribute " ":attr:`TextPage.rect` is now respected by :meth:`TextPage.search`." msgstr "" #: ../../../changes.txt:1862 40efc3861a01468ba0b65c1950845cde msgid "" "**Changed** parameter ``hit_max`` in :meth:`Page.searchFor` and " ":meth:`TextPage.search` is now obsolete: methods will return all hits." msgstr "" #: ../../../changes.txt:1863 52c4e18a02684b35894a335001e4b449 msgid "" "**Changed** character **selection criteria** in :meth:`Page.getText`: a " "character is now considered to be part of a ``clip`` if its bbox is fully" " contained. Before this, a non-empty intersection was sufficient." msgstr "" #: ../../../changes.txt:1864 b05dff665c9644849dfb39e3b881dc36 msgid "" "**Changed** :meth:`Document.scrub` to support a new option " "`redact_images`. This addresses issue `#697 " "`_." msgstr "" #: ../../../changes.txt:1869 dcb97ced9507410d944ce850f20740d7 msgid "**Changes in Version 1.18.1**" msgstr "" #: ../../../changes.txt:1871 ba246f3cc40a4c189c06444a474f03c8 msgid "" "**Fixed** issue `#692 `_. " "PyMuPDF now detects and recovers from more cyclic resource dependencies " "in PDF pages and for the first time reports them in the MuPDF warnings " "store." msgstr "" #: ../../../changes.txt:1872 5ea166e77dfd422487491dc7989ac87b msgid "**Fixed** issue `#686 `_." msgstr "" #: ../../../changes.txt:1873 24c8bae3003740b3b7ef2f1245674d54 msgid "" "**Added** opacity options for the :ref:`Shape` class: Stroke and fill " "colors can now be set to some transparency value. This means that all " ":ref:`Page` draw methods, methods :meth:`Page.insertText`, " ":meth:`Page.insertTextbox`, :meth:`Shape.finish`, " ":meth:`Shape.insertText`, and :meth:`Shape.insertTextbox` support two new" " parameters: *stroke_opacity* and *fill_opacity*." msgstr "" #: ../../../changes.txt:1874 0eab763d4bde434c99750d05c7744be8 msgid "" "**Added** new parameter ``mask`` to :meth:`Page.insertImage` for " "optionally providing an external image mask. Resolves issue `#685 " "`_." msgstr "" #: ../../../changes.txt:1875 d7eb84e2b45346e9805c75ed708951db msgid "" "**Added** :meth:`Annot.soundGet` for extracting the sound of an audio " "annotation." msgstr "" #: ../../../changes.txt:1879 8a1eef562c944225a15aca32aa0a68d0 msgid "**Changes in Version 1.18.0**" msgstr "" #: ../../../changes.txt:1881 f828b2f6db734312b557796ab1a48396 msgid "" "This is the first PyMuPDF version supporting MuPDF v1.18. The focus here " "is on extending PyMuPDF's own functionality -- apart from bug fixing. " "Subsequent PyMuPDF patches may address features new in MuPDF." msgstr "" #: ../../../changes.txt:1883 a9a5a178f719434b9bd31e65ea52f799 msgid "" "**Fixed** issue `#519 `_. " "This upstream bug occurred occasionally for some pages only and seems to " "be fixed now: page layout should no longer be ruined in these cases." msgstr "" #: ../../../changes.txt:1885 532d4ce5429a41979de31fd798876926 msgid "**Fixed** issue `#675 `_." msgstr "" #: ../../../changes.txt:1887 4afda8086e88434b991c90a40f6b3c63 msgid "" "Unsuccessful storage allocations should now always lead to exceptions " "(circumvention of an upstream bug intermittently crashing the " "interpreter)." msgstr "" #: ../../../changes.txt:1888 9b95a7d89275404592c843e6e1a69d20 msgid "" ":ref:`Pixmap` size is now based on ``size_t`` instead of ``int`` in C and" " should be correct even for extremely large pixmaps." msgstr "" #: ../../../changes.txt:1890 50d1e348ab4a420e82ff6163e457c791 msgid "" "**Fixed** issue `#668 `_. " "Specification of dashes for PDF drawing insertion should now correctly " "reflect the PDF spec." msgstr "" #: ../../../changes.txt:1891 e2c585c3927446b58b695299aacefa37 msgid "" "**Fixed** issue `#669 `_. " "A major source of memory leakage in :meth:`Page.insert_pdf` has been " "removed." msgstr "" #: ../../../changes.txt:1892 21f99d039e0b406ba748fa27b51b61ab msgid "" "**Added** keyword *\"images\"* to :meth:`Page.apply_redactions` for fine-" "controlling the handling of images." msgstr "" #: ../../../changes.txt:1893 06f2d99671fb4a4693ac550bbe174f39 msgid "" "**Added** :meth:`Annot.getText` and :meth:`Annot.getTextbox`, which offer" " the same functionality as the :ref:`Page` versions." msgstr "" #: ../../../changes.txt:1894 cc38d6a9295a4baabbe0fa91a8729818 msgid "" "**Added** key *\"number\"* to the block dictionaries of " ":meth:`Page.getText` / :meth:`Annot.getText` for options \"dict\" and " "\"rawdict\"." msgstr "" #: ../../../changes.txt:1895 95b81b00ad5f4f67abab2d83e62fa830 msgid "" "**Added** :meth:`glyph_name_to_unicode` and " ":meth:`unicode_to_glyph_name`. Both functions do not really connect to a " "specific font and are now independently available, too. The data are now " "based on the `Adobe Glyph List `_." msgstr "" #: ../../../changes.txt:1896 3435f8b2d002434ea2961e3bfa9e9ef5 msgid "" "**Added** convenience functions :meth:`adobe_glyph_names` and " ":meth:`adobe_glyph_unicodes` which return the respective available data." msgstr "" #: ../../../changes.txt:1897 46734bcd601a4c10b224d8af13288ece msgid "" "**Added** :meth:`Page.getDrawings` which returns details of drawing " "operations on a document page. Works for all document types." msgstr "" #: ../../../changes.txt:1898 0a520f7de35d43a992a69aaff5c5b428 msgid "" "Improved performance of :meth:`Document.insert_pdf`. Multiple object " "copies are now also suppressed across multiple separate insertions from " "the same source. This saves time, memory and target file size. Previously" " this mechanism was only active within each single method execution. The " "feature can also be suppressed with the new method bool parameter " "*final=1*, which is the default." msgstr "" #: ../../../changes.txt:1899 61af4c935234421da5ee00ff3ad32977 msgid "" "For PNG images created from pixmaps, the resolution (dpi) is now " "automatically set from the respective :attr:`Pixmap.xres` and " ":attr:`Pixmap.yres` values." msgstr "" #: ../../../changes.txt:1904 5787bf266f7743eba6c3ad62840101c8 msgid "**Changes in Version 1.17.7**" msgstr "" #: ../../../changes.txt:1906 fe5734ffddc1440683824cf9eaeb5f6e msgid "" "**Fixed** issue `#651 `_. " "An upstream bug causing interpreter crashes in corner case redaction " "processings was fixed by backporting MuPDF changes from their development" " repo." msgstr "" #: ../../../changes.txt:1907 ebc978213c4446bba6ca783ac6fc99e5 msgid "" "**Fixed** issue `#645 `_. " "Pixmap top-left coordinates can be set (again) by their own method, " ":meth:`Pixmap.set_origin`." msgstr "" #: ../../../changes.txt:1908 28e1c70a439943fb93756b8877d3f067 msgid "" "**Fixed** issue `#622 `_. " ":meth:`Page.insertImage` again accepts a :data:`rect_like` parameter." msgstr "" #: ../../../changes.txt:1909 878ea74492ff47559c0f731484ecd4c7 msgid "" "**Added** severeal new methods to improve and speed-up table of contents " "(TOC) handling. Among other things, TOC items can now changed or deleted " "individually -- without always replacing the complete TOC. Furthermore, " "access to some PDF page attributes is now possible without first " "**loading** the page. This has a very significant impact on the " "performance of TOC manipulation." msgstr "" #: ../../../changes.txt:1910 4808333e353f4b9d9eb4c65d42a50c6d msgid "" "**Added** an option to :meth:`Document.insert_pdf` which allows " "displaying progress messages. Adresses `#640 " "`_." msgstr "" #: ../../../changes.txt:1911 16de294b58a64f549ba7bd27e208d30b msgid "" "**Added** :meth:`Page.getTextbox` which extracts text contained in a " "rectangle. In many cases, this should obsolete writing your own script " "for this type of thing." msgstr "" #: ../../../changes.txt:1912 9711b2846e2c49f3bb6c283d0b1d9d67 msgid "" "**Added** new ``clip`` parameter to :meth:`Page.getText` to simplify and " "speed up text extraction of page sub areas." msgstr "" #: ../../../changes.txt:1913 8376ab0f05934f11b21f7fe154f09584 msgid "" "**Added** :meth:`TextWriter.appendv` to add text in **vertical write " "mode**. Addresses issue `#653 " "`_" msgstr "" #: ../../../changes.txt:1918 bd8548ec9f5e41a8ad54094881be2323 msgid "**Changes in Version 1.17.6**" msgstr "" #: ../../../changes.txt:1920 d2312ab353dc4344a3ef174e63c10207 msgid "**Fixed** issue `#605 `_" msgstr "" #: ../../../changes.txt:1921 d52cabcacf8e4c7b8f280b8bb95e5d14 msgid "" "**Fixed** issue `#600 `_ " "-- text should now be correctly positioned also for pages with a CropBox " "smaller than MediaBox." msgstr "" #: ../../../changes.txt:1922 84afef0f9451476d83841dc61e1ae4d6 msgid "" "**Added** text span dictionary key ``origin`` which contains the lower " "left coordinate of the first character in that span." msgstr "" #: ../../../changes.txt:1923 c2104decab38443f85a9f4afbcf59e5f msgid "**Added** attribute :attr:`Font.buffer`, a *bytes* copy of the font file." msgstr "" #: ../../../changes.txt:1924 3b8f869df37e4187b691a5636fabbcc4 msgid "" "**Added** parameter *sanitize* to :meth:`Page.cleanContents`. Allows " "switching of sanitization, so only syntax cleaning will be done." msgstr "" #: ../../../changes.txt:1928 79b5769975fc461580fc75e187439f1a msgid "**Changes in Version 1.17.5**" msgstr "" #: ../../../changes.txt:1930 c3dee94cf9eb4f8c9c29a712da46feee msgid "" "**Fixed** issue `#561 `_ " "-- second go: certain :ref:`TextWriter` usages with many alternating " "fonts did not work correctly." msgstr "" #: ../../../changes.txt:1931 b1cd45be4c3e414b9a31943b87ffa257 msgid "**Fixed** issue `#566 `_." msgstr "" #: ../../../changes.txt:1932 c4be58f459d54570a15caabfa48b2fea msgid "**Fixed** issue `#568 `_." msgstr "" #: ../../../changes.txt:1933 a3a69f69f7e446d190a422fd95946055 msgid "" "**Fixed** -- opacity is now correctly taken from the :ref:`TextWriter` " "object, if not given in :meth:`TextWriter.writeText`." msgstr "" #: ../../../changes.txt:1934 60e36a0e76204fc39ca63f66c0e017f0 msgid "" "**Added** a new global attribute :attr:`fitz_fontdescriptors`. Contains " "information about usable fonts from repository `pymupdf-fonts " "`_." msgstr "" #: ../../../changes.txt:1935 c5bbfe6d1dfc44bea3cf4c3d67f6d27d msgid "" "**Added** :meth:`Font.valid_codepoints` which returns an array of unicode" " codepoints for which the font has a glyph." msgstr "" #: ../../../changes.txt:1936 d2abd73772384a31a507c1e1d6f4988b msgid "" "**Added** option ``text_as_path`` to :meth:`Page.getSVGimage`. this " "implements `#580 `_. " "Generates much smaller SVG files with parseable text if set to *False*." msgstr "" #: ../../../changes.txt:1941 0214e36149a247f698e38dfd899ff4fb msgid "**Changes in Version 1.17.4**" msgstr "" #: ../../../changes.txt:1943 e333e2461114401ea23d111aa11cbe48 msgid "" "**Fixed** issue `#561 `_. " "Handling of more than 10 :ref:`Font` objects on one page should now work " "correctly." msgstr "" #: ../../../changes.txt:1944 3dc7e6c23bdb4fa2af06fa690d6c50e1 msgid "" "**Fixed** issue `#562 `_. " "Annotation pixmaps are no longer derived from the page pixmap, thus " "avoiding unintended inclusion of page content." msgstr "" #: ../../../changes.txt:1945 598609fee1c2419f8f22dd734d9e4621 msgid "" "**Fixed** issue `#559 `_. " "This **MuPDF** bug is being temporarily fixed with a pre-version of " "MuPDF's next release." msgstr "" #: ../../../changes.txt:1946 2b01a159631746d0b9e27d2f4ee7f2f3 msgid "" "**Added** utility function :meth:`repair_mono_font` for correcting " "displayed character spacing for some mono-spaced fonts." msgstr "" #: ../../../changes.txt:1947 d63409b0745449c5b326f78fcbdb243d msgid "" "**Added** utility method :meth:`Document.need_appearances` for fine-" "controlling Form PDF behavior. Addresses issue `#563 " "`_." msgstr "" #: ../../../changes.txt:1948 261813b8c1164f85bd099615986583b1 msgid "" "**Added** utility function :meth:`sRGB_to_pdf` to recover the PDF color " "triple for a given color integer in sRGB format." msgstr "" #: ../../../changes.txt:1949 087525d5979d4e88b699951008f083cd msgid "" "**Added** utility function :meth:`sRGB_to_rgb` to recover the (R, G, B) " "color triple for a given color integer in sRGB format." msgstr "" #: ../../../changes.txt:1950 dfce06d94de945d298f54486d626b557 msgid "" "**Added** utility function :meth:`make_table` which delivers table cells " "for a given rectangle and desired numbers of columns and rows." msgstr "" #: ../../../changes.txt:1951 a5085ba0096648a5abdb1bac873f8a91 msgid "" "**Added** support for optional fonts in repository `pymupdf-fonts " "`_." msgstr "" #: ../../../changes.txt:1955 6035ab0f4f8f4c22b602c2975ca7a9bb msgid "**Changes in Version 1.17.3**" msgstr "" #: ../../../changes.txt:1957 dd9eec4fdfa74a648a0ddfffafa83372 msgid "" "**Fixed** an undocumented issue, which prevented fully cleaning a PDF " "page when using :meth:`Page.cleanContents`." msgstr "" #: ../../../changes.txt:1958 0847e901e54e42ab97132b411ad8703a msgid "" "**Fixed** issue `#540 `_. " "Text extraction for EPUB should again work correctly." msgstr "" #: ../../../changes.txt:1959 14b815222173483085dcc120dceb9f9b msgid "" "**Fixed** issue `#548 `_. " "Documentation now includes ``LINK_NAMED``." msgstr "" #: ../../../changes.txt:1960 f5eb1a9ec46e48479fef6e71d0ce3f21 msgid "" "**Added** new parameter to control start of text in " ":meth:`TextWriter.fillTextbox`. Implements `#549 " "`_." msgstr "" #: ../../../changes.txt:1961 67cf556f751344f683f697a61d518948 msgid "" "**Changed** documentation of :meth:`Page.add_redact_annot` to explain the" " usage of non-builtin fonts." msgstr "" #: ../../../changes.txt:1965 cc0c58ad8b0b41eda4f8e5716f2b16a8 msgid "**Changes in Version 1.17.2**" msgstr "" #: ../../../changes.txt:1967 c27ffc8eec8040018fa36d5790749cec msgid "**Fixed** issue `#533 `_." msgstr "" #: ../../../changes.txt:1968 27350a32fc7840bb8591f6081f20d94d msgid "" "**Added** options to modify 'Redact' annotation appearance. Implements " "`#535 `_." msgstr "" #: ../../../changes.txt:1973 b8bea379222d4215963ee2eb2ffa9049 msgid "**Changes in Version 1.17.1**" msgstr "" #: ../../../changes.txt:1975 60814804b9f84f3d8b98c3cf2dc5f20c msgid "**Fixed** issue `#520 `_." msgstr "" #: ../../../changes.txt:1976 9c3b1af133ad4aa9a4f08296f7affa70 msgid "" "**Fixed** issue `#525 `_. " "Vertices for 'Ink' annots should now be correct." msgstr "" #: ../../../changes.txt:1977 98b1d51b954b4c56bebe479ae1c44fdb msgid "" "**Fixed** issue `#524 `_. " "It is now possible to query and set rotation for applicable annotation " "types." msgstr "" #: ../../../changes.txt:1979 465b318c922644768dbf6d5a01328404 msgid "" "Also significantly improved inline documentation for better support of " "interactive help." msgstr "" #: ../../../changes.txt:1983 5cd63263f85a4783a6ccfc029201386b msgid "**Changes in Version 1.17.0**" msgstr "" #: ../../../changes.txt:1985 b87f5b93bd9b48eeb6c65b06340048e4 msgid "" "This version is based on MuPDF v1.17. Following are highlights of new and" " changed features:" msgstr "" #: ../../../changes.txt:1987 b2f1ba6ba94140b98e5cc0fe7a3faa3b msgid "" "**Added** extended language support for annotations and widgets: a " "mixture of Latin, Greece, Russian, Chinese, Japanese and Korean " "characters can now be used in 'FreeText' annotations and text widgets. No" " special arrangement is required to use it." msgstr "" #: ../../../changes.txt:1989 e733e136ba8c438db34aca4bb17fc4ef msgid "" "Faster page access is implemented for documents supporting a \"chapter\" " "structure. This applies to EPUB documents currently. This comes with " "several new :ref:`Document` methods and changes for " ":meth:`Document.loadPage` and the \"indexed\" page access *doc[n]*: In " "addition to specifying a page number as before, a tuple *(chaper, pno)* " "can be specified to identify the desired page." msgstr "" #: ../../../changes.txt:1991 971b877040f248cdba6abf69baeef371 msgid "" "**Changed:** Improved support of redaction annotations: images overlapped" " by redactions are **permanantly modified** by erasing the overlap areas." " Also links are removed if overlapped by redactions. This is now fully in" " sync with PDF specifications." msgstr "" #: ../../../changes.txt:1995 b49d2e2fb4e447e1b521a7c628189360 msgid "" "**Changed** :meth:`TextWriter.writeText` to support the *\"morph\"* " "parameter." msgstr "" #: ../../../changes.txt:1996 3fc9ed296a4f4010832533bc9a26128c msgid "" "**Added** methods :meth:`Rect.morph`, :meth:`IRect.morph`, and " ":meth:`Quad.morph`, which return a new :ref:`Quad`." msgstr "" #: ../../../changes.txt:1997 b20b08f09a414edaacd286b8f526b6f8 msgid "" "**Changed** :meth:`Page.add_freetext_annot` to support text alignment via" " a new *\"align\"* parameter." msgstr "" #: ../../../changes.txt:1998 2361ff8be9cc46e1b8f08ddefa02efae msgid "" "**Fixed** issue `#508 `_. " "Improved image rectangle calculation to hopefully deliver correct values " "in most if not all cases." msgstr "" #: ../../../changes.txt:1999 236cc95410f34fcc89f66e66388bfb9b msgid "**Fixed** issue `#502 `_." msgstr "" #: ../../../changes.txt:2000 b1667139e4fd40a187d32b0c93485b50 msgid "" "**Fixed** issue `#500 `_. " ":meth:`Document.convertToPDF` should no longer cause memory leaks." msgstr "" #: ../../../changes.txt:2001 08f135a6cd9f48d68424126027bef590 msgid "" "**Fixed** issue `#496 `_. " "Annotations and widgets / fields are now added or modified using the " "coordinates of the **unrotated page**. This behavior is now in sync with " "other methods modifying PDF pages." msgstr "" #: ../../../changes.txt:2002 0129ba9864fa48e3b4ddbc7f32269fc2 msgid "" "**Added** :attr:`Page.rotationMatrix` and :attr:`Page.derotationMatrix` " "to support coordinate transformations between the rotated and the " "original versions of a PDF page." msgstr "" #: ../../../changes.txt:2004 35a97c98b52e49278109e56b99107387 msgid "Potential code breaking changes:" msgstr "" #: ../../../changes.txt:2006 1a3fbe2084e24a759582e9aa05cc4591 msgid "" "The private method ``Page._getTransformation()`` has been removed. Use " "the public :attr:`Page.transformationMattrix` instead." msgstr "" #: ../../../changes.txt:2011 f06ca5ab722a487f87a29410f2bb377a msgid "**Changes in Version 1.16.18**" msgstr "" #: ../../../changes.txt:2013 75fa0dcdb41144b680ec66bfd4a6bd1a msgid "" "This version introduces several new features around PDF text output. The " "motivation is to simplify this task, while at the same time offering " "extending features." msgstr "" #: ../../../changes.txt:2015 13b1f23e60414710b4271079289007c0 msgid "" "One major achievement is using MuPDF's capabilities to dynamically " "choosing fallback fonts whenever a character cannot be found in the " "current one. This seemlessly works for Base-14 fonts in combination with " "CJK fonts (China, Japan, Korea). So a text may contain **any combination " "of characters** from the Latin, Greek, Russian, Chinese, Japanese and " "Korean languages." msgstr "" #: ../../../changes.txt:2017 6ffef279ab3d445ca46586a05c3e8d90 msgid "" "**Fixed** issue `#493 `_. " "``Pixmap(doc, xref)`` should now again correctly resemble the loaded " "image object." msgstr "" #: ../../../changes.txt:2018 afdb0475290145d38834c612bbb45088 msgid "" "**Fixed** issue `#488 `_. " "Widget names are now modifiable." msgstr "" #: ../../../changes.txt:2019 141ce60e1fc44924a6cbdea1662c8a7d msgid "**Added** new class :ref:`Font` which represents a font." msgstr "" #: ../../../changes.txt:2020 819be8edbaf04a2ebe870b12436fdad6 msgid "" "**Added** new class :ref:`TextWriter` which serves as a container for " "text to be written on a page." msgstr "" #: ../../../changes.txt:2021 be45ac51b3d7415e8150584132c49a33 msgid "" "**Added** :meth:`Page.writeText` to write one or more :ref:`TextWriter` " "objects to the page." msgstr "" #: ../../../changes.txt:2026 c355f22137584b4cbab6f6354bd95bda msgid "**Changes in Version 1.16.17**" msgstr "" #: ../../../changes.txt:2029 f3f07b3f33cc44c5984500283eb306e1 msgid "" "**Fixed** issue `#479 `_. " "PyMuPDF should now more correctly report image resolutions. This applies " "to both, images (either from images files or extracted from PDF " "documents) and pixmaps created from images." msgstr "" #: ../../../changes.txt:2030 96daad3b07ac4308a44d307f62c89c50 msgid "" "**Added** :meth:`Pixmap.set_dpi` which sets the image resolution in x and" " y directions." msgstr "" #: ../../../changes.txt:2034 33fc9fed734a4bf4990dd592129e984c msgid "**Changes in Version 1.16.16**" msgstr "" #: ../../../changes.txt:2037 765ca3ee977d42678126cf84057b4e3d msgid "**Fixed** issue `#477 `_." msgstr "" #: ../../../changes.txt:2038 6240d3c9c41c46be9652ecabcbae2fbb msgid "**Fixed** issue `#476 `_." msgstr "" #: ../../../changes.txt:2039 d5cd872ddead486aa29ca5b255ba885e msgid "" "**Changed** annotation line end symbol coloring and fixed an error " "coloring the interior of 'Polyline' /'Polygon' annotations." msgstr "" #: ../../../changes.txt:2043 bb450a98e5e04667aed64c1004529927 msgid "**Changes in Version 1.16.14**" msgstr "" #: ../../../changes.txt:2046 3228fbb9e5b4467498da27f2ad55fe5b msgid "" "**Changed** text marker annotations to accept parameters beyond just " "quadrilaterals such that now **text lines between two given points can be" " marked**." msgstr "" #: ../../../changes.txt:2048 a97e5cc2834a4e96b0ede1ad6db5c900 msgid "" "**Added** :meth:`Document.scrub` which **removes potentially sensitive " "data** from a PDF. Implements `#453 " "`_." msgstr "" #: ../../../changes.txt:2050 2f3c7cef276444c480a491776e3ef6e8 msgid "" "**Added** :meth:`Annot.blendMode` which returns the **blend mode** of " "annotations." msgstr "" #: ../../../changes.txt:2052 866e4a88a77d48a1b7aafb511b41907c msgid "" "**Added** :meth:`Annot.setBlendMode` to set the annotation's blend mode. " "This resolves issue `#416 " "`_." msgstr "" #: ../../../changes.txt:2053 501eb9ee56e84e60be74f5ba75eaecb4 msgid "" "**Changed** :meth:`Annot.update` to accept additional parameters for " "setting blend mode and opacity." msgstr "" #: ../../../changes.txt:2054 85b91d3af2b944e09ffc418872e3540e msgid "" "**Added** advanced graphics features to **control the anti-aliasing " "values**, :meth:`Tools.set_aa_level`. Resolves `#467 " "`_" msgstr "" #: ../../../changes.txt:2056 60b4c208b1c04edc9d0cc75db8e9b3ab msgid "**Fixed** issue `#474 `_." msgstr "" #: ../../../changes.txt:2057 4f4fa5bbd4bb45dc965381d06a2c28e1 msgid "**Fixed** issue `#466 `_." msgstr "" #: ../../../changes.txt:2063 c2150d5e98ed4b29a8d7d0e0e049893a msgid "**Changes in Version 1.16.13**" msgstr "" #: ../../../changes.txt:2066 6ffa2c895b184d7c9579c04c5e72d6cc msgid "" "**Added** :meth:`Document.getPageXObjectList` which returns a list of " "**Form XObjects** of the page." msgstr "" #: ../../../changes.txt:2067 1ad5db1dcf4e406d84fe85e8ac783a34 msgid "" "**Added** :meth:`Page.setMediaBox` for changing the physical PDF page " "size." msgstr "" #: ../../../changes.txt:2068 dc4ffb1b3bba4dd7a2c0b5018278954e msgid "" "**Added** :ref:`Page` methods which have been internal before: " ":meth:`Page.cleanContents` (= :meth:`Page._cleanContents`), " ":meth:`Page.getContents` (= :meth:`Page._getContents`), " ":meth:`Page.getTransformation` (= :meth:`Page._getTransformation`)." msgstr "" #: ../../../changes.txt:2074 0a926e1f6bb64ff4ab4b4fed8ea0ee89 msgid "**Changes in Version 1.16.12**" msgstr "" #: ../../../changes.txt:2076 6f5ea75220774bb684dc3fe1dbf48e9b msgid "**Fixed** issue `#447 `_" msgstr "" #: ../../../changes.txt:2077 71bac266ce3746019c6a08f26d3ec822 msgid "**Fixed** issue `#461 `_." msgstr "" #: ../../../changes.txt:2078 373fc96ec8a54dee8c321088ee944682 msgid "**Fixed** issue `#397 `_." msgstr "" #: ../../../changes.txt:2079 7cf9d00c4d19420abaaf8c58b10147a0 msgid "**Fixed** issue `#463 `_." msgstr "" #: ../../../changes.txt:2080 fe57fdfdfd8d4dbab5eed84540ad2c09 msgid "" "**Added** JavaScript support to PDF form fields, thereby fixing `#454 " "`_." msgstr "" #: ../../../changes.txt:2081 3eb09d62dd6044afa545088e6207f9f5 msgid "" "**Added** a new annotation method :meth:`Annot.delete_responses`, which " "removes 'Popup' and response annotations referring to the current one. " "Mainly serves data protection purposes." msgstr "" #: ../../../changes.txt:2082 5c849834cfb14620809866c9ac0b1f25 msgid "" "**Added** a new form field method :meth:`Widget.reset`, which resets the " "field value to its default." msgstr "" #: ../../../changes.txt:2083 1d43ac4e7dcf4344b0dfdcf700f6d7a5 msgid "" "**Changed** and extended handling of redactions: images and XObjects are " "removed if *contained* in a redaction rectangle. Any partial only " "overlaps will just be covered by the redaction background color. Now an " "*overlay* text can be specified to be inserted in the rectangle area to " "**take the place the deleted original** text. This resolves `#434 " "`_." msgstr "" #: ../../../changes.txt:2087 d41286ba5ebd44c280d5f43f2c164594 msgid "**Changes in Version 1.16.11**" msgstr "" #: ../../../changes.txt:2089 74c14cc395804937832a051835d5fecb msgid "" "**Added** Support for redaction annotations via method " ":meth:`Page.add_redact_annot` and :meth:`Page.apply_redactions`." msgstr "" #: ../../../changes.txt:2090 68b7efcedf5f4d94964ff855c1baaa83 msgid "**Fixed** issue #426 (\"PolygonAnnotation in 1.16.10 version\")." msgstr "" #: ../../../changes.txt:2091 247da6da5b67427fab1dc09bed47037f msgid "" "**Fixed** documentation only issues `#443 " "`_ and `#444 " "`_." msgstr "" #: ../../../changes.txt:2095 ed5a70ba54b5438786c6e36834b30a3d msgid "**Changes in Version 1.16.10**" msgstr "" #: ../../../changes.txt:2097 9147f50e16864bfe9fc59b9c324a45ca msgid "" "**Fixed** issue #421 (\"annot.set_rect(rect) has no effect on text " "Annotation\")" msgstr "" #: ../../../changes.txt:2098 2a0e32d4811546f3a036844d15350182 msgid "" "**Fixed** issue #417 (\"Strange behavior for page.deleteAnnot on 1.16.9 " "compare to 1.13.20\")" msgstr "" #: ../../../changes.txt:2099 85979328a4bc4780a1adf5da1b2e3893 msgid "**Fixed** issue #415 (\"Annot.setOpacity throws mupdf warnings\")" msgstr "" #: ../../../changes.txt:2100 2419b5fdf6bd4e14bf9217b890caa587 msgid "" "**Changed** all \"add annotation / widget\" methods to store a unique " "name in the */NM* PDF key." msgstr "" #: ../../../changes.txt:2101 9d4a65a638864c41800994ff9674b45a msgid "" "**Changed** :meth:`Annot.setInfo` to also accept direct parameters in " "addition to a dictionary." msgstr "" #: ../../../changes.txt:2102 d7c062a9ce2e4526a3f42e875262dd86 msgid "" "**Changed** :attr:`Annot.info` to now also show the annotation's unique " "id (*/NM* PDF key) if present." msgstr "" #: ../../../changes.txt:2103 e8cff5d5c3c8451381b2fbccf05c6ad9 msgid "" "**Added** :meth:`Page.annot_names` which returns a list of all annotation" " names (*/NM* keys)." msgstr "" #: ../../../changes.txt:2104 9e3fa2fe09b54dc29528cfced4d8729f msgid "" "**Added** :meth:`Page.load_annot` which loads an annotation given its " "unique id (*/NM* key)." msgstr "" #: ../../../changes.txt:2105 f5d8b4dd62cf460a9126ea02f116c488 msgid "" "**Added** :meth:`Document.reload_page` which provides a new copy of a " "page after finishing any pending updates to it." msgstr "" #: ../../../changes.txt:2110 072a5e68ce9a45629a888405caa5a5d2 msgid "**Changes in Version 1.16.9**" msgstr "" #: ../../../changes.txt:2112 c18c92f84efa4cfa8b797880e17d8bcb msgid "" "**Fixed** #412 (\"Feature Request: Allow controlling whether TOC entries " "should be collapsed\")" msgstr "" #: ../../../changes.txt:2113 f9a9a45513f74bfa9a4747231296426f msgid "**Fixed** #411 (\"Seg Fault with page.firstWidget\")" msgstr "" #: ../../../changes.txt:2114 cbe0b8f39db641068257179e30232c1f msgid "**Fixed** #407 (\"Annot.setOpacity trouble\")" msgstr "" #: ../../../changes.txt:2115 c4b9b8f9ef874c7f88678471ea871da9 msgid "" "**Changed** methods :meth:`Annot.setBorder`, :meth:`Annot.setColors`, " ":meth:`Link.setBorder`, and :meth:`Link.setColors` to also accept direct " "parameters, and not just cumbersome dictionaries." msgstr "" #: ../../../changes.txt:2119 d0e24eb6d1f34da0aca34159c1e8309c msgid "**Changes in Version 1.16.8**" msgstr "" #: ../../../changes.txt:2121 78fe31bc2d304b78a7a2cec103ad3a86 msgid "" "**Added** several new methods to the :ref:`Document` class, which make " "dealing with PDF low-level structures easier. I also decided to provide " "them as \"normal\" methods (as opposed to private ones starting with an " "underscore \"_\"). These are :meth:`Document.xrefObject`, " ":meth:`Document.xrefStream`, :meth:`Document.xrefStreamRaw`, " ":meth:`Document.PDFTrailer`, :meth:`Document.PDFCatalog`, " ":meth:`Document.metadataXML`, :meth:`Document.updateObject`, " ":meth:`Document.updateStream`." msgstr "" #: ../../../changes.txt:2122 f907ccb57c184be2857e9e13341bcf7f msgid "" "**Added** :meth:`Tools.mupdf_disply_errors` which sets the display of " "mupdf errors on *sys.stderr*." msgstr "" #: ../../../changes.txt:2123 462c8d75060e4a88a09ea596464f5368 msgid "" "**Added** a commandline facility. This a major new feature: you can now " "invoke several utility functions via *\"python -m fitz ...\"*. It should " "obsolete the need for many of the most trivial scripts. Please refer to " ":ref:`Module`." msgstr "" #: ../../../changes.txt:2128 4f1ac7ae88d343e886b0fc8edee75d46 msgid "**Changes in Version 1.16.7**" msgstr "" #: ../../../changes.txt:2130 59ec1afd2e0b4cd3a5dc260bd354751e msgid "" "Minor changes to better synchronize the binary image streams of " ":ref:`TextPage` image blocks and :meth:`Document.extractImage` images." msgstr "" #: ../../../changes.txt:2132 ac25ec6537ba4e92aab44dcf172c4ba8 msgid "" "**Fixed** issue #394 (\"PyMuPDF Segfaults when using " "TOOLS.mupdf_warnings()\")." msgstr "" #: ../../../changes.txt:2133 d9b7bf416f824ce09246787bdda98e63 msgid "" "**Changed** redirection of MuPDF error messages: apart from writing them " "to Python *sys.stderr*, they are now also stored with the MuPDF warnings." msgstr "" #: ../../../changes.txt:2134 f40406dcc3f04e31b7a7a9805de02e42 msgid "" "**Changed** :meth:`Tools.mupdf_warnings` to automatically empty the store" " (if not deactivated via a parameter)." msgstr "" #: ../../../changes.txt:2135 2299c535d3cb4aa6a186707196175500 msgid "" "**Changed** :meth:`Page.getImageBbox` to return an **infinite rectangle**" " if the image could not be located on the page -- instead of raising an " "exception." msgstr "" #: ../../../changes.txt:2140 bfbc4d7dee2442f3b0f015ea21421028 msgid "**Changes in Version 1.16.6**" msgstr "" #: ../../../changes.txt:2142 c28c263feaa6419cb63d73ad8209d28d msgid "**Fixed** issue #390 (\"Incomplete deletion of annotations\")." msgstr "" #: ../../../changes.txt:2143 c5219152f7854dc88d39a7689713a4a8 msgid "" "**Changed** :meth:`Page.searchFor` / :meth:`Document.searchPageFor` to " "also support the *flags* parameter, which controls the data included in a" " :ref:`TextPage`." msgstr "" #: ../../../changes.txt:2144 21ea396db0a04f04ac4bf6146ab72b59 msgid "" "**Changed** :meth:`Document.getPageImageList`, " ":meth:`Document.getPageFontList` and their :ref:`Page` counterparts to " "support a new parameter *full*. If true, the returned items will contain " "the :data:`xref` of the *Form XObject* where the font or image is " "referenced." msgstr "" #: ../../../changes.txt:2148 69f333b42ed44c918c9378c6632bd3e2 msgid "**Changes in Version 1.16.5**" msgstr "" #: ../../../changes.txt:2150 9f2ab73d9d874b4784539e77ddee4f5b msgid "More performance improvements for text extraction." msgstr "" #: ../../../changes.txt:2152 fb2a1a0548f3424b8d89927d5f5047ee msgid "**Fixed** second part of issue #381 (see item in v1.16.4)." msgstr "" #: ../../../changes.txt:2153 3f0ac5e4286c4997836ff33e123dbaf4 msgid "" "**Added** :meth:`Page.getTextPage`, so it is no longer required to create" " an intermediate display list for text extractions. Page level wrappers " "for text extraction and text searching are now based on this, which " "should improve performance by ca. 5%." msgstr "" #: ../../../changes.txt:2157 9e9865f910ed4d4399d4dfbe3c3d0597 msgid "**Changes in Version 1.16.4**" msgstr "" #: ../../../changes.txt:2160 e7d84df2ad7448e1880d04a6a7858521 msgid "" "**Fixed** issue #381 (\"TextPage.extractDICT ... failed ... after " "upgrading ... to 1.16.3\")" msgstr "" #: ../../../changes.txt:2161 17ca6aae522d4d84a5b1c510ca445cc6 msgid "" "**Added** method :meth:`Document.pages` which delivers a generator " "iterator over a page range." msgstr "" #: ../../../changes.txt:2162 b2b7308c362b461bb878fcc1538a0c92 msgid "" "**Added** method :meth:`Page.links` which delivers a generator iterator " "over the links of a page." msgstr "" #: ../../../changes.txt:2163 765160822cdc4aa9b4b723db791c91b6 msgid "" "**Added** method :meth:`Page.annots` which delivers a generator iterator " "over the annotations of a page." msgstr "" #: ../../../changes.txt:2164 3eb7fc95d4214c22a621ccb900d1e490 msgid "" "**Added** method :meth:`Page.widgets` which delivers a generator iterator" " over the form fields of a page." msgstr "" #: ../../../changes.txt:2165 d91d637897d54651a998f7dc0d19dc08 msgid "" "**Changed** :attr:`Document.is_form_pdf` to now contain the number of " "widgets, and *False* if not a PDF or this number is zero." msgstr "" #: ../../../changes.txt:2170 c01be0ed23784665aa2ce10d9ee9e605 msgid "**Changes in Version 1.16.3**" msgstr "" #: ../../../changes.txt:2172 112fd892e91d4394b0bbd52b9a508533 msgid "" "Minor changes compared to version 1.16.2. The code of the \"dict\" and " "\"rawdict\" variants of :meth:`Page.getText` has been ported to C which " "has greatly improved their performance. This improvement is mostly " "noticeable with text-oriented documents, where they now should execute " "almost two times faster." msgstr "" #: ../../../changes.txt:2174 529a6e2ef3a44e7496d36d3b262a6697 msgid "" "**Fixed** issue #369 (\"mupdf: cmsCreateTransform failed\") by removing " "ICC colorspace support." msgstr "" #: ../../../changes.txt:2175 d2e2ed462d9a420181f57a3bf178f0c7 msgid "" "**Changed** :meth:`Page.getText` to accept additional keywords \"blocks\"" " and \"words\". These will deliver the results of " ":meth:`Page.getTextBlocks` and :meth:`Page.getTextWords`, respectively. " "So all text extraction methods are now available via a uniform API. " "Correspondingly, there are now new methods :meth:`TextPage.extractBLOCKS`" " and :meth:`TextPage.extractWords`." msgstr "" #: ../../../changes.txt:2176 1c333634e45449ce9b326aff470a6f28 msgid "" "**Changed** :meth:`Page.getText` to default bit indicator " "*TEXT_INHIBIT_SPACES* to **off**. Insertion of additional spaces is **not" " suppressed** by default." msgstr "" #: ../../../changes.txt:2180 12e20189c1f143da88f1568d186c2402 msgid "**Changes in Version 1.16.2**" msgstr "" #: ../../../changes.txt:2182 5b0a0190d48d45a79172681a52191e85 msgid "" "**Changed** text extraction methods of :ref:`Page` to allow detail " "control of the amount of extracted data." msgstr "" #: ../../../changes.txt:2183 26cc0a7bee624a97a6c6ee19ee703703 msgid "" "**Added** :meth:`planish_line` which maps a given line (defined as a pair" " of points) to the x-axis." msgstr "" #: ../../../changes.txt:2184 b3df1c1be11846f9993b323a07181579 msgid "" "**Fixed** an issue (w/o Github number) which brought down the interpreter" " when encountering certain non-UTF-8 encodable characters while using " ":meth:`Page.getText` with te \"dict\" option." msgstr "" #: ../../../changes.txt:2185 e6ba0bd1a32e4b12891ded9326249a81 msgid "**Fixed** issue #362 (\"Memory Leak with getText('rawDICT')\")." msgstr "" #: ../../../changes.txt:2189 e9569fdba664447da20f33096718b92f msgid "**Changes in Version 1.16.1**" msgstr "" #: ../../../changes.txt:2191 dcc8cf6fc2384f3bb994e03b3a87c729 msgid "" "**Added** property :attr:`Quad.is_convex` which checks whether a line is " "contained in the quad if it connects two points of it." msgstr "" #: ../../../changes.txt:2192 cc61e8f19f5e488b8316b4e8235659f5 msgid "" "**Changed** :meth:`Document.insert_pdf` to now allow dropping or " "including links and annotations independently during the copy. Fixes " "issue #352 (\"Corrupt PDF data and ...\"), which seemed to intermittently" " occur when using the method for some problematic PDF files." msgstr "" #: ../../../changes.txt:2193 d407b04268d44237912c00860184f190 msgid "" "**Fixed** a bug which, in matrix division using the syntax *\"m1/m2\"*, " "caused matrix *\"m1\"* to be **replaced** by the result instead of " "delivering a new matrix." msgstr "" #: ../../../changes.txt:2194 7817d3234a47487b971b3830ef28ec19 msgid "" "**Fixed** issue #354 (\"SyntaxWarning with Python 3.8\"). We now always " "use *\"==\"* for literals (instead of the *\"is\"* Python keyword)." msgstr "" #: ../../../changes.txt:2195 ec50e4c219bd4062ad4ed5c0dddaac86 msgid "" "**Fixed** issue #353 (\"mupdf version check\"), to no longer refuse the " "import when there are only patch level deviations from MuPDF." msgstr "" #: ../../../changes.txt:2201 97813723c7e74febb3697d506c0094da msgid "**Changes in Version 1.16.0**" msgstr "" #: ../../../changes.txt:2203 2c7908f042184d21a92a433a0dace8f2 msgid "" "This major new version of MuPDF comes with several nice new or changed " "features. Some of them imply programming API changes, however. This is a " "synopsis of what has changed:" msgstr "" #: ../../../changes.txt:2205 a005bf6b6c26445f8a8e708efa7b1e6d msgid "" "PDF document encryption and decryption is now **fully supported**. This " "includes setting **permissions**, **passwords** (user and owner " "passwords) and the desired encryption method." msgstr "" #: ../../../changes.txt:2206 f64056f6bc3f4c5c9e5716fd5b547a3b msgid "" "In response to the new encryption features, PyMuPDF returns an integer " "(ie. a combination of bits) for document permissions, and no longer a " "dictionary." msgstr "" #: ../../../changes.txt:2207 12c5b87d97b548be96df9490e4a9b1f8 msgid "" "Redirection of MuPDF errors and warnings is now natively supported. " "PyMuPDF redirects error messages from MuPDF to *sys.stderr* and no longer" " buffers them. Warnings continue to be buffered and will not be " "displayed. Functions exist to access and reset the warnings buffer." msgstr "" #: ../../../changes.txt:2208 9ee23cc47bf54e33ac5b25ec8bd3a5b0 msgid "Annotations are now **only supported for PDF**." msgstr "" #: ../../../changes.txt:2209 043f8a35721a45789fc958c22ae0db05 msgid "" "Annotations and widgets (form fields) are now **separate object chains** " "on a page (although widgets technically still **are** PDF annotations). " "This means, that you will **never encounter widgets** when using " ":attr:`Page.firstAnnot` or :meth:`Annot.next`. You must use " ":attr:`Page.firstWidget` and :meth:`Widget.next` to access form fields." msgstr "" #: ../../../changes.txt:2210 98ff046f99264c3aadf74240a8bc473d msgid "" "As part of MuPDF's changes regarding widgets, only the following four " "fonts are supported, when **adding** or **changing** form fields: " "**Courier, Helvetica, Times-Roman** and **ZapfDingBats**." msgstr "" #: ../../../changes.txt:2212 c153729a2d494ff0ae2def2ff637078a msgid "List of change details:" msgstr "" #: ../../../changes.txt:2214 b23f45be6d7741b295688a68df3dab61 msgid "" "**Added** :meth:`Document.can_save_incrementally` which checks conditions" " that are preventing use of option *incremental=True* of " ":meth:`Document.save`." msgstr "" #: ../../../changes.txt:2215 f4ec8c96484849b498b2ccf6668ed972 msgid "" "**Added** :attr:`Page.firstWidget` which points to the first field on a " "page." msgstr "" #: ../../../changes.txt:2216 bcff0ac6bdc749b7b1bdca9295590789 msgid "" "**Added** :meth:`Page.getImageBbox` which returns the rectangle occupied " "by an image shown on the page." msgstr "" #: ../../../changes.txt:2217 027854d96da7483d84939b2e60db8b94 msgid "" "**Added** :meth:`Annot.setName` which lets you change the (icon) name " "field." msgstr "" #: ../../../changes.txt:2218 bcc01e342bb8486ca3ef80ba6e2007f8 msgid "" "**Added** outputting the text color in :meth:`Page.getText`: the " "*\"dict\"*, *\"rawdict\"* and *\"xml\"* options now also show the color " "in sRGB format." msgstr "" #: ../../../changes.txt:2219 bc0cbfa3b0484956b6eaea0bdb98a8fc msgid "" "**Changed** :attr:`Document.permissions` to now contain an integer of " "bool indicators -- was a dictionary before." msgstr "" #: ../../../changes.txt:2220 820b45730e5f4cd09d1a94837ecb4e08 msgid "" "**Changed** :meth:`Document.save`, :meth:`Document.write`, which now " "fully support password-based decryption and encryption of PDF files." msgstr "" #: ../../../changes.txt:2221 4731ba6ffeda46a2a2d03259b480522f msgid "" "**Changed the names of all Python constants** related to annotations and " "widgets. Please make sure to consult the **Constants and Enumerations** " "chapter if your script is dealing with these two classes. This decision " "goes back to the dropped support for non-PDF annotations. The **old " "names** (starting with \"ANNOT_*\" or \"WIDGET_*\") will be available as " "deprecated synonyms." msgstr "" #: ../../../changes.txt:2222 238de30d8f3c49d48c79ee5b21a0e5f6 msgid "" "**Changed** font support for widgets: only *Cour* (Courier), *Helv* " "(Helvetica, default), *TiRo* (Times-Roman) and *ZaDb* (ZapfDingBats) are " "accepted when **adding or changing** form fields. Only the plain versions" " are possible -- not their italic or bold variations. **Reading** " "widgets, however will show its original font." msgstr "" #: ../../../changes.txt:2223 e763e7235e744348bb116c13b8db7bfa msgid "" "**Changed** the name of the warnings buffer to " ":meth:`Tools.mupdf_warnings` and the function to empty this buffer is now" " called :meth:`Tools.reset_mupdf_warnings`." msgstr "" #: ../../../changes.txt:2224 e51bbdba4a7f47c99ae6f3828cb8299d msgid "" "**Changed** :meth:`Page.getPixmap`, :meth:`Document.get_page_pixmap`: a " "new bool argument *annots* can now be used to **suppress the rendering of" " annotations** on the page." msgstr "" #: ../../../changes.txt:2225 caaa515792364bf3902f0f1c3f484995 msgid "" "**Changed** :meth:`Page.add_file_annot` and :meth:`Page.add_text_annot` " "to enable setting an icon." msgstr "" #: ../../../changes.txt:2226 0086e4a6b881460f8c71102f2729bc2d msgid "" "**Removed** widget-related methods and attributes from the :ref:`Annot` " "object." msgstr "" #: ../../../changes.txt:2227 f50931d062644b8f880b652ea90f83f5 msgid "" "**Removed** :ref:`Document` attributes *openErrCode*, *openErrMsg*, and " ":ref:`Tools` attributes / methods *stderr*, *reset_stderr*, *stdout*, and" " *reset_stdout*." msgstr "" #: ../../../changes.txt:2228 a67f4a89f4f64dd68267c94b2d73ce86 msgid "" "**Removed** **thirdparty zlib** dependency in PyMuPDF: there are now " "compression functions available in MuPDF. Source installers of PyMuPDF " "may now omit this extra installation step." msgstr "" #: ../../../changes.txt:2230 42c8303233d940a8bb202082575e9d67 msgid "**No version published for MuPDF v1.15.0**" msgstr "" #: ../../../changes.txt:2235 0e262b2012e24e66bcbb16697b9750e3 msgid "**Changes in Version 1.14.20 / 1.14.21**" msgstr "" #: ../../../changes.txt:2237 cf8c37c3fab846c3bfc824d30a64fe50 msgid "" "**Changed** text marker annotations to support multiple rectangles / " "quadrilaterals. This fixes issue #341 (\"Question : How to addhighlight " "so that a string spread across more than a line is covered by one " "highlight?\") and similar (#285)." msgstr "" #: ../../../changes.txt:2238 cea5aecbd9e84d1aa23aa5d28149aa16 msgid "" "**Fixed** issue #331 (\"Importing PyMuPDF changes warning filtering " "behaviour globally\")." msgstr "" #: ../../../changes.txt:2243 97bdc13f89b8480bb31a7a26ed32a594 msgid "**Changes in Version 1.14.19**" msgstr "" #: ../../../changes.txt:2245 6b2efadb462c476c86b64734cc2f0abe msgid "**Fixed** issue #319 (\"InsertText function error when use custom font\")." msgstr "" #: ../../../changes.txt:2246 55649a3c6956439eb948ff4f5d16de35 msgid "" "**Added** new method :meth:`Document.get_sigflags` which returns " "information on whether a PDF is signed. Resolves issue #326 (\"How to " "detect signature in a form pdf?\")." msgstr "" #: ../../../changes.txt:2251 8b00c1d84be44f0e843dcc2f618a054f msgid "**Changes in Version 1.14.17**" msgstr "" #: ../../../changes.txt:2253 bf77aace3abb4d87a3a27f4fde38cdee msgid "" "**Added** :meth:`Document.fullcopyPage` to make full page copies within a" " PDF (not just copied references as :meth:`Document.copyPage` does)." msgstr "" #: ../../../changes.txt:2254 f5f13a70b41041ac94342d177b78283e msgid "" "**Changed** :meth:`Page.getPixmap`, :meth:`Document.get_page_pixmap` now " "use *alpha=False* as default." msgstr "" #: ../../../changes.txt:2255 0b81e0a298f842cfae56289c691fc8af msgid "" "**Changed** text extraction: the span dictionary now (again) contains its" " rectangle under the *bbox* key." msgstr "" #: ../../../changes.txt:2256 80171c31ff824cf5a8796464b7f185bd msgid "" "**Changed** :meth:`Document.movePage` and :meth:`Document.copyPage` to " "use direct functions instead of wrapping :meth:`Document.select` -- " "similar to :meth:`Document.delete_page` in v1.14.16." msgstr "" #: ../../../changes.txt:2260 2102f0e54ede402daf1c78dac1d0ca26 msgid "**Changes in Version 1.14.16**" msgstr "" #: ../../../changes.txt:2262 6703d3f0199a482cadb2d9a376aaa7c6 msgid "" "**Changed** :ref:`Document` methods around PDF */EmbeddedFiles* to no " "longer use MuPDF's \"portfolio\" functions. That support will be dropped " "in MuPDF v1.15 -- therefore another solution was required." msgstr "" #: ../../../changes.txt:2263 6447adac2fa6472d8d443e4326ffe0f4 msgid "" "**Changed** :meth:`Document.embfile_Count` to be a function (was an " "attribute)." msgstr "" #: ../../../changes.txt:2264 0f5ec06d87f74cdc82a5f05fa5beae80 msgid "" "**Added** new method :meth:`Document.embfile_Names` which returns a list " "of names of embedded files." msgstr "" #: ../../../changes.txt:2265 c99e5b42134b48d28118a34b7b00f400 msgid "" "**Changed** :meth:`Document.delete_page` and " ":meth:`Document.delete_pages` to internally no longer use " ":meth:`Document.select`, but instead use functions to perform the " "deletion directly. As it has turned out, the :meth:`Document.select` " "method yields invalid outline trees (tables of content) for very complex " "PDFs and sophisticated use of annotations." msgstr "" #: ../../../changes.txt:2270 d47507f7f3114b71864f6f89dff1d8de msgid "**Changes in Version 1.14.15**" msgstr "" #: ../../../changes.txt:2272 685a47651ab74ab9baa02751bdfeea45 msgid "" "**Fixed** issues #301 (\"Line cap and Line join\"), #300 (\"How to draw a" " shape without outlines\") and #298 (\"utils.updateRect exception\"). " "These bugs pertain to drawing shapes with PyMuPDF. Drawing shapes without" " any border is fully supported. Line cap styles and line line join style " "are now differentiated and support all possible PDF values (0, 1, 2) " "instead of just being a bool. The previous parameter *roundCap* is " "deprecated in favor of *lineCap* and *lineJoin* and will be deleted in " "the next release." msgstr "" #: ../../../changes.txt:2273 69635ffd084f40da8a77aef036ecbc5b msgid "" "**Fixed** issue #290 (\"Memory Leak with getText('rawDICT')\"). This bug " "caused memory not being (completely) freed after invoking the \"dict\", " "\"rawdict\" and \"json\" versions of :meth:`Page.getText`." msgstr "" #: ../../../changes.txt:2278 347daa4b4d614a538c8264a0f7513365 msgid "**Changes in Version 1.14.14**" msgstr "" #: ../../../changes.txt:2280 fd89b8ffed0e45b4becf36770405f0a5 msgid "" "**Added** new low-level function :meth:`ImageProperties` to determine a " "number of characteristics for an image." msgstr "" #: ../../../changes.txt:2281 5b71c3a43a3d4b468a46d3704d1a5fed msgid "" "**Added** new low-level function :meth:`Document.is_stream`, which checks" " whether an object is of stream type." msgstr "" #: ../../../changes.txt:2282 7704e37dc4954c43891ea6905e994602 msgid "" "**Changed** low-level functions :meth:`Document._getXrefString` and " ":meth:`Document._getTrailerString` now by default return object " "definitions in a formatted form which makes parsing easy." msgstr "" #: ../../../changes.txt:2286 60c8b7ae348144f590caa8dd2b6475b4 msgid "**Changes in Version 1.14.13**" msgstr "" #: ../../../changes.txt:2288 409b6e7270844e05986a6af2e04bf234 msgid "" "**Changed** methods working with binary input: while ever supporting " "bytes and bytearray objects, they now also accept *io.BytesIO* input, " "using their *getvalue()* method. This pertains to document creation, " "embedded files, FileAttachment annotations, pixmap creation and others. " "Fixes issue #274 (\"Segfault when using BytesIO as a stream for " "insertImage\")." msgstr "" #: ../../../changes.txt:2289 517a02e2889046a4bf151c5da878dec9 msgid "" "**Fixed** issue #278 (\"Is insertImage(keep_proportion=True) broken?\"). " "Images are now correctly presented when keeping aspect ratio." msgstr "" #: ../../../changes.txt:2294 d22de33a96de48479a5d908ec0ba6cd2 msgid "**Changes in Version 1.14.12**" msgstr "" #: ../../../changes.txt:2296 8e8898b2f62f4ccfabbc4633afa8d524 msgid "" "**Changed** the draw methods of :ref:`Page` and :ref:`Shape` to support " "not only RGB, but also GRAY and CMYK colorspaces. This solves issue #270 " "(\"Is there a way to use CMYK color to draw shapes?\"). This change also " "applies to text insertion methods of :ref:`Shape`, resp. :ref:`Page`." msgstr "" #: ../../../changes.txt:2297 12008f80180643aeb7c59cd9d81f7b17 msgid "" "**Fixed** issue #269 (\"AttributeError in Document.insert_page()\"), " "which occurred when using :meth:`Document.insert_page` with text " "insertion." msgstr "" #: ../../../changes.txt:2302 5926b5208b964e5bb1c6d9aa237e3b25 msgid "**Changes in Version 1.14.11**" msgstr "" #: ../../../changes.txt:2304 7cd2f991658242e0a818633e00e32840 msgid "" "**Changed** :meth:`Page.show_pdf_page` to always position the source " "rectangle centered in the target. This method now also supports " "**rotation by arbitrary angles**. The argument *reuse_xref* has been " "deprecated: prevention of duplicates is now **handled internally**." msgstr "" #: ../../../changes.txt:2305 92cb4e6a37f04f8fbe1fe50f20b4315e msgid "" "**Changed** :meth:`Page.insertImage` to support rotated display of the " "image and keeping the aspect ratio. Only rotations by multiples of 90 " "degrees are supported here." msgstr "" #: ../../../changes.txt:2306 a3321e012bd14420978e83b39fe71692 msgid "" "**Fixed** issue #265 (\"TypeError: insertText() got an unexpected keyword" " argument 'idx'\"). This issue only occurred when using " ":meth:`Document.insert_page` with also inserting text." msgstr "" #: ../../../changes.txt:2310 ce94e552e8634de490994f5a58a88b5a msgid "**Changes in Version 1.14.10**" msgstr "" #: ../../../changes.txt:2312 91400574def7471c9bcf3e3b784293fa msgid "" "**Changed** :meth:`Page.show_pdf_page` to support rotation of the source " "rectangle. Fixes #261 (\"Cannot rotate insterted pages\")." msgstr "" #: ../../../changes.txt:2313 373a473d44604ea0a33bee60a4608003 msgid "" "**Fixed** a bug in :meth:`Page.insertImage` which prevented insertion of " "multiple images provided as streams." msgstr "" #: ../../../changes.txt:2318 a745612de5d944648494f2f4fe5a7367 msgid "**Changes in Version 1.14.9**" msgstr "" #: ../../../changes.txt:2320 786372a66f0346f5b2ebf49918ac01fc msgid "" "**Added** new low-level method :meth:`Document._getTrailerString`, which " "returns the trailer object of a PDF. This is much like " ":meth:`Document._getXrefString` except that the PDF trailer has no / " "needs no :data:`xref` to identify it." msgstr "" #: ../../../changes.txt:2321 166ee0276f23464790afa4aa78d3fb2b msgid "" "**Added** new parameters for text insertion methods. You can now set " "stroke and fill colors of glyphs (text characters) independently, as well" " as the thickness of the glyph border. A new parameter *render_mode* " "controls the use of these colors, and whether the text should be visible " "at all." msgstr "" #: ../../../changes.txt:2322 ec5e00cd07f74051b60872c21459da65 msgid "" "**Fixed** issue #258 (\"Copying image streams to new PDF without size " "increase\"): For JPX images embedded in a PDF, " ":meth:`Document.extractImage` will now return them in their original " "format. Previously, the MuPDF base library was used, which returns them " "in PNG format (entailing a massive size increase)." msgstr "" #: ../../../changes.txt:2323 9c4df9a330534524ae96733260628fa2 msgid "" "**Fixed** issue #259 (\"Morphing text to fit inside rect\"). Clarified " "use of :meth:`get_text_length` and removed extra line breaks for long " "words." msgstr "" #: ../../../changes.txt:2327 40cd0da7bb2c49d28cf036e85d01e73d msgid "**Changes in Version 1.14.8**" msgstr "" #: ../../../changes.txt:2329 c23dc29674cd4476a5d1ce8bdba7c25b msgid "" "**Added** :meth:`Pixmap.set_rect` to change the pixel values in a " "rectangle. This is also an alternative to setting the color of a complete" " pixmap (:meth:`Pixmap.clear_with`)." msgstr "" #: ../../../changes.txt:2330 647ba02e1ad3448b85b1e417300551d5 msgid "" "**Fixed** an image extraction issue with JBIG2 (monochrome) encoded PDF " "images. The issue occurred in :meth:`Page.getText` (parameters \"dict\" " "and \"rawdict\") and in :meth:`Document.extractImage` methods." msgstr "" #: ../../../changes.txt:2331 97187008a30a4a7cad0a589358db47c2 msgid "" "**Fixed** an issue with not correctly clearing a non-alpha :ref:`Pixmap` " "(:meth:`Pixmap.clear_with`)." msgstr "" #: ../../../changes.txt:2332 e8d31f10770246f0a19e29e3fe088dba msgid "" "**Fixed** an issue with not correctly inverting colors of a non-alpha " ":ref:`Pixmap` (:meth:`Pixmap.invert_irect`)." msgstr "" #: ../../../changes.txt:2336 67dff84982fa4c1680c49d7d32e32cd7 msgid "**Changes in Version 1.14.7**" msgstr "" #: ../../../changes.txt:2338 7a13d485e8154810a7af7370e7e9252d msgid "**Added** :meth:`Pixmap.set_pixel` to change one pixel value." msgstr "" #: ../../../changes.txt:2339 4c9debbd3ad14281953bef2ed96535b3 msgid "**Added** documentation for image conversion in the :ref:`FAQ`." msgstr "" #: ../../../changes.txt:2340 78bdc22a5a5e4e64a9d8b4b07bfb1123 msgid "" "**Added** new function :meth:`get_text_length` to determine the string " "length for a given font." msgstr "" #: ../../../changes.txt:2341 a5c814fd37c640aa8a93aa10f85c235c msgid "" "**Added** Postscript image output (changed :meth:`Pixmap.save` and " ":meth:`Pixmap.tobytes`)." msgstr "" #: ../../../changes.txt:2342 f3c2525369734e7089b7c83e8cf9de47 msgid "" "**Changed** :meth:`Pixmap.save` and :meth:`Pixmap.tobytes` to ensure " "valid combinations of colorspace, alpha and output format." msgstr "" #: ../../../changes.txt:2343 b9e74f4416644fccb65daa7e89c723c3 msgid "" "**Changed** :meth:`Pixmap.save`: the desired format is now inferred from " "the filename." msgstr "" #: ../../../changes.txt:2344 2d75602bfe7c4491afe16b74bc43214f msgid "" "**Changed** FreeText annotations can now have a transparent background - " "see :meth:`Annot.update`." msgstr "" #: ../../../changes.txt:2348 6c3551ae311845ee9b99b03931d18295 msgid "**Changes in Version 1.14.5**" msgstr "" #: ../../../changes.txt:2350 bf604455e7bc49078d6f8fad925b9c40 msgid "" "**Changed:** :ref:`Shape` methods now strictly use the transformation " "matrix of the :ref:`Page` -- instead of \"manually\" calculating " "locations." msgstr "" #: ../../../changes.txt:2351 a31dae7889694da7be488d4e185ec9eb msgid "" "**Added** method :meth:`Pixmap.pixel` which returns the pixel value (a " "list) for given pixel coordinates." msgstr "" #: ../../../changes.txt:2352 27fb489fd3c4437dae7d84ea827220f4 msgid "" "**Added** method :meth:`Pixmap.tobytes` which returns a bytes object " "representing the pixmap in a variety of formats. Previously, this could " "be done for PNG outputs only (:meth:`Pixmap.tobytes`)." msgstr "" #: ../../../changes.txt:2353 1c71f20d72344b9d92a9db58d371f81b msgid "" "**Changed:** output of methods :meth:`Pixmap.save` and (the new) " ":meth:`Pixmap.tobytes` may now also be PSD (Adobe Photoshop Document)." msgstr "" #: ../../../changes.txt:2354 fa29ec91aa714c5f907b7366ffb9a3b9 msgid "" "**Added** method :meth:`Shape.drawQuad` which draws a :ref:`Quad`. This " "actually is a shorthand for a :meth:`Shape.drawPolyline` with the edges " "of the quad." msgstr "" #: ../../../changes.txt:2355 91031a98d09349dbb69473db2e7329ec msgid "" "**Changed** method :meth:`Shape.drawOval`: the argument can now be " "**either** a rectangle (:data:`rect_like`) **or** a quadrilateral " "(:data:`quad_like`)." msgstr "" #: ../../../changes.txt:2359 0e8436f8a5324f5c854c6da3891f584a msgid "**Changes in Version 1.14.4**" msgstr "" #: ../../../changes.txt:2361 f161930e41614a59bd8398be1a48b0c9 msgid "**Fixes** issue #239 \"Annotation coordinate consistency\"." msgstr "" #: ../../../changes.txt:2366 f717329397b04912b44b761001662800 msgid "**Changes in Version 1.14.3**" msgstr "" #: ../../../changes.txt:2368 c8623149250744e589dc449330738ae7 msgid "This patch version contains minor bug fixes and CJK font output support." msgstr "" #: ../../../changes.txt:2370 090ca3d9b2344ba888c0876c7b71ace0 msgid "" "**Added** support for the four CJK fonts as PyMuPDF generated text " "output. This pertains to methods :meth:`Page.insertFont`, " ":meth:`Shape.insertText`, :meth:`Shape.insertTextbox`, and corresponding " ":ref:`Page` methods. The new fonts are available under \"reserved\" " "fontnames \"china-t\" (traditional Chinese), \"china-s\" (simplified " "Chinese), \"japan\" (Japanese), and \"korea\" (Korean)." msgstr "" #: ../../../changes.txt:2371 0883c9f987274b41ae7f270c3f497622 msgid "**Added** full support for the built-in fonts 'Symbol' and 'Zapfdingbats'." msgstr "" #: ../../../changes.txt:2372 28cecba376654ea4aabaf41a9a9e76a0 msgid "" "**Changed:** The 14 standard fonts can now each be referenced by a " "4-letter abbreviation." msgstr "" #: ../../../changes.txt:2376 2af6e8674b4443da9ecbfff548ce5a69 msgid "**Changes in Version 1.14.1**" msgstr "" #: ../../../changes.txt:2378 b0f0dfdd4d05439fbb192a2fff012afd msgid "This patch version contains minor performance improvements." msgstr "" #: ../../../changes.txt:2380 d55c7a1c5617427cae944d98885ab488 msgid "" "**Added** support for :ref:`Document` filenames given as *pathlib* object" " by using the Python *str()* function." msgstr "" #: ../../../changes.txt:2385 8408ffdc08bd4b988e1d1d8706e8852d msgid "**Changes in Version 1.14.0**" msgstr "" #: ../../../changes.txt:2387 5e88bed306444855bb7cb18769259f07 msgid "" "To support MuPDF v1.14.0, massive changes were required in PyMuPDF -- " "most of them purely technical, with little visibility to developers. But " "there are also quite a lot of interesting new and improved features. " "Following are the details:" msgstr "" #: ../../../changes.txt:2389 ddc84ec9e77d406180396849960f6fd3 msgid "**Added** \"ink\" annotation." msgstr "" #: ../../../changes.txt:2390 5ef49f9b2028452da946e586194111bd msgid "**Added** \"rubber stamp\" annotation." msgstr "" #: ../../../changes.txt:2391 4a7bb926db894ea39c7f10315f2e825a msgid "**Added** \"squiggly\" text marker annotation." msgstr "" #: ../../../changes.txt:2392 3398303dd33846db9cfde43f06070d2d msgid "" "**Added** new class :ref:`Quad` (quadrilateral or tetragon) -- which " "represents a general four-sided shape in the plane. The special subtype " "of rectangular, non-empty tetragons is used in text marker annotations " "and as returned objects in text search methods." msgstr "" #: ../../../changes.txt:2393 6c56ac281b924d2fb189ede6e9c8be61 msgid "" "**Added** a new option \"decrypt\" to :meth:`Document.save` and " ":meth:`Document.write`. Now you can **keep encryption** when saving a " "password protected PDF." msgstr "" #: ../../../changes.txt:2394 b394b2a1574646c89160273346915f47 msgid "" "**Added** suppression and redirection of unsolicited messages issued by " "the underlying C-library MuPDF. Consult :ref:`RedirectMessages` for " "details." msgstr "" #: ../../../changes.txt:2395 47856295d652463f8184801b60dee8a0 msgid "" "**Changed:** Changes to annotations now **always require** " ":meth:`Annot.update` to become effective." msgstr "" #: ../../../changes.txt:2396 ef1b316a5b024381bc8ab808d69d2891 msgid "" "**Changed** free text annotations to support the full Latin character set" " and range of appearance options." msgstr "" #: ../../../changes.txt:2397 506d4cd601f04e2c83386b5ec8940898 msgid "" "**Changed** text searching, :meth:`Page.searchFor`, to optionally return " ":ref:`Quad` instead :ref:`Rect` objects surrounding each search hit." msgstr "" #: ../../../changes.txt:2398 4fd963295c354372b9e8574e51f097ee msgid "" "**Changed** plain text output: we now add a *\\n* to each line if it does" " not itself end with this character." msgstr "" #: ../../../changes.txt:2399 1db7b0929bbf4596b2a0d22f3ca7b59c msgid "**Fixed** issue 211 (\"Something wrong in the doc\")." msgstr "" #: ../../../changes.txt:2400 f1128c764272467f8fb8a6c3a9b0087e msgid "" "**Fixed** issue 213 (\"Rewritten outline is displayed only by mupdf-based" " applications\")." msgstr "" #: ../../../changes.txt:2401 f7b1e5c7dc7c4676a9bf4838c03b508c msgid "**Fixed** issue 214 (\"PDF decryption GONE!\")." msgstr "" #: ../../../changes.txt:2402 7a1c216e3cf04513bac8a38d46fb777a msgid "**Fixed** issue 215 (\"Formatting of links added with pyMuPDF\")." msgstr "" #: ../../../changes.txt:2403 9c9ae8e5f826442d8888cefae230e64e msgid "**Fixed** issue 217 (\"extraction through json is failing for my pdf\")." msgstr "" #: ../../../changes.txt:2405 5ae51da467b64e26bfb10cf525eb9581 msgid "" "Behind the curtain, we have changed the implementation of geometry " "objects: they now purely exist in Python and no longer have \"shadow\" " "twins on the C-level (in MuPDF). This has improved processing speed in " "that area by more than a factor of two." msgstr "" #: ../../../changes.txt:2407 b5211152c64342a49990467a8d763bd5 msgid "" "Because of the same reason, most methods involving geometry parameters " "now also accept the corresponding Python sequence. For example, in method" " *\"page.show_pdf_page(rect, ...)\"* parameter *rect* may now be any " ":data:`rect_like` sequence." msgstr "" #: ../../../changes.txt:2409 79b7deaba4ec49f58fd8987c7e950e28 msgid "" "We also invested considerable effort to further extend and improve the " ":ref:`FAQ` chapter." msgstr "" #: ../../../changes.txt:2414 fd91322d1a494ed189d8932bb19e425a msgid "**Changes in Version 1.13.19**" msgstr "" #: ../../../changes.txt:2416 c99f01c86e0f418e8ece858b509f575f msgid "" "This version contains some technical / performance improvements and bug " "fixes." msgstr "" #: ../../../changes.txt:2418 f6ca673e1a514b8c88882528546fc938 #, python-format msgid "" "**Changed** memory management: for Python 3 builds, Python memory " "management is exclusively used across all C-level code (i.e. no more " "native *malloc()* in MuPDF code or PyMuPDF interface code). This leads to" " improved memory usage profiles and also some runtime improvements: we " "have seen > 2% shorter runtimes for text extractions and pixmap creations" " (on Windows machines only to date)." msgstr "" #: ../../../changes.txt:2419 5bfccbbb021842b9abb0b04bf9de48c3 msgid "" "**Fixed** an error occurring in Python 2.7, which crashed the interpreter" " when using :meth:`TextPage.extractRAWDICT` (= " "*Page.getText(\"rawdict\")*)." msgstr "" #: ../../../changes.txt:2420 0f2cb31dfbf9466fa8a235d46d2c6e8a msgid "" "**Fixed** an error occurring in Python 2.7, when creating link " "destinations." msgstr "" #: ../../../changes.txt:2421 08e34b265b7e454f94220ea943997f4d msgid "**Extended** the :ref:`FAQ` chapter with more examples." msgstr "" #: ../../../changes.txt:2425 63b7e43da4034c64859e960033709c83 msgid "**Changes in Version 1.13.18**" msgstr "" #: ../../../changes.txt:2427 cf5beb6e03c54affafc84f316858c9aa msgid "" "**Added** method :meth:`TextPage.extractRAWDICT`, and a corresponding new" " string parameter \"rawdict\" to method :meth:`Page.getText`. It extracts" " text and images from a page in Python *dict* form like " ":meth:`TextPage.extractDICT`, but with the detail level of " ":meth:`TextPage.extractXML`, which is position information down to each " "single character." msgstr "" #: ../../../changes.txt:2431 9b563f0c8c3a4d1fb8e8fe127bb76d6c msgid "**Changes in Version 1.13.17**" msgstr "" #: ../../../changes.txt:2433 b3c0162af9db4f608389e2c811c7bc4b msgid "" "**Fixed** an error that intermittently caused an exception in " ":meth:`Page.show_pdf_page`, when pages from many different source PDFs " "were shown." msgstr "" #: ../../../changes.txt:2434 c35c79318b584e5790dbea763351299b msgid "" "**Changed** method :meth:`Document.extractImage` to now return more meta " "information about the extracted imgage. Also, its performance has been " "greatly improved. Several demo scripts have been changed to make use of " "this method." msgstr "" #: ../../../changes.txt:2435 ef0a501dd401489f8d0796417bf84a65 msgid "" "**Changed** method :meth:`Document._getXrefStream` to now return *None* " "if the object is no stream and no longer raise an exception if otherwise." msgstr "" #: ../../../changes.txt:2436 7032fecda32745aeb0b54febfa6571f7 msgid "" "**Added** method :meth:`Document._deleteObject` which deletes a PDF " "object identified by its :data:`xref`. Only to be used by the experienced" " PDF expert." msgstr "" #: ../../../changes.txt:2437 64f62a994fb742cf84570443580cf6a2 msgid "" "**Added** a method :meth:`paper_rect` which returns a :ref:`Rect` for a " "supplied paper format string. Example: *fitz.paper_rect(\"letter\") = " "fitz.Rect(0.0, 0.0, 612.0, 792.0)*." msgstr "" #: ../../../changes.txt:2438 31e24169fc6849878acc3c4b81c2931b msgid "**Added** a :ref:`FAQ` chapter to this document." msgstr "" #: ../../../changes.txt:2442 43d63ac60a0c46a591e1b79f54377917 msgid "**Changes in Version 1.13.16**" msgstr "" #: ../../../changes.txt:2444 d904d04d3cfb4dcda46139c25fe24c71 msgid "" "**Added** support for correctly setting transparency (opacity) for " "certain annotation types." msgstr "" #: ../../../changes.txt:2445 3b7e735489e94623ac095480bdcbc2a5 msgid "" "**Added** a tool property (:attr:`Tools.fitz_config`) showing the " "configuration of this PyMuPDF version." msgstr "" #: ../../../changes.txt:2446 9c879f61145948b188ee8d93c5efe154 msgid "" "**Fixed** issue #193 ('insertText(overlay=False) gives \"cannot resize a " "buffer with shared storage\" error') by avoiding read-only buffers." msgstr "" #: ../../../changes.txt:2450 5d037ed847b44095be41047f123f2c7d msgid "**Changes in Version 1.13.15**" msgstr "" #: ../../../changes.txt:2452 7b20562ab960458cb2a37834b262bc0a msgid "" "**Fixed** issue #189 (\"cannot find builtin CJK font\"), so we are " "supporting builtin CJK fonts now (CJK = China, Japan, Korea). This should" " lead to correctly generated pixmaps for documents using these languages." " This change has consequences for our binary file size: it will now range" " between 8 and 10 MB, depending on the OS." msgstr "" #: ../../../changes.txt:2453 09714417974d4784bbb8ce28449b0ed4 msgid "" "**Fixed** issue #191 (\"Jupyter notebook kernel dies after ca. 40 " "pages\"), which occurred when modifying the contents of an annotation." msgstr "" #: ../../../changes.txt:2457 5adc29b99ec94005bffd7ef24998e110 msgid "**Changes in Version 1.13.14**" msgstr "" #: ../../../changes.txt:2459 7f38a7f515424bdf958094ead9ab7ef0 msgid "This patch version contains several improvements, mainly for annotations." msgstr "" #: ../../../changes.txt:2461 b1c7424aa4d54a5caefae33e0e5f4f84 msgid "" "**Changed** :attr:`Annot.lineEnds` is now a list of two integers " "representing the line end symbols. Previously was a *dict* of strings." msgstr "" #: ../../../changes.txt:2462 641b3d6d6a8f46359ce78aacec1a00fe msgid "" "**Added** support of line end symbols for applicable annotations. PyMuPDF" " now can generate these annotations including the line end symbols." msgstr "" #: ../../../changes.txt:2463 f00765d5f2434220a9bfa1b43ce083c6 msgid "" "**Added** :meth:`Annot.setLineEnds` adds line end symbols to applicable " "annotation types ('Line', 'PolyLine', 'Polygon')." msgstr "" #: ../../../changes.txt:2464 c43498bf8fbe4da3bbbd2a1b57eb2ade msgid "" "**Changed** technical implementation of :meth:`Page.insertImage` and " ":meth:`Page.show_pdf_page`: they now create there own contents objects, " "thereby avoiding changes of potentially large streams with consequential " "compression / decompression efforts and high change volumes with " "incremental updates." msgstr "" #: ../../../changes.txt:2468 6d6106b5cef0412c859b77efff74d76a msgid "**Changes in Version 1.13.13**" msgstr "" #: ../../../changes.txt:2470 76e178082cef4bbcaf9d02facb74a2a8 msgid "" "This patch version contains several improvements for embedded files and " "file attachment annotations." msgstr "" #: ../../../changes.txt:2472 a3ecffcb691f41e18fa492558ef375d5 msgid "" "**Added** :meth:`Document.embfile_Upd` which allows changing **file " "content and metadata** of an embedded file. It supersedes the old method " ":meth:`Document.embfile_SetInfo` (which will be deleted in a future " "version). Content is automatically compressed and metadata may be " "unicode." msgstr "" #: ../../../changes.txt:2473 8741c8c5503e49c5a9e436d200d0c70c msgid "" "**Changed** :meth:`Document.embfile_Add` to now automatically compress " "file content. Accompanying metadata can now be unicode (had to be ASCII " "in the past)." msgstr "" #: ../../../changes.txt:2474 c8825e3ce49940899586673a8c1ca760 msgid "" "**Changed** :meth:`Document.embfile_Del` to now automatically delete " "**all entries** having the supplied identifying name. The return code is " "now an integer count of the removed entries (was *None* previously)." msgstr "" #: ../../../changes.txt:2475 4958c06f7c0b4eaca87af2482582ca8c msgid "" "**Changed** embedded file methods to now also accept or show the PDF " "unicode filename as additional parameter *ufilename*." msgstr "" #: ../../../changes.txt:2476 0f95f3527f1a489a9a72167a6cee97cf msgid "" "**Added** :meth:`Page.add_file_annot` which adds a new file attachment " "annotation." msgstr "" #: ../../../changes.txt:2477 14f2faf502b74997b3e11958e4ffd5dd msgid "" "**Changed** :meth:`Annot.fileUpd` (file attachment annot) to now also " "accept the PDF unicode *ufilename* parameter. The description parameter " "*desc* correctly works with unicode. Furthermore, **all** parameters are " "optional, so metadata may be changed without also replacing the file " "content." msgstr "" #: ../../../changes.txt:2478 f11e4025175f468fb362dc45b4b459a8 msgid "" "**Changed** :meth:`Annot.fileInfo` (file attachment annot) to now also " "show the PDF unicode filename as parameter *ufilename*." msgstr "" #: ../../../changes.txt:2479 96f083ba329841dc866568603f6bf4e0 msgid "" "**Fixed** issue #180 (\"page.getText(output='dict') return invalid " "bbox\") to now also work for vertical text." msgstr "" #: ../../../changes.txt:2480 b9c17d72bfcd4a87983f018daf4d8fd9 msgid "" "**Fixed** issue #185 (\"Can't render the annotations created by " "PyMuPDF\"). The issue's cause was the minimalistic MuPDF approach when " "creating annotations. Several annotation types have no */AP* " "(\"appearance\") object when created by MuPDF functions. MuPDF, " "SumatraPDF and hence also PyMuPDF cannot render annotations without such " "an object. This fix now ensures, that an appearance object is always " "created together with the annotation itself. We still do not support line" " end styles." msgstr "" #: ../../../changes.txt:2484 17b80da49d874916b1fa04cbc2e8225e msgid "**Changes in Version 1.13.12**" msgstr "" #: ../../../changes.txt:2486 16cf3df1aa764ac99837e6ba6929de3a msgid "" "**Fixed** issue #180 (\"page.getText(output='dict') return invalid " "bbox\"). Note that this is a circumvention of an MuPDF error, which " "generates zero-height character rectangles in some cases. When this " "happens, this fix ensures a bbox height of at least fontsize." msgstr "" #: ../../../changes.txt:2487 61159291a2db420095ce281675ae121e msgid "" "**Changed** for ListBox and ComboBox widgets, the attribute list of " "selectable values has been renamed to :attr:`Widget.choice_values`." msgstr "" #: ../../../changes.txt:2488 bab6778e8c2944089f3b525aa8b0827d msgid "" "**Changed** when adding widgets, any missing of the :ref:`Base-14-Fonts` " "is automatically added to the PDF. Widget text fonts can now also be " "chosen from existing widget fonts. Any specified field values are now " "honored and lead to a field with a preset value." msgstr "" #: ../../../changes.txt:2489 30b1813eb102490a896faa64748c1400 msgid "" "**Added** :meth:`Annot.updateWidget` which allows changing existing form " "fields -- including the field value." msgstr "" #: ../../../changes.txt:2493 9bc92bc23e1a46ab8548886763c96d47 msgid "**Changes in Version 1.13.11**" msgstr "" #: ../../../changes.txt:2495 474a1a3d16e74ac7bcfe223ce5d3daad msgid "" "While the preceeding patch subversions only contained various fixes, this" " version again introduces major new features:" msgstr "" #: ../../../changes.txt:2497 5edc44b1ecc84b25be1507861ce353f4 msgid "" "**Added** basic support for PDF widget annotations. You can now add PDF " "form fields of types Text, CheckBox, ListBox and ComboBox. Where " "necessary, the PDF is tranformed to a Form PDF with the first added " "widget." msgstr "" #: ../../../changes.txt:2498 1a904dc65fe64ade80e693aa4edb88ae msgid "" "**Fixed** issues #176 (\"wrong file embedding\"), #177 (\"segment fault " "when invoking page.getText()\")and #179 (\"Segmentation fault using " "page.getLinks() on encrypted PDF\")." msgstr "" #: ../../../changes.txt:2503 7b2a31d79daa40d497d99853e692f397 msgid "**Changes in Version 1.13.7**" msgstr "" #: ../../../changes.txt:2505 445d2b1c88854acbb84fecfeeb62cdc1 msgid "" "**Added** support of variable page sizes for reflowable documents " "(e-books, HTML, etc.): new parameters *rect* and *fontsize* in " ":ref:`Document` creation (open), and as a separate method " ":meth:`Document.layout`." msgstr "" #: ../../../changes.txt:2506 b16382d708314b4c9ed3ac5b10f9a517 msgid "" "**Added** :ref:`Annot` creation of many annotations types: sticky notes, " "free text, circle, rectangle, line, polygon, polyline and text markers." msgstr "" #: ../../../changes.txt:2507 1444d852579b4d93837b7fe871afbf81 msgid "" "**Added** support of annotation transparency (:attr:`Annot.opacity`, " ":meth:`Annot.setOpacity`)." msgstr "" #: ../../../changes.txt:2508 d544fe252c1f408785338b846f68eb33 msgid "" "**Changed** :attr:`Annot.vertices`: point coordinates are now grouped as " "pairs of floats (no longer as separate floats)." msgstr "" #: ../../../changes.txt:2509 d7dd102d5d974b77a860d4ee2a960da8 msgid "" "**Changed** annotation colors dictionary: the two keys are now named " "*\"stroke\"* (formerly *\"common\"*) and *\"fill\"*." msgstr "" #: ../../../changes.txt:2510 8ba3ff12895543d4b2b60a1b9a3646d4 msgid "" "**Added** :attr:`Document.isDirty` which is *True* if a PDF has been " "changed in this session. Reset to *False* on each :meth:`Document.save` " "or :meth:`Document.write`." msgstr "" #: ../../../changes.txt:2514 572be3e137d346d1bc831219977e2a47 msgid "**Changes in Version 1.13.6**" msgstr "" #: ../../../changes.txt:2516 32c7a915842343e78b6da4d29061d488 msgid "" "Fix #173: for memory-resident documents, ensure the stream object will " "not be garbage-collected by Python before document is closed." msgstr "" #: ../../../changes.txt:2520 dfb8278835404213b0f3e00e10fa6f44 msgid "**Changes in Version 1.13.5**" msgstr "" #: ../../../changes.txt:2522 d0f227e259ff4badbddfa8bc99f77761 msgid "" "New low-level method :meth:`Page._setContents` defines an object given by" " its :data:`xref` to serve as the :data:`contents` object." msgstr "" #: ../../../changes.txt:2523 f305bdd0987e4a1f95ef94714cb586b7 msgid "" "Changed and extended PDF form field support: the attribute *widget_text* " "has been renamed to :attr:`Annot.widget_value`. Values of all form field " "types (except signatures) are now supported. A new attribute " ":attr:`Annot.widget_choices` contains the selectable values of listboxes " "and comboboxes. All these attributes now contain *None* if no value is " "present." msgstr "" #: ../../../changes.txt:2527 4fd769eb21f048a19b8230f7e72178ca msgid "**Changes in Version 1.13.4**" msgstr "" #: ../../../changes.txt:2529 53ed864ab32f470bb28b858354a50e08 msgid "" ":meth:`Document.convertToPDF` now supports page ranges, reverted page " "sequences and page rotation. If the document already is a PDF, an " "exception is raised." msgstr "" #: ../../../changes.txt:2530 76b57e7db1504c5aba637f3c1da9e11c msgid "" "Fixed a bug (introduced with v1.13.0) that prevented " ":meth:`Page.insertImage` for transparent images." msgstr "" #: ../../../changes.txt:2534 2ee92c34815a4f8fb2c8e58d119f4ea1 msgid "**Changes in Version 1.13.3**" msgstr "" #: ../../../changes.txt:2536 b6964dbe69ac4c14913e804c1db84219 msgid "" "Introduces a way to convert **any MuPDF supported document** to a PDF. If" " you ever wanted PDF versions of your XPS, EPUB, CBZ or FB2 files -- here" " is a way to do this." msgstr "" #: ../../../changes.txt:2538 3b8c44dc6cc2424186ca83fb933f4d4d msgid "" ":meth:`Document.convertToPDF` returns a Python *bytes* object in PDF " "format. Can be opened like normal in PyMuPDF, or be written to disk with " "the *\".pdf\"* extension." msgstr "" #: ../../../changes.txt:2542 a74fa53b1f63473e95f8ae83eadc426f msgid "**Changes in Version 1.13.2**" msgstr "" #: ../../../changes.txt:2544 7ebed477136d45edbc0674eaaa9dff08 msgid "" "The major enhancement is PDF form field support. Form fields are " "annotations of type *(19, 'Widget')*. There is a new document method to " "check whether a PDF is a form. The :ref:`Annot` class has new properties " "describing field details." msgstr "" #: ../../../changes.txt:2546 6224991d69044aed91933c6ef3db8872 msgid "" ":attr:`Document.is_form_pdf` is true if object type */AcroForm* and at " "least one form field exists." msgstr "" #: ../../../changes.txt:2547 3c3eddc4ca6a41179dba2d970ae478cf msgid "" ":attr:`Annot.widget_type`, :attr:`Annot.widget_text` and " ":attr:`Annot.widget_name` contain the details of a form field (i.e. a " "\"Widget\" annotation)." msgstr "" #: ../../../changes.txt:2551 33caa17db3314e8f8ec675dfcc887087 msgid "**Changes in Version 1.13.1**" msgstr "" #: ../../../changes.txt:2553 9344a01be7c64abbbe4577c065593441 msgid "" ":meth:`TextPage.extractDICT` is a new method to extract the contents of a" " document page (text and images). All document types are supported as " "with the other :ref:`TextPage` *extract*()* methods. The returned object " "is a dictionary of nested lists and other dictionaries, and **exactly " "equal** to the JSON-deserialization of the old " ":meth:`TextPage.extractJSON`. The difference is that the result is " "created directly -- no JSON module is used. Because the user needs no " "JSON module to interpet the information, it should be easier to use, and " "also have a better performance, because it contains images in their " "original **binary format** -- they need not be base64-decoded." msgstr "" #: ../../../changes.txt:2554 a0c4ad5a3c484f91ac0a8e10f14f5e12 msgid "" ":meth:`Page.getText` correspondingly supports the new parameter value " "*\"dict\"* to invoke the above method." msgstr "" #: ../../../changes.txt:2555 093f2f8fbd7d47c8a423fd962433aaf6 msgid "" ":meth:`TextPage.extractJSON` (resp. *Page.getText(\"json\")*) is still " "supported for convenience, but its use is expected to decline." msgstr "" #: ../../../changes.txt:2559 0502f4342d864193843c189056a3f649 msgid "**Changes in Version 1.13.0**" msgstr "" #: ../../../changes.txt:2561 a1fd3f8dcf7347f0b02e341033bab447 msgid "" "This version is based on MuPDF v1.13.0. This release is \"primarily a bug" " fix release\"." msgstr "" #: ../../../changes.txt:2563 f6293a0c60534e0aa61af056ce5873ab msgid "" "In PyMuPDF, we are also doing some bug fixes while introducing minor " "enhancements. There only very minimal changes to the user's API." msgstr "" #: ../../../changes.txt:2565 112b9e394ace4296b2004b9cc2566a4c msgid "" ":ref:`Document` construction is more flexible: the new *filetype* " "parameter allows setting the document type. If specified, any extension " "in the filename will be ignored. More completely addresses `issue #156 " "`_. As part of this, the " "documentation has been reworked." msgstr "" #: ../../../changes.txt:2569 1fd37787dc5e4b74860ae968de485c3a msgid "Changes to :ref:`Pixmap` constructors:" msgstr "" #: ../../../changes.txt:2568 b1dfea15e23f480e9294338557073269 msgid "" "Colorspace conversion no longer allows dropping the alpha channel: source" " and target **alpha will now always be the same**. We have seen " "exceptions and even interpreter crashes when using *alpha = 0*." msgstr "" #: ../../../changes.txt:2569 d13b23318d24436a98e726ab0c700090 msgid "As a replacement, the simple pixmap copy lets you choose the target alpha." msgstr "" #: ../../../changes.txt:2571 1245466299bd401c91dede79edbe0761 msgid "" ":meth:`Document.save` again offers the full garbage collection range 0 " "thru 4. Because of a bug in :data:`xref` maintenance, we had to " "temporarily enforce *garbage > 1*. Finally resolves `issue #148 " "`_." msgstr "" #: ../../../changes.txt:2573 5e0acf1f4a8b4284b68c4664d8506094 msgid "" ":meth:`Document.save` now offers to \"prettify\" PDF source via an " "additional argument." msgstr "" #: ../../../changes.txt:2574 696c719c11ba4d4f8436604179238f4f msgid "" ":meth:`Page.insertImage` has the additional *stream* \\-parameter, " "specifying a memory area holding an image." msgstr "" #: ../../../changes.txt:2576 083d9194c33f41068f0776f565c79c87 msgid "" "Issue with garbled PNGs on Linux systems has been resolved (`\"Problem " "writing PNG\" #133) `_." msgstr "" #: ../../../changes.txt:2581 98cc7e1927894f43bd5433b0231b3dcf msgid "**Changes in Version 1.12.4**" msgstr "" #: ../../../changes.txt:2583 7611c52e40a247d499880fc162bf20bb msgid "This is an extension of 1.12.3." msgstr "" #: ../../../changes.txt:2585 55de61bfb5954f95b17921dcd4914391 msgid "" "Fix of `issue #147 `_: " "methods :meth:`Document.getPageFontlist` and " ":meth:`Document.getPageImagelist` now also show fonts and images " "contained in :data:`resources` nested via \"Form XObjects\"." msgstr "" #: ../../../changes.txt:2586 241a50f48e4b403481f23435638646e1 msgid "" "Temporary fix of `issue #148 " "`_: Saving to new PDF " "files will now automatically use *garbage = 2* if a lower value is given." " Final fix is to be expected with MuPDF's next version. At that point we " "will remove this circumvention." msgstr "" #: ../../../changes.txt:2587 d1aeb27a9161455f91a41a0c53d1de52 msgid "" "Preventive fix of illegally using stencil / image mask pixmaps in some " "methods." msgstr "" #: ../../../changes.txt:2588 4d9f3bf7e9db4f75a524f3e201db2d32 msgid "" "Method :meth:`Document.getPageFontlist` now includes the encoding name " "for each font in the list." msgstr "" #: ../../../changes.txt:2589 da72830c7d2c40009f927c37bd604e55 msgid "" "Method :meth:`Document.getPageImagelist` now includes the decode method " "name for each image in the list." msgstr "" #: ../../../changes.txt:2593 b3c6fae68a704c8eb5f4e78304a1d854 msgid "**Changes in Version 1.12.3**" msgstr "" #: ../../../changes.txt:2595 4c52faae63874d45873aa766f417ab6f msgid "This is an extension of 1.12.2." msgstr "" #: ../../../changes.txt:2597 943612aea06749f4962d1ced1418925a msgid "" "Many functions now return *None* instead of *0*, if the result has no " "other meaning than just indicating successful execution " "(:meth:`Document.close`, :meth:`Document.save`, :meth:`Document.select`, " ":meth:`Pixmap.save` and many others)." msgstr "" #: ../../../changes.txt:2601 6f0d4e2bdd41401d94ed4fe0fd9ec7e8 msgid "**Changes in Version 1.12.2**" msgstr "" #: ../../../changes.txt:2603 630bed92f4e34421925b88efe1ba42b6 msgid "This is an extension of 1.12.1." msgstr "" #: ../../../changes.txt:2605 50a351aa4579484893c9094cda2cfeba msgid "" "Method :meth:`Page.show_pdf_page` now accepts the new *clip* argument. " "This specifies an area of the source page to which the display should be " "restricted." msgstr "" #: ../../../changes.txt:2607 80570d982b004e41989292ba7bb4ddb9 msgid "" "New :attr:`Page.CropBox` and :attr:`Page.MediaBox` have been included for" " convenience." msgstr "" #: ../../../changes.txt:2612 54fd6f1c51e04778bac0835de4f0361a msgid "**Changes in Version 1.12.1**" msgstr "" #: ../../../changes.txt:2614 db11fc420c4b4bd59ba30cf2a4f190d3 msgid "This is an extension of version 1.12.0." msgstr "" #: ../../../changes.txt:2616 82affdfbc4bb42ccabe2c77070a11719 msgid "" "New method :meth:`Page.show_pdf_page` displays another's PDF page. This " "is a **vector** image and therefore remains precise across zooming. Both " "involved documents must be PDF." msgstr "" #: ../../../changes.txt:2618 f0e7a4343cf14d058e07063707db7b7e msgid "" "New method :meth:`Page.getSVGimage` creates an SVG image from the page. " "In contrast to the raster image of a pixmap, this is a vector image " "format. The return is a unicode text string, which can be saved in a " "*.svg* file." msgstr "" #: ../../../changes.txt:2620 c81d51dc94f646fda815c43c09bab73d msgid "" "Method :meth:`Page.getTextBlocks` now accepts an additional bool " "parameter \"images\". If set to true (default is false), image blocks " "(metadata only) are included in the produced list and thus allow " "detecting areas with rendered images." msgstr "" #: ../../../changes.txt:2622 5eafe44f47b34527bfff5138b15affd3 msgid "Minor bug fixes." msgstr "" #: ../../../changes.txt:2624 6bf7252d584b4c8e9b97592fc0d934e4 msgid "" "\"text\" result of :meth:`Page.getText` concatenates all lines within a " "block using a single space character. MuPDF's original uses \"\\\\n\" " "instead, producing a rather ragged output." msgstr "" #: ../../../changes.txt:2626 94bf5fb0e50249e78857f02ebaaff525 msgid "" "New properties of :ref:`Page` objects :attr:`Page.MediaBoxSize` and " ":attr:`Page.CropBoxPosition` provide more information about a page's " "dimensions. For non-PDF files (and for most PDF files, too) these will be" " equal to :attr:`Page.rect.bottom_right`, resp. " ":attr:`Page.rect.top_left`. For example, class :ref:`Shape` makes use of " "them to correctly position its items." msgstr "" #: ../../../changes.txt:2630 74d15ecb1b914538a684a22683984be7 msgid "**Changes in Version 1.12.0**" msgstr "" #: ../../../changes.txt:2632 ac50d19ead2044d4afef9637fadb68d5 msgid "" "This version is based on and requires MuPDF v1.12.0. The new MuPDF " "version contains quite a number of changes -- most of them around text " "extraction. Some of the changes impact the programmer's API." msgstr "" #: ../../../changes.txt:2634 1b465153b5814abe8ed0d412684e1e54 msgid "" ":meth:`Outline.saveText` and :meth:`Outline.saveXML` have been deleted " "without replacement. You probably haven't used them much anyway. But if " "you are looking for a replacement: the output of :meth:`Document.get_toc`" " can easily be used to produce something equivalent." msgstr "" #: ../../../changes.txt:2636 b2b48a42c44c4a1dab5f5c66edaf406a msgid "Class *TextSheet* does no longer exist." msgstr "" #: ../../../changes.txt:2638 f6faca5ccc3b4ddab529d2c73f600396 msgid "" "Text \"spans\" (one of the hierarchy levels of :ref:`TextPage`) no longer" " contain positioning information (i.e. no \"bbox\" key). Instead, spans " "now provide the font information for its text. This impacts our JSON " "output variant." msgstr "" #: ../../../changes.txt:2640 cc737a16a9114bea9f2892a3d611d32f msgid "" "HTML output has improved very much: it now creates valid documents which " "can be displayed by browsers to produce a similar view as the original " "document." msgstr "" #: ../../../changes.txt:2642 88630dce5a784283a7c487d4fd39dfe4 msgid "" "There is a new output format XHTML, which provides text and images in a " "browser-readable format. The difference to HTML output is, that no effort" " is made to reproduce the original layout." msgstr "" #: ../../../changes.txt:2644 3af5ba7ff439426696f0f07a23e1d8fa msgid "" "All output formats of :meth:`Page.getText` now support creating complete," " valid documents, by wrapping them with appropriate header and trailer " "information. If you are interested in using the HTML output, please make " "sure to read :ref:`HTMLQuality`." msgstr "" #: ../../../changes.txt:2646 87e42d9c77a54890af57f976c5071ba7 msgid "" "To support finding text positions, we have added special methods that " "don't need detours like :meth:`TextPage.extractJSON` or " ":meth:`TextPage.extractXML`: use :meth:`Page.getTextBlocks` or resp. " ":meth:`Page.getTextWords` to create lists of text blocks or resp. words, " "which are accompanied by their rectangles. This should be much faster " "than the standard text extraction methods and also avoids using " "additional packages for interpreting their output." msgstr "" #: ../../../changes.txt:2651 239ae39492b748df849ea403ef2108f0 msgid "**Changes in Version 1.11.2**" msgstr "" #: ../../../changes.txt:2653 2c6897b2b1734812a1b0c402d1ba8907 msgid "This is an extension of v1.11.1." msgstr "" #: ../../../changes.txt:2655 b024b8bd2f954e69a9f3a58c001cc2d8 msgid "" "New :meth:`Page.insertFont` creates a PDF */Font* object and returns its " "object number." msgstr "" #: ../../../changes.txt:2657 17bf32eed08e4af7a9235c26da714f4c msgid "" "New :meth:`Document.extractFont` extracts the content of an embedded font" " given its object number." msgstr "" #: ../../../changes.txt:2659 8a06bf9858264b8aaddd5dcc4b335cca msgid "" "Methods **FontList(...)** items no longer contain the PDF generation " "number. This value never had any significance. Instead, the font file " "extension is included (e.g. \"pfa\" for a \"PostScript Font for ASCII\")," " which is more valuable information." msgstr "" #: ../../../changes.txt:2661 f45d17bd4282467ca8855a3a25ae091d msgid "Fonts other than \"simple fonts\" (Type1) are now also supported." msgstr "" #: ../../../changes.txt:2663 18c58364a89d48b6aa981d0c901c91ea msgid "New options to change :ref:`Pixmap` size:" msgstr "" #: ../../../changes.txt:2665 399900b7d04b4cda9bdb0645844fa951 msgid "Method :meth:`Pixmap.shrink` reduces the pixmap proportionally in place." msgstr "" #: ../../../changes.txt:2667 3c624215a18b4ee5acf3b3f95f7d3b8f msgid "" "A new :ref:`Pixmap` copy constructor allows scaling via setting target " "width and height." msgstr "" #: ../../../changes.txt:2672 787726e4ea8e4f998d5c45f15750e062 msgid "**Changes in Version 1.11.1**" msgstr "" #: ../../../changes.txt:2674 3f97c63d1ab042b0938270157fe47048 msgid "This is an extension of v1.11.0." msgstr "" #: ../../../changes.txt:2676 51d6f21f07544106b1652c72ebc2ffe2 msgid "" "New class *Shape*. It facilitates and extends the creation of image " "shapes on PDF pages. It contains multiple methods for creating elementary" " shapes like lines, rectangles or circles, which can be combined into " "more complex ones and be given common properties like line width or " "colors. Combined shapes are handled as a unit and e.g. be \"morphed\" " "together. The class can accumulate multiple complex shapes and put them " "all in the page's foreground or background -- thus also reducing the " "number of updates to the page's :data:`contents` object." msgstr "" #: ../../../changes.txt:2678 2d4cfa604e58468ea1577f10209e6280 msgid "All *Page* draw methods now use the new *Shape* class." msgstr "" #: ../../../changes.txt:2680 fc7ba2646c3448c297ae41f9fadeda05 msgid "" "Text insertion methods *insertText()* and *insertTextBox()* now support " "morphing in addition to text rotation. They have become part of the " "*Shape* class and thus allow text to be freely combined with graphics." msgstr "" #: ../../../changes.txt:2682 737fb07ba7c242ff9478cdcd66f9c5ec msgid "" "A new *Pixmap* constructor allows creating pixmap copies with an added " "alpha channel. A new method also allows directly manipulating alpha " "values." msgstr "" #: ../../../changes.txt:2684 8ce597ee78ed4486bbf604c79de4b733 msgid "" "Binary algebraic operations with geometry objects (matrices, rectangles " "and points) now generally also support lists or tuples as the second " "operand. You can add a tuple *(x, y)* of numbers to a :ref:`Point`. In " "this context, such sequences are called \":data:`point_like`\" (resp. " ":data:`matrix_like`, :data:`rect_like`)." msgstr "" #: ../../../changes.txt:2686 5788fb7d7f784ac09ae37611ece715fa msgid "" "Geometry objects now fully support in-place operators. For example, *p /=" " m* replaces point p with *p * 1/m* for a number, or *p * ~m* for a " ":data:`matrix_like` object *m*. Similarly, if *r* is a rectangle, then *r" " |= (3, 4)* is the new rectangle that also includes *fitz.Point(3, 4)*, " "and *r &= (1, 2, 3, 4)* is its intersection with *fitz.Rect(1, 2, 3, 4)*." msgstr "" #: ../../../changes.txt:2690 34897b5e1f8042e392f5a46fcd148809 msgid "**Changes in Version 1.11.0**" msgstr "" #: ../../../changes.txt:2692 d292bd8392b648e4a31cef92ae09f8b5 msgid "This version is based on and requires MuPDF v1.11." msgstr "" #: ../../../changes.txt:2694 6de44e4ec25b476cb9fc163cdece9c5f msgid "" "Though MuPDF has declared it as being mostly a bug fix version, one major" " new feature is indeed contained: support of embedded files -- also " "called portfolios or collections. We have extended PyMuPDF functionality " "to embrace this up to an extent just a little beyond the *mutool* utility" " as follows." msgstr "" #: ../../../changes.txt:2696 3f70b50c029542ff87e1112b28bb11f5 msgid "" "The *Document* class now support embedded files with several new methods " "and one new property:" msgstr "" #: ../../../changes.txt:2698 1922650fdba747cd960cf08984a60150 msgid "" "*embfile_Info()* returns metadata information about an entry in the list " "of embedded files. This is more than *mutool* currently provides: it " "shows all the information that was used to embed the file (not just the " "entry's name)." msgstr "" #: ../../../changes.txt:2699 3a1e2417a0dd47e985c0fd31c45e52fa msgid "" "*embfile_Get()* retrieves the (decompressed) content of an entry into a " "*bytes* buffer." msgstr "" #: ../../../changes.txt:2700 9c68f32b3ab04c2ba2849db67d9b5edc msgid "" "*embfile_Add(...)* inserts new content into the PDF portfolio. We (in " "contrast to *mutool*) **restrict** this to entries with a **new name** " "(no duplicate names allowed)." msgstr "" #: ../../../changes.txt:2701 274f3e1bbceb4acfb7ceb07d7a164afb msgid "" "*embfile_Del(...)* deletes an entry from the portfolio (function not " "offered in MuPDF)." msgstr "" #: ../../../changes.txt:2702 0a75c5b044d54d62b32f6e6a9c1bb143 msgid "" "*embfile_SetInfo()* -- changes filename or description of an embedded " "file." msgstr "" #: ../../../changes.txt:2703 f80bb0230db84d0fb5d130853430ffb0 msgid "*embfile_Count* -- contains the number of embedded files." msgstr "" #: ../../../changes.txt:2705 5474da97a2ee44f59d0e2fd58ad55665 msgid "" "Several enhancements deal with streamlining geometry objects. These are " "not connected to the new MuPDF version and most of them are also " "reflected in PyMuPDF v1.10.0. Among them are new properties to identify " "the corners of rectangles by name (e.g. *Rect.bottom_right*) and new " "methods to deal with set-theoretic questions like *Rect.contains(x)* or " "*IRect.intersects(x)*. Special effort focussed on supporting more " "\"Pythonic\" language constructs: *if x in rect ...* is equivalent to " "*rect.contains(x)*." msgstr "" #: ../../../changes.txt:2707 2a7db4a61ce24c848f83c0863bad09b7 msgid "" "The :ref:`Rect` chapter now has more background on empty amd infinite " "rectangles and how we handle them. The handling itself was also updated " "for more consistency in this area." msgstr "" #: ../../../changes.txt:2709 33aee8dea574413681caf242adf8da6a msgid "We have started basic support for **generation** of PDF content:" msgstr "" #: ../../../changes.txt:2711 deb4a2603a53455cb82d849ad34308aa msgid "" "*Document.insert_page()* adds a new page into a PDF, optionally " "containing some text." msgstr "" #: ../../../changes.txt:2712 f7497c0e1764493a945c64046add98a1 msgid "*Page.insertImage()* places a new image on a PDF page." msgstr "" #: ../../../changes.txt:2713 59797715081c4303a9d023f624eeda19 msgid "*Page.insertText()* puts new text on an existing page" msgstr "" #: ../../../changes.txt:2715 1e1119160b9b47b6838fe3a16078aabc msgid "" "For **FileAttachment** annotations, content and name of the attached file" " can extracted and changed." msgstr "" #: ../../../changes.txt:2719 b6b1a71f6e9c4006ad908aca83e94958 msgid "**Changes in Version 1.10.0**" msgstr "" #: ../../../changes.txt:2721 2d15107ed72748df88b1f193e0590a28 msgid "**MuPDF v1.10 Impact**" msgstr "" #: ../../../changes.txt:2723 bcefb5c4e9884f03a30f600abedbeb81 msgid "" "MuPDF version 1.10 has a significant impact on our bindings. Some of the " "changes also affect the API -- in other words, **you** as a PyMuPDF user." msgstr "" #: ../../../changes.txt:2725 50ef82a6f0904d01b9d131853ef968fe msgid "" "Link destination information has been reduced. Several properties of the " "*linkDest* class no longer contain valuable information. In fact, this " "class as a whole has been deleted from MuPDF's library and we in PyMuPDF " "only maintain it to provide compatibilty to existing code." msgstr "" #: ../../../changes.txt:2727 e0f444dd42e048608c890061f2205bab msgid "" "In an effort to minimize memory requirements, several improvements have " "been built into MuPDF v1.10:" msgstr "" #: ../../../changes.txt:2729 dd57640466d6465693ecfa9e6153edb1 msgid "" "A new *config.h* file can be used to de-select unwanted features in the C" " base code. Using this feature we have been able to reduce the size of " "our binary *_fitz.o* / *_fitz.pyd* by about 50% (from 9 MB to 4.5 MB). " "When UPX-ing this, the size goes even further down to a very handy 2.3 " "MB." msgstr "" #: ../../../changes.txt:2731 42d66398d41a44a099a22715ab110b6a msgid "" "The alpha (transparency) channel for pixmaps is now optional. Letting " "alpha default to *False* significantly reduces pixmap sizes (by 20% -- " "CMYK, 25% -- RGB, 50% -- GRAY). Many *Pixmap* constructors therefore now " "accept an *alpha* boolean to control inclusion of this channel. Other " "pixmap constructors (e.g. those for file and image input) create pixmaps " "with no alpha alltogether. On the downside, save methods for pixmaps no " "longer accept a *savealpha* option: this channel will always be saved " "when present. To minimize code breaks, we have left this parameter in the" " call patterns -- it will just be ignored." msgstr "" #: ../../../changes.txt:2733 58b3832200ca448a9f2942f1ec5f30d9 msgid "" "*DisplayList* and *TextPage* class constructors now **require the " "mediabox** of the page they are referring to (i.e. the *page.bound()* " "rectangle). There is no way to construct this information from other " "sources, therefore a source code change cannot be avoided in these cases." " We assume however, that not many users are actually employing these " "rather low level classes explixitely. So the impact of that change should" " be minor." msgstr "" #: ../../../changes.txt:2735 01de368016c141b1b2553cd585883f58 msgid "**Other Changes compared to Version 1.9.3**" msgstr "" #: ../../../changes.txt:2737 df26434942574d7da8fc1befaf6d049e msgid "" "The new :ref:`Document` method *write()* writes an opened PDF to memory " "(as opposed to a file, like *save()* does)." msgstr "" #: ../../../changes.txt:2738 5190f090e6f84628be18a2e1c9fd43df msgid "" "An annotation can now be scaled and moved around on its page. This is " "done by modifying its rectangle." msgstr "" #: ../../../changes.txt:2739 0eb2ec9314ee488196226314519b9129 msgid "" "Annotations can now be deleted. :ref:`Page` contains the new method " "*deleteAnnot()*." msgstr "" #: ../../../changes.txt:2740 99724b99bd0548eaa19c8c85f41c3b21 msgid "" "Various annotation attributes can now be modified, e.g. content, dates, " "title (= author), border, colors." msgstr "" #: ../../../changes.txt:2741 d958d6b52dd140669174995b9aa48a2c msgid "" "Method *Document.insert_pdf()* now also copies annotations of source " "pages." msgstr "" #: ../../../changes.txt:2742 a77b60cbc9834c8885e873395b2e5293 msgid "" "The *Pages* class has been deleted. As documents can now be accessed with" " page numbers as indices (like *doc[n] = doc.loadPage(n)*), and document " "object can be used as iterators, the benefit of this class was too low to" " maintain it. See the following comments." msgstr "" #: ../../../changes.txt:2743 8310daf4e1854f8d93f3fccbab7b350f msgid "" "*loadPage(n)* / *doc[n]* now accept arbitrary integers to specify a page " "number, as long as *n < pageCount*. So, e.g. *doc[-500]* is always valid " "and will load page *(-500) % pageCount*." msgstr "" #: ../../../changes.txt:2744 1204cbb1b1c544fb9e21c114bb1d1ba0 msgid "" "A document can now also be used as an iterator like this: *for page in " "doc: ... ...*. This will yield all pages of " "*doc* as *page*." msgstr "" #: ../../../changes.txt:2745 638b89cc45b748c1871ca2d5aead5130 msgid "" "The :ref:`Pixmap` method *getSize()* has been replaced with property " "*size*. As before *Pixmap.size == len(Pixmap)* is true." msgstr "" #: ../../../changes.txt:2746 08362ae590bb4f6d909e17c344eac186 msgid "" "In response to transparency (alpha) being optional, several new " "parameters and properties have been added to :ref:`Pixmap` and " ":ref:`Colorspace` classes to support determining their characteristics." msgstr "" #: ../../../changes.txt:2747 26af3ec444444862b651b0a46668621b msgid "" "The :ref:`Page` class now contains new properties *firstAnnot* and " "*firstLink* to provide starting points to the respective class chains, " "where *firstLink* is just a mnemonic synonym to method *loadLinks()* " "which continues to exist. Similarly, the new property *rect* is a synonym" " for method *bound()*, which also continues to exist." msgstr "" #: ../../../changes.txt:2748 ded24a5038154723bb3341c82e3cbf85 msgid "" ":ref:`Pixmap` methods *samplesRGB()* and *samplesAlpha()* have been " "deleted because pixmaps can now be created without transparency." msgstr "" #: ../../../changes.txt:2749 0f12d21dba014e89b8c28b88440ddf0d msgid "" ":ref:`Rect` now has a property *irect* which is a synonym of method " "*round()*. Likewise, :ref:`IRect` now has property *rect* to deliver a " ":ref:`Rect` which has the same coordinates as floats values." msgstr "" #: ../../../changes.txt:2750 30d1287837f24dc3b01d070c0235a6b3 msgid "" "Document has the new method *searchPageFor()* to search for a text " "string. It works exactly like the corresponding *Page.searchFor()* with " "page number as additional parameter." msgstr "" #: ../../../changes.txt:2755 efde2cd3f108453c92668ab6680d8c22 msgid "**Changes in Version 1.9.3**" msgstr "" #: ../../../changes.txt:2757 0ea28511a44f47cbabd5e1818b9aa8aa msgid "" "This version is also based on MuPDF v1.9a. Changes compared to version " "1.9.2:" msgstr "" #: ../../../changes.txt:2759 4e290039221648db96c98c392772b446 msgid "" "As a major enhancement, annotations are now supported in a similar way as" " links. Annotations can be displayed (as pixmaps) and their properties " "can be accessed." msgstr "" #: ../../../changes.txt:2760 9b2336cd5062432881d29cf06440709d msgid "" "In addition to the document *select()* method, some simpler methods can " "now be used to manipulate a PDF:" msgstr "" #: ../../../changes.txt:2762 8d2322bb4a7d4981a30ae2ec5a2cbdb0 msgid "*copyPage()* copies a page within a document." msgstr "" #: ../../../changes.txt:2763 b7683db8abd54cb09161d5edf19f4bd3 msgid "*movePage()* is similar, but deletes the original." msgstr "" #: ../../../changes.txt:2764 a4c469e758a1452bb9ab330b06d00638 msgid "*delete_page()* deletes a page" msgstr "" #: ../../../changes.txt:2765 edfd6b26956f4fbfbe96ae5f0b82abd1 msgid "*delete_pages()* deletes a page range" msgstr "" #: ../../../changes.txt:2767 39a894ab055d4710b6bd443c6df69890 msgid "" "*rotation* or *setRotation()* access or change a PDF page's rotation, " "respectively." msgstr "" #: ../../../changes.txt:2768 4c32f65b4b694d6bb428aa23ca44e50a msgid "" "Available but undocumented before, :ref:`IRect`, :ref:`Rect`, " ":ref:`Point` and :ref:`Matrix` support the *len()* method and their " "coordinate properties can be accessed via indices, e.g. *IRect.x1 == " "IRect[2]*." msgstr "" #: ../../../changes.txt:2769 f60011476e35442c8866a3831c378b54 msgid "" "For convenience, documents now support simple indexing: *doc.loadPage(n) " "== doc[n]*. The index may however be in range *-pageCount < n < " "pageCount*, such that *doc[-1]* is the last page of the document." msgstr "" #: ../../../changes.txt:2773 b923307f30254e48ba8f3dfb4835b05a msgid "**Changes in Version 1.9.2**" msgstr "" #: ../../../changes.txt:2775 6449dd561a1d46078eff4b1c6983b1ae msgid "" "This version is also based on MuPDF v1.9a. Changes compared to version " "1.9.1:" msgstr "" #: ../../../changes.txt:2777 f9a699d3f70e4d6caed1fb3017bf1f0b msgid "" "*fitz.open()* (no parameters) creates a new empty **PDF** document, i.e. " "if saved afterwards, it must be given a *.pdf* extension." msgstr "" #: ../../../changes.txt:2778 6d6ed72ba57c49cab25dd46b125a7992 msgid "" ":ref:`Document` now accepts all of the following formats (*Document* and " "*open* are synonyms):" msgstr "" #: ../../../changes.txt:2780 a3a89203f10e4adeb3cfe637ceb6fdff msgid "*open()*," msgstr "" #: ../../../changes.txt:2781 adac8cae62784b188b7532c740bb1379 msgid "*open(filename)* (equivalent to *open(filename, None)*)," msgstr "" #: ../../../changes.txt:2782 5d35476e5dcf46248458a566565f6b6f msgid "*open(filetype, area)* (equivalent to *open(filetype, stream = area)*)." msgstr "" #: ../../../changes.txt:2784 2fdc6dd492a14cc68fa4d2de4e051cfc msgid "" "Type of memory area *stream* may be *bytes* or *bytearray*. Thus, e.g. " "*area = open(\"file.pdf\", \"rb\").read()* may be used directly (without " "first converting it to bytearray)." msgstr "" #: ../../../changes.txt:2785 ad12c912ac3247a4a7c774429b01c39b msgid "" "New method *Document.insert_pdf()* (PDFs only) inserts a range of pages " "from another PDF." msgstr "" #: ../../../changes.txt:2786 93f16447ec77443ba90329b70366c78f msgid "" "*Document* objects doc now support the *len()* function: ``len(doc) == " "doc.pageCount``." msgstr "" #: ../../../changes.txt:2787 b9dfdd6106944a0ab643f64882fa6526 msgid "" "New method *Document.getPageImageList()* creates a list of images used on" " a page." msgstr "" #: ../../../changes.txt:2788 f2906fa3f14c4f93bddbe0029d43681f msgid "" "New method *Document.getPageFontList()* creates a list of fonts " "referenced by a page." msgstr "" #: ../../../changes.txt:2789 a053e3c6bd69480aa1a4639e8522af69 msgid "" "New pixmap constructor *fitz.Pixmap(doc, xref)* creates a pixmap based on" " an opened PDF document and an :data:`xref` number of the image." msgstr "" #: ../../../changes.txt:2790 9dfdd7f9d9b14e15963c179646bcbbeb msgid "" "New pixmap constructor *fitz.Pixmap(cspace, spix)* creates a pixmap as a " "copy of another one *spix* with the colorspace converted to *cspace*. " "This works for all colorspace combinations." msgstr "" #: ../../../changes.txt:2791 2a61334e5c304e09a3efe93e1daf2a53 msgid "" "Pixmap constructor *fitz.Pixmap(colorspace, width, height, samples)* now " "allows *samples* to also be *bytes*, not only *bytearray*." msgstr "" #: ../../../changes.txt:2796 b95080e967b24b66ae4b63c42d239889 msgid "**Changes in Version 1.9.1**" msgstr "" #: ../../../changes.txt:2798 9273e10701d143069e9c0424e4b6bded msgid "" "This version of PyMuPDF is based on MuPDF library source code version " "1.9a published on April 21, 2016." msgstr "" #: ../../../changes.txt:2800 517fc4042ed6446e9e7457b0f69e8504 msgid "" "Please have a look at MuPDF's website to see which changes and " "enhancements are contained herein." msgstr "" #: ../../../changes.txt:2802 c70db83bdb1d48d198e4344cae4de7b5 msgid "Changes in version 1.9.1 compared to version 1.8.0 are the following:" msgstr "" #: ../../../changes.txt:2804 0d6385d834804b7d9b0ab1c6ef0d85b8 msgid "New methods *get_area()* for both *fitz.Rect* and *fitz.IRect*" msgstr "" #: ../../../changes.txt:2805 85fda6915f8c488cb6fbe936f1ea49ab msgid "" "Pixmaps can now be created directly from files using the new constructor " "*fitz.Pixmap(filename)*." msgstr "" #: ../../../changes.txt:2806 d92fe0f7f8304a5190d37c53f89f3a24 msgid "The Pixmap constructor *fitz.Pixmap(image)* has been extended accordingly." msgstr "" #: ../../../changes.txt:2807 cdaceee4b768492e9110c3d0cd75e175 msgid "" "*fitz.Rect* can now be created with all possible combinations of points " "and coordinates." msgstr "" #: ../../../changes.txt:2808 03f45a90666540d8b5cb4c257457b006 msgid "" "PyMuPDF classes and methods now all contain __doc__ strings, most of " "them created by SWIG automatically. While the PyMuPDF documentation " "certainly is more detailed, this feature should help a lot when " "programming in Python-aware IDEs." msgstr "" #: ../../../changes.txt:2809 2ddafe376f5e4f4e9ac5c3db523eea26 msgid "" "A new document method of *getPermits()* returns the permissions " "associated with the current access to the document (print, edit, " "annotate, copy), as a Python dictionary." msgstr "" #: ../../../changes.txt:2810 38dbe8d276f348d6b76c6d0a15d0676f msgid "The identity matrix *fitz.Identity* is now **immutable**." msgstr "" #: ../../../changes.txt:2811 fa0425c7b7b04f0bb7c04eec634e2756 msgid "" "The new document method *select(list)* removes all pages from a document " "that are not contained in the list. Pages can also be duplicated and re-" "arranged." msgstr "" #: ../../../changes.txt:2812 3c561ea70df341be88b491b64dc6f313 msgid "" "Various improvements and new members in our demo and examples " "collections. Perhaps most prominently: *PDF_display* now supports " "scrolling with the mouse wheel, and there is a new example program " "*wxTableExtract* which allows to graphically identify and extract table " "data in documents." msgstr "" #: ../../../changes.txt:2813 4d9bea8a8e514d67958c633b66ca31fb msgid "*fitz.open()* is now an alias of *fitz.Document()*." msgstr "" #: ../../../changes.txt:2814 f62c2e04dea346d0a23964798a6150e8 msgid "" "New pixmap method *tobytes()* which will return a bytearray formatted as " "a PNG image of the pixmap." msgstr "" #: ../../../changes.txt:2815 691532d03793437899a4b59421388b4c msgid "" "New pixmap method *samplesRGB()* providing a *samples* version with alpha" " bytes stripped off (RGB colorspaces only)." msgstr "" #: ../../../changes.txt:2816 2780806eef3f43b28a7e9601a270e9f2 msgid "" "New pixmap method *samplesAlpha()* providing the alpha bytes only of the " "*samples* area." msgstr "" #: ../../../changes.txt:2817 21fbef3bc0e64a59a9a9b9f5005063e8 msgid "New iterator *fitz.Pages(doc)* over a document's set of pages." msgstr "" #: ../../../changes.txt:2818 707a5edabf3e4c3cbb66ed5d280d40ae msgid "" "New matrix methods *invert()* (calculate inverted matrix), *concat()* " "(calculate matrix product), *pretranslate()* (perform a shift operation)." msgstr "" #: ../../../changes.txt:2819 cc8cea5eaf77474aa84e90031d6f3318 msgid "" "New *IRect* methods *intersect()* (intersection with another rectangle), " "*translate()* (perform a shift operation)." msgstr "" #: ../../../changes.txt:2820 893b259908084462b3a1a85629a6ee06 msgid "" "New *Rect* methods *intersect()* (intersection with another rectangle), " "*transform()* (transformation with a matrix), *include_point()* (enlarge " "rectangle to also contain a point), *include_rect()* (enlarge rectangle " "to also contain another one)." msgstr "" #: ../../../changes.txt:2821 21838e58f15b4457816e55450382ccb9 msgid "Documented *Point.transform()* (transform a point with a matrix)." msgstr "" #: ../../../changes.txt:2822 3f2842cba4c044eb99d8d250d9f84740 msgid "" "*Matrix*, *IRect*, *Rect* and *Point* classes now support compact, " "algebraic formulations for manipulating such objects." msgstr "" #: ../../../changes.txt:2823 bb13c21e58c14cf59f36e99322166ac4 msgid "" "Incremental saves for changes are possible now using the call pattern " "*doc.save(doc.name, incremental=True)*." msgstr "" #: ../../../changes.txt:2824 34093067a0274622aa66ca0e40f20da0 msgid "" "A PDF's metadata can now be deleted, set or changed by document method " "*set_metadata()*. Supports incremental saves." msgstr "" #: ../../../changes.txt:2825 0e2f9f83f2244178a0772a7f0de76b0d msgid "" "A PDF's bookmarks (or table of contents) can now be deleted, set or " "changed with the entries of a list using document method *set_toc(list)*." " Supports incremental saves." msgstr "" #: ../../footer.rst:46 0555f8605d724eadbe65f9eb27755b4f msgid "This documentation covers all versions up to |version|." msgstr "" #~ msgid "**Changes in version 1.23.0rc1 (2023-08-10)**" #~ msgstr "" #~ msgid "Contains a new \"rebased\" implementation of PyMuPDF." #~ msgstr "" #~ msgid "" #~ "**Fixed** `#2542 " #~ "`_: " #~ "fritz.utils.scrub AttributeError Annot object " #~ "has no attribute fileUpd inside" #~ msgstr "" #~ msgid "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。" #~ msgstr "" #~ msgid "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript" #~ msgstr "" #~ msgid "" #~ "Other: * Use MuPDF-1.23.4. * Fix " #~ "optimisation flags with system installs. " #~ "* Fixed the problem that the clip" #~ " parameter does not take effect " #~ "during table recognition * Support " #~ "Pillow mode \"RGBa\" * Support extra " #~ "word delimiters * Support checking valid" #~ " PDF name objects" #~ msgstr "" #~ msgid "**Changes in version 1.24.3 (2024-04-xx)**" #~ msgstr "" #~ msgid "" #~ "**Fixed** `3180 " #~ "`_: Cannot " #~ "show optional content group: AttributeError:" #~ " module 'pymupdf.mupdf' has no attribute" #~ " 'pdf_array_push_drop'" #~ msgstr "" #~ msgid "" #~ "**Fixed** `3163 " #~ "`_: " #~ "AssertionError on using pymupdf.IRect" #~ msgstr "" #~ msgid "" #~ "**Fixed** `3177 " #~ "`_: " #~ "pymupdf.Pixmap(None, pix) Unrecognised args " #~ "for constructing Pixmap" #~ msgstr "" #~ msgid "" #~ "**Fixed** `2978 " #~ "`_: 1.23.9rc1:" #~ " module 'pymupdf.mupdf' has no attribute" #~ " 'fz_copy_pixmap_rect'" #~ msgstr "" #~ msgid "" #~ "Fixed rebased `pymupdf.pymupdf_version_tuple` - " #~ "was previously set to mupdf version." #~ msgstr "" #~ msgid "" #~ "Added test for `pymupdf.css_for_pymupdf_font()` " #~ "(uses package `pymupdf-fonts`)." #~ msgstr "" #~ msgid "Added `pymupdf.pymupdf_version_tuple`, e.g. `(1, 23, 6)`." #~ msgstr "" #~ msgid "" #~ "**Fixed** `2548 " #~ "`_: Fitz " #~ "freezes on some PDFs when calling " #~ "the pymupdf.Page.get_text_blocks method." #~ msgstr "" #~ msgid "" #~ "**Fixed** `#2542 " #~ "`_: " #~ "pymupdf.utils.scrub AttributeError Annot object " #~ "has no attribute fileUpd inside" #~ msgstr "" #~ msgid "" #~ "**Fixed** `#2290 " #~ "`_: Different" #~ " image format/data from Page.get_text(\"dict\")" #~ " and pymupdf.get_page_images()" #~ msgstr "" #~ msgid "" #~ "Fixed issue where trace devices' state" #~ " was not being initialised correctly; " #~ "data returned from things like " #~ "``pymupdf.Page.get_texttrace()`` might be slightly" #~ " altered, e.g. ``linewidth`` values." #~ msgstr "" #~ msgid "" #~ "**Fixed** `#2076 " #~ "`_: Segfault " #~ "in pymupdf.py" #~ msgstr "" #~ msgid "" #~ "``EmptyFileError`` -- raised when trying " #~ "to create a :ref:`Document` " #~ "(``pymupdf.open()``) from an empty file " #~ "or zero-length memory." #~ msgstr "" #~ msgid "" #~ "**Fixed** issue `#1085 " #~ "`_. The " #~ "old *snake_cased* alias of " #~ "``pymupdf.detTextlength`` is now defined " #~ "correctly." #~ msgstr "" #~ msgid "" #~ "**Added** a method :meth:`paper_rect` which" #~ " returns a :ref:`Rect` for a supplied" #~ " paper format string. Example: " #~ "*pymupdf.paper_rect(\"letter\") = pymupdf.Rect(0.0, " #~ "0.0, 612.0, 792.0)*." #~ msgstr "" #~ msgid "" #~ "Geometry objects now fully support " #~ "in-place operators. For example, *p " #~ "/= m* replaces point p with *p " #~ "* 1/m* for a number, or *p *" #~ " ~m* for a :data:`matrix_like` object " #~ "*m*. Similarly, if *r* is a " #~ "rectangle, then *r |= (3, 4)* is" #~ " the new rectangle that also includes" #~ " *pymupdf.Point(3, 4)*, and *r &= (1," #~ " 2, 3, 4)* is its intersection " #~ "with *pymupdf.Rect(1, 2, 3, 4)*." #~ msgstr "" #~ msgid "" #~ "A new *config.h* file can be used" #~ " to de-select unwanted features in" #~ " the C base code. Using this " #~ "feature we have been able to " #~ "reduce the size of our binary " #~ "*_pymupdf.o* / *_pymupdf.pyd* by about " #~ "50% (from 9 MB to 4.5 MB). " #~ "When UPX-ing this, the size goes" #~ " even further down to a very " #~ "handy 2.3 MB." #~ msgstr "" #~ msgid "" #~ "*pymupdf.open()* (no parameters) creates a " #~ "new empty |PDF| document, i.e. if " #~ "saved afterwards, it must be given " #~ "a *.pdf* extension." #~ msgstr "" #~ msgid "" #~ "New pixmap constructor *pymupdf.Pixmap(doc, " #~ "xref)* creates a pixmap based on " #~ "an opened PDF document and an " #~ ":data:`xref` number of the image." #~ msgstr "" #~ msgid "" #~ "New pixmap constructor *pymupdf.Pixmap(cspace, " #~ "spix)* creates a pixmap as a copy" #~ " of another one *spix* with the " #~ "colorspace converted to *cspace*. This " #~ "works for all colorspace combinations." #~ msgstr "" #~ msgid "" #~ "Pixmap constructor *pymupdf.Pixmap(colorspace, " #~ "width, height, samples)* now allows " #~ "*samples* to also be *bytes*, not " #~ "only *bytearray*." #~ msgstr "" #~ msgid "New methods *get_area()* for both *pymupdf.Rect* and *pymupdf.IRect*" #~ msgstr "" #~ msgid "" #~ "Pixmaps can now be created directly " #~ "from files using the new constructor " #~ "*pymupdf.Pixmap(filename)*." #~ msgstr "" #~ msgid "" #~ "The Pixmap constructor *pymupdf.Pixmap(image)* " #~ "has been extended accordingly." #~ msgstr "" #~ msgid "" #~ "*pymupdf.Rect* can now be created with" #~ " all possible combinations of points " #~ "and coordinates." #~ msgstr "" #~ msgid "The identity matrix *pymupdf.Identity* is now **immutable**." #~ msgstr "" #~ msgid "*pymupdf.open()* is now an alias of *pymupdf.Document()*." #~ msgstr "" #~ msgid "New iterator *pymupdf.Pages(doc)* over a document's set of pages." #~ msgstr "" #~ msgid "Discord logo" #~ msgstr "" #~ msgid "" #~ "**Changed** :ref:`TextWriter` output to also" #~ " accept text in right to left " #~ "mode (Arabian, Hebrew): " #~ ":meth:`TextWriter.fill_textbox`, :meth:`TextWriter.append`. " #~ "These methods now accept a new " #~ "boolean parameter `right_to_left`, which is" #~ " ``False`` by default. Implements `#897 " #~ "`_." #~ msgstr "" #~ msgid "" #~ "**Added** option ``text_as_path`` to " #~ ":meth:`Page.getSVGimage`. this implements `#580 " #~ "`_. Generates " #~ "much smaller SVG files with parseable" #~ " text if set to ``False``." #~ msgstr "" #~ msgid "" #~ "**Fixed** issue `#559 " #~ "`_. This " #~ "|MuPDF| bug is being temporarily fixed" #~ " with a pre-version of MuPDF's " #~ "next release." #~ msgstr "" #~ msgid "" #~ "**Changed** :attr:`Document.is_form_pdf` to now " #~ "contain the number of widgets, and " #~ "``False`` if not a PDF or this " #~ "number is zero." #~ msgstr "" #~ msgid "" #~ "**Changed** method :meth:`Document._getXrefStream` " #~ "to now return ``None`` if the " #~ "object is no stream and no longer" #~ " raise an exception if otherwise." #~ msgstr "" #~ msgid "" #~ "**Changed** :meth:`Document.embfile_Del` to now " #~ "automatically delete **all entries** having" #~ " the supplied identifying name. The " #~ "return code is now an integer " #~ "count of the removed entries (was " #~ "``None`` previously)." #~ msgstr "" #~ msgid "" #~ "**Added** :attr:`Document.isDirty` which is " #~ "``True`` if a PDF has been changed" #~ " in this session. Reset to ``False``" #~ " on each :meth:`Document.save` or " #~ ":meth:`Document.write`." #~ msgstr "" #~ msgid "" #~ "Changed and extended PDF form field " #~ "support: the attribute *widget_text* has " #~ "been renamed to :attr:`Annot.widget_value`. " #~ "Values of all form field types " #~ "(except signatures) are now supported. A" #~ " new attribute :attr:`Annot.widget_choices` " #~ "contains the selectable values of " #~ "listboxes and comboboxes. All these " #~ "attributes now contain ``None`` if no" #~ " value is present." #~ msgstr "" #~ msgid "" #~ "Many functions now return ``None`` " #~ "instead of *0*, if the result has" #~ " no other meaning than just " #~ "indicating successful execution " #~ "(:meth:`Document.close`, :meth:`Document.save`, " #~ ":meth:`Document.select`, :meth:`Pixmap.save` and " #~ "many others)." #~ msgstr "" #~ msgid "" #~ "A new ``Pixmap`` constructor allows " #~ "creating pixmap copies with an added " #~ "alpha channel. A new method also " #~ "allows directly manipulating alpha values." #~ msgstr "" #~ msgid "" #~ "The alpha (transparency) channel for " #~ "pixmaps is now optional. Letting alpha" #~ " default to ``False`` significantly reduces" #~ " pixmap sizes (by 20% -- CMYK, " #~ "25% -- RGB, 50% -- GRAY). Many " #~ "``Pixmap`` constructors therefore now accept" #~ " an *alpha* boolean to control " #~ "inclusion of this channel. Other pixmap" #~ " constructors (e.g. those for file " #~ "and image input) create pixmaps with " #~ "no alpha alltogether. On the downside," #~ " save methods for pixmaps no longer" #~ " accept a *savealpha* option: this " #~ "channel will always be saved when " #~ "present. To minimize code breaks, we " #~ "have left this parameter in the " #~ "call patterns -- it will just be" #~ " ignored." #~ msgstr "" #~ msgid "" #~ "``DisplayList`` and ``TextPage`` class " #~ "constructors now **require the mediabox** " #~ "of the page they are referring to" #~ " (i.e. the *page.bound()* rectangle). There" #~ " is no way to construct this " #~ "information from other sources, therefore " #~ "a source code change cannot be " #~ "avoided in these cases. We assume " #~ "however, that not many users are " #~ "actually employing these rather low " #~ "level classes explixitely. So the impact" #~ " of that change should be minor." #~ msgstr "" #~ msgid "" #~ "*fitz.open()* (no parameters) creates a " #~ "new empty |PDF| document, i.e. if " #~ "saved afterwards, it must be given " #~ "a *.pdf* extension." #~ msgstr ""