]> git.saurik.com Git - apple/icu.git/blob - icuSources/test/letest/cfonts.h
ICU-551.30.tar.gz
[apple/icu.git] / icuSources / test / letest / cfonts.h
1 /*
2 *
3 * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved
4 *
5 */
6
7 #ifndef USING_ICULEHB /* C API not available under HB */
8
9 #ifndef __CFONTS_H
10 #define __CFONTS_H
11
12 #include "LETypes.h"
13 #include "loengine.h"
14
15 le_font *le_portableFontOpen(const char *fileName,
16 float pointSize,
17 LEErrorCode *status);
18
19 le_font *le_simpleFontOpen(float pointSize,
20 LEErrorCode *status);
21
22 void le_fontClose(le_font *font);
23
24 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
25
26 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
27
28 void le_deleteNameString(le_font *font, const char *name);
29
30 void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name);
31
32 le_uint32 le_getFontChecksum(le_font *font);
33
34 #endif
35 #endif