You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
Add basic emoji support.
## Solution
* In `get_outlined_glyph_texture` just use the given rgba image data if
the image from swash is not an alpha mask.
* Add `is_alpha_mask` bool fields to `GlyphAtlasInfo` and
`GlyphAtlasLocation`.
* In `extract_text_sections` only apply a color tint if the glyph image
is an alpha mask.
## Testing
Should be compatible with all the existing features, I tested
`TextShadow`s and they worked correctly.
The changes here feel a bit half baked, but it's super simple and I've
got leave for somewhere so hammered this out in a rush.
<img width="1827" height="887" alt="emoji"
src="https://github.com/user-attachments/assets/633a3711-8761-438d-9e57-928c725f24f6"
/>
---------
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
0 commit comments