The font format is the apple font resource format. The documentation is on
the apple website (sorry I can't find the actual URL)

Here is the basic struct definition I used before I started generating the
font directly into .r files to be included as resources
// font definition for 6x8 font
// characters 1 through 255 are valid
//  (pluss 1 for the undefined character)
// each character has the full 6x8 bits of information

struct _ptermfont {
  FontType hdr;
  unsigned char image[8][192]; // 256char*6 bits = 192 chars of bits
  short loc[258]; // 255 charas + 1 undef + end position
  FontCharInfoType width[256]; // 255 chars + 1 undefined
  };

Hope this is some help.

 -----Original Message-----
From:   Eric [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, December 21, 1999 20:51
To:     [EMAIL PROTECTED]
Subject:        fonts format?

hi all,
    I need to create a custom font for my program, anyone can tell me
the format
of a font list?

Eric

Reply via email to