03-11-2021, 12:45 PM | #16 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I'd argue that the bug lies squarely on the publisher's shoulders, because requesting small caps on an subsetted embedded font without support for it is... not ideal ;o).
And I'd also add that I'd personally prefer *not* to break the font choice by using a potentially completely different fallback font just for that, and instead do fake smallcaps with the requested font . |
03-11-2021, 03:38 PM | #17 | |
Fanatic
Posts: 556
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Quote:
Code:
font-family: serif; Btw, I had to do this in the original CSS files. When I tried to add some CSS in "tweak for this book", KOReader do not use it. Is the original CSS stronger than the tweak I add in KOReader? |
|
Advert | |
|
03-11-2021, 03:43 PM | #18 | |
Fanatic
Posts: 556
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Quote:
|
|
03-11-2021, 04:36 PM | #19 | |
Resident Curmudgeon
Posts: 76,395
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
What book is this? I'm curious where this case from. |
|
03-11-2021, 04:51 PM | #20 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
There is another question:
Can KOReader create "synthetic" smallcaps, italics and bold? Some renderers do, and can artificially slant or embolden a font, or automatically display "fake" smallcaps. Synthetic italic and bold are difficult (especially italic, which can only be slanted), but synthetic fake smallcaps are easy: just convert lowercase to uppercase and display smaller. The following question is: If a renderer can generate synthetic smallcaps, and a given requested font is available but does not have true smallcaps, should the renderer create the fake smallcaps, or should it fall back to the next font in the list? The same for italic and bold, of course. |
Advert | |
|
03-11-2021, 05:37 PM | #21 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Jellby:
We can do bold, and I'm pretty sure we can do italic (mostly because HB/FT can). Synthetic bold is fairly decent, italic is of course... much less so . (And, yes, a synthetic version *of the same font* is preferred over a fallback, which was kind of my point above ). |
03-11-2021, 05:55 PM | #22 |
Fanatic
Posts: 556
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
It is an ebook of two lesbian french writers translated in italian language ("Appunti per un dizionario delle amanti"), but to be honest I saw many export from inDesign from major publishing house here in Italy with Simoncini (or other fonts) subset. I work(ed) in ePub creation: here in Italy the ebook is still the last "porting" of the sacred paper book, and the allocated resources for the ebook version of the book are usually very limited. For example: some weeks ago I bought a comix epub from a italian publisher. A good italian publisher in comix, to be honest. But the ePub was slow, with a lot of problems, so I opened it and check the html and the CSS. I discover the CSS were redundant. I created comix ePub some years ago, manually, and I used more or less 20 lines of CSS code. More or less. Well, this ePub had 94.403 lines of CSS. 94.403. I was speechless.
|
03-12-2021, 06:25 AM | #23 | |
Resident Curmudgeon
Posts: 76,395
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
03-12-2021, 06:39 AM | #24 | |
Resident Curmudgeon
Posts: 76,395
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I did once find an eBook that had around 500 unused CSS classes. That's nothing compared to the one you found with such a sloppy CSS. Most eBooks are easy to format. They don't require anything complex. Yet most publishers botch them up somehow. |
|
03-12-2021, 08:22 AM | #25 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
So the issue is that KOreader does not simulate smallcaps (and probably does not fall back to another font if the selected font doest not have true smallcaps).
It's still better than ADE (at least the versions I've used), which does not support 'font-variant: small-caps' at all. |
03-12-2021, 09:06 AM | #26 | |
Fanatic
Posts: 556
Karma: 400004
Join Date: Feb 2009
Device: ONYX M96
|
Quote:
|
|
03-12-2021, 10:20 AM | #27 |
the rook, bossing Never.
Posts: 12,344
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Yes, but Epub3 is a solution looking for a problem and few things fully support it.
So we only put small caps on paper versions as support is erratic and depends also on fonts. |
03-12-2021, 10:50 AM | #28 | |
Resident Curmudgeon
Posts: 76,395
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
ChareInk has small caps for both upper and lower case. |
|
03-12-2021, 02:35 PM | #29 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I suspect @Jellby may have meant the RMSDK, which is not exactly ADE .
(As in, we read on eReaders, we don't give a crap about ADE, but we care about what's actually comparable, e.g., Kindle-on-Kindle/Nickel/RMSDK). |
03-13-2021, 05:17 AM | #30 |
Resident Curmudgeon
Posts: 76,395
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But if you use ePub3 specific code, you have the problem of that code not working because the program being used doesn't do ePub3. For example, there are still a lot of Readers out there that are not using an updated RMSDK and because of this, they don't do ePub3.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Small caps | JLius | ePub | 10 | 06-09-2014 02:37 AM |
Small caps | Notjohn | Sigil | 9 | 02-23-2013 11:19 AM |
Small Caps | djulian | Kindle Formats | 2 | 04-05-2012 09:48 AM |
small caps | yuxi_kelly | ePub | 20 | 06-05-2011 01:04 AM |