summaryrefslogtreecommitdiff
path: root/fonts/semaphor/doc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/semaphor/doc
Initial commit
Diffstat (limited to 'fonts/semaphor/doc')
-rw-r--r--fonts/semaphor/doc/example.pdfbin0 -> 129202 bytes
-rw-r--r--fonts/semaphor/doc/example.tex120
-rw-r--r--fonts/semaphor/doc/test-context.pdfbin0 -> 161869 bytes
-rw-r--r--fonts/semaphor/doc/test-context.tex117
4 files changed, 237 insertions, 0 deletions
diff --git a/fonts/semaphor/doc/example.pdf b/fonts/semaphor/doc/example.pdf
new file mode 100644
index 0000000000..ca824e5d12
--- /dev/null
+++ b/fonts/semaphor/doc/example.pdf
Binary files differ
diff --git a/fonts/semaphor/doc/example.tex b/fonts/semaphor/doc/example.tex
new file mode 100644
index 0000000000..a13fdcaccc
--- /dev/null
+++ b/fonts/semaphor/doc/example.tex
@@ -0,0 +1,120 @@
+% SEMAPHORE ALPHABET FONT test file "example.tex"
+% Font znaku semaforove abecedy, priklad
+% Copyright (C) 1998-2008 Vit ZYKA, vit.zyka@seznam.cz
+
+\hoffset=-15.4mm \hsize=190mm
+\voffset=-15.4mm \vsize=277mm
+\input semaf
+\let\semaf=\smfbf
+\font\textfn=csssbx10
+\font\tabfn=csss8
+\font\nadpisfn=csssbx10 at 14pt
+\textfn
+\footline={\hfill}
+\newskip\hs \hs=1em
+\newskip\vs \vs=3mm plus1mm minus1mm
+
+\setbox1=\vbox to\hsize{\hsize=30mm
+ \hrule\vskip\vs
+ \centerline{{\nadpisfn Semaphore}}
+ \vskip\vs
+ \centerline{A\hskip\hs {\semaf A}}
+ \centerline{B\hskip\hs {\semaf B}}
+ \centerline{C\hskip\hs {\semaf C}}
+ \centerline{D\hskip\hs {\semaf D}}
+ \centerline{E\hskip\hs {\semaf E}}
+ \centerline{F\hskip\hs {\semaf F}}
+ \centerline{G\hskip\hs {\semaf G}}
+ \vskip\vs
+ \centerline{H\hskip\hs {\semaf H}}
+ \centerline{I\hskip\hs {\semaf I}}
+ \centerline{K\hskip\hs {\semaf K}}
+ \centerline{L\hskip\hs {\semaf L}}
+ \centerline{M\hskip\hs {\semaf M}}
+ \centerline{N\hskip\hs {\semaf N}}
+ \vskip\vs
+ \centerline{O\hskip\hs {\semaf O}}
+ \centerline{P\hskip\hs {\semaf P}}
+ \centerline{Q\hskip\hs {\semaf Q}}
+ \centerline{R\hskip\hs {\semaf R}}
+ \centerline{S\hskip\hs {\semaf S}}
+ \vskip\vs
+ \centerline{T\hskip\hs {\semaf T}}
+ \centerline{U\hskip\hs {\semaf U}}
+ \centerline{Y\hskip\hs {\semaf Y}}
+ \vskip\vs
+ \centerline{J\hskip\hs {\semaf J}}
+ \centerline{V\hskip\hs {\semaf V}}
+ \vskip\vs
+ \centerline{W\hskip\hs {\semaf W}}
+ \centerline{X\hskip\hs {\semaf X}}
+ \vskip\vs
+ \centerline{Z\hskip\hs {\semaf Z}}
+ \vskip\vs
+ \centerline{mistake\hskip\hs {\semaf \char`\~}}
+% \centerline{digits\hskip\hs {\semaf \char`\$}}
+ \vskip\vs
+ \centerline{1\hskip\hs {\semaf 1}}
+ \centerline{2\hskip\hs {\semaf 2}}
+ \centerline{3\hskip\hs {\semaf 3}}
+ \centerline{4\hskip\hs {\semaf 4}}
+ \centerline{5\hskip\hs {\semaf 5}}
+ \centerline{6\hskip\hs {\semaf 6}}
+ \centerline{7\hskip\hs {\semaf 7}}
+ \centerline{8\hskip\hs {\semaf 8}}
+ \centerline{9\hskip\hs {\semaf 9}}
+ \centerline{0\hskip\hs {\semaf 0}}
+ \vskip\vs\hrule}
+
+\hbox to\hsize{%
+ \vrule\copy1\vrule\hfill%
+% \vrule\copy1\vrule\hfill%
+% \vrule\copy1\vrule\hfill%
+% \vrule\copy1\vrule\hfill%
+% \vrule\copy1\vrule\hfill%
+% \vrule\copy1\vrule\hfill%
+% \vrule\copy1\vrule\hfill%
+% \vrule\copy1\vrule
+}
+
+\vfill
+Font height: T{\smfr d}T
+
+\vfill
+Italic correction: {\smfr{\smfsl u}u} {\smfr{\smfsl u\/}u}
+
+\vfill
+\tabfn \offinterlineskip
+\halign{\vrule\strut\hskip.5em #\hfill\hskip.5em &
+ \vrule\hskip2pt\hfill#\hfill\hskip2pt &
+ \vrule\hskip2pt\hfill#\hfill\hskip2pt &
+ \vrule\hskip2pt\hfill#\hfill\hskip2pt &
+ \vrule\hskip2pt\hfill#\hfill\hskip2pt &
+ \vrule\hskip2pt\hfill#\hfill\hskip2pt\vrule \cr
+ \noalign{\hrule}
+ & Roman & Bold & Monospace & Slanted & Bold Slanted \cr
+ \noalign{\hrule}
+ Pillar & \smfr Semafor& \smfbf Semafor& \smftt Semafor& \smfsl Semafor& \smfbsl Semafor\cr
+ Empty & \smfer Semafor& \smfebf Semafor& \smfett Semafor& \smfesl Semafor& \smfebsl Semafor\cr
+ Person& \smfpr Semafor& \smfpbf Semafor& \smfptt Semafor& \smfpsl Semafor& \smfpbsl Semafor\cr
+ \noalign{\hrule}}
+
+% --------------------------------------------------------------------- Table
+\goodbreak
+\let\noinit=!
+\input testfont
+\frenchspacing \baselineskip=12pt \lineskip=0pt \lineskiplimit=-10pt
+\def\fontname{smfr10}\startfont\table\text\goodbreak
+%\def\fontname{smfbf10}\startfont\table\goodbreak
+%\def\fontname{smfsl10}\startfont\table\goodbreak
+%\def\fontname{smftt10}\startfont\table\goodbreak
+%\def\fontname{smfer10}\startfont\table\goodbreak
+%\def\fontname{smfebf10}\startfont\table\goodbreak
+%\def\fontname{smfesl10}\startfont\table\goodbreak
+%\def\fontname{smfett10}\startfont\table\goodbreak
+%\def\fontname{smfpr10}\startfont\table\goodbreak
+%\def\fontname{smfpbf10}\startfont\table\goodbreak
+%\def\fontname{smfpsl10}\startfont\table\goodbreak
+%\def\fontname{smfptt10}\startfont\table\goodbreak
+
+\end \ No newline at end of file
diff --git a/fonts/semaphor/doc/test-context.pdf b/fonts/semaphor/doc/test-context.pdf
new file mode 100644
index 0000000000..0ce19adb6f
--- /dev/null
+++ b/fonts/semaphor/doc/test-context.pdf
Binary files differ
diff --git a/fonts/semaphor/doc/test-context.tex b/fonts/semaphor/doc/test-context.tex
new file mode 100644
index 0000000000..3bce19897f
--- /dev/null
+++ b/fonts/semaphor/doc/test-context.tex
@@ -0,0 +1,117 @@
+\usetypescriptfile[t-type-semaf]
+\usetypescript[Semaf][ec]
+\usetypescript[Semaf-Empty][ec]
+\usetypescript[Semaf-Person][ec]
+%\setupbodyfont[Semaf,10pt,ss]
+
+\def\S[#1]{{\switchtobodyfont[Semaf]#1semafor}}
+\def\E[#1]{{\switchtobodyfont[Semaf-Empty]#1semafor}}
+\def\P[#1]{{\switchtobodyfont[Semaf-Person]#1semafor}}
+
+\setuplayout
+ [backspace=15mm,topspace=8mm,bottomspace=8mm,
+ header=0pt,footer=0pt,
+ width=fit,height=fit]
+\noheaderandfooterlines
+
+\starttext
+Text by semaphore:
+\blank
+{\switchtobodyfont[Semaf,10pt,ss]\input knuth \endgraf}
+
+\blank[3*big]
+
+Font variants:
+\blank
+\setuptables[distance=small,height=3]
+\starttable[|l|c|c|c|c|c|]
+\NC Pillar
+ \NC \bf Regular \NC \bf Bold \NC \bf Slanted \NC \bf Bold Slanted \NC \bf Mono \NC\AR
+\HL
+\NC Base
+ \NC \S[] \NC \S[\bf] \NC \S[\it] \NC \S[\bi] \NC \S[\tt] \NC\AR
+\NC Empty
+ \NC \E[] \NC \E[\bf] \NC \E[\it] \NC \E[\bi] \NC \E[\tt] \NC\AR
+\NC Person
+ \NC \P[] \NC \P[\bf] \NC \P[\it] \NC \P[\bi] \NC \P[\tt] \NC\AR
+\stoptable
+
+\blank[3*big]
+
+\def\semaf{\switchtobodyfont[Semaf,10pt,ss]}
+\newskip\hs \hs=1em
+\newskip\vs \vs=3mm plus1mm minus1mm
+\setbox1=\vbox to\hsize{\hsize=30mm
+ \hrule\vskip\vs
+ \centerline{{\bf The Code}}
+ \vskip\vs
+ \centerline{A\hskip\hs {\semaf A}}
+ \centerline{B\hskip\hs {\semaf B}}
+ \centerline{C\hskip\hs {\semaf C}}
+ \centerline{D\hskip\hs {\semaf D}}
+ \centerline{E\hskip\hs {\semaf E}}
+ \centerline{F\hskip\hs {\semaf F}}
+ \centerline{G\hskip\hs {\semaf G}}
+ \vskip\vs
+ \centerline{H\hskip\hs {\semaf H}}
+ \centerline{I\hskip\hs {\semaf I}}
+ \centerline{K\hskip\hs {\semaf K}}
+ \centerline{L\hskip\hs {\semaf L}}
+ \centerline{M\hskip\hs {\semaf M}}
+ \centerline{N\hskip\hs {\semaf N}}
+ \vskip\vs
+ \centerline{O\hskip\hs {\semaf O}}
+ \centerline{P\hskip\hs {\semaf P}}
+ \centerline{Q\hskip\hs {\semaf Q}}
+ \centerline{R\hskip\hs {\semaf R}}
+ \centerline{S\hskip\hs {\semaf S}}
+ \vskip\vs
+ \centerline{T\hskip\hs {\semaf T}}
+ \centerline{U\hskip\hs {\semaf U}}
+ \centerline{Y\hskip\hs {\semaf Y}}
+ \vskip\vs
+ \centerline{J\hskip\hs {\semaf J}}
+ \centerline{V\hskip\hs {\semaf V}}
+ \vskip\vs
+ \centerline{W\hskip\hs {\semaf W}}
+ \centerline{X\hskip\hs {\semaf X}}
+ \vskip\vs
+ \centerline{Z\hskip\hs {\semaf Z}}
+ \vfill\hrule}
+
+\setbox2=\vbox to\hsize{\hsize=30mm
+ \hrule\vskip\vs
+ \centerline{{\bf \vphantom{The Code}}}
+ \vskip\vs
+ \centerline{mistake\hskip\hs {\semaf \char`\~}}
+ \vskip\vs
+ \centerline{start digits\hskip\hs {\semaf \char`\$}}
+ \centerline{stop digits\hskip\hs {\semaf \char`\#}}
+ \vskip\vs
+ \centerline{1\hskip\hs {\semaf 1}}
+ \centerline{2\hskip\hs {\semaf 2}}
+ \centerline{3\hskip\hs {\semaf 3}}
+ \centerline{4\hskip\hs {\semaf 4}}
+ \centerline{5\hskip\hs {\semaf 5}}
+ \centerline{6\hskip\hs {\semaf 6}}
+ \centerline{7\hskip\hs {\semaf 7}}
+ \centerline{8\hskip\hs {\semaf 8}}
+ \centerline{9\hskip\hs {\semaf 9}}
+ \centerline{0\hskip\hs {\semaf 0}}
+ \vskip\vs
+ \centerline{fullstop\hskip\hs {\semaf.}}
+ \centerline{didactic\hskip\hs {\semaf*}}
+ \vfill\hrule}
+
+\setbox3=\hbox{\switchtobodyfont[5pt]\copyright{} V\'\i t Z\'yka, 2008, vit.zyka@seznam.cz}
+\dp3=0pt
+
+\hbox to\hsize{%
+ \vrule\copy1\vrule
+ \hskip1cm
+ \vrule\copy2\vrule
+ \hfill
+ \box3
+}
+
+\stoptext