File: mojikmap.h

package info (click to toggle)
vflib3 3.6.14.dfsg-3+nmu3
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 11,536 kB
  • ctags: 3,710
  • sloc: ansic: 35,811; sh: 10,357; asm: 3,290; makefile: 962; lisp: 123; perl: 109; awk: 43
file content (48 lines) | stat: -rw-r--r-- 1,819 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * mojikmap.h - a header file for drv_mojikmap.c
 * by Hirotsugu Kakugawa
 *
 */
/*
 * Copyright (C) 1999  Hirotsugu Kakugawa. 
 * All rights reserved.
 *
 * This file is part of the VFlib Library.  This library is free
 * software; you can redistribute it and/or modify it under the terms of
 * the GNU Library General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your
 * option) any later version.  This library is distributed in the hope
 * that it will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE.  See the GNU Library General Public License for more details.
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#define   FONTCLASS_NAME_MOJIKMAP    "mojikyo-mapper"

#define VF_CAPE_SUBFONT_NAME         "subfont-name-format"
#define VF_CAPE_DIV_SCHEME           "division-scheme"
#define VF_CAPE_TTF_SUBFONT_ENC      "truetype-subfont-encoding"

#define TYPE1_NSUBS    24

#define  DIVISION_SCHEME_TTF         0
#define  DIVISION_SCHEME_TYPE1       1
#define  DEFAULT_DIVISION_SCHEME     DIVISION_SCHEME_TTF

#define  DEFAULT_SUBFONT_NAME_TTF   "Mojik%d.ttf"
#define  DEFAULT_SUBFONT_NAME_TYPE1 "mo%dm%02d.pfb"

#if   (DEFAULT_DIVISION_SCHEME == DIVISION_SCHEME_TTF)
#  define  DEFAULT_SUBFONT_NAME   DEFAULT_SUBFONT_NAME_TTF
#elif (DEFAULT_DIVISION_SCHEME == DIVISION_SCHEME_TYPE1)
#  define  DEFAULT_SUBFONT_NAME   DEFAULT_SUBFONT_NAME_TYPE1
#endif

#define  TTF_SUBFONT_ENC_UNICODE     0
#define  TTF_SUBFONT_ENC_JIS         1
#define  DEFAULT_TTF_SUBFONT_ENC    TTF_SUBFONT_ENC_UNICODE

/*EOF*/