View Single Post
Old 10-02-2014, 05:18 PM   #79
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,958
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi,
This isn't a bug report. A real bug report provides the steps to reproduce the bug, and a testcase. Since any type of css inconsistency can cause css to be ignored, this could simply be a problem someplace else in your css that ADE ignores. Also problems with included fonts can do the same thing. css can change the font but not the characters, and you have all lowercase chars. So what does smallcap do with lowercase characters in that font. I am not sure.

So just like your bug reports in Kindleunpack, I'll need a real testcase that exhibits the problem to rule out all of the other possible causes, otherwise I am just guessing.

KevinH

Quote:
Originally Posted by JSWolf View Post
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.
KevinH is offline