View Single Post
Old 11-12-2018, 03:50 PM   #162
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@PoP: Ah, that's easy, forgot to plug OT support into the stdin codepath ;p.

EDIT: And now I properly get 2 squares (one if I feed it U+1F680 directly) because there's no rocket glyph in my unscii version .

EDITē: But with Win 10's symbol font, we have liftoff!

Code:
./fbink -t regular=seguisym.ttf,size=86 -o -M -m -c -v "<0001f680>"                                                                                                                                                              ──(Tue, Sep 13)─┘
[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, 8bpp @ 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: 966656 bytes & line length: 600 bytes
[FBInk] Pen colors set to #000000 -> #FFFFFF for the foreground and #FFFFFF -> #000000 for the background
Loading font 'seguisym.ttf' for the Regular style
Initialized libunibreak
[FBInk] Font 'seguisym.ttf' loaded
Printing string '��' @ 86pt, honoring the following margins { Top: 0px, Bottom: 0px, Left: 0px, Right: 0px } (formatted: N, overlay: Y, no BG: N, no FG: N, inverted: N, flashing: N, centered: Y, H align: 0, halfway: Y, V align: 0, clear screen: Y)
Printing OpenType text.
Unformatted text defaulting to Regular font style
Max BL: 162  Max Desc: -37  Max LG: 0
Finished looking for linebreaks
Current Measured LW: 139  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: 162  FntSize: 199
Finished printing line# 0
Refreshing region from LEFT: 230, TOP: 300, WIDTH: 139, 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
We don't do any shaping, so you have to use precomposed characters.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20181112_220833.png
Views:	210
Size:	305.2 KB
ID:	167659  

Last edited by NiLuJe; 11-12-2018 at 07:34 PM.
NiLuJe is offline   Reply With Quote