return null;
}
if (! (getFOrayFont() instanceof FSTrueTypeFont)) {
return null;
}
final FSTrueTypeFont ttf = (FSTrueTypeFont) getFOrayFont();
if (this.fontUse.subSetting()) {
return getSubsetCharsUsed();
}
final Encoding encoding = this.fontUse.getEncoding();
final int arraySize = ttf.getNumGlyphs();
final char[] charArray = new char[arraySize];
for (int i = 0; i < ttf.getNumGlyphs(); i++) {
final int arrayItem = encoding.decodeCharacter((char) i);
charArray[i] = (char) arrayItem;
}
return charArray;
}