Subversion Repositories Kolibri OS

Rev

Rev 5520 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5520 Rev 5598
Line 1... Line 1...
1
// Truetype library
1
// Truetype library
-
 
2
#ifndef INCLUDE_LIBTRUETYPE_H
-
 
3
#define INCLUDE_LIBTRUETYPE_H
Line -... Line 4...
-
 
4
 
-
 
5
#ifndef INCLUDE_KOLIBRI_H
-
 
6
#include "../lib/kolibri.h"
-
 
7
#endif
-
 
8
 
-
 
9
#ifndef INCLUDE_DLL_H
-
 
10
#include "../lib/dll.h"
2
 
11
#endif
3
dword libtruetype = #att_libtruetype;
12
dword libtruetype = #att_libtruetype;
Line 4... Line 13...
4
char att_libtruetype[22] = "/sys/lib/truetype.obj\0";
13
char att_libtruetype[22] = "/sys/lib/truetype.obj\0";
5
 
14
 
Line 33... Line 42...
33
	
42
	
34
	int loca,head,glyf,hhea,hmtx,kern; // table locations as offset from start of .ttf
43
	int loca,head,glyf,hhea,hmtx,kern; // table locations as offset from start of .ttf
35
	int index_map;                     // a cmap mapping for our chosen character encoding
44
	int index_map;                     // a cmap mapping for our chosen character encoding
36
	int indexToLocFormat;              // format needed to map from glyph index to glyph
45
	int indexToLocFormat;              // format needed to map from glyph index to glyph
-
 
46
};
-
 
47
 
37
};
48
#endif