Skip to main content

show_string_with_positioning_mode

Function show_string_with_positioning_mode 

Source
pub fn show_string_with_positioning_mode(
    text_state: &mut TextState,
    elements: &[TjElement],
    get_width: &dyn Fn(u32) -> f64,
    cid_mode: bool,
) -> Vec<RawChar>
Expand description

TJ operator with CID mode: show strings with positioning adjustments.

Like show_string_with_positioning but when cid_mode is true, string bytes are decoded as 2-byte character codes (for CID/Type0 fonts).