Quote:
Originally Posted by NiLuJe
@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
#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
#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
#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
#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
#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
#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]