| <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>AsciiGlyphs</title><link rel="stylesheet" type="text/css" href="rivet.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="index.html" title="Apache Rivet 3.0"><link rel="up" href="index.html" title="Apache Rivet 3.0"><link rel="prev" href="decode.html" title="decode"><link rel="next" href="toglyphs.html" title="toGlyphs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">AsciiGlyphs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="decode.html"><img src="images/prev.png" alt="Prev"></a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="toglyphs.html"><img src="images/next.png" alt="Next"></a></td></tr></table></div><div class="section"><div class="titlepage"><div><div><hr><h2 class="title" style="clear: both"><a name="asciiglyphs"></a>AsciiGlyphs</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="idm4168"></a>Introduction</h3></div></div></div><p style="width:90%"> |
| The <span style="font-family:monospace"><span class="command"><strong>AsciiGlyphs</strong></span></span> 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 |
| </p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="idm4184"></a>Example</h3></div></div></div><pre class="programlisting">package require AsciiGlyphs |
| ::AsciiGlyphs toGlyphs "Date: 07-12-2015" |
| _____ _____ ______ ___ ______ __ ___ ___ ___ __ _____ |
| | __ \ /\ |_ _| | ____| _ / _ \ |____ | /_ ||__ \ |__ \ / _ \ /_ || ____| |
| | | | | / \ | | | |__ |_| | | | | / / ____ | | ) | ____ ) || | | | | || |__ |
| | | | | / /\ \ | | | __| _ | | | | / / |____| | | / / |____| / / | | | | | ||___ \ |
| | |__| | / ____ \ | | | |____ |_| | |_| | / / | | / /_ / /_ | |_| | | | ___) | |
| |_____/ /_/ \_\ |_| |______| \___/ /_/ |_||____| |____| \___/ |_||____/ |
| |
| ::AsciiGlyphs toGlyphs "Time: 18:10:19" |
| _____ ___ _ _ ______ __ ___ __ ___ __ ___ |
| |_ _| | || \ / | | ____| _ /_ | / _ \ _ /_ | / _ \ _ /_ | / _ \ |
| | | | | | \/ | | |__ |_| | || (_) | |_| | || | | | |_| | || (_) | |
| | | | | | | | | | __| _ | | > _ < _ | || | | | _ | | \__, | |
| | | | | | | | | | |____ |_| | || (_) | |_| | || |_| | |_| | | / / |
| |_| |___||_| |_| |______| |_| \___/ |_| \___/ |_| /_/ |
| |
| </pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="decode.html"><img src="images/prev.png" alt="Prev"></a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="toglyphs.html"><img src="images/next.png" alt="Next"></a></td></tr><tr><td width="40%" align="left" valign="top">decode </td><td width="20%" align="center"><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a></td><td width="40%" align="right" valign="top"> toGlyphs</td></tr></table></div></body></html> |