~elementary-os/ubuntu-package-imports/evince-vivid

« back to all changes in this revision

Viewing changes to backend/dvi/mdvi-lib/defaults.h

  • Committer: RabbitBot
  • Date: 2015-05-31 18:19:12 UTC
  • Revision ID: rabbitbot@elementaryos.org-20150531181912-jftafuvmgcbwvieg
Initial import, version 3.14.2-0ubuntu2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 */