Wow, thank you Mojca : pretty impressive !  Would I be right
in guessing that your example is coded in ConTeXt ?

** Phil.

Mojca Miklavec wrote:
\setupbodyfont[gentium,100pt]

\starttext

\bf \newdimen\mywidth
\def\a#1#2{\mywidth=0.07pt\multiply\mywidth by #1%
\defineeffect[a][alternative=outer,rulethickness=\mywidth]\starteffect[a]Thai-An\stopeffect}

\startMPpage
for i=0 upto 100:
        draw textext("\a{"&  decimal(100-i)&  "}{"&  decimal(i)&"}") shifted
((100-i)*0.017pt,-(100-i)*0.007pt) withcolor (i/300)[white,black];
endfor;
draw textext("Thai-An") withcolor blue;
\stopMPpage

\stoptext


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to