View Single Post
Old 10-02-2014, 04:07 PM   #78
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,960
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I am going to jump in here with a new bug report for Sigil. I have an eBook that uses smallcaps and the code in the XML is...

Code:
<h1 class="chapter3" id="adc"><span class="small">also by p. d. james</span></h1>
In the CSS, the code is...

Code:
span.small {
font-family: smallcaps
}
Now the code for the fonts is correct...

Code:
@font-face {
font-family: smallcaps;
font-weight: normal;
font-style: normal;
src: url(../Fonts/CharisSILSmCp-R.ttf)
}
@font-face {
font-family: smallcaps;
font-weight: bold;
font-style: normal;
src: url(../Fonts/CharisSILSmCp-B.ttf)
}
This displays correctly in ADE. But in Sigil, I get lowercase instead of smallcaps.

Sigil isn't recognizing span.small in the CSS.
JSWolf is offline