Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-19-2018, 08:01 PM   #46
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₅.₁₃.₃
ESC

EDIT: wish I had known gbdfed earlier.

EDIT²: but wait, the M and the W are really erring on the atomic triangle these are 7x7 and should be 8x8.

And now that the lower case is over

...What about interpreting Terminal ESC sequences ...BTW, for which terminal? ANSI?
Attached Thumbnails
Click image for larger version

Name:	xz-dvn.ans terminal session.png
Views:	381
Size:	128.2 KB
ID:	165726   Click image for larger version

Name:	xz-dvn.ans.png
Views:	432
Size:	11.9 KB
ID:	165728  
Attached Files
File Type: txt xz-dvn.ans terminal session.txt (4.3 KB, 325 views)
File Type: txt x.txt (2.4 KB, 336 views)

Last edited by PoP; 08-20-2018 at 06:34 AM. Reason: mispelled ANSI
PoP is offline   Reply With Quote
Old 08-20-2018, 12:05 AM   #47
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Yeaaaaah, probably not .

For kicks, an experiment w/ a 24x24 small caps (i.e., 6x6 triangles)
Attached Thumbnails
Click image for larger version

Name:	block_24.png
Views:	356
Size:	3.7 KB
ID:	165732  
NiLuJe is offline   Reply With Quote
Advert
Old 08-20-2018, 06:56 AM   #48
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₅.₁₃.₃
The 16x16 small caps give more airy and clearer lower cases.

It is somewhat less evident with the 24x24 mid caps, but their additional weight fit the style better.

Perhaps decenter vertically the mid caps in another experiment shifting them down 4 pixels to the base line?

In the end, both look good to me. Your turn to choose.

Last edited by PoP; 08-20-2018 at 07:22 AM. Reason: not great at spelling
PoP is offline   Reply With Quote
Old 08-20-2018, 12:03 PM   #49
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@PoP: Yep, I definitely like the idea of moving them to the lower edge of the bbox!

It's aligned with the first 8x blocks of a caps, feels pretty good!
Attached Thumbnails
Click image for larger version

Name:	block24.png
Views:	351
Size:	15.6 KB
ID:	165743   Click image for larger version

Name:	block24_4desc.png
Views:	367
Size:	4.1 KB
ID:	165744  

Last edited by NiLuJe; 08-20-2018 at 12:06 PM.
NiLuJe is offline   Reply With Quote
Old 08-20-2018, 01:57 PM   #50
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₅.₁₃.₃
1, 2, 3, sold.

^
metoo.
PoP is offline   Reply With Quote
Advert
Old 08-21-2018, 02:02 PM   #51
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₅.₁₃.₃
Why oh, why can't I ♫

Quote:
Originally Posted by NiLuJe View Post
Yeaaaaah, probably not .
While we probably won't go soon « Somewhere over the rainbow » with ESC sequences, any way to render the fonts a bit more sexy with 16 shades of grey?

Maybe a new flag like -% 0 to -% 100 (white to black percentage) to apply a color map mask to the frame buffer pixels?

Spoiler:
Code:
K3:
[root@kindle us]# eips -i c

Fixed framebuffer info
    id:                  eink_fb    smem_start:       0xD08A8000
    smem_len:             483328    type:          PACKED_PIXELS
    type_aux:                  0    visual:   STATIC_PSEUDOCOLOR
    xpanstep:                  0    ypanstep:                  0
    ywrapstep:                 0    line_length:             300
    mmio_start:       0x00000000    mmio_len:                  0
    accel:                     0

Variable framebuffer info
    xres:                    600    yres:                    800
    xres_virtual:            600    yres_virtual:            800
    xoffset:                   0    yoffset:                   0
    bits_per_pixel:            4    grayscale:                 1
    red.offset:                0    green.offset:              0
    red.length:                0    green.length:              0
    red.msb_right:             0    green.msb_right:           0
    blue.offset:               0    transp.offset:             0
    blue.length:               0    transp.length:             0
    blue.msb_right:            0    transp.msb_right:          0
    nonstd:                    0    activate:                  2
    width:                    91    height:                  121
    accel_flags:               0    pixclock:                  0
    left_margin:               0    right_margin:              0
    upper_margin:              0    lower_margin:              0
    hsync_len:                 0    vsync_len:                 0
    sync:                      0    vmode:                     0
    rotate:                    0

Color map
    start:                     0    len:                      16
    n       red     green      blue
    0      ffff      ffff      ffff
    1      eeee      eeee      eeee
    2      dddd      dddd      dddd
    3      cccc      cccc      cccc
    4      bbbb      bbbb      bbbb
    5      aaaa      aaaa      aaaa
    6      9999      9999      9999
    7      8888      8888      8888
    8      7777      7777      7777
    9      6666      6666      6666
    a      5555      5555      5555
    b      4444      4444      4444
    c      3333      3333      3333
    d      2222      2222      2222
    e      1111      1111      1111
    f         0         0         0
[root@kindle us]#

PW3:

[root@kindle root]# eips -i c
Fixed framebuffer info
    id:              mxc_epdc_fb    smem_start:       0x81000000
    smem_len:            6782976    type:          PACKED_PIXELS
    type_aux:                  0    visual:   STATIC_PSEUDOCOLOR
    xpanstep:                  1    ypanstep:                  1
    ywrapstep:                 0    line_length:            1088
    mmio_start:       0x00000000    mmio_len:                  0
    accel:                     0

Variable framebuffer info
    xres:                   1072    yres:                   1448
    xres_virtual:           1088    yres_virtual:           6144
    xoffset:                   0    yoffset:                   0
    bits_per_pixel:            8    grayscale:                 1
    red.offset:                0    green.offset:              0
    red.length:                8    green.length:              8
    red.msb_right:             0    green.msb_right:           0
    blue.offset:               0    transp.offset:             0
    blue.length:               8    transp.length:             0
    blue.msb_right:            0    transp.msb_right:          0
    nonstd:                    0    activate:                128
    width:                    91    height:                  122
    accel_flags:               0    pixclock:           83333333
    left_margin:              16    right_margin:            104
    upper_margin:              4    lower_margin:              4
    hsync_len:                26    vsync_len:                 2
    sync:                      0    vmode:                     0
    rotate:                    3

Color map
    start:                     0    len:                     256
    n       red     green      blue
    0         0         0         0
    1         0         0         0
    2         0         0         0
    3         0         0         0
    4         0         0         0
    5         0         0         0
    6         0         0         0
    7         0         0         0
    8         0         0         0
    9         0         0         0
    a         0         0         0
    b         0         0         0
    c         0         0         0
    d         0         0         0
    e         0         0         0
    f         0         0         0
   10         0         0         0
   11      1111      1111      1111
   12      1111      1111      1111
   13      1111      1111      1111
   14      1111      1111      1111
   15      1111      1111      1111
   16      1111      1111      1111
   17      1111      1111      1111
   18      1111      1111      1111
   19      1111      1111      1111
   1a      1111      1111      1111
   1b      1111      1111      1111
   1c      1111      1111      1111
   1d      1111      1111      1111
   1e      1111      1111      1111
   1f      1111      1111      1111
   20      1111      1111      1111
   21      1111      1111      1111
   22      2222      2222      2222
   23      2222      2222      2222
   24      2222      2222      2222
   25      2222      2222      2222
   26      2222      2222      2222
   27      2222      2222      2222
   28      2222      2222      2222
   29      2222      2222      2222
   2a      2222      2222      2222
   2b      2222      2222      2222
   2c      2222      2222      2222
   2d      2222      2222      2222
   2e      2222      2222      2222
   2f      2222      2222      2222
   30      2222      2222      2222
   31      2222      2222      2222
   32      2222      2222      2222
   33      3333      3333      3333
   34      3333      3333      3333
   35      3333      3333      3333
   36      3333      3333      3333
   37      3333      3333      3333
   38      3333      3333      3333
   39      3333      3333      3333
   3a      3333      3333      3333
   3b      3333      3333      3333
   3c      3333      3333      3333
   3d      3333      3333      3333
   3e      3333      3333      3333
   3f      3333      3333      3333
   40      3333      3333      3333
   41      3333      3333      3333
   42      3333      3333      3333
   43      3333      3333      3333
   44      4444      4444      4444
   45      4444      4444      4444
   46      4444      4444      4444
   47      4444      4444      4444
   48      4444      4444      4444
   49      4444      4444      4444
   4a      4444      4444      4444
   4b      4444      4444      4444
   4c      4444      4444      4444
   4d      4444      4444      4444
   4e      4444      4444      4444
   4f      4444      4444      4444
   50      4444      4444      4444
   51      4444      4444      4444
   52      4444      4444      4444
   53      4444      4444      4444
   54      4444      4444      4444
   55      5555      5555      5555
   56      5555      5555      5555
   57      5555      5555      5555
   58      5555      5555      5555
   59      5555      5555      5555
   5a      5555      5555      5555
   5b      5555      5555      5555
   5c      5555      5555      5555
   5d      5555      5555      5555
   5e      5555      5555      5555
   5f      5555      5555      5555
   60      5555      5555      5555
   61      5555      5555      5555
   62      5555      5555      5555
   63      5555      5555      5555
   64      5555      5555      5555
   65      5555      5555      5555
   66      6666      6666      6666
   67      6666      6666      6666
   68      6666      6666      6666
   69      6666      6666      6666
   6a      6666      6666      6666
   6b      6666      6666      6666
   6c      6666      6666      6666
   6d      6666      6666      6666
   6e      6666      6666      6666
   6f      6666      6666      6666
   70      6666      6666      6666
   71      6666      6666      6666
   72      6666      6666      6666
   73      6666      6666      6666
   74      6666      6666      6666
   75      6666      6666      6666
   76      6666      6666      6666
   77      7777      7777      7777
   78      7777      7777      7777
   79      7777      7777      7777
   7a      7777      7777      7777
   7b      7777      7777      7777
   7c      7777      7777      7777
   7d      7777      7777      7777
   7e      7777      7777      7777
   7f      7777      7777      7777
   80      7777      7777      7777
   81      7777      7777      7777
   82      7777      7777      7777
   83      7777      7777      7777
   84      7777      7777      7777
   85      7777      7777      7777
   86      7777      7777      7777
   87      7777      7777      7777
   88      8888      8888      8888
   89      8888      8888      8888
   8a      8888      8888      8888
   8b      8888      8888      8888
   8c      8888      8888      8888
   8d      8888      8888      8888
   8e      8888      8888      8888
   8f      8888      8888      8888
   90      8888      8888      8888
   91      8888      8888      8888
   92      8888      8888      8888
   93      8888      8888      8888
   94      8888      8888      8888
   95      8888      8888      8888
   96      8888      8888      8888
   97      8888      8888      8888
   98      8888      8888      8888
   99      9999      9999      9999
   9a      9999      9999      9999
   9b      9999      9999      9999
   9c      9999      9999      9999
   9d      9999      9999      9999
   9e      9999      9999      9999
   9f      9999      9999      9999
   a0      9999      9999      9999
   a1      9999      9999      9999
   a2      9999      9999      9999
   a3      9999      9999      9999
   a4      9999      9999      9999
   a5      9999      9999      9999
   a6      9999      9999      9999
   a7      9999      9999      9999
   a8      9999      9999      9999
   a9      9999      9999      9999
   aa      aaaa      aaaa      aaaa
   ab      aaaa      aaaa      aaaa
   ac      aaaa      aaaa      aaaa
   ad      aaaa      aaaa      aaaa
   ae      aaaa      aaaa      aaaa
   af      aaaa      aaaa      aaaa
   b0      aaaa      aaaa      aaaa
   b1      aaaa      aaaa      aaaa
   b2      aaaa      aaaa      aaaa
   b3      aaaa      aaaa      aaaa
   b4      aaaa      aaaa      aaaa
   b5      aaaa      aaaa      aaaa
   b6      aaaa      aaaa      aaaa
   b7      aaaa      aaaa      aaaa
   b8      aaaa      aaaa      aaaa
   b9      aaaa      aaaa      aaaa
   ba      aaaa      aaaa      aaaa
   bb      bbbb      bbbb      bbbb
   bc      bbbb      bbbb      bbbb
   bd      bbbb      bbbb      bbbb
   be      bbbb      bbbb      bbbb
   bf      bbbb      bbbb      bbbb
   c0      bbbb      bbbb      bbbb
   c1      bbbb      bbbb      bbbb
   c2      bbbb      bbbb      bbbb
   c3      bbbb      bbbb      bbbb
   c4      bbbb      bbbb      bbbb
   c5      bbbb      bbbb      bbbb
   c6      bbbb      bbbb      bbbb
   c7      bbbb      bbbb      bbbb
   c8      bbbb      bbbb      bbbb
   c9      bbbb      bbbb      bbbb
   ca      bbbb      bbbb      bbbb
   cb      bbbb      bbbb      bbbb
   cc      cccc      cccc      cccc
   cd      cccc      cccc      cccc
   ce      cccc      cccc      cccc
   cf      cccc      cccc      cccc
   d0      cccc      cccc      cccc
   d1      cccc      cccc      cccc
   d2      cccc      cccc      cccc
   d3      cccc      cccc      cccc
   d4      cccc      cccc      cccc
   d5      cccc      cccc      cccc
   d6      cccc      cccc      cccc
   d7      cccc      cccc      cccc
   d8      cccc      cccc      cccc
   d9      cccc      cccc      cccc
   da      cccc      cccc      cccc
   db      cccc      cccc      cccc
   dc      cccc      cccc      cccc
   dd      dddd      dddd      dddd
   de      dddd      dddd      dddd
   df      dddd      dddd      dddd
   e0      dddd      dddd      dddd
   e1      dddd      dddd      dddd
   e2      dddd      dddd      dddd
   e3      dddd      dddd      dddd
   e4      dddd      dddd      dddd
   e5      dddd      dddd      dddd
   e6      dddd      dddd      dddd
   e7      dddd      dddd      dddd
   e8      dddd      dddd      dddd
   e9      dddd      dddd      dddd
   ea      dddd      dddd      dddd
   eb      dddd      dddd      dddd
   ec      dddd      dddd      dddd
   ed      dddd      dddd      dddd
   ee      eeee      eeee      eeee
   ef      eeee      eeee      eeee
   f0      eeee      eeee      eeee
   f1      eeee      eeee      eeee
   f2      eeee      eeee      eeee
   f3      eeee      eeee      eeee
   f4      eeee      eeee      eeee
   f5      eeee      eeee      eeee
   f6      eeee      eeee      eeee
   f7      eeee      eeee      eeee
   f8      eeee      eeee      eeee
   f9      eeee      eeee      eeee
   fa      eeee      eeee      eeee
   fb      eeee      eeee      eeee
   fc      eeee      eeee      eeee
   fd      eeee      eeee      eeee
   fe      eeee      eeee      eeee
   ff      ffff      ffff      ffff
[root@kindle root]#
PoP is offline   Reply With Quote
Old 08-21-2018, 02:40 PM   #52
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Released v1.4.1 .

With a few fixes to the X/Y offset features that got in a bit too early in the rushed 1.4.0 release .
Also stdin handling on the CLI tool, and as we've discussed earlier, lowercase glyphs in the block font .
NiLuJe is offline   Reply With Quote
Old 08-21-2018, 02:40 PM   #53
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@PoP: Yeah, that's definitely more in the realm of possibility ^^.
NiLuJe is offline   Reply With Quote
Old 08-21-2018, 08:33 PM   #54
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@PoP: Done .

Code:
./fbink -S2 -F block "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz            Hello,  Block\!" -c -S4 -f -C GRAY7 -B GRAY5
[FBInk] Variable fb info: 1080x1440, 32bpp @ rotation: 1 (Clockwise, 90°)
[FBInk] Fontsize set to 128x128 (BLOCK base glyph size: 32x32)
[FBInk] Line length: 8 cols, Page size: 11 rows
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6684672 bytes & line length: 4352 bytes
[FBInk] Kernel's HZ value appears to be 100
[FBInk] Pen colors set to #777777 for the foreground and #555555 for the background
Printing string 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz            Hello,  Block!' @ column 0 + 0px, row 0 + 0px (inverted: false, flashing: true, centered: false, left padded: false, clear screen: true, font: 7, font scaling: x4)
Attached Thumbnails
Click image for larger version

Name:	g2g.png
Views:	378
Size:	4.9 KB
ID:	165781  
NiLuJe is offline   Reply With Quote
Old 08-21-2018, 10:11 PM   #55
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₅.₁₃.₃
╔═══╗─────╔╗─╔╗
║╔═╗║─────║║─║║
║║─╚╬══╦══╣║─║║
║║─╔╣╔╗║╔╗║║─╚╝
║╚═╝║╚╝║╚╝║╚╗╔╗
╚═══╩══╩══╩═╝╚╝

Frankly, I thought you wouldn't resist, and I knew that you could BLAM it that quickly!
PoP is offline   Reply With Quote
Old 09-02-2018, 06:34 PM   #56
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Released v1.5.0 .

As mentioned earlier, adds support for custom pen colors (both fg & bg), and we can now draw progress bars, as can be seen in MRPI!
NiLuJe is offline   Reply With Quote
Old 09-02-2018, 08:09 PM   #57
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₅.₁₃.₃
Thought it would be fun and

Click image for larger version

Name:	20180902193725.png
Views:	350
Size:	975 Bytes
ID:	166033

to create a proportional font only from the 11 Box Drawing characters. So here is one!

With double line characters with kerning:
Click image for larger version

Name:	20180902192947.png
Views:	355
Size:	4.0 KB
ID:	166029
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c
With double line characters and no kerning:
Click image for larger version

Name:	20180902193009.png
Views:	330
Size:	4.4 KB
ID:	166030
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c -k
With single line characters with kerning:
Click image for larger version

Name:	20180902193112.png
Views:	346
Size:	2.7 KB
ID:	166032
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c --k -d
With single line characters and no kerning:
Click image for larger version

Name:	20180902193027.png
Views:	351
Size:	3.0 KB
ID:	166031
Code:
./box 0 0 4 "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz" -c -k -d
Caveat¹: it is written in shell, so it is terribly inefficient, and also probably buggy (ouch UTF-8 handling).
Caveat²: Some characters need to be refined, maybe kerning rules too, you are welcome to improve.

[EDIT 2018-10-03] Get it from this version posted further in the thread

Last edited by PoP; 10-03-2018 at 03:06 PM. Reason: point to a newer version posted later in the thread
PoP is offline   Reply With Quote
Old 09-02-2018, 09:03 PM   #58
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@PoP: I could use a cheat-sheet of which number gets replaced by which pipe, but it's crazy enough that I like it .

EDIT: I *think* busybox ash supports the slice substring operation (${var:}), which might allow you to fake an array (i.e., BLAH="ABCD"; IDX="1"; echo ${BLAH:$IDX:1} => B), and a such fake LUTs for the replacements, which might be a tad faster than calling sed like crazy, since the substring operation should be builtin (... and hopefully faster than sed) .

Last edited by NiLuJe; 09-02-2018 at 09:10 PM.
NiLuJe is offline   Reply With Quote
Old 09-03-2018, 06:42 AM   #59
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₅.₁₃.₃
Quote:
Originally Posted by NiLuJe View Post
@PoP: I could use a cheat-sheet of which number gets replaced by which pipe, but it's crazy enough that I like it .

EDIT: I *think* busybox ash supports the slice substring operation (${var:}), which might allow you to fake an array (i.e., BLAH="ABCD"; IDX="1"; echo ${BLAH:$IDX:1} => B), and a such fake LUTs for the replacements, which might be a tad faster than calling sed like crazy, since the substring operation should be builtin (... and hopefully faster than sed) .

(Note to myself: code in C next time).

I tried ${var:} initially, it was giving me syntax errors (unless it was some other poorly coded shell expansions). In fact my first version looked much simpler. I thought « let me use a shell script, it will be an easy POC) » only to find out that UTF-8 multibytes were totally messing column alignments in string manipulations and from then on I had to go deeper and messier into the script to the point that cheat sheets are required:


╔═╦═╗ 12324
║─║─║ 56565
╠═╬═╣ 72829
║─║─║ 56565
╚═╩═╝ a2b2c
PoP is offline   Reply With Quote
Old 09-03-2018, 09:58 AM   #60
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: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Yeah, I think it's supported on FW 5.x, but it might not be on 3.x... .
NiLuJe is offline   Reply With Quote
Reply

Tags
eips, fbink

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 280 03-14-2024 07:27 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


All times are GMT -4. The time now is 06:56 AM.


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