View Single Post
Old 09-04-2018, 01:15 PM   #61
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,018
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
overlay

@NiLuJe, I am just playing with the new -o switch, is this the expected behaviour?


Code:
[root@kindle us]# fbink -c -B gray2 .  #only to create a background
[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] Enabled Legacy einkfb Kindle quirks
[FBInk] Kernel's HZ value appears to be 100
[FBInk] Pen colors set to #000000 -> #FFFFFF for the foreground and #222222 -> #DDDDDD for the background
Printing string '.' @ column 0 + 0px, row 0 + 0px (overlay: false, inverted: false, flashing: false, centered: false, left padded: false, clear screen: true, font: 0, font scaling: x0)
[root@kindle us]# fbink  -mM -S 20 -o O
[FBInk] Variable fb info: 600x800, 4bpp @ rotation: 0 (Upright, 0°)
[FBInk] Fontsize set to 160x160 (IBM base glyph size: 8x8)
[FBInk] Line length: 3 cols, Page size: 5 rows
[FBInk] Fixed fb info: ID is "eink_fb", length of fb mem: 483328 bytes & line length: 300 bytes
[FBInk] Enabled Legacy einkfb Kindle quirks
[FBInk] Kernel's HZ value appears to be 100
[FBInk] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background
Printing string 'O' @ column 0 + 0px, row 0 + 0px (overlay: true, inverted: false, flashing: false, centered: true, left padded: false, clear screen: false, font: 0, font scaling: x20)
I was expecting the "O" to be rendered in a true shade of gray, it seems to also have some vertical line dithering:

Click image for larger version

Name:	20180904124431.png
Views:	594
Size:	1.8 KB
ID:	166059

Code:
[root@kindle us]# fbink -c -B gray2 . #only to create a background
[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] Enabled Legacy einkfb Kindle quirks
[FBInk] Kernel's HZ value appears to be 100
[FBInk] Pen colors set to #000000 -> #FFFFFF for the foreground and #222222 -> #DDDDDD for the background
Printing string '.' @ column 0 + 0px, row 0 + 0px (overlay: false, inverted: false, flashing: false, centered: false, left padded: false, clear screen: true, font: 0, font scaling: x0)
[root@kindle us]# fbink -F block -o -S 4  ABCDEFG
[FBInk] Variable fb info: 600x800, 4bpp @ rotation: 0 (Upright, 0°)
[FBInk] Fontsize set to 128x128 (BLOCK base glyph size: 32x32)
[FBInk] Line length: 4 cols, Page size: 6 rows
[FBInk] Fixed fb info: ID is "eink_fb", length of fb mem: 483328 bytes & line length: 300 bytes
[FBInk] Enabled Legacy einkfb Kindle quirks
[FBInk] Kernel's HZ value appears to be 100
[FBInk] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background
Printing string 'ABCDEFG' @ column 0 + 0px, row 0 + 0px (overlay: true, inverted: false, flashing: false, centered: false, left padded: false, clear screen: false, font: 7, font scaling: x4)
I was hoping the padding would stay in the background color:

Click image for larger version

Name:	20180904124915.png
Views:	585
Size:	2.3 KB
ID:	166060

[EDIT] Also, would be nice to be able to just clear the screen fbink -c or create a background fbink -c -B gray2 and not have to specify a string.

Last edited by PoP; 09-04-2018 at 01:35 PM. Reason: EDIT
PoP is offline   Reply With Quote