forked from enlightenment/enlightenment
just a env var hack for playing with scaling.. for now.
SVN revision: 35938
This commit is contained in:
parent
69da6216c5
commit
7928f1a90f
|
@ -39,8 +39,20 @@ e_canvas_add(Ecore_Evas *ee)
|
||||||
}
|
}
|
||||||
else if (e_config->font_hinting == 2)
|
else if (e_config->font_hinting == 2)
|
||||||
evas_font_hinting_set(e, EVAS_FONT_HINTING_NONE);
|
evas_font_hinting_set(e, EVAS_FONT_HINTING_NONE);
|
||||||
// FIXME: testing.
|
// FIXME: just a hack.
|
||||||
// edje_scale_set(1.0);
|
{
|
||||||
|
static scale = -1.0;
|
||||||
|
|
||||||
|
if (scale == -1.0)
|
||||||
|
{
|
||||||
|
char *s;
|
||||||
|
|
||||||
|
s = getenv("E_SCALE");
|
||||||
|
if (s) scale = atof(s);
|
||||||
|
else scale = 1.0;
|
||||||
|
}
|
||||||
|
edje_scale_set(scale);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
Loading…
Reference in New Issue