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