Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370618 - Bug with the html format
Summary: Bug with the html format
Status: RESOLVED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.2   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: 4.2.0   Edit
Assignee: Birt-ReportViewer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-03 18:40 EST by Yaohui XU CLA
Modified: 2012-04-13 02:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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'