zabbix-2.0.4-font.patch 993 B

123456789101112131415161718192021
  1. diff -uNr zabbix-2.0.4.orig/frontends/php/include/defines.inc.php zabbix-2.0.4/frontends/php/include/defines.inc.php
  2. --- zabbix-2.0.4.orig/frontends/php/include/defines.inc.php 2012-12-08 20:09:18.000000000 +0900
  3. +++ zabbix-2.0.4/frontends/php/include/defines.inc.php 2013-02-06 21:24:05.967666961 +0900
  4. @@ -35,7 +35,7 @@
  5. define('ZBX_WIDGET_ROWS', 20);
  6. define('ZBX_FONTPATH', realpath('fonts')); // where to search for font (GD > 2.0.18)
  7. -define('ZBX_GRAPH_FONT_NAME', 'DejaVuSans'); // font file name
  8. +define('ZBX_GRAPH_FONT_NAME', 'VL-Gothic-Regular'); // font file name
  9. define('ZBX_GRAPH_LEGEND_HEIGHT', 120); // when graph height is less then this value, some legend will not show up
  10. define('ZBX_SCRIPT_TIMEOUT', 60); // in seconds
  11. @@ -83,7 +83,7 @@
  12. define('EVENTS_OPTION_ALL', 2);
  13. define('EVENTS_OPTION_NOT_ACK', 3);
  14. -define('ZBX_FONT_NAME', 'DejaVuSans');
  15. +define('ZBX_FONT_NAME', 'VL-Gothic-Regular');
  16. define('ZBX_AUTH_INTERNAL', 0);
  17. define('ZBX_AUTH_LDAP', 1);