|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#61 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,728
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
The line-height: 1.2em is for .kf8 not for KFX.
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#62 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,619
Karma: 145864263
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I thought that KF8 ignores line-height if it's not large enough. I'm not sure though.
Quote:
Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#63 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,728
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#64 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,619
Karma: 145864263
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Personally, I don't like 1.2em line height on a Reader. KFX forcing the line height to be at least 1.2em is the reason I dislike it. It spoils ChareInk6SP (my font of choice). Last edited by JSWolf; 06-26-2025 at 05:30 PM. |
|
![]() |
![]() |
![]() |
#65 | |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
@supports seems to work in ADE 4.5 when using epub3. 'Calc()' seems to work as well. The problem here is 'float'. It makes all the difference. Removing it will make your file work fine in ADE and Books. Maybe it takes some additional settings to make 'float' work as intended? |
|
![]() |
![]() |
Advert | |
|
![]() |
#66 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,728
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Do the try and write:
Code:
@supports(display: flex) { p { background: yellow; } } Quote:
Quote:
EDIT: "calc()" works under ADE 4.5; @supports it doesn't. Last edited by RbnJrg; Yesterday at 05:36 PM. |
||
![]() |
![]() |
![]() |
#67 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,728
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
In my tests, even this version that is not for ADE, works fine in ADE 4.5. Watch the following screenshots:
With a bigger font-size: And with a biggest font-size: As you can see, the image floats perfectly (no blank spaces; I added a green background so the block can be watched easier). If you have issues to get the same output, then you have something wrong. Last edited by RbnJrg; Yesterday at 06:46 PM. |
![]() |
![]() |
![]() |
#68 | ||
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
Code:
@supports (display: flex) { hr {width: calc(100% - 14em)} } Quote:
For ADE and Books I just found a way to make your epub work with float: Don't set the margin to 0. It needs to be bigger (or not set at all). The left and right margins should be set to auto to keep things centered. Works fine in ADE, Books, Thorium and Calibre viewer ![]() |
||
![]() |
![]() |
![]() |
#69 | |
Connoisseur
![]() Posts: 81
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
And ADE has hardly any settings to change, just the text size and the size of the window. There's nothing I have done that could have caused this. Maybe ADE for MacOS is different from ADE for Windows? I've attached screenshots of the unchanged file and the file with modified margin. It behaves much better, but apparently it's not a perfect fix. Sometimes the layout will still be messed up... but never as badly as with zero margin. Last edited by Falkor; Today at 04:41 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Epub vs Standard Epub | JudahsShadow | Library Management | 3 | 05-01-2023 01:55 PM |
Linux ePub reader app that best fullfills the ePUB standard | celiapgt | Reading and Management | 12 | 04-19-2022 12:42 AM |
Help revise the Epub standard | Nate the great | General Discussions | 8 | 04-18-2010 11:29 AM |
Standard Reader for Epub | bhuvana786 | ePub | 6 | 08-21-2009 11:00 AM |