2007-06-22 03:57:45 +00:00
|
|
|
/*
|
|
|
|
*
|
2008-03-18 21:53:27 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved
|
2007-06-22 03:57:45 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CFONTS_H
|
|
|
|
#define __CFONTS_H
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
#include "loengine.h"
|
|
|
|
|
|
|
|
le_font *le_portableFontOpen(const char *fileName,
|
|
|
|
float pointSize,
|
|
|
|
LEErrorCode *status);
|
|
|
|
|
|
|
|
le_font *le_simpleFontOpen(float pointSize,
|
|
|
|
LEErrorCode *status);
|
|
|
|
|
|
|
|
void le_fontClose(le_font *font);
|
|
|
|
|
|
|
|
const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
|
|
|
|
|
2008-03-18 21:53:27 +00:00
|
|
|
const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
|
|
|
|
|
2007-06-22 03:57:45 +00:00
|
|
|
void le_deleteNameString(le_font *font, const char *name);
|
|
|
|
|
2008-03-18 21:53:27 +00:00
|
|
|
void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name);
|
|
|
|
|
2007-06-22 03:57:45 +00:00
|
|
|
le_uint32 le_getFontChecksum(le_font *font);
|
|
|
|
|
|
|
|
#endif
|