Add make.text.bidiCharCodes

This commit is contained in:
pyoor 2017-05-31 15:25:48 -04:00
parent 9b19775bb8
commit 52257b6d95

View file

@ -98,7 +98,18 @@ make.text = {
0x2044 // fraction slash character 0x2044 // fraction slash character
]) ])
}, },
bidiCharCodes: function() {
return random.pick([
0x0660, // START_HINDI_DIGITS
0x0669, // END_HINDI_DIGITS
0x066A, // START_ARABIC_SEPARATOR
0x066B, // END_ARABIC_SEPARATOR
0x0030, // START_ARABIC_DIGITS
0x0039, // END_ARABIC_DIGITS
0x06f0, // START_FARSI_DIGITS
0x06f9, // END_FARSI_DIGITS
])
},
// http://www.unicode.org/Public/6.0.0/ucd/UnicodeData.txt // http://www.unicode.org/Public/6.0.0/ucd/UnicodeData.txt
unicodeCombiningCharacters: function () { unicodeCombiningCharacters: function () {
return random.item([ return random.item([