This commit is contained in:
John Whitington 2019-07-31 17:32:18 +01:00
parent 23b58d87ed
commit 89dfe94d13
3 changed files with 12 additions and 3 deletions

View File

@ -2199,12 +2199,12 @@ and specs =
("-copy-font-page",
Arg.Int setfontpage,
" Set the page a copied font is drawn from");
("-remove-fonts",
Arg.Unit (setop RemoveFonts),
" Remove embedded fonts");
("-copy-font-name",
Arg.String setcopyfontname,
" Set the name of the font to copy");
("-remove-fonts",
Arg.Unit (setop RemoveFonts),
" Remove embedded fonts");
("-missing-fonts",
Arg.Unit (setop MissingFonts),
" List missing fonts");

Binary file not shown.

View File

@ -2289,6 +2289,9 @@ recommended when file size is the sole consideration.
{\small\begin{framed}
\noindent\verb!cpdf -draft [-boxes] [-draft-remove-only <n>] in.pdf [<range>] -o out.pdf!
\vspace{1.5mm}
\noindent\verb!cpdf -remove-all-text in.pdf [<range>] -o out.pdf!
\vspace{1.5mm}
\noindent\verb!cpdf -blacktext in.pdf [<range>] -o out.pdf!
@ -2341,6 +2344,12 @@ objects or clipped in the original). For example:
\small\verb!cpdf -draft -boxes -draft-remove-only "/Im1" in.pdf 7 -o out.pdf!
\end{framed}
\noindent To remove text instead of images, use the \texttt{-remove-all-text} operation:
\begin{framed}
\small\verb!cpdf -remove-all-text in.pdf -o out.pdf!
\end{framed}
\section{Blackening Text, Lines and Fills}
\index{blacken!text}
Sometimes PDF output from an application (for instance, a web browser) has