Bug 1081858 - Part 3. Implement IsEastAsianWidthFWH using ICU or nsUnicodeProperties data. r=jfkthame

MozReview-Commit-ID: DvBgSm5SJwD
This commit is contained in:
Kan-Ru Chen
2016-10-26 17:11:36 +08:00
parent 9d5d4a051a
commit b40fc4d570
2 changed files with 24 additions and 0 deletions

View File

@@ -295,6 +295,11 @@ GetTitlecaseForAll(uint32_t aCh)
}
return aCh;
}
bool IsEastAsianWidthFWH(uint32_t aCh)
{
return GetCharProps2(aCh).mEastAsianWidthFWH;
}
#endif
#define DEFINE_BMP_1PLANE_MAPPING_GET_FUNC(prefix_) \