Start a new topic

application font for the ui

[This topic is migrated from our old forums. The original author name has been removed]

insted of "Application Font Size" for the rest of the ui:

  <AppFontSize>Default</AppFontSize> (%user.home%\.dbvis\config\dbvis.xml)

it's better to use "Application Font" for the ui:

  <AppFont>Tahoma-plain-11</AppFont> (for instance)

startup code snippet:

  Font font = new Font("Tahoma", Font.PLAIN, 11);
  Enumeration keys = UIManager.getDefaults().keys();
  Object key = null;
  Object value = null;
  while (keys.hasMoreElements()) {
    key = keys.nextElement();
    value = UIManager.get(key);
    if (value instanceof javax.swing.plaf.FontUIResource)
      UIManager.put(key, font);

1 Comment

[This reply is migrated from our old forums.]

Re: application font for the ui
Hi, We'll fix so that it will be possible to set application font in the next version. Thanks for your suggestion. Regards Roger