|
|
#196 | ||
|
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,021
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
Quote:
Code:
[root@kindle us]# fbink -c '' [FBInk] Enabled Legacy einkfb Kindle quirks [FBInk] Clock tick frequency appears to be 100 Hz [FBInk] Screen density set to 167 dpi [FBInk] Variable fb info: 600x800, 4bpp @ rotation: 0 (Upright, 0°) [FBInk] Fontsize set to 16x16 (IBM base glyph size: 8x8) [FBInk] Line length: 37 cols, Page size: 50 rows [FBInk] Fixed fb info: ID is "eink_fb", length of fb mem: 483328 bytes & line length: 300 bytes [FBInk] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background Printing string '' @ column 0 + 0px, row 0 + 0px (overlay: N, no BG: N, no FG: N, inverted: N, flashing: N, centered: N, halfway: N, left padded: N, right padded: N, clear screen: Y, dithered: N, skip refresh: N, font: 0, font scaling: x0) [FBInk] Cannot print an empty string! Failed to print that string!
|
||
|
|
|
|
|
#197 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yes, on purpose this time
.I have to think of a better way to handle that special case though, because it's been bugging me too ;p. |
|
|
|
|
|
#198 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It'll be fixed in the next version (where in fact, fbink -c will also be enough to do that
).
|
|
|
|
|
|
#199 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.11.1!
A minor rounding fix to progress bars that affected some devices, fixed the CLI tool to allow a clear screen without specifying a string (hi @Pop! ), and a few new fonts .
Last edited by NiLuJe; 02-21-2019 at 07:37 PM. |
|
|
|
|
|
#200 |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 10000
Join Date: Feb 2019
Device: Kindle 4 NT
|
I see the K3 and K5 in the archive. Is K4 supported at all?
|
|
|
|
|
|
#201 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@parkerlreed: Yes, with the K5 binary (and the K3, too, technically).
c.f., this handy table if you're unfamiliar with the crappy naming scheme I'm using for the TCs .
|
|
|
|
|
|
#202 |
|
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,021
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
|
|
|
|
|
|
#203 | |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 10000
Join Date: Feb 2019
Device: Kindle 4 NT
|
Quote:
|
|
|
|
|
|
|
#204 | |
|
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9
Karma: 10000
Join Date: Feb 2019
Device: Kindle 4 NT
|
Quote:
|
|
|
|
|
|
|
#205 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
|
|
|
|
|
|
#206 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.12.2!
A small maintenance release with a few minor fixes peppered across the code, as well as many changes to the fbdepth tool used by KOReader .
|
|
|
|
|
|
#207 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
PSA: I broke < K5 support (again
) in 1.12.2, this will be fixed in 1.13.0 .
|
|
|
|
|
|
#208 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v1.13.0!
Mainly introduces the dump/restore API .Also has a small performance boost for unprocessed image blitting to !legacy Kindles. And, speaking of, unbreak legacy Kindle support .
|
|
|
|
|
|
#209 |
|
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,021
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
1.13.0
My K3 thanks you again!Just curious, probably an intentional optimization; but the effect I was attempting with: Code:
#!/bin/sh
#glow v0.10 2019-03-29 ==============================
#Display glowing "GLOW" using NiLuJe's fbink color features
# ʇɟǝןʎdoƆ (ↄ) PoP under Creative Commons Attribution-ShareAlike 3.0 Unported License
#Usage: glow
# currently using fbink 1.13.0
#keep the Kindle quiet
lipc-set-prop com.lab126.powerd preventScreenSaver 1 #disable screen saver
killall -stop cvm #stop framework
n=1 #repetition number
i=0 #starting color number
j=1 #color increment
while :; do
case $i in
0) COL="BLACK" ;;
15) COL="WHITE" ;;
*) COL="GRAY""$(printf "%1x" $i)" ;;
esac
fbink -S 5 -F BLOCK -C $COL -O -M -m "GLOW"
#screenshot
usleep 500000
i=$((i+j))
if [ $i -gt 15 ] || [ $i -lt 0 ]; then j=$((-j)); n=$((n+1)); i=$((i+j+j)); fi
if [ $n -eq 3 ]; then break; fi #after glowing n times
done
#restore Kindle verbosity
lipc-set-prop com.lab126.powerd preventScreenSaver 0 #enable screen saver
killall -cont cvm #restart framework
But fbink seems to write the text in two pass, first it writes the text in black, then it updates the color map to the specified color. I couldn't smoothly fade-out / fade-in my text. |
|
|
|
|
|
#210 |
|
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@PoP: Just to double-check: did it ever work as you wanted it with earlier versions?
EDIT: Okay, tried it, no, don't think that's doable, that's an artifact of how eInk handles the update. I'll see if I can fiddle with different waveform modes .EDIT²: Yep, it's a byproduct of GC/GL waveform update modes . And those that don't work like that do not support so 'many' colors .
Last edited by NiLuJe; 03-29-2019 at 07:00 PM. |
|
|
|
![]() |
| Tags |
| eips, fbink |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FBInk: A small tool/library to print crap on your screen! | NiLuJe | Kobo Developer's Corner | 311 | 06-20-2025 01:19 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 |