Thursday, June 24, 2010

What font sould you use for ASCII art?

    ASCII art is created using a fixed-width font (like on a traditional
    typewriter), because this is the only way to make it portable.
    However, several people now display messages in a proportional
    font (where different characters are different widths).

    Examples of fixed-width fonts        1.   ANDALE MONO
    commonly available with ms.windows:  2.   COURIER NEW
                                         3.   LUCIDA CONSOLE
                                         4.   LUCIDA SANS TYPEWRITER
                                         5.   OCR A EXTENDED

    The following two lines tell you which kind of font you're using.
    The arrow ends up in a different place for different font types and
    is right most of the time:

    You are using a [Proportional] [Monospaced] font
    ................................. --^--

    Also, to see what your program is doing, look at these two lines:
    iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii|
    WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW|
    If they look the same length, you're using a fixed-width font and
    all should be ok. If the second line is longer than the first, you
    need to change your settings to use a fixed-width font.

    If you don't want to bother with changing your font around you could
    just copy the picture and paste it into your notepad, it is always a
    monospaced font and will display the picture how it is ment to be.

No comments:

Post a Comment