[EDIT]
One more to go: Oh no, it is at a different codepoint!
Code:
[root@kindle us]# fbink -t regular=/mnt/us/linkfonts/fonts/poplarstd.otf,size=100 "1234567" -M -m -c
[FBInk] Enabled Legacy einkfb Kindle quirks
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 167 dpi
[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] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background
Loading font '/mnt/us/linkfonts/fonts/poplarstd.otf' for the Regular style
[FBInk] Font '/mnt/us/linkfonts/fonts/poplarstd.otf' loaded
Printing string '1234567' @ 100pt, honoring the following margins { Top: 0px, Bottom: 0px, Left: 0px, Right: 0px } (formatted: N, overlay: N, no BG: N, no FG: N, inverted: N, flashing: N, centered: Y, H align: 0, halfway: Y, V align: 0, clear screen: Y)
[root@kindle us]# ./screenshot
good color, 7 in expected location.
[root@kindle us]# fbink -t regular=/mnt/us/linkfonts/fonts/poplarstd.otf,size=100 "i" -M -m -c
[FBInk] Enabled Legacy einkfb Kindle quirks
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 167 dpi
[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] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background
Loading font '/mnt/us/linkfonts/fonts/poplarstd.otf' for the Regular style
[FBInk] Font '/mnt/us/linkfonts/fonts/poplarstd.otf' loaded
Printing string 'i' @ 100pt, honoring the following margins { Top: 0px, Bottom: 0px, Left: 0px, Right: 0px } (formatted: N, overlay: N, no BG: N, no FG: N, inverted: N, flashing: N, centered: Y, H align: 0, halfway: Y, V align: 0, clear screen: Y)
[root@kindle us]# ./screenshot
doesn't seg fault anymore
[root@kindle us]# fbink -t regular=/mnt/us/linkfonts/fonts/unscii-8.otf,size=86 -o -M -m -c -v < u1F680
[FBInk] Enabled Legacy einkfb Kindle quirks
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 167 dpi
[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] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background
Loading font '/mnt/us/linkfonts/fonts/unscii-8.otf' for the Regular style
Initialized libunibreak
[FBInk] Font '/mnt/us/linkfonts/fonts/unscii-8.otf' loaded
Printing OpenType text.
Unformatted text defaulting to Regular font style
Max BL: 199 Max Desc: 0 Max LG: 24
Finished looking for linebreaks
Current Measured LW: 114 Line# 0
Current Measured LW: 239 Line# 0
1 lines to be printed
Maximum printable height is 800
Actual print height is 199
Max LW: 600 Max LH: 199 Max BL: 199 FntSize: 199
Snipped Line# 0 LW down to 238
Finished printing line# 0
Refreshing region from LEFT: 180, TOP: 300, WIDTH: 239, HEIGHT: 199
Area is: x1: 0, y1: 0, x2: 600, y2: 800 with fx: 0
Detected a full-screen area, upgrading to FBIO_EINK_UPDATE_DISPLAY
[root@kindle us]# ./screenshot
still no cigar,
even though it is there
[EDIT²] still no cigar after correction!?
Code:
[root@kindle us]# fbink -t regular=/mnt/us/linkfonts/fonts/unscii-8.otf,size=86 -o -M -m -c -v < u1F860
[FBInk] Enabled Legacy einkfb Kindle quirks
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 167 dpi
[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] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background
Loading font '/mnt/us/linkfonts/fonts/unscii-8.otf' for the Regular style
Initialized libunibreak
[FBInk] Font '/mnt/us/linkfonts/fonts/unscii-8.otf' loaded
Printing OpenType text.
Unformatted text defaulting to Regular font style
Max BL: 199 Max Desc: 0 Max LG: 24
Finished looking for linebreaks
Current Measured LW: 114 Line# 0
Current Measured LW: 239 Line# 0
1 lines to be printed
Maximum printable height is 800
Actual print height is 199
Max LW: 600 Max LH: 199 Max BL: 199 FntSize: 199
Snipped Line# 0 LW down to 238
Finished printing line# 0
Refreshing region from LEFT: 180, TOP: 300, WIDTH: 239, HEIGHT: 199
Area is: x1: 0, y1: 0, x2: 600, y2: 800 with fx: 0
Detected a full-screen area, upgrading to FBIO_EINK_UPDATE_DISPLAY
after code point corrected
[EDIT³] @NiLuJe below. OK let me sleep on this, my brain is misfiring.
[EDIT⁴] Ah, precombined =
f09fa1a0, UTF-8 in hex. Got it. Case closed.
[EDIT⁵]
proof