text
stringlengths
0
4k
|@@@@ @@@@@@@@@@@@@@@@@@@@@@ I @@@|
|@@@@ @@@@@@@@@@@@@@@@@@@@*@[ i @@@|
|@@@@ @@@@@@@@@@@@@@@@@@@@[][ | ]@@@|
|@@@@ ~_,,_ ~@@@@@@@~ ____~ @ @@@|
|@@@@ _~ , , `@@@~ _ _`@ ]L J@@@|
|@@@@ , @@w@ww+ @@@ww``,,@w@ ][ @@@@|
|@@@@, @@@@www@@@ @@@@@@@ww@@@@@[ @@@@|
|@@@@@_|| @@@@@@P' @@P@@@@@@@@@@@[|c@@@@|
|@@@@@@w| '@@P~ P]@@@-~, ~Y@@^'],@@@@@@|
|@@@@@@@[ _ _J@@Tk ]]@@@@@@|
|@@@@@@@@,@ @@, c,,,,,,,y ,w@@[ ,@@@@@@@|
|@@@@@@@@@ i @w ====--_@@@@@ @@@@@@@@|
|@@@@@@@@@@`,P~ _ ~^^^^Y@@@@@ @@@@@@@@@|
|@@@@^^=^@@^ ^' ,ww,w@@@@@ _@@@@@@@@@@|
|@@@_xJ~ ~ , @@@@@@@P~_@@@@@@@@@@@@|
|@@ @, ,@@@,_____ _,J@@@@@@@@@@@@@|
|@@L `' ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@|
Here's a playful anti-aliased ascii font (3*3):
! i-, ,=_ :\ = - --= ,-, i i ! i ! / i \ /
i=: :=\ : | ) |- |- | _ :_: : | =: : !""!
j t |_) Y_- :=' o-= o Y-) ! ! i \-Y i \ =-- + +
= : ,-, i- ,-, :-, ,-> ==- i i i i ! ! \ / i i <-=
|\| [ ) :_) [ ) i_; "-, | | | \ / :/\: = ':' /
: + "=" | "=t ! \ o_) ! "=" + ! ! j t ! o-=
An anti-aliasing character palette should include these 'diagonals':
JhjtY
A new anti-aliasing algorithm!
Happily, as I was working on this faq, I ran across Rob Harley
(robert@vlsi.cs.caltech.edu), who had some handy code for converting
b&w bitmaps according to a mapping like this:
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
.. .. .. .. .@ .@ .@ .@ @. @. @. @. @@ @@ @@ @@
.. .@ @. @@ .. .@ @. @@ .. .@ @. @@ .. .@ @. @@
, . _ - i v g - c i s = e z m
.@ .@ .@ .@ .@ .@ .@ .@ .@ .@ .@ .@ .@ .@ .@ .@
.. .. .. .. .@ .@ .@ .@ @. @. @. @. @@ @@ @@ @@
.. .@ @. @@ .. .@ @. @@ .. .@ @. @@ .. .@ @. @@
' ! / 2 ! ] / d / ( / K Y 4 Z W
@. @. @. @. @. @. @. @. @. @. @. @. @. @. @. @.
.. .. .. .. .@ .@ .@ .@ @. @. @. @. @@ @@ @@ @@
.. .@ @. @@ .. .@ @. @@ .. .@ @. @@ .. .@ @. @@
` \ | L \ \ ) G ! t [ b + N D W
@@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@
.. .. .. .. .@ .@ .@ .@ @. @. @. @. @@ @@ @@ @@
.. .@ @. @@ .. .@ @. @@ .. .@ @. @@ .. .@ @. @@
~ T 7 X V Y Z 8 f 5 P K * M A @
The most important factor in these assignments is not the letter
shape alone, but the overall pixel density. On my Mac, these rows
form an approximate greyscale, from 2 pixels per char, to six:
2 _ivc=!/|\~
3 gjez2]/(YL\)t[+T7Vf
4 mdK4ZGbNDXY5P*
5 W8KMA
6 @ <-- remember, this choice varies widely: @#%&*
Theoretically, these substitutions could turn 22*80 ascii resolution
into 66*160. See rec.misc for the sourcecode and further details.
Here's the output:
i`it)v|[[[[(//s+)`(-\\/JJgbdd@@@@@@@dmKK(c!(/-[2=/cct/!-v\!_L\)|
]-!/(!-)\L\)v|c5(!,!Ldd@@@@@@@@@@@@@@@@@@@dK/]!c\\\v|i\/cT\v((c-
]!`/v\//(-|t\VvcL!m@@@@@M@@@@@@@@@@@@@@@@@@@@bLt\\|)c/2-vv)/it\.
--/-,\,\v\,|)/v/m@@@@@@K@@@@@@@@@@@@@@@@@@@@@@@bK!v!-( )-!.[/cT
//.\--'--|-/c(e@@@@@@@DD@@@@@@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