View Single Post
Old 08-11-2018, 04:04 PM   #23
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,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: That's insane, I love it! ;p.

The other, non-scalable approach is a glyph per PNG w/ transparency.

Or going the extra mile and encoding that as a proper font in the Hex format, which we can then convert & bundle in fbink .

Sidebar: this works on my end:

Code:
./fbink '' 2>&1 | grep Line | sed 's/.*Line length: \(.*\) cols.*/\1/'
47

./fbink '' 2>&1 | grep Line | sed 's/.*Page size: \(.*\) rows/\1/'
64
:?

----

If not, I can easily add a flag that outputs the config in a single eval'able line?

EDIT: Done, might come in handy, and was trivial to implement.

Code:
./fbink -qe
viewWidth=758;viewHeight=1024;BPP=8;FONTW=16;FONTH=16;FONTSIZE_MULT=2;MAXCOLS=47;MAXROWS=64;isPerfectFit=0;FBID=mxc_epdc_fb;USER_HZ=100#

Last edited by NiLuJe; 08-11-2018 at 09:45 PM.
NiLuJe is offline   Reply With Quote