diff options
Diffstat (limited to 'components/gfx/text/util.rs')
-rw-r--r-- | components/gfx/text/util.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/gfx/text/util.rs b/components/gfx/text/util.rs index be9ba144dca..016e18f2b56 100644 --- a/components/gfx/text/util.rs +++ b/components/gfx/text/util.rs @@ -149,5 +149,6 @@ pub fn is_cjk(codepoint: char) -> bool { } // https://en.wikipedia.org/wiki/Plane_(Unicode)#Supplementary_Ideographic_Plane - unicode_plane(codepoint) == 2 + // https://en.wikipedia.org/wiki/Plane_(Unicode)#Tertiary_Ideographic_Plane + unicode_plane(codepoint) == 2 || unicode_plane(codepoint) == 3 } |