static int glyphByUnicode(cff, int code) { for (int i = 0; i < cff.charset.length; i++) if (cff.charset[i] == code) return i; return -1; }