Add Join_Control support from PropList.txt.

This commit is contained in:
Reece H. Dunn
2017-04-08 19:25:17 +01:00
parent eae8740117
commit fd8a8d17b0
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ ucd_property ucd_properties(codepoint_t c, ucd_category category)
return 0;
case UCD_CATEGORY_Cf:
if (c == 0x061C) return UCD_PROPERTY_BIDI_CONTROL;
if (c >= 0x200C && c <= 0x200D) return UCD_PROPERTY_JOIN_CONTROL;
if (c >= 0x200E && c <= 0x200F) return UCD_PROPERTY_BIDI_CONTROL;
if (c >= 0x202A && c <= 0x202E) return UCD_PROPERTY_BIDI_CONTROL;
if (c >= 0x2066 && c <= 0x2069) return UCD_PROPERTY_BIDI_CONTROL;