#!/usr/local/bin/pascript-wrapper "fancy: " 3 expect /text = ; # assign last arg setfontsize(); # set fontsize setfont(); # set font family setrgb(0,80,0); # color dark green /pic = border(show(text), 10,10,0,0,0,255) # show create bitmap # and but transparent border # arround, required for smooth smooth gamma(1,1,1,.1) # smooth and put alpha gamma low # (easy way to make bold) ; pic sizeof /h = ; /w = ; /pic1 = pic smooth gamma(1,1,1,.1) map(255,255,0,0); # recolor yellow /pic2 = pic1 smooth(3) gamma(1,1,1,.01) map(200,0,0,0); # recolor red pic # use it as base paste(0,0,pic2); # paste red paste(0,0,pic1); # paste yellow paste(0,0,pic); # and top-layer once again xv # display it