Annotation of researchv10no/cmd/troff/ancient.nroff/fonts.d/makefonts.c, revision 1.1

1.1     ! root        1: /*     makefonts.c - @(#)makefonts.c   1.9     */
        !             2: 
        !             3: #include "stdio.h"
        !             4: 
        !             5: #ifndef unix
        !             6: #define tso
        !             7: #endif
        !             8: 
        !             9: #include "ftB.c"
        !            10: #include "ftBC.c"
        !            11: #include "ftC.c"
        !            12: #include "ftCE.c"
        !            13: #include "ftCI.c"
        !            14: #include "ftCK.c"
        !            15: #include "ftCS.c"
        !            16: #include "ftCW.c"
        !            17: #include "ftG.c"
        !            18: #include "ftGI.c"
        !            19: #include "ftGM.c"
        !            20: #include "ftGR.c"
        !            21: #include "ftI.c"
        !            22: #include "ftL.c"
        !            23: #include "ftLI.c"
        !            24: #include "ftPA.c"
        !            25: #include "ftPB.c"
        !            26: #include "ftPI.c"
        !            27: #include "ftR.c"
        !            28: #include "ftS.c"
        !            29: #include "ftSB.c"
        !            30: #include "ftSI.c"
        !            31: #include "ftSM.c"
        !            32: #include "ftUD.c"
        !            33: 
        !            34: FILE *i;
        !            35: #ifdef unix
        !            36: #define mkfont(name)   i = fopen("name","w"); \
        !            37:                                fwrite(name,sizeof(name),1,i); \
        !            38:                                fclose(i);
        !            39: #endif
        !            40: #ifdef tso
        !            41: #define mkfont(name)   i = fopen("name.f","w,BINARY"); \
        !            42:                                fwrite(name,sizeof(name),1,i); \
        !            43:                                fclose(i);
        !            44: #endif
        !            45: 
        !            46: main()
        !            47: {      mkfont(ftB)
        !            48:        mkfont(ftBC)
        !            49:        mkfont(ftC)
        !            50:        mkfont(ftCE)
        !            51:        mkfont(ftCI)
        !            52:        mkfont(ftCK)
        !            53:        mkfont(ftCS)
        !            54:        mkfont(ftCW)
        !            55:        mkfont(ftG)
        !            56:        mkfont(ftGI)
        !            57:        mkfont(ftGM)
        !            58:        mkfont(ftGR)
        !            59:        mkfont(ftI)
        !            60:        mkfont(ftL)
        !            61:        mkfont(ftLI)
        !            62:        mkfont(ftPA)
        !            63:        mkfont(ftPB)
        !            64:        mkfont(ftPI)
        !            65:        mkfont(ftR)
        !            66:        mkfont(ftS)
        !            67:        mkfont(ftSB)
        !            68:        mkfont(ftSI)
        !            69:        mkfont(ftSM)
        !            70:        mkfont(ftUD)
        !            71: }

unix.superglobalmegacorp.com

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