to buffer engine rendering, allow env var for evas font dpi.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64970
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
evas_common_font_init(void)
{
int error;
+ const char *s;
initialised++;
if (initialised != 1) return;
if (error) return;
evas_common_font_load_init();
evas_common_font_draw_init();
+ s = getenv("EVAS_FONT_DPI");
+ if (s)
+ {
+ int dpi = atoi(s);
+
+ if (dpi > 0) evas_common_font_dpi_set(dpi);
+ }
LKI(lock_font_draw);
LKI(lock_bidi);
LKI(lock_ot);