From cad5873646287857001912718f45347ff8b8f174 Mon Sep 17 00:00:00 2001 From: WMJ Date: Sat, 15 Jun 2024 20:03:00 +0800 Subject: [PATCH] ! Update to MuPDF 1.24.3 --- Demo/Program.cs | 2 +- MuPDFLib/libmupdf.def | 10 ++++++++++ mupdf | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Demo/Program.cs b/Demo/Program.cs index c935732..19cffc5 100644 --- a/Demo/Program.cs +++ b/Demo/Program.cs @@ -114,7 +114,7 @@ static class NativeMethods const uint FZ_STORE_DEFAULT = 256 << 20; const string DLL = "MuPDFLib.dll"; // note: modify the version number to match the FZ_VERSION definition in "include\fitz\version.h" file - const string FZ_VERSION = "1.24.1"; + const string FZ_VERSION = "1.24.3"; [DllImport(DLL, CallingConvention = CC.Cdecl, EntryPoint = "fz_new_context_imp", BestFitMapping = false)] static extern IntPtr NewContext(IntPtr alloc, IntPtr locks, uint max_store, [MarshalAs(UnmanagedType.LPStr)] string fz_version); diff --git a/MuPDFLib/libmupdf.def b/MuPDFLib/libmupdf.def index 57f5ba1..124480f 100644 --- a/MuPDFLib/libmupdf.def +++ b/MuPDFLib/libmupdf.def @@ -599,6 +599,7 @@ EXPORTS fz_tell_output fz_flush_output fz_close_output + fz_reset_output fz_drop_output fz_output_supports_stream fz_stream_from_output @@ -972,6 +973,7 @@ EXPORTS fz_new_pdf_writer fz_new_pdf_writer_with_output fz_new_svg_writer + fz_new_svg_writer_with_output fz_new_text_writer fz_new_text_writer_with_output fz_new_odt_writer @@ -1058,6 +1060,10 @@ EXPORTS pdf_string_from_annot_type pdf_annot_type_from_string + pdf_string_from_intent + pdf_name_from_intent + pdf_intent_from_string + pdf_intent_from_name pdf_line_ending_from_name pdf_line_ending_from_string pdf_name_from_line_ending @@ -1175,6 +1181,9 @@ EXPORTS pdf_set_annot_modification_date pdf_annot_creation_date pdf_set_annot_creation_date + pdf_annot_has_intent + pdf_annot_intent + pdf_set_annot_intent pdf_parse_default_appearance pdf_print_default_appearance pdf_annot_default_appearance @@ -1384,6 +1393,7 @@ EXPORTS pdf_count_q_balance pdf_new_run_processor pdf_new_buffer_processor + pdf_reset_processor pdf_new_output_processor pdf_new_sanitize_filter pdf_filter_xobject_instance diff --git a/mupdf b/mupdf index c443b8a..53ea9aa 160000 --- a/mupdf +++ b/mupdf @@ -1 +1 @@ -Subproject commit c443b8a17a4d21e1e0c8cf0f4d37401b580cea0d +Subproject commit 53ea9aa1e21f8e748bce2c782e4099aa656f1549