Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
Makefile.am e_config.c e_config.h e_configure.c e_includes.h
Log Message:
font hinting settings support.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/Makefile.am,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -3 -r1.111 -r1.112
--- Makefile.am 22 Feb 2006 14:35:04 -0000 1.111
+++ Makefile.am 27 Feb 2006 15:18:10 -0000 1.112
@@ -135,6 +135,7 @@
e_int_config_desklock.h \
e_int_config_exebuf.h \
e_int_config_cfgdialogs.h \
+e_int_config_hinting.h \
e_deskpreview.h \
e_exebuf.h \
e_desklock.h \
@@ -262,6 +263,7 @@
e_int_config_desklock.c \
e_int_config_exebuf.c \
e_int_config_cfgdialogs.c \
+e_int_config_hinting.c \
e_deskpreview.c \
e_exebuf.c \
e_desklock.c \
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.c,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -3 -r1.147 -r1.148
--- e_config.c 22 Feb 2006 14:35:04 -0000 1.147
+++ e_config.c 27 Feb 2006 15:18:10 -0000 1.148
@@ -458,6 +458,7 @@
E_CONFIG_LIST(D, T, gadcons, _e_config_gadcon_edd);
E_CONFIG_LIST(D, T, shelves, _e_config_shelf_edd);
E_CONFIG_VAL(D, T, desklock_personal_passwd, STR);
+ E_CONFIG_VAL(D, T, font_hinting, INT);
e_config = e_config_domain_load("e", _e_config_edd);
if (e_config)
@@ -610,6 +611,7 @@
e_config->cfgdlg_default_mode = 0;
e_config->gadcons = NULL;
e_config->desklock_personal_passwd = NULL;
+ e_config->font_hinting = 0;
/* FIXME: fill up default gadcons! */
{
@@ -1670,6 +1672,15 @@
E_CONFIG_LIMIT(e_config->use_app_icon, 0, 1);
E_CONFIG_LIMIT(e_config->cfgdlg_auto_apply, 0, 1);
E_CONFIG_LIMIT(e_config->cfgdlg_default_mode, 0, 1);
+ E_CONFIG_LIMIT(e_config->font_hinting, 0, 2);
+
+ if (e_config->font_hinting == 0)
+ evas_imaging_font_hinting_set(EVAS_FONT_HINTING_BYTECODE);
+ else if (e_config->font_hinting == 1)
+ evas_imaging_font_hinting_set(EVAS_FONT_HINTING_AUTO);
+ else if (e_config->font_hinting == 2)
+ evas_imaging_font_hinting_set(EVAS_FONT_HINTING_NONE);
+
return 1;
}
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_config.h,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- e_config.h 22 Feb 2006 14:35:04 -0000 1.84
+++ e_config.h 27 Feb 2006 15:18:10 -0000 1.85
@@ -211,6 +211,7 @@
Evas_List *gadcons;
Evas_List *shelves;
char *desklock_personal_passwd; // GUI
+ int font_hinting; // GUI
};
struct _E_Config_Module
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_configure.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- e_configure.c 27 Feb 2006 13:29:38 -0000 1.38
+++ e_configure.c 27 Feb 2006 15:18:10 -0000 1.39
@@ -80,6 +80,7 @@
e_configure_standard_item_add(eco, "enlightenment/windows", _("Window List
Settings"), e_int_config_winlist);
e_configure_standard_item_add(eco, "enlightenment/windows", _("Window
Display Settings"), e_int_config_window_display);
e_configure_standard_item_add(eco, "enlightenment/windows", _("Window
Manipulation Settings"), e_int_config_window_manipulation);
+ e_configure_standard_item_add(eco, "enlightenment/e", _("Font Display
Hinting"), e_int_config_hinting);
/* FIXME: we should have a way for modules to hook in here and add their
* own entries
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_includes.h,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -3 -r1.92 -r1.93
--- e_includes.h 22 Feb 2006 14:35:04 -0000 1.92
+++ e_includes.h 27 Feb 2006 15:18:10 -0000 1.93
@@ -114,6 +114,7 @@
#include "e_int_config_desklock.h"
#include "e_int_config_exebuf.h"
#include "e_int_config_cfgdialogs.h"
+#include "e_int_config_hinting.h"
#include "e_deskpreview.h"
#include "e_exebuf.h"
#include "e_desklock.h"
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs