private FontData createFontDataFromNormal() { FontData normalData = NORMAL.getFontData()[0]; FontData result = new FontData(); result.setName(normalData.getName()); result.height = normalData.height; return result; }
protected void copyFontData(FontData src, FontData dst) { dst.setName(src.getName()); dst.setStyle(src.getStyle()); dst.setHeight(src.getHeight()); }