![]() |
#61 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.8.1!
Mainly bugfixes, among which the UTF-8 issue discussed previously ![]() The OT/TTF renderer now also honors AA when using bgless/fgless/overlay rendering mode. And because everything is terrible, it also explicitly blacklists Kobo system fonts, because we can't use them, as they're obfuscated :/. It also fixes a regression in the fixed-cell font rendering, which happened to choose a smaller scaling multiplier than it should have on devices with a non-HD screen... Last edited by NiLuJe; 11-05-2018 at 09:52 PM. |
![]() |
![]() |
![]() |
#62 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.9.0!
Coming hot on the heels of 1.8.x, because it fixes OT/TTF rendering on 16bpp modesets... (it never actually worked, my bad :/). It should also hopefully handle invalid font data better (i.e., fail gracefully instead of crashing). The CLI tool will also try harder to validate user input, which should hopefully help make sense of things when you pass wrong/invalid arguments, or getopt does weird things to the arguments order... (As an example, it will now catch overflows: for instance, if you pass a value >255 to the -S flag, it will tell you that you shouldn't, and that the error came from the value passed to the S flag in particular. It should also properly identify suboptions, f.g., showing it as t:size for the OT counterpart to S). Last edited by NiLuJe; 11-05-2018 at 10:41 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#64 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
a wild problem appeared (and I'm completely unable to reproduce it so this is just for the record)
for some reason fbink caused the display to rotate 180° today on my H2O, everything appeared upside down (but touch area did not rotate along with it) happened as I left a book and went back to the homescreen, not sure if nickel does anything to rotation when that happens, or anything else that could race with fbink. |
![]() |
![]() |
![]() |
#65 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,801
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
I should say I'm still on whatever is the official firmware for the original H2O, so whatever forma does for rotation, I don't have. Also the only way to go back to normal was to reboot the device. (Guess I could've rotated it with telnet also but... I didn't try, sorry.)
After reboot I tried to reproduce it for a while (by spamming fbink calls through telnet among other things) but to no avail. Well, it's fine if it only happens one in a million... |
![]() |
![]() |
![]() |
#67 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@frostschutz: Huh. That's mighty strange
![]() It never ever touches hardware rotation, and never even does any "PUT" fb ioctls, so I'm not quite sure how a "GET" could potentially race with anything. If it did, I'd expect fbink to get messed up, not Nickel ;p. Not familiar enough with the intricacies of ioctl handling in the Linux fb/epdc driver code to say if there could be weird-ass side-effects like that during an ioctl race ![]() Last edited by NiLuJe; 11-19-2018 at 11:22 AM. |
![]() |
![]() |
![]() |
#68 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Hm, weirder still: I can confirm what @frostschutz just said: FW 5.9.x doesn't do any FBIO* ioctls when switching to/from the Homescreen on the H2O.
Which would imply that if ioctl race there was, it'd have been between concurrent instances of fbink itself, which would: one, take some effort to actually achieve (and, err, I would just say try to avoid doing it? ![]() Gremlins? ;p |
![]() |
![]() |
![]() |
#69 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The fact that it's a 180° rotation is also interesting: the H2O panel is mounted upside down (unlike most other Kobo devices, except the Aura HD and possibly the H2O²), so Nickel actually runs in a specific rotation designed to handle that, which doesn't match that of other devices (rotate 1 vs. rotate 3 for others).
This is interesting because the only other source of rotation shenanigans is the boot process, and pickel, and both are Landscape, so the other two rotations lefts (0 & 2). Which means it looks like its definitely nickel forgetting itself and thinking it's running on something that's not an H2O (for some reason). Or something. ![]() NOTE: I say "upside down" relative to other Kobos. NTX mounts panels in a weird-ass native orientation that is definitely NOT Upright Portrait. Last edited by NiLuJe; 11-19-2018 at 12:13 PM. |
![]() |
![]() |
![]() |
#70 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
No, all the screens support landscape mode. If you turn on the mode via the config file, everything is rotated. The settings work correctly and this explains some changes I had noticed recently. The home screen and library lists all work, but are ugly and need some redesign to take advantage of landscape mode.
|
![]() |
![]() |
![]() |
#71 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,801
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#72 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Of potential interest to people with a strong aversion to C, or for whatever reason (prototyping?), I've whipped up basic FFI bindings for LuaJIT & Python
![]() The Python bindings are bundled in my usual bag of tricks ![]() The full list of available bindings is in the README. Right now, that's @sherman's Go bindings and those two ![]() |
![]() |
![]() |
![]() |
#73 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2018
Device: Kobo Glo & Kobo Glo HD
|
Hi,
I use your program that I find practical ![]() However, I would like to write a "sting" that starts with the sign "-" how to do it? For example: fbink "-25" Fbink takes my "string" for an argument. Is there no escape character or other trick? Thank you in advance. PS. I write very badly in English, sorry. |
![]() |
![]() |
![]() |
#74 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,501
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@bobotrax: fbink -mM -- "-25"
Anything that comes *after* the double dash will bypass option parsing ![]() That's a standard GNU behavior, FYI ![]() |
![]() |
![]() |
![]() |
#75 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2018
Device: Kobo Glo & Kobo Glo HD
|
Great, thank you.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Small tool for filling book library in Kobo Aura | Paxerus | Kobo Developer's Corner | 2 | 12-31-2013 07:05 PM |
Small print | Broadback | Conversion | 12 | 12-12-2011 02:31 PM |
Small Tool to change book order (PRS-x50) | goaspy | Sony Reader | 113 | 10-14-2011 03:28 PM |
small print | breezeman | Introduce Yourself | 13 | 07-03-2011 09:02 AM |