fn apply_text_set( node: &Node, text: &mut TextStyle, page: &PageStyle, diagnostics: &mut Vec<Diagnostic>, )