Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/include Modified Files: evas_common.h Log Message: evas lets you choose font hinting - in theory. :) =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_common.h,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- evas_common.h 15 Jan 2006 06:21:04 -0000 1.53 +++ evas_common.h 27 Feb 2006 14:03:27 -0000 1.54 @@ -166,6 +166,13 @@ CPU_FEATURE_VIS2 = (1 << 5) } CPU_Features; +typedef enum _Font_Hint_Flags +{ + FONT_NO_HINT, + FONT_AUTO_HINT, + FONT_BYTECODE_HINT +} Font_Hint_Flags; + /*****************************************************************************/ struct _Evas_Object_List @@ -299,6 +306,7 @@ struct _RGBA_Font { Evas_List *fonts; + Font_Hint_Flags hinting; }; struct _RGBA_Font_Int @@ -317,6 +325,7 @@ Evas_Hash *glyphs; int usage; + Font_Hint_Flags hinting; int references; }; @@ -864,6 +873,8 @@ RGBA_Font *evas_common_font_memory_add (RGBA_Font *fn, const char *name, int size, const void *data, int data_size); RGBA_Font_Int *evas_common_font_int_load_init (RGBA_Font_Int *fn); void evas_common_font_free (RGBA_Font *fn); +void evas_common_font_hinting_set (RGBA_Font *fn, Font_Hint_Flags hinting); +Evas_Bool evas_common_hinting_available (Font_Hint_Flags hinting); void evas_common_font_int_modify_cache_by(RGBA_Font_Int *fi, int dir); int evas_common_font_cache_get (void); void evas_common_font_cache_set (int size); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs