-utf8 now default

This commit is contained in:
John Whitington 2023-12-28 19:00:21 +00:00
parent 86cd0c3bb7
commit 526cedead9
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2.7 (to come) 2.7 (to come)
Breaking changes:
o -utf8 is now the default. Set -stripped to get old behaviour.
New features: New features:
o Split files to max size with -split-max o Split files to max size with -split-max

View File

@ -585,7 +585,7 @@ let args =
retain_numbering = false; retain_numbering = false;
remove_duplicate_fonts = false; remove_duplicate_fonts = false;
remove_duplicate_streams = false; remove_duplicate_streams = false;
encoding = Cpdfmetadata.Stripped; encoding = Cpdfmetadata.UTF;
scale = 1.; scale = 1.;
copyfontpage = 1; copyfontpage = 1;
copyfontname = None; copyfontname = None;
@ -713,7 +713,7 @@ let reset_arguments () =
args.retain_numbering <- false; args.retain_numbering <- false;
args.remove_duplicate_fonts <- false; args.remove_duplicate_fonts <- false;
args.remove_duplicate_streams <- false; args.remove_duplicate_streams <- false;
args.encoding <- Cpdfmetadata.Stripped; args.encoding <- Cpdfmetadata.UTF;
args.scale <- 1.; args.scale <- 1.;
args.copyfontpage <- 1; args.copyfontpage <- 1;
args.copyfontname <- None; args.copyfontname <- None;