Jump to content
We've recently updated our Privacy Statement, available here ×

nyul100

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by nyul100

  1. Hi there, I try to preview report including one static text with rtf markup in iReport 4.1.1. In rtf document there is cyrillic and non cyrillic characters. The cyrillic part of rtf is: \'d0\'e5\'e7\'e5\'f0\'e2 The non cyrillic part is: Abcd When I try to preview the report in IReport the cyrillic characters not displayed correctly. Previously I added the font "Times New Roman Cyr" in IReport. I attached the jrxml, "Times New Roman Cyr" font and the preview result as picture. Does anyone help me what do I wrong? Thanks Code:<?xml version="1.0" encoding="UTF-8"?><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="rtfTeszt" pageWidth="500" pageHeight="300" columnWidth="460" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <detail> <band height="260"> <staticText> <reportElement x="0" y="0" width="460" height="260"/> <textElement markup="rtf"> <font pdfEncoding="Cp1251"/> </textElement> <text><![CDATA[{\rtf1\ansi\ansicpg1251\deff0{\fonttbl{\f0 Times New Roman Cyr}}\f0\b\fs52\'d0\'e5\'e7\'e5\'f0\'e2 Abcd}]]></text> </staticText> </band> </detail></jasperReport>
×
×
  • Create New...