diff options
Diffstat (limited to 'tex/context/base/s-fnt-02.tex')
-rw-r--r-- | tex/context/base/s-fnt-02.tex | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/tex/context/base/s-fnt-02.tex b/tex/context/base/s-fnt-02.tex index c3ffeb9b4..69f976102 100644 --- a/tex/context/base/s-fnt-02.tex +++ b/tex/context/base/s-fnt-02.tex @@ -58,10 +58,38 @@ \definefont[FontOne][\getvariable{glyphs}{name-1} at 280pt] \definefont[FontTwo][\getvariable{glyphs}{name-2} at 280pt] +% \dostepwiserecurse{0}{255}{1} +% {\doiffontcharelse{\getvariable{glyphs}{name-1}}{\recurselevel} +% {\doiffontcharelse{\getvariable{glyphs}{name-2}}{\recurselevel} +% {\startstandardmakeup +% \doifelse{\getvariable{glyphs}{frame}}{on} % too many box calculations when off, but who cares +% {\boxrulewidth=2pt} +% {\boxrulewidth=0pt} +% \setbox 0=\hbox{\white\ruledhbox{\FontOne \char\recurselevel}} +% \setbox 2=\hbox{\white\ruledhbox{\FontTwo \char\recurselevel}} +% \setbox 4=\hbox{\FontOne \ColorOne \char\recurselevel} +% \setbox 6=\hbox{\FontTwo \ColorTwo \char\recurselevel} +% \setbox 8=\hbox{\BackOne \ruledhbox{\FontOne \phantom{\char\recurselevel}}} +% \setbox10=\hbox{\BackTwo \ruledhbox{\FontTwo \phantom{\char\recurselevel}}} +% \vfill +% \hbox{\dostepwiserecurse{0}{10}{2}{\hbox to \hsize{\hss\box\recurselevel\hss}\hskip-\hsize}} +% \vfill +% \tttf +% \setstrut +% \hbox to \hsize{\strut\hss +% {\ColorOne \getvariable{glyphs}{name-1}}\quad +% {\ColorTwo \getvariable{glyphs}{name-2}}\quad +% {\ColorNone char \recurselevel }\hss} +% \stopstandardmakeup} +% {}} +% {}} + \dostepwiserecurse{0}{255}{1} - {\doiffontcharelse{\getvariable{glyphs}{name-1}}{\recurselevel} - {\doiffontcharelse{\getvariable{glyphs}{name-2}}{\recurselevel} - {\startstandardmakeup + {\donefalse + \doiffontcharelse{\getvariable{glyphs}{name-1}}{\recurselevel}{\donetrue}{}% + \doiffontcharelse{\getvariable{glyphs}{name-2}}{\recurselevel}{\donetrue}{}% + \ifdone + \startstandardmakeup \doifelse{\getvariable{glyphs}{frame}}{on} % too many box calculations when off, but who cares {\boxrulewidth=2pt} {\boxrulewidth=0pt} @@ -80,9 +108,8 @@ {\ColorOne \getvariable{glyphs}{name-1}}\quad {\ColorTwo \getvariable{glyphs}{name-2}}\quad {\ColorNone char \recurselevel }\hss} - \stopstandardmakeup} - {}} - {}} + \stopstandardmakeup + \fi} \stopsetups |