Skip to content

Commit

Permalink
! Update to MuPDF 1.24.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wmjordan committed Jun 15, 2024
1 parent 6fce27f commit cad5873
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Demo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
10 changes: 10 additions & 0 deletions MuPDFLib/libmupdf.def
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mupdf
Submodule mupdf updated 44 files
+8 −3 Makefile
+1 −1 Makethird
+3 −3 docs/src/third-party.rst
+18 −0 include/mupdf/fitz/output.h
+2 −2 include/mupdf/fitz/version.h
+1 −0 include/mupdf/fitz/writer.h
+24 −0 include/mupdf/pdf/annot.h
+2 −0 include/mupdf/pdf/font.h
+14 −1 include/mupdf/pdf/interpret.h
+10 −0 include/mupdf/pdf/name-table.h
+12 −0 include/mupdf/pdf/page.h
+48 −2 platform/java/jni/pdfannotation.c
+2 −2 platform/java/jni/pdfpage.c
+19 −0 platform/java/mupdf_native.c
+82 −10 platform/java/mupdf_native.h
+28 −2 platform/java/src/com/artifex/mupdf/fitz/PDFAnnotation.java
+13 −6 platform/java/src/com/artifex/mupdf/fitz/PDFPage.java
+238 −134 scripts/pipcl.py
+22 −5 scripts/wrap/__main__.py
+28 −20 scripts/wrap/cpp.py
+7 −0 scripts/wrap/csharp.py
+6 −3 scripts/wrap/rename.py
+5 −1 scripts/wrap/swig.py
+2 −2 source/fitz/draw-path.c
+72 −6 source/fitz/encode-basic.c
+43 −2 source/fitz/output-svg.c
+21 −3 source/fitz/output.c
+12 −6 source/fitz/subset-cff.c
+97 −47 source/fitz/subset-ttf.c
+14 −5 source/fitz/writer.c
+8 −1 source/html/css-apply.c
+12 −6 source/html/html-outline.c
+156 −0 source/pdf/pdf-annot.c
+11 −3 source/pdf/pdf-clean.c
+4 −6 source/pdf/pdf-form.c
+16 −3 source/pdf/pdf-interpret.c
+3 −3 source/pdf/pdf-lex.c
+6 −2 source/pdf/pdf-object.c
+170 −11 source/pdf/pdf-op-buffer.c
+9 −0 source/pdf/pdf-op-color.c
+9 −3 source/pdf/pdf-op-filter.c
+26 −5 source/pdf/pdf-op-run.c
+66 −18 source/pdf/pdf-subset.c
+73 −19 source/tools/murun.c

0 comments on commit cad5873

Please sign in to comment.