From 128f9361ff310f5e66daa06dd2a2a01c15333514 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Wed, 24 Jan 2024 14:21:11 +0000 Subject: [PATCH] Revert UTF8 change --- Changes | 4 ---- cpdfcommand.ml | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Changes b/Changes index 5d82c56..b1f3b1d 100644 --- a/Changes +++ b/Changes @@ -1,9 +1,5 @@ 2.7 (to come) -Breaking changes: - -o -utf8 is now the default. Set -stripped to get old behaviour. - New features: o Split files to max size with -split-max diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 3675404..1fff3ac 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -599,7 +599,7 @@ let args = process_struct_trees = true; remove_duplicate_fonts = false; remove_duplicate_streams = false; - encoding = Cpdfmetadata.UTF8; + encoding = Cpdfmetadata.Stripped; scale = 1.; copyfontpage = 1; copyfontname = None; @@ -739,7 +739,7 @@ let reset_arguments () = args.process_struct_trees <- true; args.remove_duplicate_fonts <- false; args.remove_duplicate_streams <- false; - args.encoding <- Cpdfmetadata.UTF8; + args.encoding <- Cpdfmetadata.Stripped; args.scale <- 1.; args.copyfontpage <- 1; args.copyfontname <- None;