Lines 1-31
Link Here
|
1 |
--- page.c.orig 2016-06-25 17:39:19 UTC |
|
|
2 |
+++ page.c |
3 |
@@ -43,12 +43,12 @@ pdf_page_init(zathura_page_t* page) |
4 |
/* setup text */ |
5 |
mupdf_page->extracted_text = false; |
6 |
|
7 |
- mupdf_page->text = fz_new_text_page(mupdf_page->ctx); |
8 |
+ mupdf_page->text = fz_new_stext_page(mupdf_page->ctx); |
9 |
if (mupdf_page->text == NULL) { |
10 |
goto error_free; |
11 |
} |
12 |
|
13 |
- mupdf_page->sheet = fz_new_text_sheet(mupdf_page->ctx); |
14 |
+ mupdf_page->sheet = fz_new_stext_sheet(mupdf_page->ctx); |
15 |
if (mupdf_page->sheet == NULL) { |
16 |
goto error_free; |
17 |
} |
18 |
@@ -74,11 +74,11 @@ pdf_page_clear(zathura_page_t* page, mup |
19 |
|
20 |
if (mupdf_page != NULL) { |
21 |
if (mupdf_page->text != NULL) { |
22 |
- fz_drop_text_page(mupdf_page->ctx, mupdf_page->text); |
23 |
+ fz_drop_stext_page(mupdf_page->ctx, mupdf_page->text); |
24 |
} |
25 |
|
26 |
if (mupdf_page->sheet != NULL) { |
27 |
- fz_drop_text_sheet(mupdf_page->ctx, mupdf_page->sheet); |
28 |
+ fz_drop_stext_sheet(mupdf_page->ctx, mupdf_page->sheet); |
29 |
} |
30 |
|
31 |
if (mupdf_page->page != NULL) { |