• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *
3  * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
4  *
5  */
6 
7 #ifndef __CFONTS_H
8 #define __CFONTS_H
9 
10 #include "LETypes.h"
11 #include "loengine.h"
12 
13 le_font *le_portableFontOpen(const char *fileName,
14 							float pointSize,
15 							LEErrorCode *status);
16 
17 le_font *le_simpleFontOpen(float pointSize,
18 						   LEErrorCode *status);
19 
20 void le_fontClose(le_font *font);
21 
22 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
23 
24 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
25 
26 void le_deleteNameString(le_font *font, const char *name);
27 
28 void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name);
29 
30 le_uint32 le_getFontChecksum(le_font *font);
31 
32 #endif
33