Skip to main content

escape_text

Function escape_text 

Source
pub fn escape_text(s: &str, out: &mut Vec<u8>)
Expand description

Escape a string into a PDF literal-string body ((/)/\ and CR), encoding each character as its WinAnsiEncoding byte (the declared appearance-font encoding); characters with no WinAnsi byte fall back to ?.