home *** CD-ROM | disk | FTP | other *** search
-
- /************************************************************************/
- /* Copy current character generator into a buffer */
- /* 'italicize' the set and make it current set */
- /************************************************************************/
-
- italicize()
- {
- static char buffer[256][32]; /* Declare temp buffer */
- int i, j;
-
- read_char_gen(buffer); /* Get 'normal' bitmaps */
-
- for (i = 0; i < 256; i++) /* Loop over characters */
- { /* Italisize the next */
- for (j = 0; j < 4; j++) /* character bitmap */
- {
- buffer[i][j] = buffer[i][j ] >> 1;
- buffer[i][j+10] = buffer[i][j+10] << 1;
- }
- }
- write_char_gen(buffer,0,256); /* Set new char gen */
- printf ("\nDisplaying new alphabet:\n"); /* Print new chars */
- for (i = 32; i < 128; i++) putchar(i);
- }