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