private CFFCharset readCharset(CFFDataInput dataInput, int nGlyphs, boolean isCIDFont) throws IOException { int format = dataInput.readCard8(); switch (format) { case 0: return readFormat0Charset(dataInput, format, nGlyphs, isCIDFont); case 1: return readFormat1Charset(dataInput, format, nGlyphs, isCIDFont); case 2: return readFormat2Charset(dataInput, format, nGlyphs, isCIDFont); default: throw new IllegalArgumentException(); } }
private CFFCharset readCharset(CFFDataInput dataInput, int nGlyphs, boolean isCIDFont) throws IOException { int format = dataInput.readCard8(); switch (format) { case 0: return readFormat0Charset(dataInput, format, nGlyphs, isCIDFont); case 1: return readFormat1Charset(dataInput, format, nGlyphs, isCIDFont); case 2: return readFormat2Charset(dataInput, format, nGlyphs, isCIDFont); default: throw new IllegalArgumentException(); } }
private CFFCharset readCharset(CFFDataInput dataInput, int nGlyphs, boolean isCIDFont) throws IOException { int format = dataInput.readCard8(); switch (format) { case 0: return readFormat0Charset(dataInput, format, nGlyphs, isCIDFont); case 1: return readFormat1Charset(dataInput, format, nGlyphs, isCIDFont); case 2: return readFormat2Charset(dataInput, format, nGlyphs, isCIDFont); default: throw new IllegalArgumentException(); } }