Mitchell Hashimoto cb684e35cc font/coretext: discovery scoring should take into account symb. traits
Fixes #707

Our scoring algorithm previously did not take into account symbolic
traits, so when `bold = false and italic = false`, regular, bold, italic
would all be equally likely to appear first.

This modifies our scoring algorithm to prioritize matching symbolic
traits. Further, we have a special case for no symbolic traits to
prioritize "Regular" named styles. We can expand this to other styles
too but we do not do this here.

We also modified the algorithm to always prefer fonts with more glyphs
over fonts with less, hopeful that we can load fewer fonts for other
glyphs later.
2023-11-03 22:21:34 -07:00
..
2022-10-10 09:18:57 -07:00
2023-06-30 12:15:31 -07:00
2023-06-30 12:15:31 -07:00
2023-06-30 12:15:31 -07:00
2023-06-30 12:15:31 -07:00
2023-06-30 12:15:31 -07:00