07-10-2013, 07:24 PM | #46 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
In any case, the KoboRoot.tgz from the mark4 package can be used on any of the devices with no problems. For the beta program, Kobo usually supply just the KoboRoot.tgz to be loaded on all devices. I load the same one on both my Glo and my N905 Touch. |
|
07-11-2013, 04:24 AM | #47 | ||
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Quote:
|
||
07-11-2013, 04:33 AM | #48 |
Addict
Posts: 200
Karma: 42238
Join Date: Oct 2012
Device: Kobo: Glo, Aura , Aura H2O, Aura ONE, Forma, Elipsa
|
One interesting codechange from 2.5.1 to 2.6.1
Code:
#2.5.1 [deviceCodeName="dragon"] { qproperty-visible: false; }topVerticalSpacer* { qproperty-visible: false; } [deviceCodeName="dragon"] { qproperty-visible: true; }* { font-size: 16px; font-family: Avenir; margin-top: 7px; } #2.6.1 [deviceCodeName="dragon"] { qproperty-visible: false; }topVerticalSpacer* { font-size: 16px; font-family: Avenir; margin-top: 7px; } |
07-11-2013, 06:37 AM | #49 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I take that you would like to change qproperty-visible for Aura from true to false. But I am not really sure, what you want to do.
If it is this, what you want to do, I see two possibilities: 1) You replace "true" by "false". Since "false" has one byte more than "true", you have to remove one byte. You can remove, e.g. the end of line byte (HEX0A) after "false;", or the tab (HEX09) before "qproperty-visible". 2) You change [deviceCodeName="dragon"] to something like [deviceCodeName="Tragon"]. As a result the value false from "* {qproperty-visible: false;}" will be applied to the Aura too. Before you tar and compress, check that the file size has not changed. Last edited by tshering; 07-11-2013 at 06:56 AM. |
07-11-2013, 07:20 AM | #50 |
Connoisseur
Posts: 77
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
|
So.. No being lazy.. But could you give me a tip what and where to look? I'm using Glo.
And before that - what is the font family used in top and bottom header, in menus, library, synopsis..? Last edited by mietek81; 07-11-2013 at 07:56 AM. |
07-11-2013, 08:52 AM | #51 | |
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Quote:
Just search for the code examples in this thread and then mod the specific device code, like deviceCodeName="pixie" for Kobo Mini. Kobo Mini: Code Name: pixie Kobo Touch: Code Name: trilogy Kobo Glo: Code Name: kraken Kobo AuraHD Code Name: dragon |
|
07-11-2013, 09:18 AM | #52 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
mietek81,
If you want to change the values of individual menu entries, I give you the Library Settings Menu (to be opend with the tools button, right hand of the bottom of the Library screen) as an example: Search for "LibrarySettingsMenuView". You will find Code:
LibrarySettingsMenuView * { font-size: 16px; font-family: Avenir; border-bottom: 1px solid black; } A little below you find Code:
viewTypeLbl * { font-size: 16px; font-family: Avenir; margin-right: 30px; } And so you go on and on. I copied here the general definitions, since they are always at the beginning. The specific style blocks for Glo are marked by the selector [deviceCodeName="kraken"], as Anak said. |
07-11-2013, 09:53 AM | #53 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
As to whether the Touch is missing a change to the header size, the examination of the libraries is showing that there is no separate code/settings for the Touch and Glo for the heading, so it didn't change. I didn't see Anak asking if the Touch showed something different with 2.6.1b, and I can't find it now. If I had seen it, I would have told him there was no difference as I did load the KoboRoot.tgz from 2.6.1b onto my N905 Touch. I wanted to see if there were any changes. That doesn't prove the N905C Touch isn't different, but I would be surprised if it was. Of course, all this might change with the next firmware. We might be back to the 2.5.1 and older heading setup for epubs. |
|
07-11-2013, 03:31 PM | #54 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
David,
it seems we are talking past each other. I was trying to convey with that libnickel.so.1.0.0 and other files of the most recent update package for mark 3 and the respective files of the most recent update package for mark 4 are different, but that one specific point, namely the Touch's size of the header has not changed. You, at the other hand, are repeating that the KoboRoot.tgz of the mark 3 and 4 upadate packages are generally almost identical. Shall we continue? |
07-11-2013, 09:37 PM | #55 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@tshering: My original point was that because of the way Kobo release the firmware packages, if they had released a 2.6.1b for the mark3 Touch, the files that are being looked at would have been the same as those in the mark4 2.6.1b package. You had made a statement about not being useful to compare the mark3 and mark4 firmware. I was (clumsily) agreeing with you as I knew the files in question were identical. Or would be if we had both packages for 2.6.1b.
As to the header size, in my original post, I expressed the opinion that the same value was being used for both the Glo and the Touch, and as it is probably in pixels, would be appear as different sizes on the two devices. Thinking about it now, that isn't enough. But, I can't think of a good name to search for the value. |
07-12-2013, 06:32 AM | #56 | |
Connoisseur
Posts: 77
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
|
Quote:
Or maybe all of that concerns only those logic true/false values? |
|
07-12-2013, 07:53 AM | #57 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
mietek81,
Inside of embedded html and css code you can change whatever you like, provided the number of bytes remain the same. Easiest way to keep the number of bytes the same is adding or removing unnecessary spaces, line breaks, tabulators. I give you an example of what I did. Original Code:
<body style="font-size: 25px; font-family: sans-serif; "> Code:
<body style="font: 28px 'A-OTF Gothic MB101 Pr6N'; "> Last edited by tshering; 07-12-2013 at 07:55 AM. |
07-23-2013, 05:37 PM | #58 |
Fanatic
Posts: 598
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
|
Just updated to 2.8.1. from 2.5.1. on a old Touch (mark 3).
The top margin is the same as 2.5.1. (a lot smaller then fw 2.5.2 and 2.6.x) Unfortunately, Kobo seems to have reworked libnickel.so.1.0.0 too. I couldn't adjust the huge bottom bar. That entry seems to be gone? Or moved to another file. Keep me posted if you find a solution to mod the bottom bar. |
07-24-2013, 05:34 AM | #59 |
Addict
Posts: 200
Karma: 42238
Join Date: Oct 2012
Device: Kobo: Glo, Aura , Aura H2O, Aura ONE, Forma, Elipsa
|
sigh two steps forward one step back...
looks like the css entries are now coded Last edited by ewphoenix123; 07-24-2013 at 05:42 AM. |
07-24-2013, 05:53 AM | #60 | |
Connoisseur
Posts: 77
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
|
Quote:
But still I can't find this spot to change font in Synopsis. It must be for sure a sans-serif font, yet changing all "sans-serif" into specific font didn't helped. And I already changed all "Avenir" occurrences into another font. Can anyone try and locate this setting? Or maybe it depends on the way I'm adding synopsis to epub in Calibre? Can I define and use there any font? Is it stored in epub or only in database? Ou.. It's now coded? So all this digging for nothing.. Well, in that case, please Kobo change the font you are using in menus to something that has more diacritics Last edited by mietek81; 07-24-2013 at 05:57 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fullscreen PDF in M92 | grrr | Onyx Boox | 10 | 03-22-2013 12:14 PM |
Kindle DX - Fullscreen? | oldbook | Amazon Kindle | 3 | 12-25-2012 08:08 PM |
K2 Fullscreen Reading | Ram27 | Amazon Kindle | 0 | 07-08-2012 12:06 AM |
How I can fullscreen without any toolbar and buttons? | ElenaLauder | Calibre | 2 | 12-25-2011 12:18 AM |
DR800 Pageflow/fullscreen with UI | yacoob | iRex Developer's Corner | 3 | 07-10-2010 03:51 AM |