1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-07-02 15:48:59 +00:00
Go to file
Vasily Galkin c3c1fcd761 get_match_offset(): ignore areas with center outside of match
Find sidebar implementation of evince uses "reconstruction"
of found letters by comparing geometrical position of match and letters
in get_match_offset method.

Before this change the only criteria for search was
"beginning of the match is inside letter (area)".
However, for pdfs containing letters that are much bigger than found
(huge labels over content, like watermarks) those huge letters passed
criteria and were incorrectly displayed in find sidebar.

With current architecture this problem can't be solved for 100% cases,
but can be hugely improved.

This commit adds extra check that center of a letter is inside the match,
this fixes a huge percent of huge letters incorrectly passing criteria.

See MR !372 for more info and testing file.
2021-12-14 13:56:55 +00:00
.gitlab-ci gitlab-ci: Install dependencies for gi-docgen 2021-12-02 19:20:57 -03:00
backend pdf: Fix dispose implementation 2021-12-14 13:43:59 +00:00
build-aux build: Use platform/master as runtime instead of SDK 2021-06-26 16:52:07 -04:00
cut-n-paste build: Use symbol visibility to hide symbols in private libs 2021-12-01 16:51:33 +01:00
data Remove incorrect args for i18n.merge_file 2021-12-03 01:31:55 +00:00
help libdocument: Move GDateTime members to the extended struct 2021-12-02 18:35:18 +01:00
libdocument libdocument: Move GDateTime members to the extended struct 2021-12-02 18:35:18 +01:00
libmisc libmisc: Update style context classes 2021-10-11 19:04:53 -03:00
libview libview: Do not draw invalid surface 2021-12-02 23:24:55 +00:00
po Update Occitan translation 2021-12-11 22:59:19 +00:00
previewer build: Fix dependency tracking 2021-11-30 22:16:19 +00:00
properties libdocument: Move GDateTime members to the extended struct 2021-12-02 18:35:18 +01:00
shell get_match_offset(): ignore areas with center outside of match 2021-12-14 13:56:55 +00:00
subprojects build: Allow building without libhandy-1 available 2021-06-26 03:14:17 +00:00
thumbnailer build: Fix dependency tracking 2021-11-30 22:16:19 +00:00
.editorconfig Add editorconfig file to keep style consistency 2020-06-21 16:25:05 -04:00
.gitignore build: add usual meson build directory to gitignore 2020-06-07 18:45:19 +02:00
.gitlab-ci.yml gitlab-ci: fix pipeline error libhandy cannot find vapigen 2021-06-26 04:55:52 +00:00
AUTHORS Release 0.8.0 2007-03-12 21:16:03 +00:00
ChangeLog.pre-git Fix spelling of *dependency* 2016-07-16 11:55:01 +02:00
CONTRIBUTING.md Updated Contribution Guidelines 2020-07-02 04:16:31 +05:30
COPYING Update FSF address everywhere. 2010-04-05 11:24:46 +02:00
evince-document.h libdocument: Sort evince-document.h includes 2021-12-01 16:51:33 +01:00
evince-view.h Update FSF address everywhere. 2010-04-05 11:24:46 +02:00
evince.doap Use correct email address 2019-09-02 22:31:44 +02:00
MAINTAINERS Fix formatting issues. 2008-01-13 16:13:35 +00:00
meson_options.txt build: Add option to control internal vs external synctex 2021-06-26 04:45:21 +00:00
meson_post_install.py build: Port to Meson build system 2018-09-24 10:28:33 +02:00
meson.build Remove incorrect args for i18n.merge_file 2021-12-03 01:31:55 +00:00
NEWS Release 41.2 2021-10-09 22:42:42 -03:00
NEWS-security.md NEWS: Add CVE numbers close their release notes 2018-08-01 16:03:51 -04:00
NOTES Release 0.8.0 2007-03-12 21:16:03 +00:00
org.gnome.Evince.appdata.xml.in Align app name in metadata with .desktop name 2021-10-11 02:55:27 +00:00
README.commits [doc] Add README.commits copied from Nautilus 2009-04-28 11:55:36 +02:00
README.md Rename default branch to main 2021-10-10 23:08:18 -03:00
TODO Updated bug list url 2020-10-30 11:11:11 +00:00

evince-logo Evince

Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript. For more general information about Evince please visit our website at https://wiki.gnome.org/Apps/Evince.

This software is licensed under the GPLv2.

flatpak

Evince Requirements

Evince Optional Backend Libraries

Default branch renamed to main

The default development branch of Evince has been renamed to main. To update your local checkout, use:

git checkout master
git branch -m master main
git fetch
git branch --unset-upstream
git branch -u origin/main
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main