Annotation of researchv10no/cmd/postscript/postprint/postprint.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  *
                      3:  * Default lines per page, tab stops, and point size.
                      4:  *
                      5:  */
                      6: 
                      7: #define LINESPP                66
                      8: #define TABSTOPS       8
                      9: #define POINTSIZE      10
                     10: 
                     11: /*
                     12:  *
                     13:  * An array of type Fontmap helps convert font names requested by users into
                     14:  * legitimate PostScript names. The array is initialized using FONTMAP, which must
                     15:  * end with an entry that has NULL defined as its name field. The only fonts that
                     16:  * are guaranteed to work well are the constant width fonts.
                     17:  *
                     18:  */
                     19: 
                     20: typedef struct {
                     21:        char    *name;                  /* user's font name */
                     22:        char    *val;                   /* corresponding PostScript name */
                     23: } Fontmap;
                     24: 
                     25: #define FONTMAP                                                                \
                     26:                                                                        \
                     27:        {                                                               \
                     28:            "R", "Courier",                                             \
                     29:            "I", "Courier-Oblique",                                     \
                     30:            "B", "Courier-Bold",                                        \
                     31:            "CO", "Courier",                                            \
                     32:            "CI", "Courier-Oblique",                                    \
                     33:            "CB", "Courier-Bold",                                       \
                     34:            "CW", "Courier",                                            \
                     35:            "PO", "Courier",                                            \
                     36:            "courier", "Courier",                                       \
                     37:            "cour", "Courier",                                          \
                     38:            "co", "Courier",                                            \
                     39:            NULL, NULL                                                  \
                     40:        }
                     41: 
                     42: /*
                     43:  *
                     44:  * Some of the non-integer functions in postprint.c.
                     45:  *
                     46:  */
                     47: 
                     48: char   *get_font();
                     49: 

unix.superglobalmegacorp.com

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