Do not use 'poppler_page_get_text_for_area()' API for older versions of poppler.
[GB.POPPLER] * BUG: Do not use 'poppler_page_get_text_for_area()' API for older versions of poppler.
This commit is contained in:
parent
0900d16fe5
commit
24f131c35d
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ BEGIN_METHOD(PdfPage_GetText, GB_FLOAT x; GB_FLOAT y; GB_FLOAT w; GB_FLOAT h)
|
|||
rect.x2 = rect.x1 + VARG(w);
|
||||
rect.y2 = rect.y1 + VARG(h);
|
||||
|
||||
GB.ReturnNewZeroString(poppler_page_get_text_for_area(THIS->current, &rect));
|
||||
GB.ReturnNewZeroString(poppler_page_get_selected_text(THIS->current, POPPLER_SELECTION_GLYPH, &rect));
|
||||
|
||||
END_METHOD
|
||||
|
||||
|
|
Loading…
Reference in a new issue