}
@Override
public Type1CharString getType1CharString(String name) throws IOException
{
Type1CharString type1 = charStringCache.get(name);
if (type1 == null)
{
byte[] bytes = charstrings.get(name);
if (bytes == null)
{
bytes = charstrings.get(".notdef");
}
Type1CharStringParser parser = new Type1CharStringParser(fontName, name);
List<Object> sequence = parser.parse(bytes, subrs);
type1 = new Type1CharString(this, fontName, name, sequence);
charStringCache.put(name, type1);
}
return type1;
}