-raw fixes
This commit is contained in:
parent
0dd958c95b
commit
51cf7e949d
1
cpdf.ml
1
cpdf.ml
|
@ -881,7 +881,6 @@ let set_viewer_preference (key, value, version) pdf =
|
|||
|
||||
(* \section{Set an entry in the /Info dictionary} *)
|
||||
let set_pdf_info (key, value, version) pdf =
|
||||
Printf.printf "set_pdf_info: %s %s\n" key (Pdfwrite.string_of_pdf value);
|
||||
let infodict =
|
||||
match Pdf.lookup_direct pdf "/Info" pdf.Pdf.trailerdict with
|
||||
| Some d -> d
|
||||
|
|
|
@ -2976,7 +2976,6 @@ let go () =
|
|||
| Some ((SetAuthor _ | SetTitle _ | SetSubject _ | SetKeywords _
|
||||
| SetCreate _ | SetModify _ | SetCreator _ | SetProducer _
|
||||
| SetTrapped | SetUntrapped) as op) ->
|
||||
flprint "a set operation\n";
|
||||
let key, value, version =
|
||||
let f s = if args.encoding <> Cpdf.Raw then Pdftext.pdfdocstring_of_utf8 s else unescape_octals s in
|
||||
match op with
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
% Explain quadruple backslash on command line leading to single real slash \\\\ -> \\ -> \
|
||||
% Explain page labels in -page-info and new -add-page-labels functionality
|
||||
% Correct the documentation for -diagonal and -reverse-diagonal
|
||||
% Explain octal escape sequences in meta fields with -raw
|
||||
|
||||
\documentclass[a4paper,makeidx]{memoir}
|
||||
\usepackage{palatino}
|
||||
|
|
Loading…
Reference in New Issue