private static void loadAdobeMap(){
  BufferedReader input_stream=null;
  if (adobeMap == null) {
    try {
      adobeMap=new HashMap<String,Integer>();
      input_stream=new BufferedReader(new InputStreamReader(loader.getResourceAsStream("org/jpedal/res/pdf/glyphlist.cfg"),enc));
      if (input_stream == null) {
        LogWriter.writeLog("Unable to open glyphlist.cfg from jar");
      }
      while (true) {
        final String line=input_stream.readLine();
        if (line == null) {
          break;
        }
        if ((!line.startsWith("#")) && (line.indexOf(';') != -1)) {
          final StringTokenizer vals=new StringTokenizer(line,";");
          final String key=vals.nextToken();
          String operand=vals.nextToken();
          final int space=operand.indexOf(' ');
          if (space != -1) {
            operand=operand.substring(0,space);
          }
          final int opVal=Integer.parseInt(operand,16);
          adobeMap.put(key,opVal);
          unicode_name_mapping_table.put(key,Character.toString((char)opVal));
        }
      }
    }
 catch (    final Exception e) {
      LogWriter.writeLog("Exception " + e + " reading lookup table for pdf  for abobe map");
    }
  }
  if (input_stream != null) {
    try {
      input_stream.close();
    }
 catch (    final Exception e) {
      LogWriter.writeLog("Exception " + e + " reading lookup table for pdf  for abobe map");
    }
  }
}

private static void loadAdobeMap ( ) { BufferedReader input_stream = null ; if ( adobeMap == null ) { try { adobeMap = new HashMap < String , Integer > ( ) ; input_stream = new BufferedReader ( new InputStreamReader ( loader . getResourceAsStream ( "org/jpedal/res/pdf/glyphlist.cfg" ) , enc ) ) ; if ( input_stream == null ) { LogWriter . writeLog ( "Unable to open glyphlist.cfg from jar" ) ; } while ( true ) { final String line = input_stream . readLine ( ) ; if ( line == null ) { break ; } if ( ( ! line . startsWith ( "#" ) ) && ( line . indexOf ( ';' ) != - 1 ) ) { final StringTokenizer vals = new StringTokenizer ( line , ";" ) ; final String key = vals . nextToken ( ) ; String operand = vals . nextToken ( ) ; final int space = operand . indexOf ( ' ' ) ; if ( space != - 1 ) { operand = operand . substring ( 0 , space ) ; } final int opVal = Integer . parseInt ( operand , 16 ) ; adobeMap . put ( key , opVal ) ; unicode_name_mapping_table . put ( key , Character . toString ( ( char ) opVal ) ) ; } } } catch ( final Exception e ) { LogWriter . writeLog ( "Exception " + e + " reading lookup table for pdf  for abobe map" ) ; } } if ( input_stream != null ) { try { input_stream . close ( ) ; } catch ( final Exception e ) { LogWriter . writeLog ( "Exception " + e + " reading lookup table for pdf  for abobe map" ) ; } } }
load the adobe unicode mapping table for truetype fonts
