private Integer unicodeToGlyph ( int unicodeIndex ) throws IOException { final Integer result = ( Integer ) unicodeToGlyphMap . get ( new Integer ( unicodeIndex ) ) ; if ( result == null ) { throw new IOException ( "Glyph index not found for unicode value " + unicodeIndex ) ; } return result ; }
Map a unicode code point to the corresponding glyph index