summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--src/bin/e_canvas.c21
-rw-r--r--src/bin/e_canvas.h1
-rw-r--r--src/bin/e_int_config_hinting.c1
4 files changed, 26 insertions, 0 deletions
diff --git a/TODO b/TODO
index 62e720edc..ae4e8857f 100644
--- a/TODO
+++ b/TODO
@@ -8,6 +8,9 @@ Some of the things (in very short form) that need to be done to E17...
8 BUGS / FIXES 8 BUGS / FIXES
9------------------------------------------------------------------------------- 9-------------------------------------------------------------------------------
10 10
11* BUG: openoffice 2 when ddisplaying a presentation with xinerama (multiple
12 zones) weird things happen (the presentation doesnt display - it seemingly
13 attaches to the 2nd zone, not the first), crashes have been reported too.
11* BUG: dnd icon from window that has no .eap defining its ocon to ibar and the 14* BUG: dnd icon from window that has no .eap defining its ocon to ibar and the
12 ibar icon ends up blank (cant build .eap freom ARGB pixels) 15 ibar icon ends up blank (cant build .eap freom ARGB pixels)
13* BUG: edge flip for desktops still active if turned off when dragging a window 16* BUG: edge flip for desktops still active if turned off when dragging a window
diff --git a/src/bin/e_canvas.c b/src/bin/e_canvas.c
index f6a46516a..de8f5f4d1 100644
--- a/src/bin/e_canvas.c
+++ b/src/bin/e_canvas.c
@@ -125,6 +125,27 @@ e_canvas_cache_reload(void)
125 } 125 }
126} 126}
127 127
128EAPI void
129e_canvas_rehint(void)
130{
131 Evas_List *l;
132
133 for (l = _e_canvases; l; l = l->next)
134 {
135 Ecore_Evas *ee;
136 Evas *e;
137
138 ee = l->data;
139 e = ecore_evas_get(ee);
140 if (e_config->font_hinting == 0)
141 evas_font_hinting_set(e, EVAS_FONT_HINTING_BYTECODE);
142 else if (e_config->font_hinting == 1)
143 evas_font_hinting_set(e, EVAS_FONT_HINTING_AUTO);
144 else if (e_config->font_hinting == 2)
145 evas_font_hinting_set(e, EVAS_FONT_HINTING_NONE);
146 }
147}
148
128EAPI Ecore_Evas * 149EAPI Ecore_Evas *
129e_canvas_new(int engine_hint, Ecore_X_Window win, int x, int y, int w, int h, 150e_canvas_new(int engine_hint, Ecore_X_Window win, int x, int y, int w, int h,
130 int direct_resize, int override, Ecore_X_Window *win_ret, 151 int direct_resize, int override, Ecore_X_Window *win_ret,
diff --git a/src/bin/e_canvas.h b/src/bin/e_canvas.h
index a83427fe0..d285fccd0 100644
--- a/src/bin/e_canvas.h
+++ b/src/bin/e_canvas.h
@@ -12,6 +12,7 @@ EAPI int e_canvas_engine_decide(int engine);
12EAPI void e_canvas_recache(void); 12EAPI void e_canvas_recache(void);
13EAPI void e_canvas_cache_flush(void); 13EAPI void e_canvas_cache_flush(void);
14EAPI void e_canvas_cache_reload(void); 14EAPI void e_canvas_cache_reload(void);
15EAPI void e_canvas_rehint(void);
15EAPI Ecore_Evas *e_canvas_new(int engine_hint, Ecore_X_Window win, int x, int y, int w, int h, int direct_resize, int override, Ecore_X_Window *win_ret, Ecore_X_Window *subwin_ret); 16EAPI Ecore_Evas *e_canvas_new(int engine_hint, Ecore_X_Window win, int x, int y, int w, int h, int direct_resize, int override, Ecore_X_Window *win_ret, Ecore_X_Window *subwin_ret);
16 17
17#endif 18#endif
diff --git a/src/bin/e_int_config_hinting.c b/src/bin/e_int_config_hinting.c
index 54612e34e..1f94cad43 100644
--- a/src/bin/e_int_config_hinting.c
+++ b/src/bin/e_int_config_hinting.c
@@ -73,6 +73,7 @@ _basic_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
73 /* Actually take our cfdata settings and apply them in real life */ 73 /* Actually take our cfdata settings and apply them in real life */
74 e_config->font_hinting = cfdata->hinting; 74 e_config->font_hinting = cfdata->hinting;
75 e_config_save_queue(); 75 e_config_save_queue();
76 e_canvas_rehint();
76 return 1; /* Apply was OK */ 77 return 1; /* Apply was OK */
77} 78}
78 79