Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337526

Summary: Font changes to Times New Roman in AutoText when generating doc
Product: z_Archived Reporter: a.dwehus
Component: BIRTAssignee: Yu Chen <yChen>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: unspecified   
Target Milestone: 3.7.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete

Description a.dwehus CLA 2011-02-18 03:45:03 EST
Build Identifier: Eclipse 20100617-1415 Birt v20100609-1613

I want my report in font Arial. This works fine as long as I do not use auto generated text. When I use "Page" and "Total page Count" from AutoText the font in this cell always gets changed to Times New Roman when generating a DOC Report. 

When viewing the report as PDF it works like expected and all the text is in "Arial".

I am using BIRT Designer Version 2.6.0

Extract from XML source:
<cell id="246">
<auto-text id="195">
<property name="fontFamily">"Arial"</property>
<property name="textAlign">left</property>
<property name="type">total-page</property>
</auto-text>
</cell>

Reproducible: Always

Steps to Reproduce:
1. Generate a report
2. Use autotext like page n of m in footer of masterpage
3. Try to display in font Arial
4. View as doc
Comment 1 Yu Chen CLA 2011-02-21 21:45:27 EST
Fixed.
Comment 2 Xiaoying Gu CLA 2011-02-25 01:10:42 EST
Verified in daily build 4.0.0.v20110225-0630.