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