Member-only story
JasperReports Failed When Fonts Reached PDF
The report looked correct in development until the generated PDF replaced client characters with missing glyphs.
Scenario
The developer team gets the requirements from the clients.
The client wants to use the custom font for the company's PDF file.
Not a Medium member? No problem! Read the full article here. Enjoy!
Create JasperReports.
<!-- Created with Jaspersoft Studio version 7.0.0.final using JasperReports Library version 7.0.0-b478feaa9aab4375eba71de77b4ca138ad2f62aa -->
<jasperReport name="Blank_A4" language="java" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="2385a4f5-3779-4dca-9895-c6682d2a919c">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="P_MONTH" class="java.lang.String"/>
<parameter name="P_YEAR" class="java.lang.String"/>
<query language="sql"><![CDATA[]]></query>
<field name="userId" class="java.lang.String"/>
<field name="activityType" class="java.lang.String"/>
<field name="activityTime"…








