modernc.org/knuth@v0.0.4/mft/testdata/test.tex (about)

     1  \input mftmac
     2  \BL
     3  $\\{cmchar}\7"Lowercase thorn";$\par
     4  $\2{beginchar}(\1{oct}\7"015",10u\SH +\\{serif\_fit}\SH ,\\{asc\_height}\SH ,%
     5  \\{desc\_depth}\SH );$\par
     6  $\2{italcorr}.5\\{x\_height}\SH \ast \\{slant}+\1{min}(.5\\{curve}\SH -.85u\SH
     7  ,-.1u\SH );$\par
     8  $\\{adjust\_fit}(\\{serif\_fit}\SH ,0);$\par
     9  $\2{pickup}\\{tiny}_{nib};\ \\{pos}_{1}(\\{stem}',0);\ \\{pos}_{2}(%
    10  \\{stem},0);$\par
    11  $\\{pos}_{0'}(\\{stem}',0);\ \\{pos}_{0}(\\{stem},0);\ z_{0l}=z_{0'l};\
    12  x_{0'}=x_{1};\ x_{0}=x_{2};$\par
    13  $\\{lft}\,x_{1l}=\1{hround}(2.5u-.5\\{stem}');\ \\{top}\,y_{1}=h;$\par
    14  $\2{numeric}\\{edge};\ \\{edge}=\\{rt}\,x_{2r};$\par
    15  $\2{pickup}\\{fine}_{nib};\ \\{pos}_{3}(\2{if}\\{hefty}\?:\\{thin\_join}%
    16  \2{else}\?:\\{hair}\3{fi},180);$\par
    17  $\\{pos}_{4}(\\{vair}',90);\ \\{pos}_{5}(\\{curve},0);\ \\{pos}_{6}(%
    18  \\{vair},-90);$\par
    19  $\\{rt}\,x_{3l}=\frac1/{3}[\\{rt}\,x_{2},\\{edge}];\ y_{3}=\frac1/{8}[\\{bar%
    20  \_height},\\{x\_height}];$\par
    21  $x_{4l}=w-.5(w-\\{serif\_fit})+.5u;\ \\{top}\,y_{4r}=\\{x\_height}+\\{oo};$\par
    22  $\\{rt}\,x_{5r}=\1{hround}\1{min}(w-1.35u+.5\\{curve},w-.6u);\ y_{5}=.5\\{x%
    23  \_height};$\par
    24  $x_{6}=x_{3};\ \\{bot}\,y_{6r}=-\\{oo};$\par
    25  $(x,y_{4r})=\\{whatever}[z_{3l},z_{4l}];\ x_{4r}:=%
    26  \1{min}(x,.5[x_{5r},x_{4}]);$\par
    27  $\2{filldraw}\\{stroke}_{z3e}\{\\{up}\}\8{...}\{\\{right}\}z_{4e}\AM \\{super%
    28  \_arc}_{e}(4,5)$\par
    29  \quad${}\AM z_{5e}\{\\{down}\}\8{...}\{5(x_{6}-x_{5}),y_{6}-y_{5}\}z_{6e};\ \9
    30  bowl\par
    31  $y_{0}=\1{ypart}(((\\{edge},h)\8{--}(\\{edge},0))\6{intersectionpoint}(z_{3l}%
    32  \{\\{up}\}\8{...}\{\\{right}\}z_{4l}));$\par
    33  $\2{pickup}\\{tiny}_{nib};\ \\{bot}\,y_{2}=-d;$\par
    34  $\2{filldraw}\\{stroke}_{z1e}\8{--}z_{0'e}\8{--}z_{0e}\8{--}z_{2e};\ \9 stem%
    35  \par
    36  $\2{pickup}\\{crisp}_{nib};\ \\{pos}_{8}(\\{hair},0);\ \\{pos}_{7'}(%
    37  \\{stem},0);$\par
    38  $z_{7'}=z_{2};\ x_{8l}=x_{7'l};\ \\{bot}\,y_{8}=0;$\par
    39  $\2{filldraw}\\{stroke}_{z7'e}\8{--}z_{8e};\ \9 point\par
    40  $\2{if}\\{serifs}\?:\\{sloped\_serif}_{l}(1,0',a,\frac1/{3},\\{jut},\\{serif%
    41  \_drop});\ \9 upper serif\par
    42  \quad$\\{dish\_serif}(2,0,b,\frac1/{3},\\{jut},c,\frac1/{3},0);\3{fi}\9 lower
    43  serif\par
    44  $\\{penlabels}(0,1,2,3,4,5,6,8);\3{endchar};$\par
    45  \BL
    46  \BL