View Single Post
Old 11-12-2018, 07:35 PM   #166
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₅.₁₃.₃
[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
Click image for larger version

Name:	7.png
Views:	264
Size:	5.4 KB
ID:	167667good 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
Click image for larger version

Name:	i.png
Views:	215
Size:	683 Bytes
ID:	167668doesn'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
Click image for larger version

Name:	u+1F860.png
Views:	244
Size:	627 Bytes
ID:	167669still no cigar, 
Click image for larger version

Name:	FontForge u+1F860.png
Views:	275
Size:	34.8 KB
ID:	167670even 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
Click image for larger version

Name:	u1F860.png
Views:	219
Size:	627 Bytes
ID:	167672after 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⁵] Click image for larger version

Name:	flying.png
Views:	237
Size:	653 Bytes
ID:	167673proof
Attached Files
File Type: zip u1F860.zip (154 Bytes, 227 views)

Last edited by PoP; 11-12-2018 at 08:28 PM.
PoP is offline   Reply With Quote