summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-9999-mupdf-fz_new_text_page.patch')
-rw-r--r--app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-9999-mupdf-fz_new_text_page.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-9999-mupdf-fz_new_text_page.patch b/app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-9999-mupdf-fz_new_text_page.patch
new file mode 100644
index 000000000000..5929f2a2cc2c
--- /dev/null
+++ b/app-text/zathura-pdf-mupdf/files/zathura-pdf-mupdf-9999-mupdf-fz_new_text_page.patch
@@ -0,0 +1,11 @@
+--- zathura-pdf-mupdf-9999/pdf.c
++++ zathura-pdf-mupdf-9999/pdf.c
+@@ -225,7 +225,7 @@
+ zathura_page_set_height(page, mupdf_page->bbox.y1 - mupdf_page->bbox.y0);
+
+ /* setup text */
+- mupdf_page->text = fz_new_text_page(mupdf_page->ctx, &mupdf_page->bbox);
++ mupdf_page->text = fz_new_text_page(mupdf_page->ctx);
+ if (mupdf_page->text == NULL) {
+ goto error_free;
+ }