Function fontconfig::sort_fonts
source · pub fn sort_fonts<'fc>(pattern: &Pattern<'fc>, trim: bool) -> FontSet<'fc>
Expand description
Returns a FontSet
containing fonts sorted by closeness to the supplied pattern
. If trim
is true, elements in
the list which don’t include Unicode coverage not provided by earlier elements in the list are elided.
See the fontconfig reference for more details.