File: asciiglyphs.xml

package info (click to toggle)
libapache2-mod-rivet 3.2.6-1
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 6,384 kB
  • sloc: tcl: 8,982; xml: 8,619; ansic: 7,074; sh: 5,039; makefile: 195; sql: 91; lisp: 78
file content (58 lines) | stat: -rw-r--r-- 2,746 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<section id="asciiglyphs">
    <title>AsciiGlyphs</title>
    <section>
        <title>Introduction</title>
        <para>
				The <command>AsciiGlyphs</command> package provides a command
				to print large ASCII glyphs in an HTML fragment based on
				a &lt;pre&gt;...&lt;/pre:&gt; 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
        </para>
     </section>
    <refentry id="toglyphs">
	        <refnamediv>
	            <refname>toGlyphs</refname>
	            <refpurpose>
	            	print large ASCII glyphs
	            </refpurpose>
	        </refnamediv>
	        <refsynopsisdiv>
	            <cmdsynopsis>
	                <command>::AsciiGlyphs toGlyphs</command>
	                <arg choice="plain">string</arg>
	            </cmdsynopsis>
	        </refsynopsisdiv>
	        <refsect1>
            <title>Description</title>
            <para>
            	prints the ASCII glyphs corresponding to the characters forming
    		        	the argument <arg choice="plain">string</arg>
            </para>
           </refsect1>
		  </refentry>
		  <section>
		  	<title>Example</title>
		  		<programlisting>package require AsciiGlyphs
::AsciiGlyphs toGlyphs "Date: 07-12-2015"
 _____              _____   ______          ___   ______         __  ___          ___    ___   __  _____ 
|  __ \     /\     |_   _| |  ____|  _     / _ \ |____  |       /_ ||__ \        |__ \  / _ \ /_ || ____|
| |  | |   /  \      | |   | |__    |_|   | | | |    / /  ____   | |   ) | ____     ) || | | | | || |__  
| |  | |  / /\ \     | |   |  __|    _    | | | |   / /  |____|  | |  / / |____|   / / | | | | | ||___ \ 
| |__| | / ____ \    | |   | |____  |_|   | |_| |  / /           | | / /_         / /_ | |_| | | | ___) |
|_____/ /_/    \_\   |_|   |______|        \___/  /_/            |_||____|       |____| \___/  |_||____/ 

::AsciiGlyphs toGlyphs "Time: 18:10:19"
 _____   ___  _    _   ______         __   ___        __   ___        __   ___  
|_   _| |   || \  / | |  ____|  _    /_ | / _ \   _  /_ | / _ \   _  /_ | / _ \ 
  | |    | | |  \/  | | |__    |_|    | || (_) | |_|  | || | | | |_|  | || (_) |
  | |    | | | |  | | |  __|    _     | | &gt; _ &lt;   _   | || | | |  _   | | \__, |
  | |    | | | |  | | | |____  |_|    | || (_) | |_|  | || |_| | |_|  | |   / / 
  |_|   |___||_|  |_| |______|        |_| \___/       |_| \___/       |_|  /_/  

</programlisting>
    </section>
</section>