aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpuqueue.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-06-18 06:37:47 +0200
committerGitHub <noreply@github.com>2024-06-18 04:37:47 +0000
commit57b64d8123535858f96796602906b4d02c7d4e4a (patch)
tree702d3e6cbffb0a1b3225d2eb770b74427a172627 /components/script/dom/gpuqueue.rs
parent79cd87a3c3faf1be7ecfd99cb489c8094be7ea3f (diff)
downloadservo-57b64d8123535858f96796602906b4d02c7d4e4a.tar.gz
servo-57b64d8123535858f96796602906b4d02c7d4e4a.zip
fonts: Respect emoji variation selector when selecting fonts (#32493)
This uses a pretty simple heuristic to select a font likely to contain color emoji. In the future Servo should actually check if the font also contains a color representation of the character in question. For now the code assumes that when a font supports color glyphs of some kind and supports the character in question at all, it supports the color version. This fixes support for rendering keycap emoji clusters such as 1️⃣ . Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Rakhi Sharma <atbrakhi@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'components/script/dom/gpuqueue.rs')
0 files changed, 0 insertions, 0 deletions