@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:
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:
[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.