Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 07-01-2026, 12:30 PM   #1
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
smallcaps not showing on Kobo

EPUB, not KEPUB. Font is set to a side-loaded font (Baskerville) but I experimented with other fonts and it made no difference.

I've set a chunk of text to display in smallcaps. In the Calibre Editor preview, it looks perfect. Same in the Calibre Viewer. But on my Kobo, the smallcaps don't show; the affected text is larger than it was (as I specified) but otherwise normal.

The CSS is just

.blog {
display: block;
font-variant: small-caps;
font-size: 120%;
}

I'm sure I'm missing something terribly obvious, but googling around hasn't turned up a solution.

I went to check, and smallcaps that worked in AZW3 on my Kindle are not displaying as smallcaps now they're in EPUB on my Kobo.

I tried looking up whether smallcaps just don't display on the Kobo, but I couldn't find anything. ???
Siavahda is offline   Reply With Quote
Old 07-01-2026, 01:08 PM   #2
Falkor
Zealot
Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!Falkor rocks like Gibraltar!
 
Posts: 116
Karma: 100000
Join Date: Dec 2024
Device: Tolino Shine 5
Sure they work, just rename the file from epub to .kepub.epub.
Falkor is offline   Reply With Quote
Old 07-01-2026, 01:11 PM   #3
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Falkor View Post
Sure they work, just rename the file from epub to .kepub.epub.
I really don't want to do that - em dashes don't display properly in KEPUB, it's the whole reason I went to the effort of making sure my library is in EPUB.
Siavahda is offline   Reply With Quote
Old 07-01-2026, 01:44 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: 84,013
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
font-variant: small-caps; does not work in RMSDK used to display ePub. You'd have to make sure what you want to be small-caps is set to uppercase and instead of the font variant, use font-size: 0.8333em;.
JSWolf is offline   Reply With Quote
Old 07-01-2026, 03:26 PM   #5
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
font-variant: small-caps; does not work in RMSDK used to display ePub. You'd have to make sure what you want to be small-caps is set to uppercase and instead of the font variant, use font-size: 0.8333em;.
text-transform: uppercase didn't work, it's correct in the Calibre Viewer but on the Kobo the text is displayed normally.
Siavahda is offline   Reply With Quote
Old 07-01-2026, 04:21 PM   #6
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,859
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
You would need to embed a smallcaps font, and <span> all occurrences of smallcaps.
Karellen is offline   Reply With Quote
Old 07-01-2026, 04:28 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 52,842
Karma: 180988364
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
You don't use text-transform: uppercase. You type the text in upper case using spans as needed.

BTW, what you are running into is why I've switched over to using kepub for most of my personal use books. RMSDK is more lacking every passing year.

Code:
<p class="pf"><span class="smallcaps">This is for George.</span></p>

<p>T<span class="smallc8">HIS IS FOR </span>G<span class="smallc8">EORGE</span>.</p>
Code:
.smallcaps {
  font-variant: small-caps;
}

.smallc8 {
  font-size: 0.8333em;
}
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-07-01 132628.png
Views:	25
Size:	36.4 KB
ID:	224169  

Last edited by DNSB; 07-01-2026 at 04:32 PM. Reason: Added personal use.
DNSB is offline   Reply With Quote
Old 07-02-2026, 03:58 AM   #8
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by DNSB View Post
You don't use text-transform: uppercase. You type the text in upper case using spans as needed.

BTW, what you are running into is why I've switched over to using kepub for most of my personal use books. RMSDK is more lacking every passing year.

Code:
<p class="pf"><span class="smallcaps">This is for George.</span></p>

<p>T<span class="smallc8">HIS IS FOR </span>G<span class="smallc8">EORGE</span>.</p>
Code:
.smallcaps {
  font-variant: small-caps;
}

.smallc8 {
  font-size: 0.8333em;
}
Thank you, but if I need to rewrite the text in upper case first this isn't workable. We're talking about huge chunks of the book.

I would love to use KEPUB, but it doesn't display em dashes properly and that stresses me out to an unreasonable degree. The second KEPUB fixes that, I'd be delighted to use it.

(Originally the text in question was in monospace, but apparently Kobos can't handle that either in an EPUB Switching to smallcaps was what I hoped would be an acceptable alternative. But I guess not.)
Siavahda is offline   Reply With Quote
Old 07-02-2026, 05:16 AM   #9
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,859
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Siavahda View Post
(Originally the text in question was in monospace, but apparently Kobos can't handle that either in an EPUB
Yes it can. I have epubs (not kepubs) that have portions of the novel using monospace. You need to embed a mono font and <span> the sections that are using mono.
Karellen is offline   Reply With Quote
Old 07-02-2026, 05:22 AM   #10
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Karellen View Post
Yes it can. I have epubs (not kepubs) that have portions of the novel using monospace. You need to embed a mono font and <span> the sections that are using mono.
All right, I didn't phrase that clearly enough; they can't handle monospace without embedding a monospace font. You don't need a special font to create monospace in an EPUB, but you do if you want the Kobo to recognise it. That's what I meant.
Siavahda is offline   Reply With Quote
Old 07-02-2026, 05:51 AM   #11
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: 84,013
Karma: 153695583
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 Siavahda View Post
text-transform: uppercase didn't work, it's correct in the Calibre Viewer but on the Kobo the text is displayed normally.
text-transform: uppercase; also does not work with RMSDK on your Kobo.

You have to manually change the case to uppercase if it's not.
JSWolf is offline   Reply With Quote
Old 07-02-2026, 05:57 AM   #12
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: 84,013
Karma: 153695583
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 Karellen View Post
Yes it can. I have epubs (not kepubs) that have portions of the novel using monospace. You need to embed a mono font and <span> the sections that are using mono.
The solution to monospace in RMSDK on a Kobo is very simple. Fine a monospace font that you want to use. It has to have the name of Courier. I don't know if it just needs to be the filename or it also have to internally be called Courier. The one I have is both.

Courier-Bold.ttf
Courier-BoldItalic.ttf
Courier-Italic.ttf
Courier-Regular.ttf
JSWolf is offline   Reply With Quote
Old 07-02-2026, 06:07 AM   #13
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
text-transform: uppercase; also does not work with RMSDK on your Kobo.

You have to manually change the case to uppercase if it's not.
That's not workable; as I replied above, we're talking about huge chunks of the book.
Siavahda is offline   Reply With Quote
Old 07-02-2026, 07:19 AM   #14
Siavahda
Groupie
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
The solution to monospace in RMSDK on a Kobo is very simple. Fine a monospace font that you want to use. It has to have the name of Courier. I don't know if it just needs to be the filename or it also have to internally be called Courier. The one I have is both.

Courier-Bold.ttf
Courier-BoldItalic.ttf
Courier-Italic.ttf
Courier-Regular.ttf
For some reason I couldn't get the fonts to embed yesterday, but today this worked! So thank you for the nudge to try it again.

Is it supposed to only work if you have the Kobo set to Publisher Font? Or have I messed something up?
Siavahda is offline   Reply With Quote
Old 07-02-2026, 08:27 AM   #15
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,369
Karma: 248000001
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Siavahda View Post
For some reason I couldn't get the fonts to embed yesterday, but today this worked! So thank you for the nudge to try it again.

Is it supposed to only work if you have the Kobo set to Publisher Font? Or have I messed something up?
It's supposed to work without Publisher Font. I haven't done it myself, but I've certainly read books where some sections used an embedded font and most of the book didn't. I never use Publisher Default. And yes, with epubs, not kepubs.
Sirtel is online now   Reply With Quote
Reply

Tags
css, kobo, small caps, smallcaps

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How widely supported are smallcaps? Land_Outcast ePub 105 06-16-2024 12:46 AM
Reestablishing smallcaps roger64 Workshop 8 05-27-2017 01:49 PM
smallcaps how to? JSWolf ePub 20 06-02-2016 02:40 PM
Kobo bookstore on Kobo Touch not showing prices (Canada) RobertJSawyer Kobo Reader 13 09-23-2012 08:30 PM
Smallcaps in Kindle cscotts Kindle Formats 5 01-26-2011 09:52 AM


All times are GMT -4. The time now is 12:44 PM.


MobileRead.com is a privately owned, operated and funded community.