FONTAINE
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
src
Encoding.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
#ifndef ENCODING_INCLUDED
11
#define ENCODING_INCLUDED
12
//
13
// We use some type definitions from Utf8String:
14
//
15
#include "
Utf8String.h
"
16
17
//
18
// Encoding:
19
//
20
class
Encoding
{
21
22
private
:
23
24
static
UTF32
_macRoman
[256];
25
static
UTF32
_macThai
[256];
26
static
UTF32
_macArabic
[256];
27
static
UTF32
_macCentralEuropean
[256];
28
29
public
:
30
31
static
UTF32
macRomanToUTF32
(
unsigned
char
idx);
32
static
UTF32
macThaiToUTF32
(
unsigned
char
idx);
33
static
UTF32
macCentralEuropeanToUTF32
(
unsigned
char
idx);
34
35
};
36
37
#endif
Generated by
1.8.4