code: byte[] convertToBytes(int char1) {
          if (directTextToByte)
              return PdfEncodings.convertToBytes((char)char1, null);
          if (specialMap != null) {
              if (specialMap.containsKey(char1))
                  return new byte[]{(byte)specialMap.get(char1)};
              else
                  return new byte[0];
          }
          return PdfEncodings.convertToBytes((char)char1, encoding);
      }
docs: Converts a <CODE>char</CODE> to a </CODE>byte</CODE> array according
  to the font's encoding.
  @param char1 the <CODE>char</CODE> to be converted
  @return an array of <CODE>byte</CODE> representing the conversion according to the font's encoding