Project

General

Profile

Defect #818

wrong font-weight in generated pdf

Added by Jos de Bruijn over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/15/2014
Due date:
% Done:

0%

Estimated time:
Browser (if web client):

Description

It seems that when a pdf is generated the font-weight options in my template are ignored.
I've got the following template:
#foreach ($row in $filterTable)
<tr>
<td style="width:50px;">$!row.title</td>
<td>#if($row.col1)$!row.col1: <b>$!row.val1</b>#end</td>
<td>#if($row.col2)$!row.col2: <b>$!row.val2</b>#end</td>
<td>#if($row.col3)$!row.col3: <b>$!row.val3</b>#end</td>
<td>#if($row.col4)$!row.col4: <b>$!row.val4</b>#end</td>
</tr>
#end

I've also tried changing the <b> tag with <strong> or a span with the following styling:
span{font-weight:bold;}
But the val columns are never in bold.

When I output to a html instead of pdf it does show the text in bold.

History

#1

Updated by Jos de Bruijn over 9 years ago

You can ignore this issue, it seems to be specific to my development environment. Our test server does show the correct font-weight.

#2

Updated by Patrick Talbot over 9 years ago

  • Status changed from New to Closed

Also available in: Atom PDF