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

Bug 370618

Summary: Bug with the html format
Product: z_Archived Reporter: Yaohui XU <anajin1114>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: bluesoldier
Version: 2.6.2   
Target Milestone: 4.2.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Yaohui XU CLA 2012-02-03 18:40:37 EST
I created a dynamic text for the following code :

------------------------------------------------------------------------

<html>
<head>

</head>

<body>
<span style=" font-weight:bold; font-family:Univers LT Std 55; font-size:8.0pt; font-style:normal; color:#537296; vertical-align:baseline;">Pourquoi 
investir ?</span>

<p style="margin-top:0pt;text-align:justify;margin-bottom:0pt;margin-left:0in;text-indent:0in;">
<span style=" font-weight:normal; font-family:Univers LT Std 55; font-size:8.0pt; font-style:normal; color:black; vertical-align:baseline;">L'ISR 
est l'application du développement</span>
</p>

</body>

</html>

----------------------------------------------------------------------------

When I generate with web-viewer, it works very well, but when I generate it in PDF, there is not the color for the first line.

Is it a problem de emitter pdf in birt? My birt version is 2.6.2, but I have tried with 3.7.1, it doesn't work ,either.
Comment 1 Xiaoying Gu CLA 2012-04-13 02:11:08 EDT
You need to add quote to the font family name:
font-family:'Univers LT Std 55'