PDF/UA example

This commit is contained in:
John Whitington 2024-07-19 15:44:54 +01:00
parent 2c476744fc
commit 50a94c57eb
2 changed files with 7 additions and 1 deletions

Binary file not shown.

View File

@ -386,7 +386,13 @@ These examples demonstrate just a few of the facilities provided by the Coherent
\noindent Create a new PDF and draw text on one page and then the next. \noindent Create a new PDF and draw text on one page and then the next.
\section*{\hyperref[chap:misc]{Chapter 19: Miscellaneous}} \section*{\hyperref[chap:misc]{Chapter 19: Accessible PDFs with PDF/UA}}
\begin{framed}\noindent\texttt{cpdf -verify 'PDF/UA-1(matterhorn)' -json in.pdf}\end{framed}
\noindent Verify \texttt{in.pdf} for conformance to PDF/UA-1 using the Matterhorn protocol, returning results in JSON format.
\section*{\hyperref[chap:misc]{Chapter 20: Miscellaneous}}
\begin{framed}\noindent\texttt{cpdf -blacktext in.pdf -o out.pdf}\end{framed} \begin{framed}\noindent\texttt{cpdf -blacktext in.pdf -o out.pdf}\end{framed}