* @throws PsException If a glyph name cannot be mapped to a code point.
*/
private void createCodePoints() throws PsException {
this.glyphListsToCheck = new ArrayList<GlyphList>(this.glyphLists.size() + 1);
for (String glyphListString : this.glyphLists) {
final GlyphList glyphList = GlyphList4a.getGlyphList(glyphListString);
this.glyphListsToCheck.add(glyphList);
}
this.glyphListsToCheck.add(GlyphListAGL.getInstance());
for (int i = 0; i < this.glyphNames.size(); i++) {
final String glyphName = this.glyphNames.get(i);
for (int j = 0; j < this.glyphListsToCheck.size(); j++) {
final GlyphList glyphList = this.glyphListsToCheck.get(j);
final char codePoint = glyphList.mapGlyphNameToCodePoint(
glyphName);
if (codePoint != Character.MAX_VALUE) {
this.codePoints.set(i, codePoint);
final char glyphIndex = this.glyphIndexes.get(i);
this.codePointIndexes.set(i, glyphIndex);