[#11531] - MS Mincho Font distortion in the resulting report: we're facing some issues related to page number moving to next page in Word

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>

AttachmentSize
File bug.docx12.39 KB
v6.5
Devendra Sharma's picture
Joined: May 28 2015 - 1:08am
Last seen: 2 weeks 5 days ago

3 Comments:

#1
  • Priority:Urgent» Immediate
#2
  • Status:New» Feedback Requested

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

#3
  • Resolution:Open» Unable to Reproduce
  • Status:Feedback Requested» Resolved

Hi

Feel free to reopen this if you still have the problem and can provide more details about it.

Thank you,
Teodor

Feedback