zathura-pdf-mupdf merge requestshttps://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests2016-11-24T00:55:15+01:00https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/1Added flags for freetype, harfbuzz and zlib2016-11-24T00:55:15+01:00HectorAdded flags for freetype, harfbuzz and zlib[patch-config.mk.diff](/uploads/b2d68883bf75091aa3f048e7f31cac08/patch-config.mk.diff)[patch-config.mk.diff](/uploads/b2d68883bf75091aa3f048e7f31cac08/patch-config.mk.diff)https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/2Support plugindir argument in meson.build.2018-06-29T18:08:50+02:00MariusSupport plugindir argument in meson.build.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/4link against gumbo for mupdf 1.182020-11-03T22:50:21+01:00Michael J Gruberlink against gumbo for mupdf 1.18This is needed to make the plugin work with mupdf 1.18.0 on Fedora where we build with `meson -Dlink-external=true`.
Before merging: Please double-check whether it is needed as a "build dependency" if you build without link-external. (I...This is needed to make the plugin work with mupdf 1.18.0 on Fedora where we build with `meson -Dlink-external=true`.
Before merging: Please double-check whether it is needed as a "build dependency" if you build without link-external. (I don't think so: the plugin builds fine without this MR but zathura fails to load the plugin because of missing symbols.)https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/5Changed index building to take chapters into account2021-04-18T04:46:08+02:00Andreas HellquistChanged index building to take chapters into accountIn mupdf, documents are divided into chapters and pages rather than just pages. This lead to a bug where index mode would link to sections without taking chapters into consideration, meaning that every chapter would link to page 1 (as de...In mupdf, documents are divided into chapters and pages rather than just pages. This lead to a bug where index mode would link to sections without taking chapters into consideration, meaning that every chapter would link to page 1 (as described in [this issue](https://git.pwmt.org/pwmt/zathura/-/issues/187)).
This merge requests solves the problem by taking the chapter into account when generating the index.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/6Changed internal link generation to account for chapters2021-04-18T20:22:31+02:00Ghost UserChanged internal link generation to account for chaptersResolves [pwmt/zathura-pdf-mupdf/-/issues/18](https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/18). Directly based on [merge request 5](https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/5). Tested locally and links resolve...Resolves [pwmt/zathura-pdf-mupdf/-/issues/18](https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/18). Directly based on [merge request 5](https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/5). Tested locally and links resolve correctly.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/7link against tesseract/leptonica for mupdf 1.19.02021-10-24T18:10:06+02:00Michael J Gruberlink against tesseract/leptonica for mupdf 1.19.0link against tesseract/leptonica for mupdf 1.19.0
Can be rebased easily, I was unsure about the appropriate target branch.
Fedora will ship an OCR-enabled mupdf soon. Although this will have no impact on the zathura plugin functionalit...link against tesseract/leptonica for mupdf 1.19.0
Can be rebased easily, I was unsure about the appropriate target branch.
Fedora will ship an OCR-enabled mupdf soon. Although this will have no impact on the zathura plugin functionality (yet), the plugin need to be linked against tesseract/leptonica, too, so that all symbols of the mupdf library get resolved. This may be different once we switch to the dynamic mupdf library.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/8Add new plugin to highlight proper selected text between two points2022-11-27T15:19:06+01:00Rahul AggarwalAdd new plugin to highlight proper selected text between two pointsThis PR utilizes the fitz module from mupdf to extract a list of rectangles representing the current selection between two points. This will be used to close pwmt/zathura#26
It will
1. Extracts the text if the text has not been extracte...This PR utilizes the fitz module from mupdf to extract a list of rectangles representing the current selection between two points. This will be used to close pwmt/zathura#26
It will
1. Extracts the text if the text has not been extracted already. It stores this so we do not recompute for every page.
2. uses `fz_highlight_selection` to get a list of quads
3. Returns them through the plugin-api (and accounts for possible errors).https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/9Check for NaN when resolving link destinations2023-09-14T19:21:54+02:00Andreas PerstingerCheck for NaN when resolving link destinationsSince version 1.21.0 of mupdf, link destinations that don't set a top
and left coordinate will return `NaN` instead of `0` when they get resolved
using `fz_resolve_link()`. This will mess up further calculations for
the actual link locat...Since version 1.21.0 of mupdf, link destinations that don't set a top
and left coordinate will return `NaN` instead of `0` when they get resolved
using `fz_resolve_link()`. This will mess up further calculations for
the actual link location and all these links will then point to the last
page of the document.
This will fix #33.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/10Fix zathura crashing when :info is run on a non-PDF document2023-10-22T10:54:24+02:00blankieblankie@nixnetmail.comFix zathura crashing when :info is run on a non-PDF documentFixes #40Fixes #40https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/merge_requests/3search: Fix fz_malloc_array invocation for MuPDF 1.162019-08-01T17:52:47+02:00Johannes Löthbergsearch: Fix fz_malloc_array invocation for MuPDF 1.16Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>