PyMuPDF icon indicating copy to clipboard operation
PyMuPDF copied to clipboard

PyMuPDF is a high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.

Results 162 PyMuPDF issues
Sort by recently updated
recently updated
newest added

The return type is different b/w the new way and the deprecated implementation. Also, `verbose` only does something for the old code. `fontTools` is needed only for the deprecated implementation.

### Description of the bug Maybe a duplicate or at least related to #3470. When I use `insert_pdf` to copy a page from one PDF to a new document, then...

fix developed

Tried to change change the font color of the first line of text using page.insert_text and applying redactions. While inserting text used the font (TimesNewRomanPS-BoldMT) extracted using span["font"]. After this...

not a bug
question

### Description of the bug ``` >>> import pymupdf >>> pymupdf.version ('1.24.4', '1.24.2', '20240516000001') >>> doc = pymupdf.open("test3.pdf") >>> doc._get_page_labels() [(0, ''), (13, ''), (15, '')] >>> doc[0].get_label() 'B' ```...

fix developed

I noticed there were some warnings about `node` upgrades on CI runs. I bumped a few things (but didn't really check if any actions where needed b/c of those bumps!)

### Description of the bug Pythonܔزၥᦶ໛ຝҁ෫႕҂ ܔزၥᦶ༷ᬿ Pythonၥᦶ໛ຝ ՗᫫կຝ຅ጱ᥯ଶ๶᧔҅ၥᦶ๋᯿ᥝጱྍṈฎࣁ᫫կ୏ݎጱ෸ײኴفྲ᫾অ҅ಅզࣁ෱๗ၥᦶጱኴف҅ ՗᫫կᕪၧ਍ጱ᥯ଶӤ๶᧔҅ݎሿጱᳯ᷌ᥴ٬౮๜֗҅ಭفጱᩒრྲ᫾੝̶ࢩྌ҅੒Ӟӻၥᦶጱᔮᕹ҅ ୏ত๋֯ጱၥᦶ੪ฎრդᎱᕆڦጱၥᦶ҅Ԟ੪ฎܔزၥᦶᴤྦྷ҅ᬯӻᬦᑕԞᤩ౮ԅጮፋၥᦶ̶ܔزၥᦶ ฎ๋च๜Ԟฎ๋ବ੶ጱၥᦶᔄࣳ҅ܔزၥᦶଫአԭ๋च๜ጱ᫫կդᎱ҅ইᔄ҅ڍහ̶ොဩᒵ҅ܔزၥᦶ ᭗ᬦݢಗᤈጱෙ᥺༄ັᤩၥܔزጱᬌڊฎވჿ᪃ᶼ๗ᕮຎ̶ࣁၥᦶᰂਁरጱቘᦞӤ๶᧔҅᩼ஃӥጱၥᦶ ಭفᩒრ᩼ṛ҅஑کጱࢧಸሲ᩼य़҅ᥠၥᦶᰂਁरཛྷࣳғ ಲ୏᫫կຝ຅ጱ੶ᶎ҅ࣁᛔۖ۸ၥᦶጱ֛ᔮӾ҅ܔزၥᦶ໛ຝզ݊ܔزၥᦶጱᎣᦩ֛ᔮฎ஠ᶳᥝഩൎጱ ದᚆԏӞ҅ܔزၥᦶጱᎣᦩ֛ᔮฎᛔۖ۸ၥᦶૡᑕ૵զ݊ၥᦶ୏ݎૡᑕ૵ጱᎣᦩ֛ᔮԏӞ҅ᘒӬฎ஠ᶳ ٍ॓ጱᎣᦩԏӞ̶ࣁPython᧍᥺Ӿଫአ๋ଠာጱܔزၥᦶ໛ຝฎunittest޾pytest,unittestંԭຽٵପ҅ ݝᥝਞᤰԧPythonᥴ᯽࢏ݸ੪ݢզፗള੕فֵአԧ,pytestฎᒫӣොጱପ҅ᵱᥝܔᇿጱਞᤰ̶ܔزၥᦶ໛ ຝጱᎣᦩ֛ᔮ੪ࢱᕰunittest޾pytest๶ᦖᥴ̶ ጮፋၥᦶܻቘ pdf文件: [Python单元测试框架.pdf](https://github.com/user-attachments/files/15511860/Python.pdf) ### How to reproduce the bug 解析pdf文件出现乱码 ###...

fix issue https://github.com/pymupdf/PyMuPDF/issues/3519

### Description of the bug When taking pages out of an existing document and adding it to a new document using `document.insert_pdf`, the following error is thrown: ``` TypeError: unsupported...

### Description of the bug When I use the get_toc(simple=False) method, the program throws an AttributeError: 'Outline' object has no attribute 'rect' error. I noticed a try-catch block in the...

### Description of the bug Hey, thank you so much for this amazing tool! I am using PyMuPDF to parse many official french documents, they contain a cover, a table...

upstream bug