Category: | Bug report |
Priority: | Immediate |
Status: | Resolved |
Project: | Severity: | Block |
Resolution: | Unable to Reproduce |
|
Component: | Reproducibility: | Always |
Assigned to: |
Please note: I have free version of MS MINCHO
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.5.0.final using JasperReports Library version 6.5.0 -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Report" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="NoPages" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="27" bottomMargin="27" uuid="e66ef15b-97d8-442c-aee2-1559d97cc372">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="LocalDB"/>
<property name="net.sf.jasperreports.export.docx.flexible.row.height" value="true"/>
<queryString>
<![CDATA[select TEXT_1 from test]]>
</queryString>
<field name="TEXT_1" class="java.lang.String">
<fieldDescription><![CDATA[TEXT_1]]></fieldDescription>
</field>
<detail>
<band height="30">
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="0" width="100" height="30" isRemoveLineWhenBlank="true" uuid="f87e0ac8-ed67-4c55-890a-cbac23056a5d"/>
<textElement textAlignment="Left">
<font fontName="MS Mincho" size="8" pdfEncoding="UniJIS-UCS2-H"/>
</textElement>
<textFieldExpression><![CDATA[$F{TEXT_1}+$F{TEXT_1}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="20">
<textField>
<reportElement positionType="Float" x="0" y="0" width="595" height="20" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" uuid="4cad8113-3bf4-471e-a811-10f6628286ed"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font fontName="MS Mincho" size="8"/>
</textElement>
<textFieldExpression><![CDATA["-" + $V{PAGE_NUMBER} + "-"]]></textFieldExpression>
</textField>
</band>
</pageFooter>
</jasperReport>
3 Comments:
Hi,
Are you sure the MS Mincho font is available on the machine that generates the report? For example, MS Mincho is a Microsoft font and is not normally present on Linux/Unix machines, unless you install it or make it available to the Java application using JR font extension mechanism.
Thank you,
Teodor
Hi
Feel free to reopen this if you still have the problem and can provide more details about it.
Thank you,
Teodor