PLplot
5.11.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
plfci-truetype.h
Go to the documentation of this file.
1
//
2
// This header file contains the lookup table used for converting between
3
// FCIs (font characterization integers) and font names for TrueType fonts.
4
//
5
// Copyright (C) 2005 Alan W. Irwin
6
//
7
// This file is part of PLplot.
8
//
9
// PLplot is free software; you can redistribute it and/or modify
10
// it under the terms of the GNU Library General Public License as published
11
// by the Free Software Foundation; either version 2 of the License, or
12
// (at your option) any later version.
13
//
14
// PLplot is distributed in the hope that it will be useful,
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
// GNU Library General Public License for more details.
18
//
19
// You should have received a copy of the GNU Library General Public License
20
// along with PLplot; if not, write to the Free Software
21
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22
//
23
24
// N.B. When updating this table by hand be sure to keep it in
25
// ascending order in fci!
26
//
27
#define N_TrueTypeLookup 30
28
static
const
FCI_to_FontName_Table
TrueTypeLookup
[
N_TrueTypeLookup
] = {
29
{
PL_FCI_MARK
| 0x000, (
const
unsigned
char
*)
PL_FREETYPE_SANS
},
30
{
PL_FCI_MARK
| 0x001, (
const
unsigned
char
*)
PL_FREETYPE_SERIF
},
31
{
PL_FCI_MARK
| 0x002, (
const
unsigned
char
*)
PL_FREETYPE_MONO
},
32
{
PL_FCI_MARK
| 0x003, (
const
unsigned
char
*)
PL_FREETYPE_SCRIPT
},
33
{
PL_FCI_MARK
| 0x004, (
const
unsigned
char
*)
PL_FREETYPE_SYMBOL
},
34
{
PL_FCI_MARK
| 0x010, (
const
unsigned
char
*)
PL_FREETYPE_SANS_ITALIC
},
35
{
PL_FCI_MARK
| 0x011, (
const
unsigned
char
*)
PL_FREETYPE_SERIF_ITALIC
},
36
{
PL_FCI_MARK
| 0x012, (
const
unsigned
char
*)
PL_FREETYPE_MONO_ITALIC
},
37
{
PL_FCI_MARK
| 0x013, (
const
unsigned
char
*)
PL_FREETYPE_SCRIPT_ITALIC
},
38
{
PL_FCI_MARK
| 0x014, (
const
unsigned
char
*)
PL_FREETYPE_SYMBOL_ITALIC
},
39
{
PL_FCI_MARK
| 0x020, (
const
unsigned
char
*)
PL_FREETYPE_SANS_OBLIQUE
},
40
{
PL_FCI_MARK
| 0x021, (
const
unsigned
char
*)
PL_FREETYPE_SERIF_OBLIQUE
},
41
{
PL_FCI_MARK
| 0x022, (
const
unsigned
char
*)
PL_FREETYPE_MONO_OBLIQUE
},
42
{
PL_FCI_MARK
| 0x023, (
const
unsigned
char
*)
PL_FREETYPE_SCRIPT_OBLIQUE
},
43
{
PL_FCI_MARK
| 0x024, (
const
unsigned
char
*)
PL_FREETYPE_SYMBOL_OBLIQUE
},
44
{
PL_FCI_MARK
| 0x100, (
const
unsigned
char
*)
PL_FREETYPE_SANS_BOLD
},
45
{
PL_FCI_MARK
| 0x101, (
const
unsigned
char
*)
PL_FREETYPE_SERIF_BOLD
},
46
{
PL_FCI_MARK
| 0x102, (
const
unsigned
char
*)
PL_FREETYPE_MONO_BOLD
},
47
{
PL_FCI_MARK
| 0x103, (
const
unsigned
char
*)
PL_FREETYPE_SCRIPT_BOLD
},
48
{
PL_FCI_MARK
| 0x104, (
const
unsigned
char
*)
PL_FREETYPE_SYMBOL_BOLD
},
49
{
PL_FCI_MARK
| 0x110, (
const
unsigned
char
*)
PL_FREETYPE_SANS_BOLD_ITALIC
},
50
{
PL_FCI_MARK
| 0x111, (
const
unsigned
char
*)
PL_FREETYPE_SERIF_BOLD_ITALIC
},
51
{
PL_FCI_MARK
| 0x112, (
const
unsigned
char
*)
PL_FREETYPE_MONO_BOLD_ITALIC
},
52
{
PL_FCI_MARK
| 0x113, (
const
unsigned
char
*)
PL_FREETYPE_SCRIPT_BOLD_ITALIC
},
53
{
PL_FCI_MARK
| 0x114, (
const
unsigned
char
*)
PL_FREETYPE_SYMBOL_BOLD_ITALIC
},
54
{
PL_FCI_MARK
| 0x120, (
const
unsigned
char
*)
PL_FREETYPE_SANS_BOLD_OBLIQUE
},
55
{
PL_FCI_MARK
| 0x121, (
const
unsigned
char
*)
PL_FREETYPE_SERIF_BOLD_OBLIQUE
},
56
{
PL_FCI_MARK
| 0x122, (
const
unsigned
char
*)
PL_FREETYPE_MONO_BOLD_OBLIQUE
},
57
{
PL_FCI_MARK
| 0x123, (
const
unsigned
char
*)
PL_FREETYPE_SCRIPT_BOLD_OBLIQUE
},
58
{
PL_FCI_MARK
| 0x124, (
const
unsigned
char
*)
PL_FREETYPE_SYMBOL_BOLD_OBLIQUE
}
59
};
plplot_source
include
plfci-truetype.h
Generated on Sun Apr 12 2015 03:08:36 for PLplot by
1.8.1.2