![]() |
#46 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
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 09:59 PM. |
|
![]() |
![]() |
![]() |
#47 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,947
Karma: 168961900
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; } |
![]() |
![]() |
![]() |
#48 |
Connoisseur
![]() Posts: 93
Karma: 88
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).
|
![]() |
![]() |
![]() |
#49 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
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 |
|
![]() |
![]() |
![]() |
#50 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#51 |
Connoisseur
![]() Posts: 93
Karma: 88
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; } |
![]() |
![]() |
![]() |
#52 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,947
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#53 | |
Bookish
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,017
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
|
Quote:
Code:
a { color: blue; } |
|
![]() |
![]() |
![]() |
#54 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
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 06:21 PM. |
![]() |
![]() |
![]() |
#55 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,434
Karma: 238916691
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.
|
![]() |
![]() |
![]() |
#56 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
|
![]() |
![]() |
![]() |
#57 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
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.
|
![]() |
![]() |
![]() |
#58 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,434
Karma: 238916691
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.
|
![]() |
![]() |
![]() |
#59 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 479
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!
|
![]() |
![]() |
![]() |
#60 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,434
Karma: 238916691
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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
.dat in miscellaneous | ottischwenk | Editor | 1 | 01-06-2024 06:45 PM |
Accessories Best display graphics tablet for photo editing? | fanhun | enTourage eDGe | 0 | 06-05-2018 05:15 AM |
File gets moved to Miscellaneous | MerlinMama | Editor | 13 | 01-14-2017 09:19 PM |
Preferences Miscellaneous Tab | adun | EPUBReader | 2 | 07-28-2010 06:06 AM |
Miscellaneous questions ? | bugsbunny14 | iRex | 5 | 09-17-2006 11:40 AM |