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