|
NAMEText::FIGlet::Ransom - blended/composite font support for Text:FIGletSYNOPSISuse Text::FIGlet; my $ransom = Text::FIGlet->new(-f=>[ qw/big block banner/ ]); print $ransom->figify("Hi mom"); _ _| _| (_) # # # # _| _| _ ## ## ___ ## ## _|_|_|_| | | # ## # / _ \ # ## # _| _| | | # # | (_) |# # _| _| |_| # # \___/ # # # # # # DESCRIPTIONThis class creates a new FIGlet font using glyphs from user-specified fonts. Output from the resulting hybrid font is suitable for basic textual CAPTCHA, but also has artistic merit. As the output is automatically generated though, some manual adjustment may be necessary; particularly since Text::FIGlet still does not support smushing.TODO
OPTIONS"new"Loads the specified set of fonts, and assembles glyphs from them to create the new font.Except where otherwise noted below, options are inherited from Text::FIGlet::Font.
"figify"Inherited from Text::FIGlet::Font."freeze"Returns a string containing the current font. This allows for the preservation of the current (random) font for reuse, and to avoid the performance penalty incurred upon Ransom-ization.To cope with the vagaries of input font formatting, a frozen Ransom font has hardblank & endmark characters converted to DEL (x7F) and US (x1F) respectively. The frozen font also includes as comments the parameters used to create it. The comments for random ARRAYREF fonts, a map of which characters are pulled from which source font. ENVIRONMENTText::FIGlet::Ransom will make use of these environment variables if present
CAVEATSRansom does not work well with -m modes other than -1 & 0 at this time.As noted above, though it is easy to overlook, Ransom only supports ASCII input. Very few so-called "monospace" display fonts are fixed-width across all codepoints, and the results of mixing FIGlet and TOIlet fonts may be mangled in such a font. Some true monspace fonts include Bitstream Monospace and GNU FreeFont FreeMono. OCR A Std and OCR B MT also work at 9, 11 and 12 points, but not 10. SEE ALSOText::FIGlet::Font, Text::FIGlet, figlet(6)AUTHORJerrad Pierce** />> _ // _ _ _ / >>> (_) ** ,adPPYba, >< ><<< _(_)(_)(_) / >>> | | /** a8P_____88 ><< (_) >> >>> | | |~~\ /** 8PP""""""" ><< (_) >>>>>>>> _/ | |__/ /** "8b, ,aa ><< (_)_ _ _ >>>>>>> @cpan.org |__/ | /** `"Ybbd8"' ><<< (_)(_)(_) >> // >>>> / >>>>>>/ >>>>>
Visit the GSP FreeBSD Man Page Interface. |