Constructor Description
public Font(Device device, FontData fd)Creates a font using the specified device and font data.
public Font(Device device, FontData[] fds)Creates a font using the specified device and array of font data.
public Font(Device device, String name, int height, int style)Creates a font using the specified device, name, height (in points), and style. Style constants are SWT.NORMAL, SWT.BOLD, and SWT.ITALIC.
Font Styles
StyleDescription
SWT.NORMALCreates a normal font
SWT.BOLDCreates a bold font
SWT.ITALICCreates an italic font