Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-02-2020, 01:49 PM   #241
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
...let's paint filled rectangles freely. Yay!

-katchy, à la Mondrian:
Click image for larger version

Name:	mondrian.gif
Views:	226
Size:	248.1 KB
ID:	176859

or with more ~faithful outlines:
Click image for larger version

Name:	mondrianx.png
Views:	235
Size:	8.0 KB
ID:	176902

[EDIT 2020-02-03 fix RANDOM in v0.20]
[EDIT 2020-02-04 add Outline variant]
Attached Files
File Type: zip 2020-02-03 mondrian v0.20.zip (1.3 KB, 184 views)
File Type: zip 2020-02-04 mondrianx v0.30.zip (1.5 KB, 193 views)

Last edited by PoP; 02-04-2020 at 01:36 PM. Reason: v0.30
PoP is offline   Reply With Quote
Old 03-09-2020, 08:02 PM   #242
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Released v1.22.0!

A few fixes here and there, a few minor performance improvements in both font rendering codepaths, and a few new API calls geared at making life easier for grid-layout aficionados .
NiLuJe is offline   Reply With Quote
Advert
Old 04-30-2020, 08:57 PM   #243
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Released v1.22.1!

Minor tweaks to fbdepth to better handle legacy einkfb Kindles (i.e., < K5), as well as the nightmode flag discussed in the last few pages of this thread .
NiLuJe is offline   Reply With Quote
Old 05-01-2020, 04:04 PM   #244
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Sweet

I see the new COZETTE fixed font.

But how can I optionally request the 8x16 UNIFONT and its double width UNIFONTDW from the command line? API only at this time?

So far I am using its counterintuitive True Type build.

As Churchill said about Martinis, one font is good, two is too many and three is not enough.

Last edited by PoP; 05-02-2020 at 06:14 AM. Reason: mispell + misquoted Churchill
PoP is offline   Reply With Quote
Old 05-01-2020, 04:10 PM   #245
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Not really, it requires a custom build with UNIFONT set, because the binary size blows up ridiculously when it's compiled in ;p.

That said, you're probably better off with the Vector variant .

(This was more of a "let's see how this could work" experiment than anything. You can get pretty sharp results with the Vector variant if you request perfect multiples of the expected pixel size in pixels instead of points. The performance hit is not too bad, either).
NiLuJe is offline   Reply With Quote
Advert
Old 07-22-2020, 02:38 AM   #246
miran
Junior Member
miran began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2020
Device: Kindle pw3
keep text forever

currently using fbink it displays text for a second and disappears in kterm
though when keeping text aimed at keyboard(using -y) it stays till keyboard is pressed
is there any way to keep text there forever,
like:- when i run the command background goes white text stays on forever.
I press power button > back to homescreen
miran is offline   Reply With Quote
Old 07-22-2020, 01:22 PM   #247
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@miran: *Insert Tennant's 10th doctor "What?!" gif here*.

Seriously, try again with proper sentences, punctuation, and actual code examples, because I have no idea what you're trying to do and what's actually happening.

From what little I understood about what you said, you're running fbink commands from *within* kterm?
In which case, that's not going to work. It's a terminal. Its job is to update the screen. Meaning it'll race w/ fbink, and depending on where you print and/or what fbink itself requires the terminal to print, shit will happen.
NiLuJe is offline   Reply With Quote
Old 07-22-2020, 01:44 PM   #248
miran
Junior Member
miran began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2020
Device: Kindle pw3
Text gets cleared

Thanks for replying, sorry for bad typing

Actually i am trying to print text using fbink in kterm but it get cleared by kterms own display after a millisecond.
I tried kual launch of a sh file with same command in it but if i click somewhere it gets cleared again.
I wanted to know if there is anyway to keep text on screen without it getting cleared. Something like this:-
1. it clears screen white
->2.displays text
->3.when i press power button, goes back to homecreen.
(+ is there any way to get current screensaver state like is it on or off in kterm)
miran is offline   Reply With Quote
Old 07-22-2020, 05:27 PM   #249
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Well, no, not unless you control *everything* that's drawing on screen, which you don't.
NiLuJe is offline   Reply With Quote
Old 07-23-2020, 03:27 AM   #250
miran
Junior Member
miran began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2020
Device: Kindle pw3
ok i looked at code of kindle menu it has this line
lipc-set-prop com.lab126.pillow customDialog '{"name": "blank"}'
with comment draw blank screen
miran is offline   Reply With Quote
Old 07-23-2020, 05:10 PM   #251
yparitcher
Connoisseur
yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.
 
Posts: 52
Karma: 616590
Join Date: Feb 2019
Device: K4 KT4 PW4 PW5
@miran
the easiest way to do this is to fake a press of the power button with lipc, wait until the screensaver is drawn, and then draw what you want on top. this will then stay until the power button is pressed. (in other words make your own screensaver)
yparitcher is offline   Reply With Quote
Old 07-24-2020, 06:35 AM   #252
miran
Junior Member
miran began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2020
Device: Kindle pw3
@yparitcher
thanks that is a good idea
can u tell how to wait till ssaver is on
and if my text is dynamic(change every hour or so) will command/script still be executing after ssaver
miran is offline   Reply With Quote
Old 07-24-2020, 12:07 PM   #253
yparitcher
Connoisseur
yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.yparitcher ought to be getting tired of karma fortunes by now.
 
Posts: 52
Karma: 616590
Join Date: Feb 2019
Device: K4 KT4 PW4 PW5
for a similar project you can look at my https://github.com/yparitcher/kindle-zmanim
it uses fbink to display a dynamic screensaver.
It is currently written in C, but if you look at the earlier commits most of it used to be in shell if that is easier for you

for my details see my other posts on this topic https://www.mobileread.com/forums/sh...8&postcount=27
yparitcher is offline   Reply With Quote
Old 07-25-2020, 05:23 AM   #254
miran
Junior Member
miran began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2020
Device: Kindle pw3
thanks a lot will surely check
miran is offline   Reply With Quote
Old 09-05-2020, 04:16 PM   #255
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Released v1.22.2!

Some minor updates and fixes.
NiLuJe is offline   Reply With Quote
Reply

Tags
eips, fbink


Forum Jump

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 282 04-22-2024 02:51 AM
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


All times are GMT -4. The time now is 12:58 AM.


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