pub fn detect<T>(codepoints: T, threshold: f64) -> Vec<Match>
Expand description
Detects language support in a font given a list of Unicode codepoint ranges.
ยงArguments
codepoints
- An iterator of codepoint ranges. The iterator must not contain overlapping ranges and must be sorted in ascending order.threshold
- The minimum score a language must have to be returned as a match. Value must be between 0 and 1.
Returns a vector of language matches.