This repository has no description
Something went wrong. Try again.
font: treated fonts with mixed color/non-color glyphs as text master
Related to #1768 but doesn't fix it properly. This is a temporary hack to avoid some issues with fonts that have mixed color/non-color glyphs. If there are mixed presentations and the font does not have emoji codepoints, then we assume it is text. This fixes the typical scenarios. This is not a long term solution. A proper long term solution is to detect this scenario and on a per-glyph basis handle colorization (or the lack thereof) correctly. It looks like to do this we'll have to parse some font tables which is considerably more work so I wanted to do this first.
Author Mitchell Hashimoto Date (May 26, 2024, 5:17 PM UTC) Commit 9f4d4d3c 9f4d4d3c61a83b4e6443c4fe9c9a581f1de17868 Parent 6a8db052 6a8db0526a2d1e818f35b25b18cc3d5ade6dbd2e