FONTAINE
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
src
FontFile.h
Go to the documentation of this file.
1
//
2
// The Fontaine Font Analysis Project
3
//
4
// Copyright (c) 2009 by Edward H. Trager
5
// All Rights Reserved
6
//
7
// Released under the GNU GPL version 2.0 or later.
8
//
9
10
11
#include <string>
12
#include <set>
13
#include "Script.h"
14
15
enum
fontStroke
{
UNMODULATED
,
MODULATED
};
16
enum
fontWeight
{
LIGHT
,
NORMAL_WEIGHT
,
BOLD
};
17
enum
fontStyle
{
NORMAL
,
ITALIC
,
OBLIQUE
};
18
19
//
20
// This class contains information
21
// about a single font file:
22
//
23
class
FontFile
{
24
25
private
:
26
27
std::string
_fileName
;
28
std::string
_commonName
;
29
std::string
_nativeName
;
30
31
fontStroke
_stroke
;
32
fontWeight
_weight
;
33
fontStyle
_style
;
34
35
std::set<Script>
_supportedScripts
;
36
37
};
38
Generated by
1.8.3.1