Closed (won't fix)
Project:
Views PDF
Version:
7.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Feb 2014 at 15:49 UTC
Updated:
15 Jan 2015 at 21:03 UTC
Jump to comment: Most recent
Comments
Comment #1
amarslaksh commentedHi Chunty,
I'm not facing any issue usin the same code...
or you can try this
.chorus { font-style: italic; } .chorus span { font-style: normal; }This bit is italic this bit is NOT italic
Comment #2
killua99 commentedHi @Chunty
Do you still have some problem with this setting? amarslaksh did you select the PHP code eval ?
Comment #3
chunty commented@killua99
Yes I can't get the font style reset. Sub classes do work so for example:
.chorus {
font-style: italic;
}
.chorus span {
font-style: normal;
font-weight: bold;
}
Will render anything in the span as bold but the italic font-style is not reset.
I've also noted that I selected the wrong version number when I filed this issue. I'm actually using 7.x-1.3 not 7.x-1.0-beta1 so I've correct that. @amarslaksh should I be using the dev version to solve this problem?
Ta
Chris
Comment #4
chunty commentedComment #5
milos.kroulik commentedamarslaksh, can you, please, elaborate more about what version and settings you used to make this work?
Comment #6
amarslaksh commented@ milos.kroulik
I'm using Drupal 7.14 version
Comment #7
chunty commentedDo you mean 7.x-1.3 or 7.x-1.dev or 7.x-2.dev version
Thanks
Chris
Comment #8
vegansupreme commentedThe underlying library that Views PDF uses for generating PDFs has only limited support for CSS. If some styles are working, but others aren't it's likely because of TCPDF. Newer versions of TCPDF may support more CSS, so try updating to the latest TCPDF.