private Int32[] getGlyphUnicodesFromSheetImage(String userID, String sheetID)
{
Int32[] unicode = new Int32[rectNumber];
if (rectNumber == 86)
{
int i;
//0
for (i = 0; i < 19; i++)
{
unicode[i] = i * (-2);
}
//19
for (int j = 0; j < 19; j++, i++)
{
unicode[i] = (j * 2 + 1) * (-1);
}
//19
for (int j = 0; j < 21; j++, i++)
{
unicode[i] = (j + 100) * (-1);
}//21
for (int j = 0; j < 27; j++, i++)
{
unicode[i] = (j + 201) * (-1);
}//27
}
else if (rectNumber == 52)
{
//engUnicode
string engUnicodeString = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
unicode = new int[engUnicodeString.Length];
for (int i = 0; i < unicode.Length; i++)
{
unicode[i] = (int)engUnicodeString.ToCharArray()[i];
}
}else if(rectNumber==42){
//custom Unicode
string cusUnicodeString = "0123456789~!@#$%^&*()_+|{}:\"<>?`-=\\[];',./";
unicode = new int[cusUnicodeString.Length];
for (int i = 0; i < unicode.Length; i++)
{
unicode[i] = (int)cusUnicodeString.ToCharArray()[i];
}
unicode = new int[cusUnicodeString.Length];
for (int i = 0; i < unicode.Length; i++)
{
unicode[i] = (int)cusUnicodeString.ToCharArray()[i];
}
}
// unicode[86] = '⒂';
// unicode[87] = '⒂';
return unicode;
}