to make up for not using xft.dpi anymore that was a fix essentially
to buffer engine rendering, allow env var for evas font dpi.
Change-Id: Icf4ff3f8464303e4312310475e102ac9319c9684
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);