Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-06-2021, 09:09 AM   #16
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,536
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by Quoth View Post
.But does the kobo.conf setting work for all FW or models?
As far as I know yes it does.

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Old 09-07-2021, 05:30 AM   #17
MicroDrie
Connoisseur
MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.MicroDrie ought to be getting tired of karma fortunes by now.
 
Posts: 58
Karma: 438844
Join Date: Aug 2019
Device: PC, Linux Mint, Tablet, and Telephone
Quote:
Originally Posted by PeterT View Post
Some info on the Kobo format can be found at https://github.com/kobolabs/epub-spec
While I don't own a Kobo device myself, I would like to thank you for sharing this link to the kobolabs with us. The kobolabs contains a lot of useful information that can be used as a kind of best practice to prevent problems.
MicroDrie is offline   Reply With Quote
Old 09-07-2021, 03:42 PM   #18
Skinkie
Member
Skinkie began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2013
Device: Kobo Aura HD
Quote:
Originally Posted by PeterT View Post
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.
Thanks for this insight. On the .kepub.epub version of Texties the rendering has rounded boxes. To make matters worse, my own version with left and right balloons does not work in the NetFront version, everything is left aligned, while the left-right appearance works with RMSDK (without rounded corners).

I have debugged the Netfront issue which boiled down to another already reported bug. Disabling justify, resolved the issue. Gives rounded corners and left-right behavior.

Last edited by Skinkie; 09-07-2021 at 04:39 PM. Reason: bug in netfront
Skinkie is offline   Reply With Quote
Old 09-07-2021, 08:59 PM   #19
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Skinkie View Post
Thanks for this insight. On the .kepub.epub version of Texties the rendering has rounded boxes. To make matters worse, my own version with left and right balloons does not work in the NetFront version, everything is left aligned, while the left-right appearance works with RMSDK (without rounded corners).

I have debugged the Netfront issue which boiled down to another already reported bug. Disabling justify, resolved the issue. Gives rounded corners and left-right behavior.
I don't consider that to be a bug. It is a design decision that some disagree with. The question comes down to what is overriden by the justification settings in the reader. How do you know if a class is the "normal" text class or not? I have plenty of books whose code have justify for all classes used for text paragraphs. Many people would consider not overriding these would be a bug.
davidfor is offline   Reply With Quote
Old 09-08-2021, 06:36 AM   #20
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,796
Karma: 146391129
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 Skinkie View Post
Thanks for this insight. On the .kepub.epub version of Texties the rendering has rounded boxes. To make matters worse, my own version with left and right balloons does not work in the NetFront version, everything is left aligned, while the left-right appearance works with RMSDK (without rounded corners).

I have debugged the Netfront issue which boiled down to another already reported bug. Disabling justify, resolved the issue. Gives rounded corners and left-right behavior.
If you justify the text in just body CSS, can you set the justification to left in Aa and have center and right justifications work?
JSWolf is offline   Reply With Quote
Old 09-08-2021, 07:32 AM   #21
Skinkie
Member
Skinkie began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2013
Device: Kobo Aura HD
Quote:
Originally Posted by JSWolf View Post
If you justify the text in just body CSS, can you set the justification to left in Aa and have center and right justifications work?
This is my test code. There are several problems. Access Netfront does not respect the margins configuration, neither does it respect the text-align: right when the justification is overriden. Having the 'time' on the right side of the bubble, I consider broken because it does not meet either of the above constraints.

If you have a suggestion how to solve it is a different way I would like to know more about it. I would love to generate a single document that would gracefully work on the other readers as well, without being very specific for any specific reader.
Code:
<div style="display: inline-block; -webkit-border-radius: 2em; border-radius: 2em; margin: 0; background: #D9D9D9; padding: 1em 1.5em; color: #000; font-size: 1em; font-family: sans; text-align: left; max-width: 60%;"> <small class="scriptsize">+31614110231<br/></small> Volgende keer kom je er niet zo goed vanaf. John.<br /><div style="margin: auto auto 0 auto; text-align: right;"><small class="scriptsize">18:49</small></div></div>

<div style="margin: 10px 0 10px auto; text-align: right;"><div style="-webkit-border-radius: 2em; border-radius: 2em; background-color: #666666; color: #ffffff; padding: 1em 1.5em; display: inline-block; font-size: 1em; font-family: sans; max-width: 60%;"> Ik mis je. Gaat alles goed? x<div style="margin: auto auto 0 auto; text-align: right; color: #FFFFFF;"><small class="scriptsize">19:07</small></div></div></div>
Skinkie is offline   Reply With Quote
Old 09-08-2021, 09:29 AM   #22
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,796
Karma: 146391129
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 Skinkie View Post
This is my test code. There are several problems. Access Netfront does not respect the margins configuration, neither does it respect the text-align: right when the justification is overriden. Having the 'time' on the right side of the bubble, I consider broken because it does not meet either of the above constraints.

If you have a suggestion how to solve it is a different way I would like to know more about it. I would love to generate a single document that would gracefully work on the other readers as well, without being very specific for any specific reader.
Code:
<div style="display: inline-block; -webkit-border-radius: 2em; border-radius: 2em; margin: 0; background: #D9D9D9; padding: 1em 1.5em; color: #000; font-size: 1em; font-family: sans; text-align: left; max-width: 60%;"> <small class="scriptsize">+31614110231<br/></small> Volgende keer kom je er niet zo goed vanaf. John.<br /><div style="margin: auto auto 0 auto; text-align: right;"><small class="scriptsize">18:49</small></div></div>

<div style="margin: 10px 0 10px auto; text-align: right;"><div style="-webkit-border-radius: 2em; border-radius: 2em; background-color: #666666; color: #ffffff; padding: 1em 1.5em; display: inline-block; font-size: 1em; font-family: sans; max-width: 60%;"> Ik mis je. Gaat alles goed? x<div style="margin: auto auto 0 auto; text-align: right; color: #FFFFFF;"><small class="scriptsize">19:07</small></div></div></div>
You code should not include anything to do with webkit. Can you do what you want without webkit code? Webkit code is irrelevant for ePub.

As for justification, I just make sure the CSS specifies full as that's what I want. No need to override.
JSWolf is offline   Reply With Quote
Old 09-08-2021, 09:34 AM   #23
Skinkie
Member
Skinkie began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2013
Device: Kobo Aura HD
Quote:
Originally Posted by JSWolf View Post
You code should not include anything to do with webkit. Can you do what you want without webkit code? Webkit code is irrelevant for ePub.
I'll check if all the renderers work without it.

Quote:
As for justification, I just make sure the CSS specifies full as that's what I want. No need to override.
Again: how would I be to "float right" the timestamp? And "float right" the box if neither text-justify or margin work?
Skinkie is offline   Reply With Quote
Old 09-08-2021, 09:41 AM   #24
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,796
Karma: 146391129
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 Skinkie View Post
I'll check if all the renderers work without it.


Again: how would I be to "float right" the timestamp? And "float right" the box if neither text-justify or margin work?
text-justify does work. Just stop using the justification override. In body, put in the justification you want.
Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
Float should then work. I've never had a problem with margins. Maybe it's related to the justification override. I cannot say for sure.
JSWolf is offline   Reply With Quote
Old 09-08-2021, 02:20 PM   #25
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,933
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by JSWolf View Post
Kobo is not using the latest RMSDK...
Just wondering, what version RMSDK is it using?
The latest B&N Glow3 release has RMSDK 9.3.1.433
(I don't know if versions correlate across manufacturers.)
Renate is offline   Reply With Quote
Old 09-08-2021, 02:58 PM   #26
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,796
Karma: 146391129
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 Renate View Post
Just wondering, what version RMSDK is it using?
The latest B&N Glow3 release has RMSDK 9.3.1.433
(I don't know if versions correlate across manufacturers.)
I believe that Kobo is using RMSDK 10.x. That would be the equivalent to some version ADE 3. I would like Kobo to someday update that to the latest RMSDK.
JSWolf is offline   Reply With Quote
Old 09-08-2021, 04:46 PM   #27
Semwize
Guru
Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.Semwize ought to be getting tired of karma fortunes by now.
 
Posts: 914
Karma: 275656
Join Date: Jun 2016
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
I would like Kobo to someday update that to the latest RMSDK.
Only border-radius will not work there either, I think.
Semwize is offline   Reply With Quote
Old 09-08-2021, 04:55 PM   #28
Skinkie
Member
Skinkie began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2013
Device: Kobo Aura HD
Quote:
Originally Posted by JSWolf View Post
text-justify does work. Just stop using the justification override. In body, put in the justification you want.
I think we are talking past each other. If a user is explicitly changing justification settings, the rendering goes wrong. Obviously if they don't the settings are respected. What can one do preventing the timestamp to be overriden?
Skinkie is offline   Reply With Quote
Old 09-08-2021, 05:25 PM   #29
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,933
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Mmm, I'm not sure whether we're discussing float or border-radius, but...
Attached Thumbnails
Click image for larger version

Name:	radius.png
Views:	129
Size:	51.9 KB
ID:	189166  

Last edited by Renate; 09-08-2021 at 05:31 PM.
Renate is offline   Reply With Quote
Old 09-08-2021, 06:55 PM   #30
Skinkie
Member
Skinkie began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Aug 2013
Device: Kobo Aura HD
Quote:
Originally Posted by Renate View Post
Mmm, I'm not sure whether we're discussing float or border-radius, but...
The border-radius issue is obviously the most pressing. But getting the content to move around something not to overlook. I find it interesting that your reader has the ability to show it in RMSDK. While on my Kobo Aura HD it only works on the .kepub.epub renderer.
Skinkie is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Border-radius in pdf not working kghugo Calibre 1 07-10-2019 02:35 PM
ADE 3.0 and RMSDK 10 released Doitsu ePub 14 01-24-2014 11:06 AM
RMSDK Santanu ePub 4 05-07-2012 02:02 AM
RMSDK Santanu Android Developer's Corner 6 03-17-2012 12:27 AM
Renderer resolution with RMSDK Mark.Vasconcelos Android Developer's Corner 1 10-05-2011 04:38 AM


All times are GMT -4. The time now is 06:30 PM.


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