132936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour/* 2882b8afedcd458129eaeb37124ebf25ceef73587Elliott Hughes * 332936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour * © 2016 and later: Unicode, Inc. and others. 432936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour * License & terms of use: http://www.unicode.org/copyright.html#License 532936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour * 632936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved 732936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour * 8882b8afedcd458129eaeb37124ebf25ceef73587Elliott Hughes */ 932936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour 1032936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour#ifndef __CFONTS_H 1132936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour#define __CFONTS_H 1232936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour 1332936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour#include "LETypes.h" 1432936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour#include "loengine.h" 1532936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour 1632936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzourle_font *le_portableFontOpen(const char *fileName, 1732936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour float pointSize, 1832936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour LEErrorCode *status); 1932936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour 2032936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzourle_font *le_simpleFontOpen(float pointSize, 2132936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour LEErrorCode *status); 2232936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour 2332936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzourvoid le_fontClose(le_font *font); 2432936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour 2532936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzourconst char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language); 2632936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzour 2732936c895d4407f7444c09ef4b0fd0ea532feb00Amaury Le Leyzourconst 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 36