%% glyph_test.tex %% Created by Laurence D. Finston (LDF) Wed 06 Apr 2022 11:00:31 PM CEST %% * (1) Top %% * (1) Copyright and License. %%%% This file is part of GNU 3DLDF, a package for three-dimensional drawing. %%%% Copyright (C) 2023 The Free Software Foundation, Inc. %%%% GNU 3DLDF is free software; you can redistribute it and/or modify %%%% it under the terms of the GNU General Public License as published by %%%% the Free Software Foundation; either version 3 of the License, or %%%% (at your option) any later version. %%%% GNU 3DLDF is distributed in the hope that it will be useful, %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the %%%% GNU General Public License for more details. %%%% You should have received a copy of the GNU General Public License %%%% along with GNU 3DLDF; if not, write to the Free Software %%%% Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA %%%% GNU 3DLDF is a GNU package. %%%% It is part of the GNU Project of the %%%% Free Software Foundation %%%% and is published under the GNU General Public License. %%%% See the website http://www.gnu.org %%%% for more information. %%%% GNU 3DLDF is available for downloading from %%%% http://www.gnu.org/software/3dldf/LDF.html. %%%% Please send bug reports to Laurence.Finston@gmx.de %%%% The mailing list help-3dldf@gnu.org is available for people to %%%% ask other users for help. %%%% The mailing list info-3dldf@gnu.org is for sending %%%% announcements to users. To subscribe to these mailing lists, send an %%%% email with ``subscribe '' as the subject. %%%% The author can be contacted at: %%%% Laurence D. Finston %%%% c/o Free Software Foundation, Inc. %%%% 51 Franklin St, Fifth Floor %%%% Boston, MA 02110-1301 %%%% USA %%%% Laurence.Finston@gmx.de % * (1) Beginning of TeX code. \special{papersize=420mm, 297mm} %% DIN A3 Landscape \vsize=297mm \hsize=420mm \input epsf \input eplain \input colordvi \nopagenumbers \pageno=1 \parindent=0pt \def\epsfsize#1#2{#1} \font\small=cmr8 \font\smalltt=cmtt8 \font\medium=cmr10 \font\largemed=cmr11 \font\large=cmr12 \font\largebx=cmbx12 \font\Largebx=cmbx12 scaled \magstep3 \font\hugebx=cmbx12 scaled 20000 \font\Large=cmr17 \font\huge=cmr17 scaled \magstep1 %% *** (3) \headline={\hfil} \advance\voffset by -1in \advance\voffset by 2cm \advance\hoffset by -1in \advance\hoffset by 2cm \def\epsfsize#1#2{#1} %% *** (3) Frame only. \vbox to \vsize{\line{\hskip0cm\epsffile{glyph_test001.eps}\hss}\vss} \vfil\eject %% *** (3) "April Showers". Outlines in frame. Boxes around words. \vbox to \vsize{\line{\hskip0cm\epsffile{glyph_test002.eps}\hss}\vss} \vfil\eject %% *** (3) \nonstopmode \newlinechar=`^^J \def\makebox#1{\begingroup\setbox0=\vbox{\hbox{#1}}% \message{#1: width = \the\wd0, height = \the\ht0\ifdim\dp0>0pt , depth = \the\dp0\fi^^J} %% \showthe\wd0 %% \showthe\ht0 %% \showthe\dp0 \setbox1=\vbox to 0pt{\hbox to 0pt{\vrule depth 2pt width \wd0\hss}\vss}% \dimen0=\ht0 \advance\dimen0 by 2pt \dimen1=\ht0 \advance\dimen1 by 2pt \dimen2=\wd0 \advance\dimen2 by -.5cm \dimen3=\wd0 \advance\dimen3 by -1pt \dimen4=\wd0 \advance\dimen4 by 1pt \dimen5=.5\wd0 \advance\dimen5 by -1pt \setbox2=\vbox to 0pt{\vskip-\dimen0\hbox to 0pt{\vrule height 1pt depth 1pt width \wd0\hss}\vss}% \setbox3=\vbox to 0pt{\vss\hbox to 0pt{\vrule height \ht0 width 2pt\hss}}% \setbox4=\vbox to 0pt{\vss\hbox to 0pt{\hskip\wd0\hskip-1pt \vrule height \dimen1 width 2pt depth 2pt\hss}}% \setbox5=\vbox to 0pt{\vskip-1ex\hbox to 0pt{\vrule height 1pt depth 1pt width .5cm\hss}\vss}% \setbox6=\vbox to 0pt{\vskip-1ex\hbox to 0pt{\hskip\dimen2\vrule height 1pt depth 1pt width .5cm\hss}\vss}% \setbox7=\vbox to 0pt{\hbox to 0pt{\vrule width 2pt depth \dp0\hss}\vss}% \setbox8=\vbox to 0pt{\hbox to 0pt{\hskip\dimen3\vrule width 2pt depth \dp0\hss}\vss}% \setbox9=\vbox to 0pt{\vskip\dp0\hbox to 0pt{\vrule width \dimen4 height 1pt depth 1pt\hss}\vss}% \setbox11=\vbox to 0pt{\vskip-.5cm\hbox to 0pt{\hskip-\wd0\hskip\dimen5\vrule height .5cm width 2pt\hss}\vss}% \setbox12=\vbox to 0pt{\vskip-.5cm\vskip.5cm\hbox to 0pt{\hskip-\wd0\hskip\dimen5\vrule height .5cm width 2pt\hss}\vss}% \setbox13=\vbox to 0pt{\vskip-\ht0\vskip-.5cm\hbox to 0pt{\hskip-\wd0\hskip\dimen5\vrule height .5cm width 2pt\hss}\vss}% \setbox14=\vbox to 0pt{\vskip-\ht0\hbox to 0pt{\hskip-\wd0\hskip\dimen5\vrule height .5cm width 2pt\hss}\vss}% \leavevmode\Black{\box1\box2\box3\box4}\ifdim\ht0>1ex\Black{\box5\box6}\fi\ifdim\dp0>0pt\Black{\box7\box8\box9}\fi% \hbox{#1}\Black{\box11\box12\box13\box14}% \endgroup\hskip-1cm} \begingroup \advance\hoffset by -1in \advance\hoffset by 3cm \advance\hsize by -3cm \hugebx \textGray \makebox{A}\makebox{B}\makebox{C}\makebox{D}\hfil\break \vskip1.5cm \makebox{E}\makebox{F}\makebox{G}\makebox{H}\hfil\break \vskip1.5cm \makebox{I}\makebox{J}\makebox{K}\makebox{L}\hfil\break\vfil\eject \vfil\eject \makebox{M}\makebox{N}\makebox{O}\makebox{P}\hfil\break \vskip1.5cm \makebox{Q}\makebox{R}\makebox{S}\makebox{T}\hfil\break \vskip1.5cm \makebox{U}\makebox{V}\makebox{W}\hfil\break \vfil\eject \makebox{X}\makebox{Y}\makebox{Z}\hfil\break \vskip1.5cm \makebox{a}\makebox{b}\makebox{c}\makebox{e}\makebox{f}\makebox{g}\hfil\break \vskip1.5cm \makebox{h}\makebox{i}\makebox{j}\makebox{k}\makebox{l}\makebox{m}\hfil\break \vfil\eject \makebox{n}\makebox{o}\makebox{p}\makebox{q}\makebox{r}\hfil\break \vskip1.5cm \makebox{s}\makebox{t}\makebox{u}\makebox{v}\makebox{w}\hfil\break \vskip1.5cm \makebox{x}\makebox{y}\makebox{z}\hfil\break \vfil\eject \makebox{0}\makebox{1}\makebox{2}\makebox{3}\makebox{4}\hfil\break \vskip1.5cm \makebox{5}\makebox{6}\makebox{7}\makebox{8}\makebox{9}\hfil\break \endgroup \vfil\eject %% A: width = 203.88908pt, height = 164.66675pt %% B: width = 191.94466pt, height = 164.66675pt %% C: width = 195.0pt, height = 164.66675pt %% D: width = 206.94466pt, height = 164.66675pt %% E: width = 177.22229pt, height = 164.66675pt %% F: width = 169.72229pt, height = 164.66675pt %% G: width = 212.22221pt, height = 164.66675pt %% H: width = 211.11145pt, height = 164.66675pt %% I: width = 100.5558pt, height = 164.66675pt %% J: width = 139.44466pt, height = 164.66675pt %% K: width = 211.38908pt, height = 164.66675pt %% L: width = 162.22229pt, height = 164.66675pt %% M: width = 256.11145pt, height = 164.66675pt %% N: width = 211.11145pt, height = 164.66675pt %% O: width = 202.77763pt, height = 164.66675pt %% P: width = 184.44466pt, height = 164.66675pt %% Q: width = 202.77763pt, height = 164.66675pt, depth = 46.66649pt %% R: width = 201.38924pt, height = 164.66675pt %% S: width = 150.0pt, height = 164.66675pt %% T: width = 187.77763pt, height = 164.66675pt %% U: width = 207.50038pt, height = 164.66675pt %% V: width = 203.88908pt, height = 164.66675pt %% W: width = 278.88908pt, height = 164.66675pt %% X: width = 203.88908pt, height = 164.66675pt %% Y: width = 203.88908pt, height = 164.66675pt %% Z: width = 165.0pt, height = 164.66675pt %% a: width = 131.25pt, height = 106.66649pt %% b: width = 150.0pt, height = 166.66649pt %% c: width = 120.0pt, height = 106.66649pt %% d: width = 150.0pt, height = 166.66649pt %% e: width = 123.1945pt, height = 106.66649pt %% f: width = 82.5pt, height = 166.66649pt %% g: width = 135.0pt, height = 106.66649pt, depth = 46.66649pt %% h: width = 150.0pt, height = 166.66649pt %% i: width = 75.0pt, height = 166.66649pt %% j: width = 82.5pt, height = 166.66649pt, depth = 46.66649pt %% k: width = 142.5pt, height = 166.66649pt %% l: width = 75.0pt, height = 166.66649pt %% m: width = 225.0pt, height = 106.66649pt %% n: width = 150.0pt, height = 106.66649pt %% o: width = 135.0pt, height = 106.66649pt %% p: width = 150.0pt, height = 106.66649pt, depth = 46.66649pt %% q: width = 142.5pt, height = 106.66649pt, depth = 46.66649pt %% r: width = 110.27802pt, height = 106.66649pt %% s: width = 106.50032pt, height = 106.66649pt %% t: width = 105.0pt, height = 152.38106pt %% u: width = 150.0pt, height = 106.66649pt %% v: width = 142.5pt, height = 106.66649pt %% w: width = 195.0pt, height = 106.66649pt %% x: width = 142.5pt, height = 106.66649pt %% y: width = 142.5pt, height = 106.66649pt, depth = 46.66649pt %% z: width = 120.0pt, height = 106.66649pt %% *** (3) "April Showers". Large, gray, with boxes. \begingroup \vbox to 0pt{\hbox to 0pt{\epsffile{glyph_test001.eps}\hss}\vss} \hugebx \textGray \vskip2cm \hskip5.1125cm\makebox{April} \vskip3.5cm \hskip-.87cm\makebox{Showers} \endgroup \vfil\eject %% *** (3) %% \vbox to \vsize{\vskip2cm\line{\hskip0cm\epsffile{glyph_test000.eps}\hss}\vss} %% \vfil\eject %% \vbox to \vsize{\vskip2cm\line{\hskip0cm\epsffile{glyph_test001.eps}\hss}\vss} %% \vfil\eject \bye %% *** (3) End here \bye %% * (1) Local variables for Emacs. %% Local Variables: %% mode:plain-TeX %% eval:(local-set-key "\"" 'self-insert-command) %% eval:(outline-minor-mode t) %% auto-fill-function:nil %% outline-regexp:"%% [*\f]+" %% End: