Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-16-2025, 02:09 PM   #61
ElMiko
Evangelist
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 428
Karma: 65460
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by RbnJrg View Post
In Calibre Viewer, within the Preferences, under page structure, you may have the option to maintain cover aspect ratio enabled. And under Miscellaneous, you may have enabled the option to remember the window position and size (while I don't).
THAT was it. Calibre was interpreting your Scaramouche image as the cover, and then preserving the aspect ratio. Whereas my Bosch image was not considered the cover image and therefore not having its aspect ratio perserved.

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.
ElMiko is offline   Reply With Quote
Old 06-16-2025, 05:39 PM   #62
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,436
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by RbnJrg View Post
Really? Please, open the sample I attach (an epub3) in Kobo for Android and see what it looks like; then open the same file on one of your Kobo devices and tell me if you find any differences in what you see. It would be a really nice surprise if your Kobo device didn't add any extra blank space because of the pictures, and also avoided page breaks where they weren't needed.
I've got this epub now on my Libra Colour as both an ePub 2 and ePub 3. What screen shots would you like to see? (The ePub 3 was NOT converted by Sigil or calibre; just renamed to a .kepub.epub file). (The .epub opens in the RMSDK based engine; the .kepub.epub in the other engine).
PeterT is offline   Reply With Quote
Advert
Old 06-16-2025, 08:01 PM   #63
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by PeterT View Post
I've got this epub now on my Libra Colour as both an ePub 2 and ePub 3. What screen shots would you like to see? (The ePub 3 was NOT converted by Sigil or calibre; just renamed to a .kepub.epub file). (The .epub opens in the RMSDK based engine; the .kepub.epub in the other engine).
In principle, you should not see any white space generated by the images but open the sample in Calibre Viewer or in any of the Sigil's plugin (Readium, Bibi Reader, JSReader) or in Thorium and you'll see how the epub must display images and text. The sample is an epub3 (it has everything from animations to jagged outline images) with no fallback code to epub2, so epub2 ereaders can't show properly the sample contain. The sample is intended to test the epub3 capabilities of Kobo devices (as I said in my previous post, in Kobo for Android the sample looks great).

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.
RbnJrg is offline   Reply With Quote
Old 06-16-2025, 08:54 PM   #64
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
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).
Attached Thumbnails
Click image for larger version

Name:	screen_001.png
Views:	13
Size:	115.9 KB
ID:	216283   Click image for larger version

Name:	screen_002.png
Views:	11
Size:	414.4 KB
ID:	216284   Click image for larger version

Name:	screen_003.png
Views:	12
Size:	388.4 KB
ID:	216285   Click image for larger version

Name:	screen_004.png
Views:	10
Size:	240.2 KB
ID:	216286   Click image for larger version

Name:	screen_005.png
Views:	10
Size:	174.0 KB
ID:	216287   Click image for larger version

Name:	screen_006.png
Views:	11
Size:	388.5 KB
ID:	216288   Click image for larger version

Name:	screen_007.png
Views:	10
Size:	38.2 KB
ID:	216289   Click image for larger version

Name:	screen_008.png
Views:	9
Size:	338.7 KB
ID:	216290   Click image for larger version

Name:	screen_009.png
Views:	10
Size:	360.6 KB
ID:	216291   Click image for larger version

Name:	screen_010.png
Views:	7
Size:	29.7 KB
ID:	216292  

Last edited by PeterT; 06-16-2025 at 09:00 PM.
PeterT is offline   Reply With Quote
Old 06-16-2025, 09:57 PM   #65
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by PeterT View Post
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).
Thank you very much! As I suspected, fragmentation occurs when the ePub is read on a Kobo device. Here's how it looks on an e-reader that honors CSS3 properties:

Click image for larger version

Name:	One1.jpg
Views:	10
Size:	175.2 KB
ID:	216293 Click image for larger version

Name:	One2.jpg
Views:	10
Size:	182.6 KB
ID:	216294 Click image for larger version

Name:	One3.jpg
Views:	9
Size:	192.9 KB
ID:	216295 Click image for larger version

Name:	One4.jpg
Views:	8
Size:	154.2 KB
ID:	216296

Click image for larger version

Name:	One5.jpg
Views:	12
Size:	199.3 KB
ID:	216297 Click image for larger version

Name:	One6.jpg
Views:	11
Size:	167.7 KB
ID:	216298 Click image for larger version

Name:	One7.jpg
Views:	12
Size:	185.6 KB
ID:	216299 Click image for larger version

Name:	One8.jpg
Views:	8
Size:	47.4 KB
ID:	216300

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%:

Click image for larger version

Name:	One9.jpg
Views:	10
Size:	155.0 KB
ID:	216301 Click image for larger version

Name:	One10.jpg
Views:	10
Size:	189.2 KB
ID:	216302 Click image for larger version

Name:	One11.jpg
Views:	8
Size:	182.0 KB
ID:	216303

Last edited by RbnJrg; 06-16-2025 at 10:04 PM.
RbnJrg is offline   Reply With Quote
Advert
Old 06-17-2025, 12:15 AM   #66
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
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.
PeterT is offline   Reply With Quote
Old 06-17-2025, 10:15 AM   #67
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by RbnJrg View Post
Thank you very much! As I suspected, fragmentation occurs when the ePub is read on a Kobo device. Here's how it looks on an e-reader that honors CSS3 properties:

Attachment 216293 Attachment 216294 Attachment 216295 Attachment 216296

Attachment 216297 Attachment 216298 Attachment 216299 Attachment 216300

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%:

Attachment 216301 Attachment 216302 Attachment 216303
The problem is that the Alice sample uses webkit code. Not every program that respects ePub3 uses webkit. Also, webkit is not part of the ePub3 specification. Can you do it without having anything to do with webkit and just ePub3 code?

Last edited by JSWolf; 06-17-2025 at 10:21 AM.
JSWolf is online now   Reply With Quote
Old 06-17-2025, 10:25 AM   #68
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
The problem is that the Alice sample uses webkit code. Not every program that respects ePub3 uses webkit. Can you do it without having anything to do with webkit and just ePub3 code?
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?
RbnJrg is offline   Reply With Quote
Old 06-17-2025, 10:47 AM   #69
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Old 06-17-2025, 10:59 AM   #70
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by RbnJrg View Post
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?
No idea why Kobo is not using the latest version of webkit. But since webkit is not part of the ePub3 spec, it should not actually be used to be ePub3 compliant.
JSWolf is online now   Reply With Quote
Old 06-17-2025, 11:12 AM   #71
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
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.
KevinH is offline   Reply With Quote
Old 06-17-2025, 11:34 AM   #72
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,720
Karma: 8700123
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
But since webkit is not part of the ePub3 spec, it should not actually be used to be ePub3 compliant.
I didn't understand that last statement of yours. As you know, Readium is an open source initiative whose primary goal is to facilitate the implementation of the EPUB 3 specification. Well, originally, the Readium Project (launched by the IDPF, now part of the W3C) was conceived with the idea of ​​building its EPUB 3 reference implementation on top of WebKit. Although the direct reliance on "WebKit" as a single entity has diversified over time, the idea of ​​using a web rendering engine to display EPUB content (which is essentially HTML and CSS) remains fundamental to Readium's functionality. So:

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.
RbnJrg is offline   Reply With Quote
Old 06-17-2025, 12:29 PM   #73
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by RbnJrg View Post
I didn't understand that last statement of yours. As you know, Readium is an open source initiative whose primary goal is to facilitate the implementation of the EPUB 3 specification. Well, originally, the Readium Project (launched by the IDPF, now part of the W3C) was conceived with the idea of ​​building its EPUB 3 reference implementation on top of WebKit. Although the direct reliance on "WebKit" as a single entity has diversified over time, the idea of ​​using a web rendering engine to display EPUB content (which is essentially HTML and CSS) remains fundamental to Readium's functionality. So:

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.
It doesn't actually matter what Readium does with Webkit. Webkit is not part of the ePub3 standard. So using anything Webkit is non-ePub3 compliant.

Can you make that Alice sample without using any Webkit and just ePub3 code?
JSWolf is online now   Reply With Quote
Old 06-17-2025, 12:36 PM   #74
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by RbnJrg View Post
I didn't understand that last statement of yours. As you know, Readium is an open source initiative whose primary goal is to facilitate the implementation of the EPUB 3 specification. Well, originally, the Readium Project (launched by the IDPF, now part of the W3C) was conceived with the idea of ​​building its EPUB 3 reference implementation on top of WebKit. Although the direct reliance on "WebKit" as a single entity has diversified over time, the idea of ​​using a web rendering engine to display EPUB content (which is essentially HTML and CSS) remains fundamental to Readium's functionality. So:

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.
Code:
p {
  color: blue;
  margin-top: 0;
  margin-bottom: 0;
  widows: 1;
  orphans: 1;
  text-indent: 1.2em;
}
That works in calibre's viewer and preview to show blue text.
JSWolf is online now   Reply With Quote
Old 06-17-2025, 01:09 PM   #75
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 78
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Quote:
Originally Posted by RbnJrg View Post
I didn't understand that last statement of yours. As you know, Readium is an open source initiative whose primary goal is to facilitate the implementation of the EPUB 3 specification. Well, originally, the Readium Project (launched by the IDPF, now part of the W3C) was conceived with the idea of ​​building its EPUB 3 reference implementation on top of WebKit. Although the direct reliance on "WebKit" as a single entity has diversified over time, the idea of ​​using a web rendering engine to display EPUB content (which is essentially HTML and CSS) remains fundamental to Readium's functionality. So:

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.
also, unsupported CSS properties must be ignored, so using a prefixed property shouldn't do any damage.

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.
Falkor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:12 AM.


MobileRead.com is a privately owned, operated and funded community.