public void setThemeFont(final String fieldName, final Font font) {
    if (!font.equals(fontCache.get(fieldName))) {
      ensureTheme();
      fontCache.put(fieldName, font);

      final FieldDescriptor fd = THEME_DESCRIPTOR.findFieldByName(fieldName);
      theme.setField(
          fd,
          BinDiffProtos.Config.UiTheme.ThemeFont.newBuilder()
              .setFamily(font.getFamily())
              .setSize(font.getSize()));
    }
  }
Sets and gets the syntax highlighting color values and font settings for the UI.
java/ui/src/main/java/com/google/security/zynamics/bindiff/config/ThemeConfigItem.java