You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is **version 1.14.11 of PyMuPDF**, a Python binding for `MuPDF <http://mupdf.com/>`_ - "a lightweight PDF and XPS viewer".
24
+
This is **version 1.14.12 of PyMuPDF**, a Python binding for `MuPDF <http://mupdf.com/>`_ - "a lightweight PDF and XPS viewer".
25
25
26
26
MuPDF can access files in PDF, XPS, OpenXPS, epub, comic and fiction book formats, and it is known for both, its top performance and high rendering quality.
@@ -14,7 +14,7 @@ On **[PyPI](https://pypi.org/project/PyMuPDF)** since August 2016: [**, a Python binding with support for [MuPDF 1.14.x](http://mupdf.com/) - "a lightweight PDF, XPS, and E-book viewer".
17
+
This is **version 1.14.12 of PyMuPDF (formerly python-fitz)**, a Python binding with support for [MuPDF 1.14.x](http://mupdf.com/) - "a lightweight PDF, XPS, and E-book viewer".
18
18
19
19
MuPDF can access files in PDF, XPS, OpenXPS, CBZ, EPUB and FB2 (e-books) formats, and it is known for its top performance and high rendering quality.
%feature("autodoc","Insert a new page in front of 'pno'. Use arguments 'width', 'height' to specify a non-default page size, and optionally text insertion arguments.") insertPage;
1064
-
%pythonprepend insertPage %{
1065
-
if self.isClosed or self.isEncrypted:
1066
-
raise ValueError("operation illegal for closed / encrypted doc")
1067
-
if bool(text):
1068
-
CheckColor(color)
1069
-
if fontname and fontname[0] == "/":
1070
-
raise ValueError("invalid font reference")
1071
-
%}
1072
-
%pythonappend insertPage %{
1073
-
if val < 0: return val
1074
-
self._reset_page_refs()
1075
-
if not bool(text): return val
1076
-
page = self.loadPage(pno)
1077
-
val = page.insertText(Point(50, 72), text, fontsize = fontsize,
"""Insert a new page in front of 'pno'. Use arguments 'width', 'height' to specify a non-default page size, and optionally text insertion arguments."""
0 commit comments