![]() |
#61 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 428
Karma: 65460
Join Date: Jun 2011
Device: Kindle
|
Quote:
If I duplicate the page with your Scaramouche image (making it a two-file epub instead of a one-file epub), the second image gets squished when the viewing window is narrowed. What a relief... I was starting to feel like a crazy person. |
|
![]() |
![]() |
![]() |
#62 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,436
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#63 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
PS: Please, tell me if there are differences between what Kobo device shows and what you see in Calibre, Sigil's plugins or Thorium (or Kobo for Android if you want to install the app in your smartphone). No matter the font size you set, the layout mustn't break. Last edited by RbnJrg; 06-16-2025 at 08:15 PM. |
|
![]() |
![]() |
![]() |
#64 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,436
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Attached find screen shots
Changing font size causes no issues with image placement (apart from the issue with the text with imnage wrapped around it). Last edited by PeterT; 06-16-2025 at 09:00 PM. |
![]() |
![]() |
![]() |
#65 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
As you can see, no blank space is created by images, even by that one with L-form. Increasing or decreasing the text size by the user does not affect the design; for example, the first three pages with a font-size of 150%: Last edited by RbnJrg; 06-16-2025 at 10:04 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,436
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
One final data point for which I'll try for images tomorrow. Adding the book to the Kobo Android app does result in the text being wrapped correctly in the L shaped image.
It would be fascinating to see this test done on a Tolino device. |
![]() |
![]() |
![]() |
#67 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,590
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 06-17-2025 at 10:21 AM. |
|
![]() |
![]() |
![]() |
#68 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Except for ADE 4.x, all ereaders I know are based on Readium/Webkit rendering engine. Of course, physical devices are a different matter. But it wouldn't be difficult for the latter to incorporate one of the latest versions of WebKit as their rendering engine. Take Kobo for example; on Android and iOS, they have a version of WebKit that supports everything (one of the best I've seen); why don't they include it on their physical devices?
|
![]() |
![]() |
![]() |
#69 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,525
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Also note that webkit css is not limited to only being supported by webkit rendering engines. WebEngine, for instance, likes it just fine. I'd be surprised if most modern browsers and rendering engines didn't as well.
Last edited by DiapDealer; 06-17-2025 at 10:50 AM. |
![]() |
![]() |
![]() |
#70 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,590
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#71 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,704
Karma: 5703586
Join Date: Nov 2009
Device: many
|
FWIW, On iOS they are required to use Apple's built-in Webkit so any iOS ereaders can access it without maintenance costs or software size increase. I assume for Android it would be a similar situation with a Chrome/blink based engine built-in.
Last edited by KevinH; 06-17-2025 at 11:33 AM. |
![]() |
![]() |
![]() |
#72 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Readium Web: Uses the capabilities of the web browser it's running in. If your browser uses WebKit (like Safari), then Readium Web will take advantage of that. Readium Mobile and Desktop: These native app toolkits can still use webview components, which in turn can be based on WebKit (especially on iOS/macOS) or on its derivatives/alternatives (such as WebView on Android using Blink/Chromium, or Electron on desktop using Chromium/Blink). AFAIK, all ereaders based on Readium support webkit properties. More than that, if you want to view text in color within Calibre Viewer then you need employ the property "-webkit-text-fill-color"; without that property, no colors in Calibre Viewer. So see if the webkit properties are not important. |
|
![]() |
![]() |
![]() |
#73 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,590
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Can you make that Alice sample without using any Webkit and just ePub3 code? |
|
![]() |
![]() |
![]() |
#74 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,590
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
p { color: blue; margin-top: 0; margin-bottom: 0; widows: 1; orphans: 1; text-indent: 1.2em; } |
|
![]() |
![]() |
![]() |
#75 | |
Connoisseur
![]() Posts: 78
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
|
Quote:
![]() Problems may occur if different renderers interpret the same settings differently or if more than one property has to be used to do the same thing in different renderers. Some renderers may support more more than one of the properties and they may interfer with each other. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CSS Styling based on class/existing styling | 1ily | Calibre | 8 | 03-17-2025 06:37 AM |
Incorrect styling with specific CSS | quiris | Marvin | 9 | 07-04-2016 01:04 PM |
Missing CSS properties | roger64 | KOReader | 0 | 06-01-2016 06:39 AM |
inspect image properties /replace image | cybmole | Sigil | 6 | 02-05-2013 12:46 PM |
Unsetting properties in CSS | Jellby | ePub | 2 | 06-03-2009 04:29 AM |