AsciiGlyphs

Introduction

The AsciiGlyphs package provides a command to print large ASCII glyphs in an HTML fragment based on a <pre>...</pre:> element. The shape of the glyphs was inspired by the challenge response used by Fossil to let anonymous users to log into a repository. The glyph set was extended to support the whole English alphabet and some punctuation characters. The string to be represented has to be made of pure 7-bit ASCII characters. The package also runs standalone outside of mod_rivet

Example

package require AsciiGlyphs
::AsciiGlyphs toGlyphs "Date: 07-12-2015"
 _____              _____   ______          ___   ______         __  ___          ___    ___   __  _____ 
|  __ \     /\     |_   _| |  ____|  _     / _ \ |____  |       /_ ||__ \        |__ \  / _ \ /_ || ____|
| |  | |   /  \      | |   | |__    |_|   | | | |    / /  ____   | |   ) | ____     ) || | | | | || |__  
| |  | |  / /\ \     | |   |  __|    _    | | | |   / /  |____|  | |  / / |____|   / / | | | | | ||___ \ 
| |__| | / ____ \    | |   | |____  |_|   | |_| |  / /           | | / /_         / /_ | |_| | | | ___) |
|_____/ /_/    \_\   |_|   |______|        \___/  /_/            |_||____|       |____| \___/  |_||____/ 

::AsciiGlyphs toGlyphs "Time: 18:10:19"
 _____   ___  _    _   ______         __   ___        __   ___        __   ___  
|_   _| |   || \  / | |  ____|  _    /_ | / _ \   _  /_ | / _ \   _  /_ | / _ \ 
  | |    | | |  \/  | | |__    |_|    | || (_) | |_|  | || | | | |_|  | || (_) |
  | |    | | | |  | | |  __|    _     | | > _ <   _   | || | | |  _   | | \__, |
  | |    | | | |  | | | |____  |_|    | || (_) | |_|  | || |_| | |_|  | |   / / 
  |_|   |___||_|  |_| |______|        |_| \___/       |_| \___/       |_|  /_/