Avoid GNUism '\|' by using extended REs.
[geda-gaf.git] / gsymcheck / include / papersizes.h
blob1ee9eba1532b7eedb3cdee688508d8877ed67fef
1 /* gEDA - GPL Electronic Design Automation
2 * gsymcheck - gEDA Symbol Checker
3 * Copyright (C) 1998-2010 Ales Hvezda
4 * Copyright (C) 1998-2020 gEDA Contributors (see ChangeLog for details)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 /* this file is no longer used */
23 #define MILS_PER 1000
24 #define BORDER 1000
25 /* if you change this one you must recalc correction factors */
26 /* perhaps we will do this in the code ! */
28 /* To calculate the correction factor for each: */
29 /* if calcaspect < required_aspect : */
30 /* Width_correction = (width+border) - (height+border)*1.3333 */
31 /* else */
32 /* Height_correction = ((width+border)/1.3333) - (height+border) */
35 #define WIDTH_A 11*MILS_PER+BORDER+667
36 #define HEIGHT_A 8.5*MILS_PER+BORDER
38 #define WIDTH_B 17*MILS_PER+BORDER
39 #define HEIGHT_B 11*MILS_PER+BORDER+1500
41 #define WIDTH_C 22*MILS_PER+BORDER+1000
42 #define HEIGHT_C 17*MILS_PER+BORDER
44 #define WIDTH_D 34*MILS_PER+BORDER
45 #define HEIGHT_D 22*MILS_PER+BORDER+3250
47 #define WIDTH_E 44*MILS_PER+BORDER+1667
48 #define HEIGHT_E 34*MILS_PER+BORDER