`Attrs` contains info like color and metadata which are not relevant to font matching. So, add a new struct `FontMatchAttrs` which only contains the relevant info, and use it as a key in `FontSystem`'s `font_matches_cache`. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com> |
||
|---|---|---|
| .. | ||
| fallback | ||
| mod.rs | ||
| system.rs | ||