"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "term_ps.c" between
mdocml-1.14.1rc1.tar.gz and mdocml-1.14.1rc2.tar.gz

About: mdocml is a suite of tools compiling "-mdoc", the roff macro package of choice for BSD manual pages, and "-man", the predominant historical package for UNIX manuals. Hint: The installed binary name is "mandoc". Release candidate.

term_ps.c  (mdocml-1.14.1rc1):term_ps.c  (mdocml-1.14.1rc2)
/* $Id: term_ps.c,v 1.82 2016/08/10 11:03:43 schwarze Exp $ */ /* $Id: term_ps.c,v 1.83 2017/02/17 14:31:52 schwarze Exp $ */
/* /*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
* *
* Permission to use, copy, modify, and distribute this software for any * Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies. * copyright notice and this permission notice appear in all copies.
* *
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHORS DISCLAIM ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
skipping to change at line 107 skipping to change at line 107
static void ps_begin(struct termp *); static void ps_begin(struct termp *);
static void ps_closepage(struct termp *); static void ps_closepage(struct termp *);
static void ps_end(struct termp *); static void ps_end(struct termp *);
static void ps_endline(struct termp *); static void ps_endline(struct termp *);
static void ps_growbuf(struct termp *, size_t); 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_plast(struct termp *); static void ps_plast(struct termp *);
static void ps_pletter(struct termp *, int); static void ps_pletter(struct termp *, int);
static void ps_printf(struct termp *, const char *, ...) static void ps_printf(struct termp *, const char *, ...)
__attribute__((__format__ (printf, 2, 3))); __attribute__((__format__ (__printf__, 2, 3)));
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);
static void ps_setwidth(struct termp *, int, int); static void ps_setwidth(struct termp *, int, int);
static struct termp *pspdf_alloc(const struct manoutput *); static struct termp *pspdf_alloc(const struct manoutput *);
static void pdf_obj(struct termp *, size_t); static void pdf_obj(struct termp *, size_t);
/* /*
* We define, for the time being, three fonts: bold, oblique/italic, and * We define, for the time being, three fonts: bold, oblique/italic, and
* normal (roman). The following table hard-codes the font metrics for * normal (roman). The following table hard-codes the font metrics for
* ASCII, i.e., 32--127. * ASCII, i.e., 32--127.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS