Use harfbuzz cluster level 1 to allow coloring marks in different colors |
|
Issue description@khaledhosny said Firefox uses level 1 to color combining marks in different colors. https://github.com/w3c/csswg-drafts/issues/699#issuecomment-438985815 https://bugzilla.mozilla.org/show_bug.cgi?id=729993 The patch seems as simple as adding: > hb_buffer_set_cluster_level(buffer, HB_BUFFER_CLUSTER_LEVEL_MONOTONE_CHARACTERS); Need to learn a bit more what it does and its impact.
,
Nov 16
Good point, I suspected there will be impacts but was not sure what they are. Font fallback is very like affected, thank you!
,
Nov 16
We've talked about this before. Maybe we can extend cluster models to a new one that will contain information of both level 0 and level 1. |
|
►
Sign in to add a comment |
|
Comment 1 by drott@chromium.org
, Nov 15