Add support for gujarati numerals

This commit is contained in:
Jules Aguillon 2024-02-28 23:25:03 +01:00
parent 8b5d971fb5
commit b7eefd1079

View File

@ -103,6 +103,7 @@ public final class KeyModifier
case "bengali": return map_char_numpad_bengali;
case "devanagari": return map_char_numpad_devanagari;
case "persian": return map_char_numpad_persian;
case "gujarati": return map_char_numpad_gujarati;
default: return map_char_none;
}
}
@ -1098,4 +1099,25 @@ public final class KeyModifier
}
}
};
private static final Map_char map_char_numpad_gujarati =
new Map_char() {
public String apply(char c)
{
switch (c)
{
case '0': return "";
case '1': return "";
case '2': return "";
case '3': return "";
case '4': return "";
case '5': return "";
case '6': return "";
case '7': return "";
case '8': return "";
case '9': return "";
default: return null;
}
}
};
}