man/l_roff-char.7.in: fix Bernd Warken (Dave Kemper, Werner Lemberg)..
[s-roff.git] / include / paper.h
blob9c63d5b340dda3109e6820a7cf6a267bd60c2469
1 /*@
2 * Copyright (c) 2014 - 2017 Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
4 * Copyright (C) 2002 Free Software Foundation, Inc.
5 * Written by Werner Lemberg (wl@gnu.org)
7 * This is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License as published by the Free
9 * Software Foundation; either version 2, or (at your option) any later
10 * version.
12 * This is distributed in the hope that it will be useful, but WITHOUT ANY
13 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with groff; see the file COPYING. If not, write to the Free Software
19 * Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef _PAPER_H
22 #define _PAPER_H
24 #include "config.h"
26 struct paper {
27 char *name;
28 double length; // in PS points
29 double width; // in PS points
32 // global constructor
33 static class papersize_init { /* FIXME oh my god.. injection initializers!! */
34 static int initialised;
35 public:
36 papersize_init();
37 } _papersize_init;
39 // A0-A7, B0-B7, C0-C7, D0-D7, 8 American paper sizes, 1 special size */
40 #define NUM_PAPERSIZES 4*8 + 8 + 1
42 extern paper papersizes[];
44 #endif // _PAPER_H
45 // s-it2-mode