Thread: PRS-T1 Modified Sony home screen
View Single Post
Old 04-27-2013, 09:15 PM   #498
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: 37,765
Karma: 18492088
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by jackie_w View Post
The difficulty is not knowing what css class selector name will be used for smallcaps in your many and varied epubs. I think the best you would be able to do is to add something like the following to your default.css file
Code:
.smallcaps, .smallcaps1, .smallcaps2, .small-caps, .sc, .fsc, .smallCaps, .Smallcaps, .SmallCaps {
    font-family: serifsc, serif;
    font-variant: normal;
    }
where the red bit is a list of the class names you think might have been used. You will catch some that way, but it's obviously guesswork
But you still have to go into the ePub's XML files and convert the smallcaps text to lowercase as the simulated smallcaps use uppercase text. I have never seen simulated smallcaps that are not in uppercase.
JSWolf is offline   Reply With Quote