Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art, started 15 Mar 2001.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
Webpage asciifont

Webpage asciifont

alt.ascii-art · 7 messages · 15 Mar 2001 - 1 Apr 2001
mar...@telia.com.deletethis 15 Mar 2001 18:22 · permalink · report
Anyone have a suggestion for which font to use to put some ascii on my
webpage and it look good on many plattformsnot just pc+windows?

Or should I just use the <PRE></PRE> tags?

Maybe its best to put a .txt in a frame or the webpage get corrupt if
using the < / \ > codes in the asciiart?

In alt.ascii-art,  <mar...@telia.com.deletethis> wrote:
> Anyone have a suggestion for which font to use to put some ascii on my
> webpage and it look good on many plattformsnot just pc+windows?

Any font you select has to be on the remote system for the browser
to use it. Chances are slim that will help much.

> Or should I just use the <PRE></PRE> tags?

A <PRE></PRE> block is necessary to make sure that the whitespace does
not get squished. Added benefit is that <PRE></PRE> also uses a fixed
width font (but which one used may vary).

> Maybe its best to put a .txt in a frame or the webpage get corrupt if
> using the < / \ > codes in the asciiart?

That will work, but you can esacpe the special characters with a
global replace in your editor. The ones you need to worry about
are:

	&	=> 	&amp;
	<	=>	&lt;
	>	=>	&gt;

Do the ampersand first so that you don't break the codes for < and >.

Elijah
------
                               mmm mmm
  H A P P Y                   MMMMVMMMM
                              VMMMMMMMV
    S A I N T           mmmmm  VMMMMMV  mmmmm
                       JMMMMML  VMMMV  JMMMMML
P A T R I C K ' S      VMMMMMMmmJMMMLmmMMMMMMV
                       :MMMMMMMMMMMMMMMMMMMMM:
          D A Y        1MMMMMM"""JP""""MMMMMM1
                       ?MMMMMP   V:    ?MMMMMV
                        """""    1L     """""
                                 "P          etb

SheDragon <she...@lycos.com> ASCII art 15 Mar 2001 23:44 · permalink · report
You need the <pre> tags no matter what font you use. I like fixedsys
font. 

On Thu, 15 Mar 2001 18:22:00 GMT, mar...@telia.com.deletethis
wrote:

>Anyone have a suggestion for which font to use to put some ascii on my
>webpage and it look good on many plattformsnot just pc+windows?
>
>Or should I just use the <PRE></PRE> tags?
>
>Maybe its best to put a .txt in a frame or the webpage get corrupt if
>using the < / \ > codes in the asciiart?
>

  ------------------------------------------------
                        |>          ...for you are
                       /_\       crunchy and taste
  (        |\/|    ._._|_|_._.      good dipped in
   ) .---._(qp)    |_|_|#|_|_|          chocolate.
  (_(_,_(_,-^^         ((
  ______________________))_____________________ldb

In article <3ab...@news.onemain.com>, SheDragon wrote:
>On Thu, 15 Mar 2001 18:22:00 GMT, mar...@telia.com.deletethis
>wrote:
>
>>Anyone have a suggestion for which font to use to put some ascii on my
>>webpage and it look good on many plattformsnot just pc+windows?
>>Or should I just use the <PRE></PRE> tags?
>
>You need the <pre> tags no matter what font you use. I like fixedsys
>font. 

Right.  For more details, read Eli's post in this thread.  I'd like to
add one word of caution:  The "obvious" solution:

  <pre><font face="Fixedsys"> :-( </font></pre>

..is technically incorrect, since the HTML standard forbids font tags
inside pre.  More importantly, I just recently heard reports of some
browsers ignoring the pre tags in such a construct, with rather ugly
results.  The proper solution would be:

  <pre style="font: Fixedsys, monospaced;"> :-) </pre>

..or even better, using a full CSS style sheet:

  PRE.asciiart {
    font: 12pt/12pt bold Topaz New, terminal, monospaced;
    color: green;  /* why not, while we're at it? */
  }

..so that you can simply write:

  <pre class=asciiart> :-) </pre>


>>Maybe its best to put a .txt in a frame or the webpage get corrupt if
>>using the < / \ > codes in the asciiart?

As Eli said, just replace & with &amp; and < with &lt;

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
"/* If you don't understand, don't touch */"  -- Abigail in the monastery

mar...@telia.com.deletethis 16 Mar 2001 19:00 · permalink · report
At 15 Mar 2001 21:50:42 GMT Eli the Bearded <*@qz.little-neck.ny.us>
wrote 39 Lines about "Re: Webpage asciifont" in "alt.ascii-art"

>In alt.ascii-art,  <mar...@telia.com.deletethis> wrote:
>> Anyone have a suggestion for which font to use to put some ascii on my
>> webpage and it look good on many plattformsnot just pc+windows?
>
>Any font you select has to be on the remote system for the browser
>to use it. Chances are slim that will help much.
>
>> Or should I just use the <PRE></PRE> tags?
>
>A <PRE></PRE> block is necessary to make sure that the whitespace does
>not get squished. Added benefit is that <PRE></PRE> also uses a fixed
>width font (but which one used may vary).
>
>> Maybe its best to put a .txt in a frame or the webpage get corrupt if
>> using the < / \ > codes in the asciiart?
>
>That will work, but you can esacpe the special characters with a
>global replace in your editor. The ones you need to worry about
>are:
>
>	&	=> 	&amp;
>	<	=>	&lt;
>	>	=>	&gt;
>
>Do the ampersand first so that you don't break the codes for < and >.

Maybe we need a new HTML tag

<ASCIIART>

 o
/|\_      /
/ \ -0||||

</ASCIIART>

The most important new feature in HTML5

Ilmari Karonen <ilt...@sci.invalid> ASCII art 19 Mar 2001 09:44 · permalink · report
In article <hfo...@4ax.com>, mar...@telia.com.deletethis wrote:
>
>Maybe we need a new HTML tag
>
><ASCIIART>
> o
>/|\_      /
>/ \ -0||||
></ASCIIART>

Hmm.. exactly how would that be different from:

  <PRE>
   o
  /|\_      /
  / \ -0||||
  </PRE>

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
'"Intuitive" in this situation can generally be translated as "Try the 100
 most likely commands.  None of them will work, but you'll kick yourself
 when you find out what you should have typed."'  -- Charles Miller in SDM

> & => &amp;
> < => &lt;
> > => &gt;
>

These work as stated.   If you're looking for some other ones that you think
might have problems you can also use the ASCII decimal value.  Like....

&#255;   for   �
  or
&#174;   for  �
  etc.

don't forget the semi-colon!
I made a list of the ASCII character codes for HTML pages....
http://yaoga.vr9.com/chars.html
I didn't feel like typing them all, so I used JavaScript to print them on
the fly.  So you need JavaScript to view it.

Happy typing!
-Okah Yaoga

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art in 2001 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post