Annotation of researchv10no/cmd/dimpress/glyph.h, revision 1.1

1.1     ! root        1: /*     @(#)glyph.h     1.1     */
        !             2: 
        !             3: struct Fontheader
        !             4:   {
        !             5:        short           f_magic ;       /* Should be 0436 */
        !             6:        unsigned short  f_size ;        /* Total size of raster section
        !             7:                                         * of the font file.
        !             8:                                         */
        !             9:        short           f_maxx ;        /* Largest x of character */
        !            10:        short           f_maxy ;        /* Largest y of character */
        !            11:        short           f_xtnd ;        /* Largest extender */
        !            12:   } ;
        !            13: 
        !            14: struct Charparam
        !            15:   {
        !            16:        unsigned short  c_addr ;        /* Offset in file where character
        !            17:                                         * is located.
        !            18:                                         */
        !            19:        short           c_size ;        /* Size in bytes of character   */
        !            20:        char            c_up ;          /* c_up + c_down = heigth of    */
        !            21:        char            c_down ;        /* raster in font file.         */
        !            22:        char            c_left ;        /* c_right + c_left = width of  */
        !            23:        char            c_right ;       /* raster in font file.         */
        !            24:        char            c_width ;       /* Width, including space required
        !            25:                                         * to print character.
        !            26:                                         */
        !            27:   } ;
        !            28: 
        !            29: /*     RSTRUCTS is the size of the structures at the beginning of a    */
        !            30: /*     Versatec raster file.  RSTRUCTS + (long)charparam->c_addr is    */
        !            31: /*     the address of the character's raster.                          */
        !            32: 
        !            33: #define        RSTRUCTS        ((long)(sizeof(struct Fontheader)+ \
        !            34:                            256*sizeof(struct Charparam)))

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.