1TEST 2 Test 0 3 Regression prevention: absolute -f canonicalization 4 5 Test 1 6 Kerning 7 8 Mixtures of -m_odes and orientation (-[xX]), default mode 9 10 Narrow & wide wrap 11 12 overlap 13 single column glyph e.g; term (esp. in Ransom) 14 15 hardblanks 16 17 Test 2 18 -U=0, -U=-1 19 20 Test 3 21 Ransom -m_odes 22 23 Test ? 24 DOS-formatted txt file font 25 26 bifig.flf post-processing, problem with (missing) hardspaces? 27 28FEATURES 29 More smushing modes, consult http://bolknote.ru/files/figlet/? 30 31 "Vertical Fitting", indicated by header[-2] above 32 33 Ransom support for ANSI & Unicode (w/ sparse codepoints) 34 35 Ransom script to generate font, test output, then save font 36 37 QOTW19 "OCR"? http://perl.plover.com/qotw/e/019 38 39 controls; h j b g 40 isn't u enough? 41 42 other scripts: chkfont... this is hard 43 44FIX 45 Control 46 literal needs to use $RE{UTFchar} 47 $opts{-U} = 1 if /^\s*/ 48 $opts{-U} ? UTFchar : bytechar 49 50 if pre 5.6 ignore char > 0xFF and use \x.. syntax?! 51 switch to s alternation (for > 0xff)? 52 53 XXX cannot support unicode literals...? 54 at all (#$#@, could translate to \x{} notation) 55 56 just pre 5.6 (could translate to s///) 57 Ransom 58 Unicode support 59 60 Native UTF-8 dependent (major rev bump and pre 5.8 support dropped) 61 ?? TOIlet permits widechars as EOL! 62 63 charmapl.pl 64 TOIlet fonts? 65 66 $\ should be used for output, not $/? 67 ...although there may have been some emthod to this madness? 68 This would be a major-ish change, and would wait for major rev bump 69 70REFACTOR 71 Switch to ::AnyInflate? 72 73 Benchmark 74 $font alias again 75 76 Negative Char performance 77 Pre-allocating length halves size of array, 78 req. scan file for - 1st, seek/read backwards? iff -U 79 (assumes sane file order, but is okay for optimization?) 80 XXX Alas header[-1], codetag count, is useless here 81 82 Hash(collision performance hit)? 83 84 2nd array(code complexity?)? 85 86 detect if glyph has been seen before, and reference it? 87 88 reduce reliance upon $/ 89 ammend split expression? 90 91 Native UTF8 in 5.8+? Major version bump and drop support for $]<= 5.7 92 93 -m=-0 94 a) keep current hack on hack 95 b) use header width 96 97 may break, depending on Text::Wrap? 98 99 use header[3] as initial approximation of char width, 100 to help nix up-to 0x7e heuristic 101 102 header http://www.jave.de/figlet/figfont.html#headerline 103 [-2] = full layout 104 XXX [-1] = figchar count!! optimize file parser with this? 105 106 107 Revisit local 1.07 branches, anything to salvage? 108 109 Experimental parsing (mis-)feature? 110 my $file = qr/^(??{$hunk})*$/x;