Encode text into a PDF name.
PDF names contain restrictions on the types of characters that
can be contained. Reserved characters may need to be escaped.
This function allows you to convert a string into a name format
which can be directly inserted into a PDF or content stream.
|