View Single Post
Old 05-22-2024, 01:57 PM   #4
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,879
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by 1ily View Post
The file is already in the kepub format. I've attached a screenshot of what the small caps looks like (right), and what I'd expect it to look like (left). The size should be bigger, bolder, with more a bit more character spacing
Here's what the CSS needs to look like.

Code:
.smallcaps {
  font-variant: small-caps;
  text-transform : lowercase;
;
What you do is make sure the span surrounds text you want to be in small-caps. What your screen grab looks like is that the text is in uppercase. small-caps won't work unless the test is in lowercase.

As for the small-cap font you installed in the fonts directory. it won't work for KePub.
JSWolf is offline   Reply With Quote