[BACK]Return to term_ps.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/term_ps.c between version 1.54 and 1.56

version 1.54, 2011/10/16 12:20:34 version 1.56, 2014/03/23 11:25:26
Line 30 
Line 30 
 #include <unistd.h>  #include <unistd.h>
   
 #include "mandoc.h"  #include "mandoc.h"
   #include "mandoc_aux.h"
 #include "out.h"  #include "out.h"
 #include "main.h"  #include "main.h"
 #include "term.h"  #include "term.h"
Line 97  static void    ps_growbuf(struct termp *, size_t);
Line 98  static void    ps_growbuf(struct termp *, size_t);
 static  void              ps_letter(struct termp *, int);  static  void              ps_letter(struct termp *, int);
 static  void              ps_pclose(struct termp *);  static  void              ps_pclose(struct termp *);
 static  void              ps_pletter(struct termp *, int);  static  void              ps_pletter(struct termp *, int);
   #if __GNUC__ - 0 >= 4
   __attribute__((__format__ (__printf__, 2, 3)))
   #endif
 static  void              ps_printf(struct termp *, const char *, ...);  static  void              ps_printf(struct termp *, const char *, ...);
 static  void              ps_putchar(struct termp *, char);  static  void              ps_putchar(struct termp *, char);
 static  void              ps_setfont(struct termp *, enum termfont);  static  void              ps_setfont(struct termp *, enum termfont);
Line 824  ps_begin(struct termp *p)
Line 828  ps_begin(struct termp *p)
                         ps_printf(p, "<<\n");                          ps_printf(p, "<<\n");
                         ps_printf(p, "/Type /Font\n");                          ps_printf(p, "/Type /Font\n");
                         ps_printf(p, "/Subtype /Type1\n");                          ps_printf(p, "/Subtype /Type1\n");
                         ps_printf(p, "/Name /F%zu\n", i);                          ps_printf(p, "/Name /F%d\n", i);
                         ps_printf(p, "/BaseFont /%s\n", fonts[i].name);                          ps_printf(p, "/BaseFont /%s\n", fonts[i].name);
                         ps_printf(p, ">>\n");                          ps_printf(p, ">>\n");
                 }                  }

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.56

CVSweb