Skip to content

Commit 4d8b231

Browse files
committed
! Updated to MuPDF 1.21.1
1 parent 609b2d0 commit 4d8b231

File tree

3 files changed

+57
-3
lines changed

3 files changed

+57
-3
lines changed

Demo/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ static class NativeMethods
114114
const uint FZ_STORE_DEFAULT = 256 << 20;
115115
const string DLL = "MuPDFLib.dll";
116116
// note: modify the version number to match the FZ_VERSION definition in "fitz\version.h" file
117-
const string FZ_VERSION = "1.20.0";
117+
const string FZ_VERSION = "1.21.1";
118118

119119
[DllImport(DLL, CallingConvention = CC.Cdecl, EntryPoint = "fz_new_context_imp", BestFitMapping = false)]
120120
static extern IntPtr NewContext(IntPtr alloc, IntPtr locks, uint max_store, [MarshalAs(UnmanagedType.LPStr)] string fz_version);

MuPDFLib/libmupdf.def

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ EXPORTS
2727
fz_write_zip_entry
2828
fz_close_zip_writer
2929
fz_drop_zip_writer
30+
fz_new_tree_archive
31+
fz_tree_archive_add_buffer
32+
fz_tree_archive_add_data
33+
fz_new_multi_archive
34+
fz_mount_multi_archive
3035
fz_new_archive_of_size
3136
fz_write_header
3237
fz_write_band
@@ -58,6 +63,8 @@ EXPORTS
5863
fz_trim_buffer
5964
fz_clear_buffer
6065
fz_append_buffer
66+
fz_append_base64
67+
fz_append_base64_buffer
6168
fz_append_data
6269
fz_append_string
6370
fz_append_byte
@@ -309,6 +316,7 @@ EXPORTS
309316
fz_page_separations
310317
fz_page_uses_overprint
311318
fz_create_link
319+
fz_delete_link
312320
fz_process_opened_pages
313321

314322
fz_open_null_filter
@@ -486,10 +494,12 @@ EXPORTS
486494
fz_load_bmp_subimage
487495
fz_make_link_dest_none
488496
fz_make_link_dest_xyz
489-
fz_new_link
497+
fz_new_link_of_size
490498
fz_keep_link
491499
fz_drop_link
492500
fz_is_external_link
501+
fz_set_link_rect
502+
fz_set_link_uri
493503
fz_log
494504
fz_log_module
495505
fz_new_log_for_module
@@ -526,6 +536,7 @@ EXPORTS
526536
fz_stream_from_output
527537
fz_truncate_output
528538
fz_write_data
539+
fz_write_buffer
529540
fz_write_string
530541
fz_write_int32_be
531542
fz_write_int32_le
@@ -542,6 +553,8 @@ EXPORTS
542553
fz_write_rune
543554
fz_write_base64
544555
fz_write_base64_buffer
556+
fz_write_bits
557+
fz_write_bits_sync
545558
fz_format_string
546559
fz_vsnprintf
547560
fz_snprintf
@@ -663,6 +676,16 @@ EXPORTS
663676
fz_debug_store
664677
fz_defer_reap_start
665678
fz_defer_reap_end
679+
fz_write_story
680+
fz_write_stabilized_story
681+
fz_new_story
682+
fz_story_warnings
683+
fz_place_story
684+
fz_draw_story
685+
fz_reset_story
686+
fz_drop_story
687+
fz_story_document
688+
fz_story_positions
666689
fz_file_exists
667690
fz_open_file
668691
fz_open_file_w
@@ -706,6 +729,7 @@ EXPORTS
706729
fz_strlcat
707730
fz_memmem
708731
fz_dirname
732+
fz_basename
709733
fz_urldecode
710734
fz_format_output_path
711735
fz_cleanname
@@ -798,6 +822,8 @@ EXPORTS
798822
fz_new_image_from_svg_xml
799823
fz_write_image_as_data_uri
800824
fz_write_pixmap_as_data_uri
825+
fz_append_image_as_data_uri
826+
fz_append_pixmap_as_data_uri
801827
fz_new_xhtml_document_from_document
802828
fz_new_buffer_from_page_with_format
803829

@@ -875,6 +901,7 @@ EXPORTS
875901
fz_new_document_writer_of_size
876902
fz_parse_xml
877903
fz_parse_xml_from_html5
904+
fz_keep_xml
878905
fz_drop_xml
879906
fz_detach_xml
880907
fz_xml_root
@@ -887,6 +914,7 @@ EXPORTS
887914
fz_xml_att
888915
fz_xml_att_alt
889916
fz_xml_att_eq
917+
fz_xml_add_att
890918
fz_xml_text
891919
fz_debug_xml
892920
fz_xml_find
@@ -895,6 +923,27 @@ EXPORTS
895923
fz_xml_find_match
896924
fz_xml_find_next_match
897925
fz_xml_find_down_match
926+
fz_xml_find_dfs
927+
fz_xml_find_next_dfs
928+
fz_dom_body
929+
fz_dom_document_element
930+
fz_dom_create_element
931+
fz_dom_create_text_node
932+
fz_dom_find
933+
fz_dom_find_next
934+
fz_dom_append_child
935+
fz_dom_insert_before
936+
fz_dom_insert_after
937+
fz_dom_remove
938+
fz_dom_clone
939+
fz_dom_first_child
940+
fz_dom_parent
941+
fz_dom_next
942+
fz_dom_previous
943+
fz_dom_add_attribute
944+
fz_dom_remove_attribute
945+
fz_dom_attribute
946+
fz_dom_get_attribute
898947

899948
; MuPDF exports
900949

@@ -924,8 +973,10 @@ EXPORTS
924973
pdf_format_link_uri
925974
pdf_parse_link_uri
926975
pdf_annot_transform
976+
pdf_new_link
927977
pdf_create_annot_raw
928978
pdf_create_link
979+
pdf_delete_link
929980
pdf_create_annot
930981
pdf_delete_annot
931982
pdf_set_annot_popup
@@ -953,6 +1004,7 @@ EXPORTS
9531004
pdf_annot_ink_list_stroke_count
9541005
pdf_annot_ink_list_stroke_vertex
9551006
pdf_set_annot_flags
1007+
pdf_set_annot_stamp_image
9561008
pdf_set_annot_rect
9571009
pdf_set_annot_border
9581010
pdf_set_annot_opacity
@@ -978,6 +1030,7 @@ EXPORTS
9781030
pdf_set_annot_line_ending_styles
9791031
pdf_annot_icon_name
9801032
pdf_annot_is_open
1033+
pdf_annot_is_standard_stamp
9811034
pdf_annot_line
9821035
pdf_set_annot_line
9831036
pdf_annot_vertex_count
@@ -1246,6 +1299,7 @@ EXPORTS
12461299
pdf_is_stream
12471300
pdf_objcmp
12481301
pdf_objcmp_resolve
1302+
pdf_objcmp_deep
12491303
pdf_name_eq
12501304
pdf_obj_marked
12511305
pdf_mark_obj

mupdf

Submodule mupdf updated 200 files

0 commit comments

Comments
 (0)