What about this? This syntax gives no error but prints nothing.
[root@(none) ~]# fbink -t regular=/mnt/onboard/.adds/koreader/fonts/noto/NotoSans-Regular.ttf,bold
=/mnt/onboard/.adds/koreader/fonts/noto/NotoSans-
Bold.ttf,size=24,top=100,bottom=500,left=25,right
=50,format "Hello **world**" -v
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 212 dpi
[FBInk] Variable fb info: 1024x758, 16bpp @ rotation: 0 (Upright, 0°) [FBInk] Enabled Kobo @ 16bpp pickel rotation quirks (1024x758 -> 758x1024)
[FBInk] Fontsize set to 16x16 (IBM base glyph size: 8x8)
[FBInk] Line length: 47 cols, Page size: 64 rows
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 3145728 bytes & line length: 2048 bytes [FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background
Loading font '/mnt/onboard/.adds/koreader/fonts/noto/NotoSans-Regular.ttf' for the Regular style Initialized libunibreak
[FBInk] Font '/mnt/onboard/.adds/koreader/fonts/noto/NotoSans-Regular.ttf' loaded
Loading font '/mnt/onboard/.adds/koreader/fonts/noto/NotoSans-Bold.ttf' for the Bold style
[FBInk] Font '/mnt/onboard/.adds/koreader/fonts/noto/NotoSans-Bold.ttf' loaded
Printing string 'Hello **world**' @ 24pt, honoring the following margins { top: 100px, bottom: 500px, left: 25px, right: 50px } (formatted: true, overlay: false, backgroundless: false, foregroundless: false, inverted: false, flashing: false, centered: false, halign: 0, halfway: false, valign: 0, clear screen: false)
Printing OpenType text.
Unformatted text defaulting to Regular font style
Max BL: 55 Max Desc: -15 Max LG: 0
Finished looking for linebreaks
Finished parsing formatting markup
Current Measured LW: 34 Line# 0
Current Measured LW: 65 Line# 0
Current Measured LW: 76 Line# 0
Current Measured LW: 89 Line# 0
Current Measured LW: 122 Line# 0
Current Measured LW: 124 Line# 0
Current Measured LW: 181 Line# 0
Current Measured LW: 211 Line# 0
Current Measured LW: 236 Line# 0
Current Measured LW: 248 Line# 0
Current Measured LW: 281 Line# 0
1 lines to be printed
Maximum printable height is 424
Actual print height is 70
Finished printing line# 0
Refreshing region from LEFT: 25, TOP: 100, WIDTH: 281, HEIGHT: 70
Last edited by codex-hex; 11-05-2018 at 12:27 PM.
Reason: Extra unnecessary clipboard.
|