12e5b6d6dSopenharmony_ci// © 2016 and later: Unicode, Inc. and others. 22e5b6d6dSopenharmony_ci// License & terms of use: http://www.unicode.org/copyright.html 32e5b6d6dSopenharmony_ci/* 42e5b6d6dSopenharmony_ci * 52e5b6d6dSopenharmony_ci * (C) Copyright IBM Corp. 1998-2014 - All Rights Reserved 62e5b6d6dSopenharmony_ci * 72e5b6d6dSopenharmony_ci */ 82e5b6d6dSopenharmony_ci 92e5b6d6dSopenharmony_ci#ifndef USING_ICULEHB /* C API not available under HB */ 102e5b6d6dSopenharmony_ci 112e5b6d6dSopenharmony_ci#ifndef __CFONTS_H 122e5b6d6dSopenharmony_ci#define __CFONTS_H 132e5b6d6dSopenharmony_ci 142e5b6d6dSopenharmony_ci#include "LETypes.h" 152e5b6d6dSopenharmony_ci#include "loengine.h" 162e5b6d6dSopenharmony_ci 172e5b6d6dSopenharmony_cile_font *le_portableFontOpen(const char *fileName, 182e5b6d6dSopenharmony_ci float pointSize, 192e5b6d6dSopenharmony_ci LEErrorCode *status); 202e5b6d6dSopenharmony_ci 212e5b6d6dSopenharmony_cile_font *le_simpleFontOpen(float pointSize, 222e5b6d6dSopenharmony_ci LEErrorCode *status); 232e5b6d6dSopenharmony_ci 242e5b6d6dSopenharmony_civoid le_fontClose(le_font *font); 252e5b6d6dSopenharmony_ci 262e5b6d6dSopenharmony_ciconst char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language); 272e5b6d6dSopenharmony_ci 282e5b6d6dSopenharmony_ciconst LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language); 292e5b6d6dSopenharmony_ci 302e5b6d6dSopenharmony_civoid le_deleteNameString(le_font *font, const char *name); 312e5b6d6dSopenharmony_ci 322e5b6d6dSopenharmony_civoid le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name); 332e5b6d6dSopenharmony_ci 342e5b6d6dSopenharmony_cile_uint32 le_getFontChecksum(le_font *font); 352e5b6d6dSopenharmony_ci 362e5b6d6dSopenharmony_ci#endif 372e5b6d6dSopenharmony_ci#endif 38