code: public int getFlags() {
          int flags = 32;    // Use Adobe Standard charset
          if (italicAngle != 0) {
              flags = flags | 64;
          }
          if (isFixedPitch != 0) {
              flags = flags | 2;
          }
          if (hasSerifs) {
              flags = flags | 1;
          }
          return flags;
      }
docs: Returns the Flags attribute of the font.
  @return int The Flags