code: public int[] getMetricsTT(int c) {
          if (cmapExt != null) {
              return (int[])cmapExt.get(Integer.valueOf(c));
          }
          if (!fontSpecific && cmap31 != null) { 
              return (int[])cmap31.get(Integer.valueOf(c));
          }
          if (fontSpecific && cmap10 != null) { 
              return (int[])cmap10.get(Integer.valueOf(c));
          }
          if (cmap31 != null) { 
              return (int[])cmap31.get(Integer.valueOf(c));
          }
          if (cmap10 != null) {
              return (int[])cmap10.get(Integer.valueOf(c));
          }
          return null;
      }
docs: Gets the glyph index and metrics for a character.
  @param c the character
  @return an <CODE>int</CODE> array with {glyph index, width}