|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. ??? |
|
|
|
|
|
#2 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 116
Karma: 100000
Join Date: Dec 2024
Device: Tolino Shine 5
|
Sure they work, just rename the file from epub to .kepub.epub.
|
|
|
|
|
|
#3 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
|
|
|
|
|
|
#4 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,008
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;.
|
|
|
|
|
|
#5 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
text-transform: uppercase didn't work, it's correct in the Calibre Viewer but on the Kobo the text is displayed normally.
|
|
|
|
|
|
#6 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#7 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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;
}
Last edited by DNSB; 07-01-2026 at 04:32 PM. Reason: Added personal use. |
|
|
|
|
|
#8 | |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Quote:
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.)
|
|
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,859
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
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.
|
|
|
|
|
|
#10 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
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.
|
|
|
|
|
|
#11 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,008
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#12 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,008
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Courier-Bold.ttf Courier-BoldItalic.ttf Courier-Italic.ttf Courier-Regular.ttf |
|
|
|
|
|
|
#13 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
|
|
|
|
|
|
#14 | |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 193
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Quote:
Is it supposed to only work if you have the Kobo set to Publisher Font? Or have I messed something up? |
|
|
|
|
|
|
#15 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,368
Karma: 248000001
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
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.
|
|
|
|
![]() |
| Tags |
| css, kobo, small caps, smallcaps |
|
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 |