File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ Validator::CharClass ValidateGrapheme::UnicodeToCharClass(char32 ch) const {
51
51
// always combine with the previous character.
52
52
if (u_hasBinaryProperty (ch, UCHAR_GRAPHEME_LINK)) return CharClass::kVirama ;
53
53
if (u_isUWhiteSpace (ch)) return CharClass::kWhitespace ;
54
+ // Workaround for Javanese Aksara's Taling, do not label it as a combiner
55
+ if (ch == 0xa9ba ) return CharClass::kOther ;
54
56
int char_type = u_charType (ch);
55
57
if (char_type == U_NON_SPACING_MARK || char_type == U_ENCLOSING_MARK ||
56
58
char_type == U_COMBINING_SPACING_MARK || ch == kZeroWidthNonJoiner ||
Original file line number Diff line number Diff line change @@ -186,9 +186,7 @@ bool ValidateJavanese::ConsumeConsonantHeadIfValid() {
186
186
}
187
187
IndicPair joiner (CharClass::kOther , 0 );
188
188
if (codes_used_ < num_codes &&
189
- (codes_[codes_used_].second == kZeroWidthJoiner ||
190
- (codes_[codes_used_].second == kZeroWidthNonJoiner &&
191
- script_ == ViramaScript::kMalayalam ))) {
189
+ (codes_[codes_used_].second == kZeroWidthJoiner )) {
192
190
joiner = codes_[codes_used_];
193
191
if (++codes_used_ == num_codes) {
194
192
if (report_errors_) {
You can’t perform that action at this time.
0 commit comments