]> www.fi.muni.cz Git - evince.git/blob - backend/dvi/mdvi-lib/defaults.h
Do not include ev-poppler.h when pdf is disabled.
[evince.git] / backend / dvi / mdvi-lib / defaults.h
1 /*
2  * Copyright (C) 2000, Matias Atria
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18 #ifndef _MDVI_DEFAULTS_H
19 #define _MDVI_DEFAULTS_H 1
20
21 /* resolution */
22 #define MDVI_DPI        600
23 #define MDVI_VDPI       MDVI_DPI
24
25 /* horizontal margins */
26 #define MDVI_HMARGIN    "1in"
27
28 /* vertical margins */
29 #define MDVI_VMARGIN    "1in"
30
31 /* rulers */
32 #define MDVI_HRUNITS    "1in"
33 #define MDVI_VRUNITS    "1in"
34
35 /* paper */
36 #define MDVI_PAPERNAME  "letter"
37
38 /* magnification */
39 #define MDVI_MAGNIFICATION 1.0
40
41 /* fallback font */
42 #define MDVI_FALLBACK_FONT      "cmr10"
43
44 /* metafont mode */
45 #define MDVI_MFMODE     NULL
46
47 /* default shrinking factor */
48 #define MDVI_DEFAULT_SHRINKING  -1 /* based on resolution */
49
50 /* default pixel density */
51 #define MDVI_DEFAULT_DENSITY    50
52
53 /* default gamma correction */
54 #define MDVI_DEFAULT_GAMMA      1.0
55
56 /* default window geometry */
57 #define MDVI_GEOMETRY   NULL
58
59 /* default orientation */
60 #define MDVI_ORIENTATION        "tblr"
61
62 /* colors */
63 #define MDVI_FOREGROUND         "black"
64 #define MDVI_BACKGROUND         "white"
65
66 /* flags */
67 #define MDVI_DEFAULT_FLAGS      MDVI_ANTIALIASED
68
69 #define MDVI_DEFAULT_CONFIG     "mdvi.conf"
70
71 #endif /* _MDVI_DEAFAULTS_H */