build identifier: i20100319-1449

===== description =====
corruption in report when previewing in doc format
==== environment =====
build level: 		i20100319-1449 
component: 		birt
platform: 		redhat5.4
jre: 			jre-1_5_0_22-windows-i586-p.exe (sun java 5)
affected locale(s): 	turkish


===== steps to reproduce =====
1. open new project dialog from eclipse file menu, select business intelligence and reporting tools, and click next.
2. type any project name on report project dialog and click finish. open associated perspective dialog is displayed. 
    click yes to display birt perspective.
3. on navigator view, right click the project and select import, select file system, and select the test_report_crosstab.rptdesign. then, click finish.
4. double click the test_report_crosstab.rptdesign on navigator view. the report design is displayed. 
5. double click the data source and set the “select folder” to the path where exportdata.csv has been copied.
6. click run in toolbar
7. select view report
8. as doc

===== expected result =====
the text should be displayed correctly without corruption

===== actual result =====
the text are corrupted.

reproducible: always
created an attachment (id=163216)
screenshot on turkish on redhat5.4
created an attachment (id=163217)
test_report_crosstab.rptdesign
created an attachment (id=163218)
exportdata.csv
the workaround is to open the doc on win7 and change the display font to times new roman, the ml string will display correctly.
hi,

could any one give us an update?

many thanks
this problem is caused by doc emitter use different font to display text in your report.
on windows platform, doc emitter use "times new rowman", and this font can display the text correctly.
on linux platform, doc emitter can not get times new rowman, so it use "lucida sans typewriter" to display the text.but this font can not display the text correctly.
to avoid this problem, you should install the font which can display the characters correctly on your linux platform.
hi jingwenshen,

we have copied times new roman font to our redhat system using the following
command. the ttf files are placed under /usr/local/fonts/ttf folder.

cd /usr/local/fonts/ttf
ttmkfdir > fonts.scale
mkfontdir
chkfontpath -a /usr/local/fonts/ttf

the re-generated report still can not display ml characters correctly.

are we missing any steps here?  please advice.

many thanks
you should modify the fontsconfig.xml under "org.eclipse.birt.report.engine.fonts" plugins to specify times new roman font's path.
you can refer to http://www.actuatechina.com/thread271.html
hi jing wen,

we had tried the steps below, but we still see an issue with the corruption display.

please could you kindly advise.  many thanks.

raising the severity to "normal" for further attention.

thanks.

- steven.
