Home | History | Annotate | Download | only in leperf
      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 
     16 le_font *le_portableFontOpen(const char *fileName,
     17 							float pointSize,
     18 							LEErrorCode *status);
     19 
     20 le_font *le_simpleFontOpen(float pointSize,
     21 						   LEErrorCode *status);
     22 
     23 void le_fontClose(le_font *font);
     24 
     25 const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
     26 
     27 const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language);
     28 
     29 void le_deleteNameString(le_font *font, const char *name);
     30 
     31 void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name);
     32 
     33 le_uint32 le_getFontChecksum(le_font *font);
     34 
     35 #endif
     36