cosmic-text/src/font
Mohammad AlSaleh e0ae465f91 Only use relevant info from Attrs as a key in font_matches_cache
`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>
2024-01-23 23:05:52 -07:00
..
fallback Use supported codepoints instead of scripts in Monospace fallback 2024-01-19 09:37:11 -07:00
mod.rs Use supported codepoints instead of scripts in Monospace fallback 2024-01-19 09:37:11 -07:00
system.rs Only use relevant info from Attrs as a key in font_matches_cache 2024-01-23 23:05:52 -07:00