}
protected Font getFont(JRFont themeFont, JRFont ownFont, Integer baseFontSize)
{
JRBaseFont font = new JRBaseFont();
if(themeFont != null && themeFont.getFontSize() <= 0 && baseFontSize != null && baseFontSize.intValue() >0)
{
themeFont.setFontSize(baseFontSize);
}
JRFontUtil.copyNonNullOwnProperties(themeFont, font);
JRFontUtil.copyNonNullOwnProperties(ownFont, font);
font = new JRBaseFont(getChart(), font);
return JRFontUtil.getAwtFont(font, getLocale());
}