forked from servo/servo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fonts: Fix rendering of emoji clusters
Emoji clusters, such ('π³οΈβπ') do not render properly in Servo. This is because xi-unicode is inserting a linebreak opportunity between components of the cluster (see xi-editor/xi-editor#1322). This change adds a workaround for this issue. `xi-unicode` is fast, but supports an older version of the Unicode standard than libraries like `icu4x`. In addition, `icu4x` does not supoprt non-contiguous segmentation which Servo currently depends on. Finally, the currently released version of `icu4x` has the same issue (unicode-org/icu4x#4146).
- Loading branch information
Showing
1 changed file
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters