View Single Post
Old 05-04-2018, 12:17 AM   #89
bakodragon
Junior Member
bakodragon began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jan 2014
Device: KINDLE PAPERWHITE 2
First of all, thank you for this excellent plug-in!!!

Now, I have a small problem, one of the epub's im trying to convert to PDF, have this type of string

Quote:
<body class="especial">
so, when I use this in the prince Custom style:

Quote:
body {
font-size: 8pt;
font-family: Bookerly, serif;
src: local("Bookely")
text-align: justify;
prince-image-resolution: 166dpi;
hyphens: auto;
string-set: booktitle "@{@{title}@}@" author "@{@{author}@}@";
}
to change the font specified by "body" , everything change except the section with the "<body class="especial">" clause, that just displays the Times New Roman font.

I tried to edit the fonts.css in "C:\Program Files (x86)\Prince\engine\style" but didn't work, also tried to add this but didn't work also:

Quote:
body class=especial{
font-size: 8pt;
font-family: Bookerly, serif;
src: local("Bookely")
text-align: justify;
prince-image-resolution: 166dpi;
hyphens: auto;
string-set: booktitle "@{@{title}@}@" author "@{@{author}@}@";
}
Maybe I can find some help, thanks you.
bakodragon is offline   Reply With Quote