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