Skip to main content

from_source

Function from_source 

Source
pub fn from_source(file: &str, source: &str) -> Result<Names, Vec<ContentError>>
Expand description

Parses and validates names source, attributing errors to file: valid ids, each once; values non-empty, without braces or control characters (char_problem), each used once. Whether the font draws a name is checked with the rest of the text (undrawn). Reports every problem found.