08-23-2024, 10:25 PM | #46 | |
Evangelist
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
It's meant to strike through bold italic normal sized text. I'm using Merrirweather font at 54 on my kobo. Everything else looks fine. The file is Kepub if that matters. EDIT: Perhaps it's the Merriweather font? EDIT 2: I uploaded the book to Google Play Books. On my phone, strikethrough is very visible with Merriweather font, so it doesn't seem to be the font itself, just how Kobo renders it Maybe something about kepub? Last edited by foosion; 08-23-2024 at 10:59 PM. |
|
08-24-2024, 01:18 AM | #47 |
Bibliophagist
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Sadly, this appears to be an artifact of using kepub. See sample images from an ePub and the same ePub converted to kepub using 3 different fonts and the following code for the strike class.
Code:
.strike { text-decoration: line-through; text-decoration-color: black; text-decoration-thickness: 2px; } |
Advert | |
|
08-24-2024, 05:08 AM | #48 |
Connoisseur
Posts: 69
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
|
I don't know if I have the solution but the case is similar to the one I had with the ToC, which looked light grey and I wanted it to be black. I found a solution but I don't know enough to understand it. Instead of applying ‘colour:black’, using ‘-webkit-text-fill-color:inherit’ the ToC text looks black (I use epub edited with Sigil and convert it to kepub with Calibre).
|
08-24-2024, 06:09 AM | #49 | |
Evangelist
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
Code:
.strike { text-decoration: line-through; text-decoration-thickness: 2px; -webkit-text-fill-color:inherit; } Neither did text-decoration-webkit-text-fill-color:inherit |
|
08-24-2024, 06:19 AM | #50 | |
Evangelist
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
|
|
Advert | |
|
08-24-2024, 08:14 AM | #51 |
Connoisseur
Posts: 69
Karma: 10
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
|
I checked my usual css and found that I had to do the following to stop the footnotes from showing up as light grey:
Code:
a { font-style:normal; font-weight:normal; text-decoration:none; colour:inherit; -webkit-text-fill-color:inherit; } |
08-24-2024, 12:28 PM | #52 | |
Bibliophagist
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
08-27-2024, 06:55 AM | #53 | |
Bookish
Posts: 970
Karma: 1807784
Join Date: Jun 2011
Device: PC, t1, t2, t3, aura 2 v1, clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Quote:
Code:
a { color: blue; } |
|
08-27-2024, 07:17 PM | #54 |
Evangelist
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Another oddity. The following renders centered as epub in Calibre's viewer, but as left aligned as kepub on my Kobo:
css: Code:
p.center { text-align: center; text-indent: 0%; margin-top: 5%; } Code:
<p class="center"><b>LOREM</b><br/> <b>IPSUM</b><br/> <b>DOLOR?</b></p> Code:
h1 { font-size: medium; text-align: center; text-indent: 0%; margin-top: 10%; font-weight: bold; } FWIW, I've had similar issues in other books. To be clear, these are commercial books from large publishers that I'm trying to clean up. Last edited by foosion; 08-27-2024 at 07:21 PM. |
08-27-2024, 07:25 PM | #55 |
Grand Sorcerer
Posts: 11,565
Karma: 230505502
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Do you have justification set to left in the device settings? It must be off, to display any centered images/headings/text correctly.
|
08-27-2024, 07:38 PM | #56 |
Evangelist
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
|
08-27-2024, 07:47 PM | #57 |
Evangelist
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Aha! I copied the p.center CSS to one labeled center, then did <center> in text rather than <p.center>. That worked to center the text.
|
08-27-2024, 07:50 PM | #58 |
Grand Sorcerer
Posts: 11,565
Karma: 230505502
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Hmm. Not so long ago, everything was shoved to the left when the justification was set to left. Maybe something has changed with the recent firmware updates. Anyway, it's still best to have justification OFF and set it in the book css instead.
|
08-27-2024, 08:18 PM | #59 |
Evangelist
Posts: 451
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
I have a major dislike for fully justified text, so would rather leave my Kobo on left justification, now that I've figured out how to fix the center problem. Posting, seeing a response and thinking about it definitely helped. Thanks!
|
08-27-2024, 09:01 PM | #60 |
Grand Sorcerer
Posts: 11,565
Karma: 230505502
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
You could just as easily put the left-align in the body text of the individual books and leave justifcation off on your Kobo. But whatever floats your boat, I guess.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
.dat in miscellaneous | ottischwenk | Editor | 1 | 01-06-2024 07:45 PM |
Accessories Best display graphics tablet for photo editing? | fanhun | enTourage eDGe | 0 | 06-05-2018 06:15 AM |
File gets moved to Miscellaneous | MerlinMama | Editor | 13 | 01-14-2017 10:19 PM |
Preferences Miscellaneous Tab | adun | EPUBReader | 2 | 07-28-2010 07:06 AM |
Miscellaneous questions ? | bugsbunny14 | iRex | 5 | 09-17-2006 12:40 PM |