In SWT, how can I create a bold/italic variant of a font and how can I scale a font? I tried
int fontStyle = SWT.BOLD;
int height = 1200;
FontData[] fds = font.getFontData ();
for (FontData fd: fds)
{
fd.setStyle (fontStyle);
fd.setHeight ((fd.getHeight () * height + 500) / 1000);
}
newFont = new Font(font.getDevice (), fds);
but that doesn't work for "Andale Mono", for example.