attrs.put(JRTextAttribute.PDF_ENCODING, style.getPdfEncoding());
attrs.put(JRTextAttribute.IS_PDF_EMBEDDED, style.isPdfEmbedded());
}
else
{
JRReportFont font = jasperPrint.getDefaultFont();
if (font != null)
{
attrs = new HashMap();
attrs.put(JRTextAttribute.PDF_FONT_NAME, font.getPdfFontName());
attrs.put(JRTextAttribute.PDF_ENCODING, font.getPdfEncoding());
attrs.put(JRTextAttribute.IS_PDF_EMBEDDED, font.isPdfEmbedded() ? Boolean.TRUE : Boolean.FALSE);
}
else
{
attrs = null;
}