diff options
author | Antia Puentes <[email protected]> | 2013-07-10 17:47:26 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-09-06 18:25:34 +0200 |
commit | 7a9f2cc8fa9c783b4b00c7990bc01ec6b64018ab (patch) | |
tree | d0afec61293f674993c18126522ad7de3583b23d /libview/ev-view.c | |
parent | 2a7eb0b7ae2af2fa56e92e6c4a3b241833c3ea96 (diff) | |
download | atril-7a9f2cc8fa9c783b4b00c7990bc01ec6b64018ab.tar.bz2 atril-7a9f2cc8fa9c783b4b00c7990bc01ec6b64018ab.tar.xz |
libview: Get text attributes from backend and save them in page cache
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4592007
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r-- | libview/ev-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c index 155e8a64..e2ab37df 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -6576,7 +6576,8 @@ setup_caches (EvView *view) ev_page_cache_get_flags (view->page_cache) | EV_PAGE_DATA_INCLUDE_TEXT_LAYOUT | EV_PAGE_DATA_INCLUDE_TEXT | - EV_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS); + EV_PAGE_DATA_INCLUDE_TEXT_ATTRS | + EV_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS); inverted_colors = ev_document_model_get_inverted_colors (view->model); ev_pixbuf_cache_set_inverted_colors (view->pixbuf_cache, inverted_colors); |