View Single Post
Old 11-07-2018, 01:42 PM   #153
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₅.₁₃.₃
Quote:
Originally Posted by NiLuJe View Post
@PoP: I noticed .

[snip gory headache details]

I didn't look into it much further, because the "double -o" usage pattern is kind of anecdotal
Maybe not so much

Code:
#!/bin/sh
#outline.sh:
# Use overlay with margin displacement to create formatting effects
#expects PATH=$PATH:.:..
cd /mnt/us

tt=regular=/ mnt/us/linkfonts/fonts/poplarstd.otf

#keep the Kindle quiet
lipc-set-prop com.lab126.powerd preventScreenSaver 1
killall -stop cvm # pause framework

#WATERMARK ghostly text artifacts leftovers from AA, blending, or other
fbink -t $tt,size=86 "GHOST" -o -M -m -c
fbink -t $tt,size=86 "GHOST" -o -M -m 
screenshot #save for posting
Click image for larger version

Name:	outline.sh.ghost.png
Views:	206
Size:	2.6 KB
ID:	167633

#OUTLINE text
fbink -t $tt,size=86 "OUTLINE" -o -M -m -c
fbink -t $tt,size=86,top=2,left=2 "OUTLINE" -o -M -m
screenshot #save for posting
Click image for larger version

Name:	outline.sh.outline.png
Views:	193
Size:	2.6 KB
ID:	167542
#3D text
fbink -c ''
i=0
while [ $i -le 40 ]; do
  fbink -t $tt,size=76 "3 D" -M -m -o
  fbink -t $tt,size=76,top="$i",left="$i" "3 D" -M -m -o
  i=$(($i + 4))
done
screenshot #save for posting
Click image for larger version

Name:	outline.sh.3D.png
Views:	216
Size:	3.8 KB
ID:	167540
#ZOOMED text
fbink -t $tt,size=126 "ZOOM" -M -m -o -c
i=118
while [ $i -ge 8 ]; do
  fbink -t $tt,size=$i "ZOOM" -M -m -o
  fbink -t $tt,size=$i,left=3 "ZOOM" -M -m -o
  i=$(($i - 8))
done
screenshot #save for posting
Click image for larger version

Name:	outline.sh.zoom.png
Views:	190
Size:	22.6 KB
ID:	167634

#EMBOSSED text
fbink -t $tt,size=66,top=8,left=8 "EMBOSSED" -M -m -C GRAYC -c
fbink -t $tt,size=66,top=0,left=0 "EMBOSSED" -M -m -o
fbink -t $tt,size=66,top=2,left=2 "EMBOSSED" -M -m -o
screenshot #save for posting
Click image for larger version

Name:	outline.sh.embossed.png
Views:	210
Size:	5.8 KB
ID:	167541
#SHADOW text
fbink -t $tt,size=76,top=0,left=0     "SHADOW" -M -m -C GRAYC --bgless -c
fbink -t $tt,size=76,top=30,left=30 "SHADOW" -M -m -C GRAYC --bgless
fbink -t $tt,size=76,top=0,left=0     "SHADOW" -M -m -o
fbink -t $tt,size=76,top=4,left=4     "SHADOW" -M -m -o
screenshot #save for posting
Click image for larger version

Name:	outline.sh.shadow.png
Views:	219
Size:	6.6 KB
ID:	167543
#put the Kindle back into action
killall -cont cvm
lipc-set-prop com.lab126.powerd preventScreenSaver 0
[EDIT 2018-11-08 added more effects]
[EDIT 2018-11-11 added ghost and zoom effects]

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