Overriding the default monospaced font
This code example causes a smaller font size to be used if the
host screen has 132 columns, instead of the standard 80:
public Font getDefaultMonospacedFont() {
if (getHostScreen() != null) {
if (getHostScreen().getSizeCols() == 132) {
return FontManager.getInstance(getDisplay()).getFont("Courier New", 8, 0);
}
}
return null;
}