![]() |
border-radius with RMSDK?
I am trying something very simple, or so I thought, having a div with a rounded corner in ePub. My HTML works flawless with the beta browser on my Kobo HD, but opening the epub will give me a square box.
Is there any way to get this to work? Code:
<html> |
I think this thread does exactly what I want. But I can't get it to render on the Kobo HD.
|
It won't work on most physical ereaders. I'm actually amazed the plain box with no radius on the corner seems to work so well, including internal spacing and line width, on physical ereaders.
Also "Float" is a dubious property for many ereaders. |
Quote:
Kobo is not using the latest RMSDK so it's no wonder curves do not work. I don't know if curves will work with the current RMSDK but maybe. |
I basically have three options.
1. fix my SVG example that uses text, it blows up in Kobo's RMSDK. 2. find a way to scale a pure-SVG (text becomes paths) with the current line height. I dislike this solution, because it requires magic to become accessible again. It is a solution that works though. 3. accept square boxes, and hope for a better future. (at least on Kobo, on Kindle it does not work at all) |
Right angle corner boxes work on my Kindles. Conversion from epub2 and import from docx saved from LO Writer. No edit of CSS or HTML. I enabled lines on all four sides of a paragraph style. Line width recognised too.
|
Quote:
|
Quote:
|
Quote:
What is the result of the code below? Code:
<html> |
Quote:
|
Quote:
|
2 Attachment(s)
Quote:
|
Quote:
Out of curiosity how did you make the screenshots? |
Kobo uses two different reading engines; one for Epub and a second for Kobo Epub. The choice of engine is based on the file name. Files ending in .epub are processed by a RMSDK engine, while those ending in .kepub.epub are processed by an Access NetFront based engine.
Some info on the Kobo format can be found at https://github.com/kobolabs/epub-spec Screenshots can be enabled via an entry in the kobo.conf file and then taken with the power switch. The simplest way to manage the required change to the conf file is to use nickle Menu. Sent from my Pixel 4a using Tapatalk |
And the screenshots are in colour if the content is colour, so not the black, 14 greys and white of the actual display even for monochrome content.
You'd want a sleep cover if using the power switch for screenshots. But does the kobo.conf setting work for all FW or models? |
| All times are GMT -4. The time now is 05:10 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.