src/ekan.h
/* [<][>][^][v][top][bottom][index][help] */
FUNCTIONS
This source file includes following functions.
1 /*
2 * ekan.h - a header file for drv_ekan.c
3 * by Hirotsugu Kakugawa
4 *
5 */
6 /*
7 * Copyright (C) 1999 Hirotsugu Kakugawa.
8 * All rights reserved.
9 *
10 * This file is part of the VFlib Library. This library is free
11 * software; you can redistribute it and/or modify it under the terms of
12 * the GNU Library General Public License as published by the Free
13 * Software Foundation; either version 2 of the License, or (at your
14 * option) any later version. This library is distributed in the hope
15 * that it will be useful, but WITHOUT ANY WARRANTY; without even the
16 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
17 * PURPOSE. See the GNU Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 */
22
23 #define FONTCLASS_NAME "ekanji"
24
25 #define DIRECTION_HORIZONTAL 0
26 #define DIRECTION_VERTICAL 1
27 #define DEFAULT_TO_REF_PT_H 0.87
28 #define DEFAULT_TO_REF_PT_V -0.5
29
30 #define MOCK_FONT_ENC_RAW 0
31 #define MOCK_FONT_ENC_SUBBLOCKS_94X94 1
32 #define MOCK_FONT_ENC_SUBBLOCKS_94X60 2
33 #define MOCK_FONT_ENC_WITH_OFFSET 10
34
35
36 #define VF_CAPE_EK_FONT_DOT_SIZE "font-dot-size"
37 #define VF_CAPE_EK_MOCK_FONT_ENC "mock-font-encoding"
38 #define CAPE_MOCK_FONT_ENC_RAW "raw"
39 #define CAPE_MOCK_FONT_ENC_SUBBLOCKS_94X94 "subblocks-94x94"
40 #define CAPE_MOCK_FONT_ENC_SUBBLOCKS_94X60 "subblocks-94x60"
41 #define CAPE_MOCK_FONT_ENC_WITH_OFFSET "with-offset"
42
43
44 #define DEFAULT_FONT_DOT_SIZE 24
45 #define DEFAULT_MOCK_FONT_ENC MOCK_FONT_ENC_RAW
46 #define POINTS_PER_INCH 72.27
47 #define DEFAULT_DPI 72.27
48 #define DEFAULT_POINT_SIZE 10.0
49 #define DEFAULT_PIXEL_SIZE 24
50 #define DEFAULT_DIRECTION DIRECTION_HORIZONTAL
51
52
53 /*EOF*/