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

This commit is contained in:
Kan-Ru Chen
2016-10-25 00:19:48 +08:00
parent 48c0c82ff2
commit 635e706efa
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_) \