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