From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- fonts/phonetic/Doc/209/phonetic-table.tex | 137 +++ fonts/phonetic/Doc/209/phonetic.sty | 536 ++++++++++++ fonts/phonetic/Doc/2e/Uphon.fd | 18 + fonts/phonetic/Doc/2e/phonetic-table.pdf | Bin 0 -> 57881 bytes fonts/phonetic/Doc/2e/phonetic-table.tex | 91 ++ fonts/phonetic/Doc/2e/phonetic.sty | 157 ++++ fonts/phonetic/Doc/README | 12 + fonts/phonetic/README | 41 + fonts/phonetic/cmph10.mf | 83 ++ fonts/phonetic/cmph5.mf | 76 ++ fonts/phonetic/cmph6.mf | 76 ++ fonts/phonetic/cmph7.mf | 76 ++ fonts/phonetic/cmph8.mf | 76 ++ fonts/phonetic/cmph9.mf | 76 ++ fonts/phonetic/cmphb10.mf | 75 ++ fonts/phonetic/cmphi10.mf | 76 ++ fonts/phonetic/cmphi7.mf | 76 ++ fonts/phonetic/cmphi8.mf | 76 ++ fonts/phonetic/cmphi9.mf | 76 ++ fonts/phonetic/local.mf | 58 ++ fonts/phonetic/makefile | 66 ++ fonts/phonetic/phochar.mf | 1314 +++++++++++++++++++++++++++++ fonts/phonetic/phoital.mf | 65 ++ fonts/phonetic/phoitchar.mf | 853 +++++++++++++++++++ fonts/phonetic/phosym.mf | 46 + fonts/phonetic/symchar.mf | 47 ++ 26 files changed, 4283 insertions(+) create mode 100644 fonts/phonetic/Doc/209/phonetic-table.tex create mode 100644 fonts/phonetic/Doc/209/phonetic.sty create mode 100644 fonts/phonetic/Doc/2e/Uphon.fd create mode 100644 fonts/phonetic/Doc/2e/phonetic-table.pdf create mode 100644 fonts/phonetic/Doc/2e/phonetic-table.tex create mode 100644 fonts/phonetic/Doc/2e/phonetic.sty create mode 100644 fonts/phonetic/Doc/README create mode 100644 fonts/phonetic/README create mode 100644 fonts/phonetic/cmph10.mf create mode 100644 fonts/phonetic/cmph5.mf create mode 100644 fonts/phonetic/cmph6.mf create mode 100644 fonts/phonetic/cmph7.mf create mode 100644 fonts/phonetic/cmph8.mf create mode 100644 fonts/phonetic/cmph9.mf create mode 100644 fonts/phonetic/cmphb10.mf create mode 100644 fonts/phonetic/cmphi10.mf create mode 100644 fonts/phonetic/cmphi7.mf create mode 100644 fonts/phonetic/cmphi8.mf create mode 100644 fonts/phonetic/cmphi9.mf create mode 100644 fonts/phonetic/local.mf create mode 100644 fonts/phonetic/makefile create mode 100644 fonts/phonetic/phochar.mf create mode 100644 fonts/phonetic/phoital.mf create mode 100644 fonts/phonetic/phoitchar.mf create mode 100644 fonts/phonetic/phosym.mf create mode 100644 fonts/phonetic/symchar.mf (limited to 'fonts/phonetic') diff --git a/fonts/phonetic/Doc/209/phonetic-table.tex b/fonts/phonetic/Doc/209/phonetic-table.tex new file mode 100644 index 0000000000..d84e4ca193 --- /dev/null +++ b/fonts/phonetic/Doc/209/phonetic-table.tex @@ -0,0 +1,137 @@ +\documentstyle[phonetic]{article} + +\pagestyle{empty} +\advance\textheight by 1in +\advance\topmargin by -.5in + +\def\bs{$\backslash$} +\def\db#1{$\{$#1$\}$} + +\begin{document} + +The following is a table of available special characters and how to +call them. Please note that nothing is final on this. I would +welcome suggestions for names, other characters needed $\ldots$. + +In order to call these characters, put the following command in your +file. + \begin{center} +{\tt \bs documentstyle[phonetic]\db{article}} + \end{center} +And in order to get this table do + \begin{center} +{\tt latex phonetic-table.tex} + \end{center} + +\noindent +\begin{tabular}{@{}lll@{\qquad\qquad}lll@{\qquad\qquad}lll@{}} +\bs schwa &\schwa &\it \schwa + &\bs hausab&\hausab &\it \hausab + &\bs hausaB&\hausaB &\it \hausaB\\ +\bs thorn &\thorn &\it \thorn + &\bs hausad&\hausad&\it\hausad + &\bs hausaD&\hausaD&\it\hausaD\\ +\bs glottal&\glottal &\it\glottal + &\bs hausak &\hausak &\it\hausak + &\bs hausaK &\hausaK &\it\hausaK\\ +\bs esh &\esh &\it\esh + &\bs varg &\varg &\it \varg + &\bs planck&\planck \\ +\bs yogh &\yogh &\it\yogh + &\bs udesc &\udesc &\it \udesc + &\bs roty&\roty &\it \roty\\ +\bs eth &\eth &\it \eth + &\bs wedge &\wedge &\it\wedge + &\bs rotm&\rotm &\it \rotm\\ +\bs emgma &\emgma &\it\emgma + &\bs varomega&\varomega &\it \varomega + &\bs ibar&\ibar \\ +\bs engma &\engma &\it\engma + & \bs revD &\revD & \it \revD + &\bs vod&\vod \\ +\bs enya &\enya &\it \enya + &\bs fj &\fj & \it \fj + &\bs ubar&\ubar \\ +\bs flap&\flap &\it\flap + &\bs openo &\openo &\it \openo + &\bs rotOmega&\rotOmega &\it \rotOmega\\ +\bs voicedh&\voicedh &\it\voicedh + &\bs varopeno&\varopeno &\it \varopeno + &\bs vari &\vari &\it \vari\\ +\bs hookd&\hookd &\it\hookd + &\bs vara &\vara &\it \vara + &\bs barj &\barj &\it \barj\\ +\bs rotvara&\rotvara &\it \rotvara + &\bs rotr&\rotr &\it \rotr + &\bs rotw&\rotw \\ +\bs epsi &\epsi &\it \epsi + &\bs barlambda&\barlambda &\it\barlambda + &\bs riota &\riota & \it \riota \\ +\hline +\end{tabular} + +\noindent + \begin{tabular}{@{}ll@{\qquad}|ll@{\qquad}|ll@{}} + \ut{o} &\bs ut\db{o} +&\td{o} &\bs td\db{o} +&\syl{o} &\bs syl\db{o}\\ + \labvel{mn}&\bs labvel\db{mn} +&a\upbar b &a\bs upbar b +&\rc{c} &\bs rc\db{c}\\ + \hill{o} &\bs hill\db{o} +&\od{o} &\bs od\db{o} +&m\uplett{h} & m\bs uplett\db{h}\\ + \ohill{o} & \bs ohill\db{o} +&\acbar{\'}{o}& \bs acbar\db{\bs$'$}\db{o} +&\acarc{\'}{o}& \bs acarc\db{\bs$'$}\db{o}\\ + \hline + \end{tabular} + +\noindent + \begin{tabular}{@{}ll@{\qquad}|ll@{\qquad}|ll@{}} + \upharpoon & \bs upharpoon +& $\uphk$ & \bs uphk +& $\downhk$ & \bs downhk\\ +$\dbox$ & \bs dbox +&$\sbox$ & \bs sbox \\ +% +$\rhookup$ & \bs rhookup +& $\lhookup$ & \bs lhookup\\ +$\bigrhookup$ & \bs bigrhookup +&$\biglhookup$ & \bs biglhookup \\ +$\Bigrhookup$ & \bs Bigrhookup +& $\Biglhookup$ &\bs Biglhookup\\ +$\biggrhookup$ & \bs biggrhookup +&$\bigglhookup$ & \bs bigglhookup\\ +$\Biggrhookup$ & \bs Biggrhookup +&$\Bigglhookup$ & \bs Bigglhookup\\ + \end{tabular} + + \noindent and the greek (non math, nonitalic \bs palpha, \bs pbeta, +$\ldots$) + +{\palpha\pbeta\pgamma\pdelta\ \pepsilon\pzeta\peta\ + \ptheta\piota\pkappa\plambda\ \pmu\pnu\pxi\pomicron\ppi\prho\ + \psigma\ptau\pupsilon\pphi\pchi\ppsi\pomega } + + \noindent greek (non math but italic $\{$\bs palpha, \bs pbeta $\ldots\}$) + +{\it \palpha\pbeta\pgamma\pdelta\ \pepsilon\pzeta\peta\ + \ptheta\piota\pkappa\plambda\ \pmu\pnu\pxi\pomicron\ppi\prho\ + \psigma\ptau\pupsilon\pphi\pchi\ppsi\pomega } + + \noindent greek (math) + +{$\alpha\beta\gamma\delta\ \epsilon\zeta\eta\ + \theta\iota\kappa\lambda\ \mu\nu\xi\omicron\pi\rho\ + \sigma\tau\upsilon\phi\chi\psi\omega$ } + + \end{document} + + +Note that, if the first time a special character is called and you +accent it, the accent may not appear over the character, e.g., +\`\schwa, in which case call the special character inside a throw away +first, e.g., \setbox0=\hbox{\schwa}. + + \ No newline at end of file diff --git a/fonts/phonetic/Doc/209/phonetic.sty b/fonts/phonetic/Doc/209/phonetic.sty new file mode 100644 index 0000000000..0f2afffeb2 --- /dev/null +++ b/fonts/phonetic/Doc/209/phonetic.sty @@ -0,0 +1,536 @@ + + +% this file loads the phonetic font (cmph10) and names the characters + +\newfam \phofam +\newfam\phitfam +\newcount\holdfam + +\def\ph{\protect\pph} +\def\phit{\protect\pphit} + +% done ixpt, xpt, xipt, xiipt +% done vpt, vipt, viipt, viiipt, xivpt, xviipt, xxpt, xxvpt + +\def\vpt{\textfont\z@\fivrm + \scriptfont\z@\fivrm \scriptscriptfont\z@\fivrm +\textfont\@ne\fivmi \scriptfont\@ne\fivmi \scriptscriptfont\@ne\fivmi +\textfont\tw@\fivsy \scriptfont\tw@\fivsy \scriptscriptfont\tw@\fivsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\prm{\fam\z@\fivrm}% +\def\unboldmath{\everymath{}\everydisplay{}\@nomath + \unboldmath\fam\@ne\@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\pit{\@subfont\it\rm}% +\def\psl{\@subfont\sl\rm}% +\def\pbf{\@getfont\pbf\bffam\@vpt{cmbx5}}% +\def\ptt{\@subfont\tt\rm}% +\def\psf{\@subfont\sf\rm}% +\def\psc{\@subfont\sc\rm}% +\def\pph{\@getfont\pph\phofam\@vpt{cmph5}}% +\def\pphit{\@subfont\phit\ph}% +\def\ly{\fam\lyfam\fivly}\textfont\lyfam\fivly + \scriptfont\lyfam\fivly \scriptscriptfont\lyfam\fivly +\@setstrut\rm} + +\def\vipt{\textfont\z@\sixrm + \scriptfont\z@\sixrm \scriptscriptfont\z@\sixrm +\textfont\@ne\sixmi \scriptfont\@ne\sixmi \scriptscriptfont\@ne\sixmi +\textfont\tw@\sixsy \scriptfont\tw@\sixsy \scriptscriptfont\tw@\sixsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\prm{\fam\z@\sixrm}% +\def\unboldmath{\everymath{}\everydisplay{}\@nomath + \unboldmath\@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\pit{\@subfont\it\rm}% +\def\psl{\@subfont\sl\rm}% +\def\pbf{\@getfont\pbf\bffam\@vipt{cmbx6}}% +\def\ptt{\@subfont\tt\rm}% +\def\psf{\@subfont\sf\rm}% +\def\psc{\@subfont\sc\rm}% +\def\pph{\@getfont\pph\phofam\@vipt{cmph6}}% +\def\pphit{\@subfont\phit\ph}% +\def\ly{\fam\lyfam\sixly}\textfont\lyfam\sixly + \scriptfont\lyfam\sixly \scriptscriptfont\lyfam\sixly +\@setstrut\rm} + +\def\viipt{\textfont\z@\sevrm + \scriptfont\z@\sixrm \scriptscriptfont\z@\fivrm +\textfont\@ne\sevmi \scriptfont\@ne\fivmi \scriptscriptfont\@ne\fivmi +\textfont\tw@\sevsy \scriptfont\tw@\fivsy \scriptscriptfont\tw@\fivsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\prm{\fam\z@\sevrm}% +\def\unboldmath{\everymath{}\everydisplay{}\@nomath +\unboldmath\@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\pit{\fam\itfam\sevit}\textfont\itfam\sevit + \scriptfont\itfam\sevit \scriptscriptfont\itfam\sevit +\def\psl{\@subfont\sl\it}% +\def\pbf{\@getfont\pbf\bffam\@viipt{cmbx7}}% +\def\ptt{\@subfont\tt\rm}% +\def\psf{\@subfont\sf\rm}% +\def\psc{\@subfont\sc\rm}% +\def\pph{\@getfont\pph\phofam\@viipt{cmph7}}% +\def\pphit{\@getfont\pphit\phitfam\@viipt{cmphi7}}% +\def\ly{\fam\lyfam\sevly}\textfont\lyfam\sevly + \scriptfont\lyfam\fivly \scriptscriptfont\lyfam\fivly +\@setstrut \rm} + +\def\viiipt{\textfont\z@\egtrm + \scriptfont\z@\sixrm \scriptscriptfont\z@\fivrm +\textfont\@ne\egtmi \scriptfont\@ne\sixmi \scriptscriptfont\@ne\fivmi +\textfont\tw@\egtsy \scriptfont\tw@\sixsy \scriptscriptfont\tw@\fivsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\prm{\fam\z@\egtrm}% +\def\unboldmath{\everymath{}\everydisplay{}\@nomath +\unboldmath\@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\pit{\fam\itfam\egtit}\textfont\itfam\egtit + \scriptfont\itfam\sevit \scriptscriptfont\itfam\sevit +\def\psl{\@getfont\psl\slfam\@viiipt{cmsl8}}% +\def\pbf{\@getfont\pbf\bffam\@viiipt{cmbx8}}% +\def\ptt{\@getfont\ptt\ttfam\@viiipt{cmtt8}\@nohyphens\ptt\@viiipt}% +\def\psf{\@getfont\psf\sffam\@viiipt{cmss8}}% +\def\psc{\@getfont\psc\scfam\@viiipt{\@mcsc \@ptscale8}}% +\def\pph{\@getfont\pph\phofam\@viiipt{cmph8}}% +\def\pphit{\@getfont\pphit\phitfam\@viiipt{cmphi8}}% +\def\ly{\fam\lyfam\egtly}\textfont\lyfam\egtly + \scriptfont\lyfam\sixly \scriptscriptfont\lyfam\fivly +\@setstrut \rm} + +\def\ixpt{\textfont\z@\ninrm + \scriptfont\z@\sixrm \scriptscriptfont\z@\fivrm +\textfont\@ne\ninmi \scriptfont\@ne\sixmi \scriptscriptfont\@ne\fivmi +\textfont\tw@\ninsy \scriptfont\tw@\sixsy \scriptscriptfont\tw@\fivsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\prm{\fam\z@\ninrm}% +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\pit{\fam\itfam\ninit}\textfont\itfam\ninit + \scriptfont\itfam\sevit \scriptscriptfont\itfam\sevit +\def\psl{\@getfont\psl\slfam\@ixpt{cmsl9}}% +\def\pbf{\fam\bffam\ninbf}\textfont\bffam\ninbf + \scriptfont\bffam\ninbf \scriptscriptfont\bffam\ninbf +\def\ptt{\fam\ttfam\nintt}\textfont\ttfam\nintt + \scriptfont\ttfam\nintt \scriptscriptfont\ttfam\nintt +\def\psf{\@getfont\psf\sffam\@ixpt{cmss9}}% +\def\psc{\@getfont\psc\scfam\@ixpt{\@mcsc \@ptscale9}}% +\def\pph{\@getfont\pph\phofam\@ixpt{cmph9}}% +\def\pphit{\@getfont\pphit\phitfam\@ixpt{cmphi9}}% +\def\ly{\fam\lyfam\ninly}\textfont\lyfam\ninly + \scriptfont\lyfam\sixly \scriptscriptfont\lyfam\fivly +\@setstrut \rm} + + +\def\xpt{\textfont\z@\tenrm + \scriptfont\z@\sevrm \scriptscriptfont\z@\fivrm +\textfont\@ne\tenmi \scriptfont\@ne\sevmi \scriptscriptfont\@ne\fivmi +\textfont\tw@\tensy \scriptfont\tw@\sevsy \scriptscriptfont\tw@\fivsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \textfont\@ne\tenmi + \textfont\tw@\tensy \textfont\lyfam\tenly + \@boldfalse}\@boldfalse +\def\boldmath{\@ifundefined{tenmib}{\global\font\tenmib\@mbi + \global\font\tensyb\@mbsy + \global\font\tenlyb\@lasyb\relax\@addfontinfo\@xpt + {\def\boldmath{\everymath{\mit}\everydisplay{\mit}\@prtct\@nomathbold + \textfont\@ne\tenmib \textfont\tw@\tensyb + \textfont\lyfam\tenlyb \@prtct\@boldtrue}}}{}\@xpt\boldmath}% +\def\prm{\fam\z@\tenrm}% +\def\pit{\fam\itfam\tenit}\textfont\itfam\tenit \scriptfont\itfam\sevit + \scriptscriptfont\itfam\sevit +\def\psl{\fam\slfam\tensl}\textfont\slfam\tensl + \scriptfont\slfam\tensl \scriptscriptfont\slfam\tensl +\def\pbf{\fam\bffam\tenbf}\textfont\bffam\tenbf + \scriptfont\bffam\tenbf \scriptscriptfont\bffam\tenbf +\def\ptt{\fam\ttfam\tentt}\textfont\ttfam\tentt + \scriptfont\ttfam\tentt \scriptscriptfont\ttfam\tentt +\def\psf{\fam\sffam\tensf}\textfont\sffam\tensf + \scriptfont\sffam\tensf \scriptscriptfont\sffam\tensf +\def\psc{\@getfont\psc\scfam\@xpt{\@mcsc}}% +\def\pph{\@getfont\pph\phofam\@xpt{cmph10}}% +\def\pphit{\@getfont\pphit\phitfam\@xpt{cmphi10}}% +\def\ly{\fam\lyfam\tenly}\textfont\lyfam\tenly + \scriptfont\lyfam\sevly \scriptscriptfont\lyfam\fivly +\@setstrut \rm} + +\def\xipt{\textfont\z@\elvrm + \scriptfont\z@\egtrm \scriptscriptfont\z@\sixrm +\textfont\@ne\elvmi \scriptfont\@ne\egtmi \scriptscriptfont\@ne\sixmi +\textfont\tw@\elvsy \scriptfont\tw@\egtsy \scriptscriptfont\tw@\sixsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \textfont\@ne\elvmi \textfont\tw@\elvsy + \textfont\lyfam\elvly \@boldfalse}\@boldfalse +\def\boldmath{\@ifundefined{elvmib}{\global\font\elvmib\@mbi\@halfmag + \global\font\elvsyb\@mbsy\@halfmag + \global\font\elvlyb\@lasyb\@halfmag\relax\@addfontinfo\@xipt + {\def\boldmath{\everymath{\mit}\everydisplay{\mit}\@prtct\@nomathbold + \textfont\@ne\elvmib \textfont\tw@\elvsyb + \textfont\lyfam\elvlyb\@prtct\@boldtrue}}}{}\@xipt\boldmath}% +\def\prm{\fam\z@\elvrm}% +\def\pit{\fam\itfam\elvit}\textfont\itfam\elvit + \scriptfont\itfam\egtit \scriptscriptfont\itfam\sevit +\def\psl{\fam\slfam\elvsl}\textfont\slfam\elvsl + \scriptfont\slfam\tensl \scriptscriptfont\slfam\tensl +\def\pbf{\fam\bffam\elvbf}\textfont\bffam\elvbf + \scriptfont\bffam\ninbf \scriptscriptfont\bffam\ninbf +\def\ptt{\fam\ttfam\elvtt}\textfont\ttfam\elvtt + \scriptfont\ttfam\nintt \scriptscriptfont\ttfam\nintt +\def\psf{\fam\sffam\elvsf}\textfont\sffam\elvsf + \scriptfont\sffam\tensf \scriptscriptfont\sffam\tensf +\def\psc{\@getfont\psc\scfam\@xipt{\@mcsc\@halfmag}}% +\def\pph{\@getfont\pph\phofam\@xipt{cmph10 \@halfmag}}% +\def\pphit{\@getfont\pphit\phitfam\@xipt{cmphi10 \@halfmag}}% +\def\ly{\fam\lyfam\elvly}\textfont\lyfam\elvly + \scriptfont\lyfam\egtly \scriptscriptfont\lyfam\sixly +\@setstrut \rm} + +\def\xiipt{\textfont\z@\twlrm + \scriptfont\z@\egtrm \scriptscriptfont\z@\sixrm +\textfont\@ne\twlmi \scriptfont\@ne\egtmi \scriptscriptfont\@ne\sixmi +\textfont\tw@\twlsy \scriptfont\tw@\egtsy \scriptscriptfont\tw@\sixsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \textfont\@ne\twlmi + \textfont\tw@\twlsy \textfont\lyfam\twlly + \@boldfalse}\@boldfalse +\def\boldmath{\@ifundefined{twlmib}{\global\font\twlmib\@mbi\@magscale1\global + \font\twlsyb\@mbsy \@magscale1\global\font + \twllyb\@lasyb\@magscale1\relax\@addfontinfo\@xiipt + {\def\boldmath{\everymath + {\mit}\everydisplay{\mit}\@prtct\@nomathbold + \textfont\@ne\twlmib \textfont\tw@\twlsyb + \textfont\lyfam\twllyb\@prtct\@boldtrue}}}{}\@xiipt\boldmath}% +\def\prm{\fam\z@\twlrm}% +\def\pit{\fam\itfam\twlit}\textfont\itfam\twlit \scriptfont\itfam\egtit + \scriptscriptfont\itfam\sevit +\def\psl{\fam\slfam\twlsl}\textfont\slfam\twlsl + \scriptfont\slfam\tensl \scriptscriptfont\slfam\tensl +\def\pbf{\fam\bffam\twlbf}\textfont\bffam\twlbf + \scriptfont\bffam\ninbf \scriptscriptfont\bffam\ninbf +\def\ptt{\fam\ttfam\twltt}\textfont\ttfam\twltt + \scriptfont\ttfam\nintt \scriptscriptfont\ttfam\nintt +\def\psf{\fam\sffam\twlsf}\textfont\sffam\twlsf + \scriptfont\sffam\tensf \scriptscriptfont\sffam\tensf +\def\psc{\@getfont\psc\scfam\@xiipt{\@mcsc\@magscale1}}% +\def\pph{\@getfont\pph\phofam\@xiipt{cmph10 \@magscale1}}% +\def\pphit{\@getfont\pphit\phitfam\@xiipt{cmphi10 \@magscale1}}% +\def\ly{\fam\lyfam\twlly}\textfont\lyfam\twlly + \scriptfont\lyfam\egtly \scriptscriptfont\lyfam\sixly + \@setstrut \rm} + +\def\xivpt{\textfont\z@\frtnrm + \scriptfont\z@\tenrm \scriptscriptfont\z@\sevrm +\textfont\@ne\frtnmi \scriptfont\@ne\tenmi \scriptscriptfont\@ne\sevmi +\textfont\tw@\frtnsy \scriptfont\tw@\tensy \scriptscriptfont\tw@\sevsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \textfont\@ne\frtnmi \textfont\tw@\frtnsy + \textfont\lyfam\frtnly \@boldfalse}\@boldfalse +\def\boldmath{\@ifundefined{frtnmib}{\global\font + \frtnmib\@mbi\@magscale2\global\font\frtnsyb\@mbsy\@magscale2 + \global\font\frtnlyb\@lasyb\@magscale2\relax\@addfontinfo\@xivpt + {\def\boldmath{\everymath + {\mit}\everydisplay{\mit}\@prtct\@nomathbold + \textfont\@ne\frtnmib \textfont\tw@\frtnsyb + \textfont\lyfam\frtnlyb\@prtct\@boldtrue}}}{}\@xivpt\boldmath}% +\def\prm{\fam\z@\frtnrm}% +\def\pit{\@getfont\pit\itfam\@xivpt{cmti10\@magscale2}}% +\def\psl{\@getfont\psl\slfam\@xivpt{cmsl10\@magscale2}}% +\def\pbf{\fam\bffam\frtnbf}\textfont\bffam\frtnbf + \scriptfont\bffam\tenbf \scriptscriptfont\bffam\ninbf +\def\ptt{\@getfont\ptt\ttfam\@xivpt{cmtt10\@magscale2}\@nohyphens\ptt\@xivpt}% +\def\psf{\@getfont\psf\sffam\@xivpt{\@mss\@magscale2}}% +\def\psc{\@getfont\psc\scfam\@xivpt{\@mcsc\@magscale2}}% +\def\pph{\@getfont\pph\phofam\@xviipt{cmph10 \@magscale2}}% +\def\pphit{\@getfont\pphit\phitfam\@xviipt{cmphi10 \@magscale2}}% +\def\ly{\fam\lyfam\frtnly}\textfont\lyfam\frtnly + \scriptfont\lyfam\tenly \scriptscriptfont\lyfam\sevly +\@setstrut \rm} + +\def\xviipt{\textfont\z@\svtnrm + \scriptfont\z@\twlrm \scriptscriptfont\z@\tenrm +\textfont\@ne\svtnmi \scriptfont\@ne\twlmi \scriptscriptfont\@ne\tenmi +\textfont\tw@\svtnsy \scriptfont\tw@\twlsy \scriptscriptfont\tw@\tensy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \textfont\@ne\svtnmi \textfont\tw@\svtnsy \textfont\lyfam\svtnly + \@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\prm{\fam\z@\svtnrm}% +\def\pit{\@getfont\pit\itfam\@xviipt{cmti10\@magscale3}}% +\def\psl{\@getfont\psl\slfam\@xviipt{cmsl10\@magscale3}}% +\def\pbf{\fam\bffam\svtnbf}\textfont\bffam\svtnbf + \scriptfont\bffam\twlbf \scriptscriptfont\bffam\tenbf +\def\ptt{\@getfont\ptt\ttfam\@xviipt{cmtt10\@magscale3}\@nohyphens + \ptt\@xviipt}% +\def\psf{\@getfont\psf\sffam\@xviipt{cmss17}}% +\def\psc{\@getfont\psc\scfam\@xviipt{\@mcsc\@magscale3}}% +\def\pph{\@getfont\pph\phofam\@xviipt{cmph10 \@magscale3}}% +\def\pphit{\@getfont\pphit\phitfam\@xviipt{cmphi10 \@magscale3}}% +\def\ly{\fam\lyfam\svtnly}\textfont\lyfam\svtnly + \scriptfont\lyfam\twlly \scriptscriptfont\lyfam\tenly +\@setstrut \rm} + +\def\xxpt{\textfont\z@\twtyrm + \scriptfont\z@\frtnrm \scriptscriptfont\z@\twlrm +\textfont\@ne\twtymi \scriptfont\@ne\frtnmi \scriptscriptfont\@ne\twlmi +\textfont\tw@\twtysy \scriptfont\tw@\frtnsy \scriptscriptfont\tw@\twlsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \textfont\@ne\twtymi \textfont\tw@\twtysy \textfont\lyfam\twtyly + \@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\prm{\fam\z@\twtyrm}% +\def\pit{\@getfont\pit\itfam\@xxpt{cmti10\@magscale4}}% +\def\psl{\@getfont\psl\slfam\@xxpt{cmsl10\@magscale4}}% +\def\pbf{\@getfont\pbf\bffam\@xxpt{cmbx10\@magscale4}}% +\def\ptt{\@getfont\ptt\ttfam\@xxpt{cmtt10\@magscale4}\@nohyphens\ptt\@xxpt}% +\def\psf{\@getfont\psf\sffam\@xxpt{\@mss\@magscale4}}% +\def\psc{\@getfont\psc\scfam\@xxpt{\@mcsc\@magscale4}}% +\def\pph{\@getfont\pph\phofam\@xxpt{cmph10\@magscale4}}% +\def\pphit{\@getfont\pphit\phitfam\@xxpt{cmphi10\@magscale4}}% +\def\ly{\fam\lyfam\twtyly}\textfont\lyfam\twtyly + \scriptfont\lyfam\frtnly \scriptscriptfont\lyfam\twlly +\@setstrut \rm} + +\def\xxvpt{\textfont\z@\twfvrm + \scriptfont\z@\twtyrm \scriptscriptfont\z@\svtnrm +\textfont\@ne\twtymi \scriptfont\@ne\twtymi \scriptscriptfont\@ne\svtnmi +\textfont\tw@\twtysy \scriptfont\tw@\twtysy \scriptscriptfont\tw@\svtnsy +\textfont\thr@@\tenex \scriptfont\thr@@\tenex \scriptscriptfont\thr@@\tenex +\def\unboldmath{\everymath{}\everydisplay{}\@nomath\unboldmath + \textfont\@ne\twtymi \textfont\tw@\twtysy \textfont\lyfam\twtyly + \@boldfalse}\@boldfalse +\def\boldmath{\@subfont\boldmath\unboldmath}% +\def\prm{\fam\z@\twfvrm}% +\def\pit{\@subfont\it\rm}% +\def\psl{\@subfont\sl\rm}% +\def\pbf{\@getfont\pbf\bffam\@xxvpt{cmbx10\@magscale5}}% +\def\ptt{\@subfont\tt\rm}% +\def\psf{\@subfont\sf\rm}% +\def\psc{\@subfont\sc\rm}% +\def\pph{\@getfont\pph\phofam\@xxvpt{cmph10\@magscale5}}% +\def\pphit{\@subfont\phit\ph}% +\def\ly{\fam\lyfam\twtyly}\textfont\lyfam\twtyly + \scriptfont\lyfam\twtyly \scriptscriptfont\lyfam\svtnly +\@setstrut \rm} + + + +% eventually this this be family oriented + +%\def\t#1{{\edef\next{\the\font}\the\textfont1\accent"7F\next#1}} + +\def\phomake#1{\holdfam=\fam\edef\next{\fam\holdfam\the\font}\ph #1\next} +\def\phoitmake#1{\holdfam=\fam\edef\next{\fam\holdfam\the\font}\phit #1\next} + +\def\samfam#1{\relax\ifnum\fam=\itfam \phoitmake{#1}\else\phomake{#1}\fi} + +\def\palpha{\samfam{\char"0B}} +\def\pbeta{\samfam{\char"0C}} +\def\pgamma{\samfam{\char"0D}} +\def\pdelta{\samfam{\char"0E}} +\def\pepsilon{\samfam{\char"0F}} +\def\epsi{\samfam{\char"22}} +\def\pzeta{\samfam{\char"10}} +\def\peta{\samfam{\char"11}} +\def\ptheta{\samfam{\char"12}} +\def\piota{\samfam{\char"13}} +\def\riota{\samfam{\char"00}} +\def\pkappa{\samfam{\char"14}} +\def\plambda{\samfam{\char"15}} +\def\barlambda{\samfam{\char"01}} +\def\pmu{\samfam{\char"16}} +\def\pnu{\samfam{\char"17}} +\def\pxi{\samfam{\char"18}} +\def\ppi{\samfam{\char"19}} +\def\prho{\samfam{\char"1A}} +\def\psigma{\samfam{\char"1B}} +\def\ptau{\samfam{\char"1C}} +\def\pupsilon{\samfam{\char"1D}} +\def\pphi{\samfam{\char"1E}} +\def\pchi{\samfam{\char"1F}} +\def\ppsi{\samfam{\char"20}} +\def\pomega{\samfam{\char"21}} + +\def\omicron{o} +\def\pomicron{\samfam{o}} + +\def\rotOmega{\samfam{\char"0A}} +\def\varomega{\samfam{\char"08}} +\let\varU=\rotOmega +\let\varu=\varomega + +\def\vara{\relax\ifnum\fam=\itfam \char"61 \else \phomake{\char"61}\fi} +\def\rotvara{\samfam{\char"41}} +\def\openo{\samfam{\char"63}} +\def\varopeno{\relax\ifnum\fam=\itfam\phoitmake{\char"63}\else\phomake{\char"43}\fi} +\let\rotc=\openo +\def\eth{\samfam{\char"64}} +\def\revD{\samfam{\char"02}} + +\def\schwa{\samfam{\char"65}} +\def\varschwa{\relax\ifnum\fam=\itfam\phoitmake{\char"65}\else\phomake{\char"45}\fi} +\def\wedge{\relax\ifnum\fam=\itfam\phoitmake{\char"45}\else\phomake{\char"55}\fi} +\def\fj{\samfam{\char"46}} + +\def\hausab{\relax\ifnum\fam=\itfam\phoitmake{\char"67}\else\phomake{\char"62}\fi} + \let\impb=\hausab + \let\glottalb\hausab + +\def\varg{\relax\ifnum\fam=\itfam g\else \phomake{\char"47}\fi} +\def\voicedh{\samfam{\char"68}} +\def\hausad{\samfam{\char"44}} + \let\glottald\hausad + +\def\hookd{\samfam{\char"4A}} +\def\hausak{\samfam{\char"6B}} + \let\hookk\hausak +\def\hausaK{\samfam{\char"4B}} +\def\hausaD{\samfam{\char"54}} +\def\hausaB{\samfam{\char"42}} + +\def\vari{\samfam{\char"69}} +\def\barj{\samfam{\char"6A}} +\def\rotm{\relax\ifnum\fam=\itfam \phoitmake{\char"6D}\else\phomake{\char"6m}\fi} +\def\engma{\samfam{\char"6E}} +\def\emgma{\samfam{\char"4D}} +\def\enya{\samfam{\char"4E}} + + +\def\flap{\samfam{\char"66}} + +\def\thorn{\samfam{\char"70}} +\def\rotr{\samfam{\char"72}} +\def\esh{\samfam{\char"73}} +\def\udesc{\samfam{\char"75}} + +\def\rotw{\phomake{\char"77}} +\def\yogh{\samfam{\char"78}} +\def\roty{\samfam{\char"79}} +\def\rotR{\phomake{\char"52}} + +\def\glottal{\samfam{\char"3F}} + +\def\upharpoon{{\ph \char"7A}} +\def\uphk{\mathrel{\hbox{\ph\char"7C}}} +\def\downhk{\mathrel{\hbox{\ph\char"7B}}} +\def\dbox{\mathord{\hbox{\ph\char"7E}}} +\def\sbox{\mathord{\hbox{\ph\char"7D}}} + + +\def\rhookup{\oalign{$\uparrow$\cr\noalign{\vskip-.32ex} +\hidewidth\kern.16em{\ph\char"7C}\hidewidth}} +\def\lhookup{\oalign{$\uparrow$\cr\noalign{\vskip-.32ex} +\hidewidth{\ph\char"7C}\kern.22em\hidewidth}} + +\def\bigrhookup{\oalign{$\bigm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth\kern.16em{\ph\char"7C}\hidewidth}} +\def\biglhookup{\oalign{$\bigm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth{\ph\char"7C}\kern.22em\hidewidth}} + +\def\Bigrhookup{\oalign{$\Bigm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth\kern.16em{\ph\char"7C}\hidewidth}} +\def\Biglhookup{\oalign{$\Bigm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth{\ph\char"7C}\kern.22em\hidewidth}} +\def\biggrhookup{\oalign{$\biggm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth\kern.16em{\ph\char"7C}\hidewidth}} +\def\bigglhookup{\oalign{$\biggm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth{\ph\char"7C}\kern.22em\hidewidth}} +\def\Biggrhookup{\oalign{$\Biggm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth\kern.16em{\ph\char"7C}\hidewidth}} +\def\Bigglhookup{\oalign{$\Biggm\uparrow$\cr\noalign{\kern-.32ex} +\hidewidth{\ph\char"7C\hfil}\kern.22em\hidewidth}} + +% made symbols +\catcode`@=11 % borrow the private macros of PLAIN (with care) + +\def\m@th{\mathsurround=\z@} + +% puts a reverse cedilla under a letter +\def\rc#1{\ooalign{\hidewidth\ph\char"09\hidewidth\crcr #1}} + +% \hill puts a half circle under a letter (NEW) +\def\hill#1{\oalign{#1\crcr\hidewidth\ph\char"7B\hidewidth}} + +\def\overchar#1#2#3{\leavevmode\setbox0=\hbox{#2}% + \rlap{\raise#3\ht0\hbox to\wd0{\hss#1\hss}}\box0} +% places a half circle over a letter +\def\ohill#1{\overchar{\ph\char"7B}{#1}{.67}} +%\acbar{accent}{character}{raised} places an accent over a barred character +\def\acbar#1#2{\overchar{\overchar{#1}{\char'026}{.35}}{#2}{.25}} +%\acarc{accent}{character}{raised} places an accent over a character +% with a half circle in between +\def\acarc#1#2{\overchar{\overchar{#1}{\ph\char"7B\kern1pt}{0}}{#2}{.75}} + +% vertical equivalent of \hidewidth +\def\hideheight{\vskip-1000pt plus 1fill} + +% \od puts a small o under a letter (needs some revision) +\def\od#1{\oalign{#1\crcr\hidewidth\vbox to.2ex{\hbox{\char'27}\hideheight}\hidewidth}} + +% \ut puts a tilde under a letter +\def\ut#1{\oalign{#1\crcr\hidewidth\vbox to.2ex{\hbox{$\mathchar"707E$}\hideheight}\hidewidth}} +% \td puts two dots under a letter +\def\td#1{\oalign{#1\crcr\hidewidth..\hidewidth}} +% puts a small block under a letter +%\def\syl#1{\oalign{#1\crcr\hidewidth\hbox{\vrule height.4ex width.2ex}\hidewidth}} +\def\syl#1{\oalign{#1\crcr\hidewidth\vbox to.33ex{\hbox{\vrule +height.35ex width.2ex}\hideheight}\hidewidth}} + +% \uplett raises a letter and sets it in tiny size +\def\uplett#1{$^{\hbox{\tiny\rm #1}}$} +% \labvel puts an arc over the argument (usually two letters) +\newdimen\temp +\def\labvel#1{\setbox0=\hbox{#1}% +\temp=\ht0 \advance\temp by 1ex% +\ht0=\temp% +$\m@th\mathaccent"015F{\box0}$} +% planck's constant (not italicized) +\def\planck{${\mathchar'26\mskip-7mu{\rm h}}$} +% small small caps +\def\ssc#1{{\tiny\rm #1}} + +% i with a bar through it +\def\onalign#1{\leavevmode\vtop{\baselineskip=0pt\lineskip=-.5ex +\ialign{##\crcr#1\crcr}}} +\def\ibar{\onalign{\hidewidth i\hidewidth\cr\cr$\mathchar'26$}} + +% o smashed into the bottom of the v +\def\vod{\oalign{v\crcr\noalign{\vskip-.4ex}\hidewidth\vbox to.4ex{\hbox{\char'27}\hideheight}\hidewidth}} +% u with a bar through it +\def\ubar{\ifmmode {\raise.5ex\hbox{\vrule width.5em % +height.1ex}\mskip-9mu{\rm u}}\else${\raise.5ex\hbox{\vrule width.5em % +height.1ex}\mskip-9mu{\rm u}}$\fi} +% a raised vertical line +\def\upbar{\leavevmode\raise.6ex\hbox spread.2em{\hfil\vrule height1ex +width.1ex \hfil}} + +\endinput + +\def\addelvpoint{ +\textfont \phofam=\elvph +\def\ph{\fam\phofam\elvph} +% +\textfont\phitfam=\elvphit +\def\phit{\fam\phitfam\elvphit}} + +\def\addtenpoint{ +\textfont \phofam=\tenph +\def\ph{\fam\phofam\tenph} +% +\textfont\phitfam=\tenphit +\def\phit{\fam\phitfam\tenphit}} + +\def\addninpoint{ +\textfont \phofam=\ninph +\def\ph{\fam\phofam\ninph} +% +\textfont\phitfam=\ninphit +\def\phit{\fam\phitfam\ninphit}} + +\addtenpoint diff --git a/fonts/phonetic/Doc/2e/Uphon.fd b/fonts/phonetic/Doc/2e/Uphon.fd new file mode 100644 index 0000000000..da2da7579e --- /dev/null +++ b/fonts/phonetic/Doc/2e/Uphon.fd @@ -0,0 +1,18 @@ +%% This is the file Uphon.fd built by Emma Pease on 1993/8/31 + +%% It is for use with nfsss2 + +\DeclareFontFamily{U}{phon}{} +\DeclareFontShape{U}{phon}{m}{n}{ + <10> <10.95> <12> <14.4> <17.28> cmph10 + }{} + +\DeclareFontShape{U}{phon}{m}{it}{ + <10> <10.95> <12> <14.4> <17.28> cmphi10 + }{} + +\DeclareFontShape{U}{phon}{m}{b}{ + <10> <10.95> <12> <14.4> <17.28> cmphb10 + }{} + +\endinput diff --git a/fonts/phonetic/Doc/2e/phonetic-table.pdf b/fonts/phonetic/Doc/2e/phonetic-table.pdf new file mode 100644 index 0000000000..7135fd1c6f Binary files /dev/null and b/fonts/phonetic/Doc/2e/phonetic-table.pdf differ diff --git a/fonts/phonetic/Doc/2e/phonetic-table.tex b/fonts/phonetic/Doc/2e/phonetic-table.tex new file mode 100644 index 0000000000..194f9fc154 --- /dev/null +++ b/fonts/phonetic/Doc/2e/phonetic-table.tex @@ -0,0 +1,91 @@ +\documentstyle[phonetic]{article} + +\pagestyle{empty} +\advance\textheight by 1in +\advance\topmargin by -.5in + +\def\bs{$\backslash$} +\def\db#1{$\{$#1$\}$} + +\begin{document} + +The following is a table of available special characters and how to +call them. Please note that nothing is final on this. I would +welcome suggestions for names, other characters needed $\ldots$. + +In order to call these characters, put the following command in your +file. + \begin{center} +{\tt \bs documentstyle[phonetic]\db{article}} + \end{center} +And in order to get this table do + \begin{center} +{\tt latex phonetic-table.tex} + \end{center} + +\noindent +\begin{tabular}{@{}lll@{\qquad\qquad}lll@{\qquad\qquad}lll@{}} +\bs schwa &\schwa &\it \schwa + &\bs hausab&\hausab &\it \hausab + &\bs hausaB&\hausaB &\it \hausaB\\ +\bs thorn &\thorn &\it \thorn + &\bs hausad&\hausad&\it\hausad + &\bs hausaD&\hausaD&\it\hausaD\\ +\bs glottal&\glottal &\it\glottal + &\bs hausak &\hausak &\it\hausak + &\bs hausaK &\hausaK &\it\hausaK\\ +\bs esh &\esh &\it\esh + &\bs varg &\varg &\it \varg + &\bs planck&\planck \\ +\bs yogh &\yogh &\it\yogh + &\bs udesc &\udesc &\it \udesc + &\bs roty&\roty &\it \roty\\ +\bs eth &\eth &\it \eth + &\bs pwedge &\pwedge &\it\pwedge + &\bs rotm&\rotm &\it \rotm\\ +\bs emgma &\emgma &\it\emgma + &\bs varomega&\varomega &\it \varomega + &\bs ibar&\ibar \\ +\bs engma &\engma &\it\engma + & \bs revD &\revD & \it \revD + &\bs vod&\vod \\ +\bs enya &\enya &\it \enya + &\bs fj &\fj & \it \fj + &\bs ubar&\ubar \\ +\bs flap&\flap &\it\flap + &\bs openo &\openo &\it \openo + &\bs rotOmega&\rotOmega &\it \rotOmega\\ +\bs voicedh&\voicedh &\it\voicedh + &\bs varopeno&\varopeno &\it \varopeno + &\bs vari &\vari &\it \vari\\ +\bs hookd&\hookd &\it\hookd + &\bs vara &\vara &\it \vara + &\bs barj &\barj &\it \barj\\ +\bs rotvara&\rotvara &\it \rotvara + &\bs rotr&\rotr &\it \rotr + &\bs rotw&\rotw \\ +\bs epsi &\epsi &\it \epsi + &\bs barlambda&\barlambda &\it\barlambda + &\bs riota &\riota & \it \riota \\ +\hline +\end{tabular} + +\noindent + \begin{tabular}{@{}ll@{\qquad}|ll@{\qquad}|ll@{}} + \ut{o} &\bs ut\db{o} +&\td{o} &\bs td\db{o} +&\syl{o} &\bs syl\db{o}\\ + \labvel{mn}&\bs labvel\db{mn} +&a\upbar b &a\bs upbar b +&\rc{c} &\bs rc\db{c}\\ + \hill{o} &\bs hill\db{o} +&\od{o} &\bs od\db{o} +&m\uplett{h} & m\bs uplett\db{h}\\ + \ohill{o} & \bs ohill\db{o} +&\acbar{\'}{o}& \bs acbar\db{\bs$'$}\db{o} +&\acarc{\'}{o}& \bs acarc\db{\bs$'$}\db{o}\\ + \hline + \end{tabular} + + \end{document} + diff --git a/fonts/phonetic/Doc/2e/phonetic.sty b/fonts/phonetic/Doc/2e/phonetic.sty new file mode 100644 index 0000000000..f84de900a6 --- /dev/null +++ b/fonts/phonetic/Doc/2e/phonetic.sty @@ -0,0 +1,157 @@ +%\def\pc{\usefont{U}{phon}{m}{n}} + +\def\pc{\usefont{U}{phon}{\f@series}{\f@shape}} + +\def\textpc#1{{\pc #1}} + +\let\pcchar=\textpc + +%the following may need to be modified. +\def\vara{\pcchar{\char"61}} +\def\varg{\pcchar{\char"47}} + + +\def\rotvara{\pcchar{\char"41}} +\def\hookb{\pcchar{\char"62}} + \let\hausab=\hookb +\def\openo{\pcchar{\char"63}} + \let\rotc=\openo +\def\hookd{\pcchar{\char"44}} + \let\hausad=\hookd +\def\eth{\pcchar{\char"64}} +\def\schwa{\pcchar{\char"65}} +\def\flap{\pcchar{\char"66}} +\def\hookh{\pcchar{\char"68}} + \let\voicedh=\hookh +\def\taild{\pcchar{\char"4A}} +\def\hookk{\pcchar{\char"6B}} + \let\hausak=\hookk +\def\emgma{\pcchar{\char"4D}} +\def\engma{\pcchar{\char"6E}} +\def\thorn{\pcchar{\char"70}} +\def\rotr{\pcchar{\char"72}} +\def\esh{\pcchar{\char"73}} +\def\pwedge{\pcchar{\char"55}} +\def\roth{\pcchar{\char"75}} + \let\udesc=\roth +\def\yogh{\pcchar{\char"78}} +\def\hookK{\pcchar{\char"4B}} + \let\hausaK=\hookK +\def\hookD{\pcchar{\char"54}} + \let\hausaD=\hookD +\def\hookB{\pcchar{\char"42}} + \let\hausaB=\hookB +\def\glottal{\pcchar{\char"3F}} + +\def\barj{\pcchar{\char"6A}} + +\def\palpha{\pcchar{\char"0B}} +\def\pbeta{\pcchar{\char"0C}} +\def\pgamma{\pcchar{\char"0D}} +\def\pdelta{\pcchar{\char"0E}} +\def\pepsilon{\pcchar{\char"0F}} +\def\epsi{\pcchar{\char"22}} +\def\pzeta{\pcchar{\char"10}} +\def\peta{\pcchar{\char"11}} +\def\ptheta{\pcchar{\char"12}} +\def\piota{\pcchar{\char"13}} +\def\riota{\pcchar{\char"00}} +\def\pkappa{\pcchar{\char"14}} +\def\plambda{\pcchar{\char"15}} +\def\barlambda{\pcchar{\char"01}} +\def\pmu{\pcchar{\char"16}} +\def\pnu{\pcchar{\char"17}} +\def\pxi{\pcchar{\char"18}} +\def\ppi{\pcchar{\char"19}} +\def\prho{\pcchar{\char"1A}} +\def\psigma{\pcchar{\char"1B}} +\def\ptau{\pcchar{\char"1C}} +\def\pupsilon{\pcchar{\char"1D}} +\def\pphi{\pcchar{\char"1E}} +\def\pchi{\pcchar{\char"1F}} +\def\ppsi{\pcchar{\char"20}} +\def\pomega{\pcchar{\char"21}} + +\def\omicron{o} +\def\pomicron{\pcchar{o}} + +\def\rotOmega{\pcchar{\char"0A}} +\def\varomega{\pcchar{\char"08}} +\let\varU=\rotOmega +\let\varu=\varomega + +\def\roty{\pcchar{\char"79}} +\def\rotm{\pcchar{\char"6D}} +\def\revD{\pcchar{\char"02}} +\def\enya{\pcchar{\char"4E}} +\def\fj{\pcchar{\char"46}} +\def\varopeno{\pcchar{\char"43}} +\def\vari{\pcchar{\char"69}} +\def\rotw{\pcchar{\char"77}} + +% characters not covered +\def\m@th{\mathsurround=\z@} + +% puts a reverse cedilla under a letter +\def\rc#1{{\ooalign{\hidewidth\pcchar{\char"09}\hidewidth\crcr #1}}} + +% \hill puts a half circle under a letter (NEW) +\def\hill#1{\oalign{#1\crcr\hidewidth\pcchar{\char"7B}\hidewidth}} + +\def\overchar#1#2#3{\leavevmode\setbox0=\hbox{#2}% + \rlap{\raise#3\ht0\hbox to\wd0{\hss#1\hss}}\box0} +% places a half circle over a letter +\def\ohill#1{\overchar{\pcchar{\char"7B}}{#1}{.67}} +%\acbar{accent}{character}{raised} places an accent over a barred character +\def\acbar#1#2{\overchar{\overchar{#1}{\char'026}{.35}}{#2}{.25}} +%\acarc{accent}{character}{raised} places an accent over a character +% with a half circle in between +\def\acarc#1#2{\overchar{\overchar{#1}{\pcchar{\char"7B}\kern1pt}{0}}{#2}{.75}} + +% vertical equivalent of \hidewidth +\def\hideheight{\vskip-1000pt plus 1fill} + +% \od puts a small o under a letter (needs some revision) +\def\od#1{\oalign{#1\crcr\hidewidth\vbox to.2ex{\hbox{\char'27}\hideheight}\hidewidth}} + +% \ut puts a tilde under a letter +\def\ut#1{\oalign{#1\crcr\hidewidth\vbox to.2ex{\hbox{$\mathchar"707E$}\hideheight}\hidewidth}} +% \td puts two dots under a letter +\def\td#1{\oalign{#1\crcr\hidewidth..\hidewidth}} +% puts a small block under a letter +%\def\syl#1{\oalign{#1\crcr\hidewidth\hbox{\vrule height.4ex width.2ex}\hidewidth}} +\def\syl#1{\oalign{#1\crcr\hidewidth\vbox to.33ex{\hbox{\vrule +height.35ex width.2ex}\hideheight}\hidewidth}} + +% \uplett raises a letter and sets it in tiny size +\def\uplett#1{$^{\hbox{\tiny\rm #1}}$} +% \labvel puts an arc over the argument (usually two letters) +\newdimen\temp +\def\labvel#1{\setbox0=\hbox{#1}% +\temp=\ht0 \advance\temp by 1ex% +\ht0=\temp% +$\m@th\mathaccent"015F{\box0}$} +% planck's constant (not italicized) +\def\planck{${\mathchar'26\mskip-7mu{\rm h}}$} +% small small caps +\def\ssc#1{{\tiny\rm #1}} + +% i with a bar through it +\def\onalign#1{\leavevmode\vtop{\baselineskip=0pt\lineskip=-.5ex +\ialign{##\crcr#1\crcr}}} +\def\ibar{\onalign{\hidewidth i\hidewidth\cr\cr$\mathchar'26$}} + +% r with a bar through it +\def\rbar{\onalign{\hidewidth r\hidewidth\cr\cr$\mskip-1mu\mathchar'26$}} + +% o smashed into the bottom of the v +\def\vod{\oalign{v\crcr\noalign{\vskip-.4ex}\hidewidth\vbox to.4ex{\hbox{\char'27}\hideheight}\hidewidth}} +% u with a bar through it +\def\ubar{\ifmmode {\raise.5ex\hbox{\vrule width.5em % +height.1ex}\mskip-9mu{\rm u}}\else${\raise.5ex\hbox{\vrule width.5em % +height.1ex}\mskip-9mu{\rm u}}$\fi} +% a raised vertical line +\def\upbar{\leavevmode\raise.6ex\hbox spread.2em{\hfil\vrule height1ex +width.1ex \hfil}} + + diff --git a/fonts/phonetic/Doc/README b/fonts/phonetic/Doc/README new file mode 100644 index 0000000000..db1e141a97 --- /dev/null +++ b/fonts/phonetic/Doc/README @@ -0,0 +1,12 @@ +The Documentation directory is now split into two halves, one each for +users of current LaTeX (subdirectory 2e) and of LaTeX 2.09 +(subdirectory 209). Each directory contains macro files appropriate +for use with `its' version of LaTeX, as well as a copy of the +documentation. + +The support for current LaTeX is not regarded as final: indeed, it has +some `rough' features. However, it does work as required, and is +supplied to meet users' needs. + +Robin Fairbairns +(Reporting the words of Emma Pease) diff --git a/fonts/phonetic/README b/fonts/phonetic/README new file mode 100644 index 0000000000..d46b951d02 --- /dev/null +++ b/fonts/phonetic/README @@ -0,0 +1,41 @@ +Short description of the Phonetic fonts + +Unless stated otherwise, these files are in the current directory. +Please note that these are not complete and that certain of the +characters are not quite right. I hope to fix them eventually. + +Emma Pease +CSLI +7/25/89 + +-General + +README +makefile + + +Doc/phonetic.sty ; latex sty file +Doc/phonetic-table.tex ; chart outlining phonetic characters + +For creating italic special characters + +cmphi10.mf, cmphi9.mf, +cmphi8.mf, cmphi7.mf ; top files; modified version of cmti*.mf +phoital.mf ; modified version of textit.mf +greekl.mf ; standard metafont file (not in this directory) +phoitchar.mf ; actual character codes +local.mf ; local definitions of printers + +For creating non-italic special characters + +cmph10.mf, cmph5.mf, +cmph6.mf, cmph7.mf, cmph8.mf ; top files, modified versions of cmr*.mf +phosym.mf ; modified version of roman.mf +phochar.mf ; actual character codes +symchar.mf ; another file containing more characters +greekl.mf ; standard metafont file (not in this directory) +local.mf ; local definitions of printers + + +This entire package is released under the LaTeX Project Public License, +version 1 or (at your option) any later version. diff --git a/fonts/phonetic/cmph10.mf b/fonts/phonetic/cmph10.mf new file mode 100644 index 0000000000..b5ee03ba24 --- /dev/null +++ b/fonts/phonetic/cmph10.mf @@ -0,0 +1,83 @@ +% Computer Modern Phonetic 10 point. Modified version of cmr10.mf. +% modified by Emma Pease, CSLI, Stanford University +if unknown cmbase: input cmbase fi + +font_identifier:="CMPH"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +% crisp#:=8/36pt#; % diameter of serif corners for mathit +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +% stem#:=24/36pt#; % lowercase stem breadth for mathit +curve#:=30/36pt#; % lowercase curve breadth +%curve#:=29/36pt#; % lowercase curve breadth for mathit +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +% flare#:=32/36pt#; % diameter of bulbs or breadth of terminals for mathit +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +% cap_stem#:=30/36pt#; % uppercase stem breadth for mathit +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +% cap_curve#:=35/36pt#; % uppercase curve breadth for mathit +% cap_ess#:=33/36pt#; % breadth in middle of uppercase s for mathit +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phosym % switch to the driver file diff --git a/fonts/phonetic/cmph5.mf b/fonts/phonetic/cmph5.mf new file mode 100644 index 0000000000..01e6b80c23 --- /dev/null +++ b/fonts/phonetic/cmph5.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic 5 point, Modified version of cmr5.mf +% modified by Emma Pease, CSLI, Stanford University +if unknown cmbase: input cmbase fi + +font_identifier:="CMPH"; font_size 5pt#; + +u#:=12.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=2/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=135/36pt#; % height of tallest characters +asc_height#:=125/36pt#; % height of lowercase ascenders +cap_height#:=123/36pt#; % height of caps +fig_height#:=116/36pt#; % height of numerals +x_height#:=77.5/36pt#; % height of lowercase without ascenders +math_axis#:=45/36pt#; % axis of symmetry for math symbols +bar_height#:=43.5/36pt#; % height of crossbar in lowercase e +comma_depth#:=35/36pt#; % depth of comma below baseline +desc_depth#:=35/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=6/36pt#; % diameter of rounded corners +fine#:=5/36pt#; % diameter of sharply rounded corners +thin_join#:=5/36pt#; % width of extrafine details +hair#:=7.5/36pt#; % lowercase hairline breadth +stem#:=16/36pt#; % lowercase stem breadth +curve#:=18/36pt#; % lowercase curve breadth +ess#:=12/36pt#; % breadth in middle of lowercase s +flare#:=19/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=22/36pt#; % diameter of dots +cap_hair#:=8/36pt#; % uppercase hairline breadth +cap_stem#:=19/36pt#; % uppercase stem breadth +cap_curve#:=21/36pt#; % uppercase curve breadth +cap_ess#:=14/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.28pt#; % thickness of lines in math symbols + +dish#:=.7/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=15/36pt#; % protrusion of lowercase serifs +cap_jut#:=20/36pt#; % protrusion of uppercase serifs +beak_jut#:=6/36pt#; % horizontal protrusion of beak serifs +beak#:=35/36pt#; % vertical protrusion of beak serifs +vair#:=6/36pt#; % vertical diameter of hairlines +notch_cut#:=5pt#; % maximum breadth above or below notches +bar#:=8/36pt#; % lowercase bar thickness +slab#:=8/36pt#; % serif and arm thickness +cap_bar#:=8/36pt#; % uppercase bar thickness +cap_band#:=8/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=5pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=.7/36pt#; % for small refinements of stem breadth +vair_corr#:=.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phosym % switch to the driver file diff --git a/fonts/phonetic/cmph6.mf b/fonts/phonetic/cmph6.mf new file mode 100644 index 0000000000..85f0da19f9 --- /dev/null +++ b/fonts/phonetic/cmph6.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic 6 point; modified cmr6.mf +% modified by Emma Pease, CSLI, Stanford University +if unknown cmbase: input cmbase fi + +font_identifier:="CMPH"; font_size 6pt#; + +u#:=14/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=2.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3/36pt#; % extra space added to all sidebars + +body_height#:=162/36pt#; % height of tallest characters +asc_height#:=150/36pt#; % height of lowercase ascenders +cap_height#:=147.6/36pt#; % height of caps +fig_height#:=139.2/36pt#; % height of numerals +x_height#:=93/36pt#; % height of lowercase without ascenders +math_axis#:=54/36pt#; % axis of symmetry for math symbols +bar_height#:=52.2/36pt#; % height of crossbar in lowercase e +comma_depth#:=42/36pt#; % depth of comma below baseline +desc_depth#:=42/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=8/36pt#; % lowercase hairline breadth +stem#:=18/36pt#; % lowercase stem breadth +curve#:=20.5/36pt#; % lowercase curve breadth +ess#:=17/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=8.5/36pt#; % uppercase hairline breadth +cap_stem#:=21.5/36pt#; % uppercase stem breadth +cap_curve#:=24/36pt#; % uppercase curve breadth +cap_ess#:=19/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.31pt#; % thickness of lines in math symbols + +dish#:=.8/36pt#; % amount erased at top or bottom of serifs +bracket#:=12/36pt#; % vertical distance from serif base to tangent +jut#:=17/36pt#; % protrusion of lowercase serifs +cap_jut#:=23/36pt#; % protrusion of uppercase serifs +beak_jut#:=6.8/36pt#; % horizontal protrusion of beak serifs +beak#:=42/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=6pt#; % maximum breadth above or below notches +bar#:=8.5/36pt#; % lowercase bar thickness +slab#:=8.5/36pt#; % serif and arm thickness +cap_bar#:=8.5/36pt#; % uppercase bar thickness +cap_band#:=8.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=6pt#; % max breadth above/below uppercase notches +serif_drop#:=2.4/36pt#; % vertical drop of sloped serifs +stem_corr#:=.8/36pt#; % for small refinements of stem breadth +vair_corr#:=.7/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4.5/36pt#; % amount of overshoot for curves +apex_o#:=4.5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.8; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phosym % switch to the driver file diff --git a/fonts/phonetic/cmph7.mf b/fonts/phonetic/cmph7.mf new file mode 100644 index 0000000000..a044f149c9 --- /dev/null +++ b/fonts/phonetic/cmph7.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic 7 point; modified cmr7 +% modified by Emma Pease, CSLI, Stanford University +if unknown cmbase: input cmbase fi + +font_identifier:="CMPH"; font_size 7pt#; + +u#:=15.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.2/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=108.5/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=60.9/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=8.5/36pt#; % lowercase hairline breadth +stem#:=20/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=29/36pt#; % diameter of dots +cap_hair#:=9/36pt#; % uppercase hairline breadth +cap_stem#:=24/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=23/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.34pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=14/36pt#; % vertical distance from serif base to tangent +jut#:=19/36pt#; % protrusion of lowercase serifs +cap_jut#:=26/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.6/36pt#; % horizontal protrusion of beak serifs +beak#:=49/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=9/36pt#; % lowercase bar thickness +slab#:=9/36pt#; % serif and arm thickness +cap_bar#:=9/36pt#; % uppercase bar thickness +cap_band#:=9/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=.9/36pt#; % for small refinements of stem breadth +vair_corr#:=.9/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.6; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phosym % switch to the driver file diff --git a/fonts/phonetic/cmph8.mf b/fonts/phonetic/cmph8.mf new file mode 100644 index 0000000000..f2e5a6f919 --- /dev/null +++ b/fonts/phonetic/cmph8.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic 8 point; +% modified by Emma Pease, CSLI, Stanford University +if unknown cmbase: input cmbase fi + +font_identifier:="CMPH"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phosym % switch to the driver file diff --git a/fonts/phonetic/cmph9.mf b/fonts/phonetic/cmph9.mf new file mode 100644 index 0000000000..4e36a7a19d --- /dev/null +++ b/fonts/phonetic/cmph9.mf @@ -0,0 +1,76 @@ +% Computer Modern Roman 9 point +% modified by Emma Pease, CSLI, Stanford University +if unknown cmbase: input cmbase fi + +font_identifier:="CMPH"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phosym % switch to the driver file diff --git a/fonts/phonetic/cmphb10.mf b/fonts/phonetic/cmphb10.mf new file mode 100644 index 0000000000..31b8599fb6 --- /dev/null +++ b/fonts/phonetic/cmphb10.mf @@ -0,0 +1,75 @@ +% Computer Modern Bold Extended Roman Phonetic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMPHB"; font_size 10pt#; + +u#:=23/36pt#; % unit width +width_adj#:=11/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=17/36pt#; % lowercase hairline breadth +stem#:=41/36pt#; % lowercase stem breadth +curve#:=46/36pt#; % lowercase curve breadth +ess#:=38/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=56/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=51/36pt#; % uppercase stem breadth +cap_curve#:=55/36pt#; % uppercase curve breadth +cap_ess#:=53/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=11/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phosym % switch to the driver file diff --git a/fonts/phonetic/cmphi10.mf b/fonts/phonetic/cmphi10.mf new file mode 100644 index 0000000000..fbfb3b220a --- /dev/null +++ b/fonts/phonetic/cmphi10.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic Italic 10 point +% modified version of cmti10.mf. Modified by Emma Pease +if unknown cmbase: input cmbase fi + +font_identifier:="CMPHI"; font_size 10pt#; + +u#:=18.4/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=9.2/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=23/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=29/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=34/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=9/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phoital % switch to the driver file diff --git a/fonts/phonetic/cmphi7.mf b/fonts/phonetic/cmphi7.mf new file mode 100644 index 0000000000..900d77ca32 --- /dev/null +++ b/fonts/phonetic/cmphi7.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic Italic 7 point +% modified version of cmti10.mf. Modified by Emma Pease +if unknown cmbase: input cmbase fi + +font_identifier:="CMPHI"; font_size 7pt#; + +u#:=14.8/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=9.4/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.2/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=108.5/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=60.9/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=7/36pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=10.5/36pt#; % lowercase hairline breadth +stem#:=18.5/36pt#; % lowercase stem breadth +curve#:=21.5/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=29/36pt#; % diameter of dots +cap_hair#:=10.5/36pt#; % uppercase hairline breadth +cap_stem#:=21.5/36pt#; % uppercase stem breadth +cap_curve#:=24.5/36pt#; % uppercase curve breadth +cap_ess#:=21/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.34pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=14/36pt#; % vertical distance from serif base to tangent +jut#:=21/36pt#; % protrusion of lowercase serifs +cap_jut#:=24/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.4/36pt#; % horizontal protrusion of beak serifs +beak#:=49/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=9/36pt#; % lowercase bar thickness +slab#:=9/36pt#; % serif and arm thickness +cap_bar#:=9/36pt#; % uppercase bar thickness +cap_band#:=9/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=.9/36pt#; % for small refinements of stem breadth +vair_corr#:=.9/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=5/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.6; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phoital % switch to the driver file diff --git a/fonts/phonetic/cmphi8.mf b/fonts/phonetic/cmphi8.mf new file mode 100644 index 0000000000..a436122f1c --- /dev/null +++ b/fonts/phonetic/cmphi8.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic Italic 8 point +% modified version of cmti10.mf. Modified by Emma Pease +if unknown cmbase: input cmbase fi + +font_identifier:="CMPHI"; font_size 8pt#; + +u#:=15.8/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=7.9/36pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=20/36pt#; % lowercase stem breadth +curve#:=23.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=23.5/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=24/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=24/36pt#; % protrusion of lowercase serifs +cap_jut#:=27/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.9/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phoital % switch to the driver file diff --git a/fonts/phonetic/cmphi9.mf b/fonts/phonetic/cmphi9.mf new file mode 100644 index 0000000000..49bd120519 --- /dev/null +++ b/fonts/phonetic/cmphi9.mf @@ -0,0 +1,76 @@ +% Computer Modern Phonetic Italic 9 point +% modified version of cmti10.mf. Modified by Emma Pease +if unknown cmbase: input cmbase fi + +font_identifier:="CMPHI"; font_size 9pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=8.5/36pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=26/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=26/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=26/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=27/36pt#; % protrusion of lowercase serifs +cap_jut#:=30.5/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.5/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate phoital % switch to the driver file diff --git a/fonts/phonetic/local.mf b/fonts/phonetic/local.mf new file mode 100644 index 0000000000..6f61b9877d --- /dev/null +++ b/fonts/phonetic/local.mf @@ -0,0 +1,58 @@ +% A file to be loaded after "plain.mf". Not final by any means. +base_version:=base_version&"/drofnats"; + +mode_def canon = % canon mode: for the old Imagen (Canon LBP10) + proofing:=0; % no, we're not making proofs + fontmaking:=1; % yes, we are making a font + tracingtitles:=0; % no, don't show titles in the log + pixels_per_inch:=240; + blacker:=.2; % make pens a wee bit blacker + fillin:=.2; % and compensate for fillin + o_correction:=.4; % but don't overshoot as much + enddef; + +mode_def escher = % mode for the 300 imagen printer + proofing:=0; + fontmaking:=1; + tracingtitles:=0; + pixels_per_inch:=300; + blacker:=0; + fillin:=.2; + o_correction:=.6; + enddef; + +mode_def think = % think mode: for the think jet and screen + proofing:=0; % no, we're not making proofs + fontmaking:=1; % yes, we are making a font + tracingtitles:=0; % no, don't show titles in the log + pixels_per_inch:=96; % really lowres + blacker:=0; % don't make the pens any blacker + fillin:=0; % and don't compensate for fillin + o_correction:=.2; % but suppress most overshoots + enddef; + +mode_def aps = % aps mode: for the Autologic APS-Micro5 + proofing:=0; % no, we're not making proofs + fontmaking:=1; % yes, we are making a font + tracingtitles:=1; % yes, show titles online + pixels_per_inch:=722.909; % that's roughly 10 per pt + blacker:=.2; % make pens a teeny bit blacker + fillin:=.2; % but compensate for diagonal fillin + o_correction:=1; % and keep the full overshoot + enddef; + +% mode for Imagewriter (144 dots per inch) taken from pktor documentation +mode_def imagewriter = + proofing := 0; + fontmaking := 1; + tracingtitles := 1; + pixels_per_inch := 144; + blacker := 0; + fillin := 0; + o_correction := .2; +enddef; + + + + +localfont:=escher; diff --git a/fonts/phonetic/makefile b/fonts/phonetic/makefile new file mode 100644 index 0000000000..8981e96672 --- /dev/null +++ b/fonts/phonetic/makefile @@ -0,0 +1,66 @@ +.SUFFIXES: .300gf .329gf .360gf .432gf .518gf .622gf .mf + + +# the following three items should be modified for local conditions +TEXFONTS=. /b/local/lib/tex/fonts +MFLIB=/b/local/lib/mf +MFINPUTS=.\:$(MFLIB)/inputs\:$(MFLIB)/bases + +FILES = cmph5.300gf cmph6.300gf cmph7.300gf cmph8.300gf cmph9.300gf \ + cmph10.300gf cmph10.329gf cmph10.360gf cmph10.432gf cmph10.518gf\ + cmph10.622gf +IFILES = cmphi10.300gf cmphi9.300gf cmphi8.300gf \ + cmphi7.300gf cmphi10.329gf cmphi10.360gf cmphi10.432gf cmphi10.518gf\ + cmphi10.622gf +ROMAN = phosym.mf phochar.mf symchar.mf +ITALIC = phoital.mf phoitchar.mf +DEPENDANTS = $(ROMAN) $(ITALIC) +ALLFILES = phosym.mf phochar.mf symchar.mf phoital.mf phoitchar.mf \ + cmph5.mf cmph6.mf cmph7.mf cmph8.mf cmph9.mf cmph10.mf \ + cmphi7.mf cmphi8.mf cmphi9.mf cmphi10.mf \ + README makefile local.mf Doc/phonetic.sty Doc/phonetic-table.tex + +# fonts are created and moved to the subdirectory fonts + +all: cmph cmphi + +cmph: $(ROMAN) + make $(FILES) "DEPENDANTS=$(ROMAN)" + +cmphi: $(ITALIC) + make $(IFILES) "DEPENDANTS=$(ITALIC)" + + +# if you have mf working correctly (i.e., you don't need to load +# local.mf each time), you should modify the following. + +.mf.300gf: $*.mf $(DEPENDANTS) + mf "\mode:=imagen;" "batchmode;" input $* + +.mf.329gf: $*.mf $(DEPENDANTS) + mf "\mode:=imagen;" "mag:=magstep 0.5;" "batchmode;" input $* + +.mf.360gf: $*.mf phosym.mf phochar.mf symchar.mf + mf "\mode:=imagen;" "mag:=magstep 1;" "batchmode;" input $* + +.mf.432gf: $*.mf phosym.mf phochar.mf symchar.mf + mf "\mode:=imagen;" "mag:=magstep 2;" "batchmode;" input $* + +.mf.518gf: $*.mf phosym.mf phochar.mf symchar.mf + mf "\mode:=imagen;" "mag:=magstep 3;" "batchmode;" input $* + +.mf.622gf: $*.mf phosym.mf phochar.mf symchar.mf + mf "\mode:=imagen;" "mag:=magstep 4;" "batchmode;" input $* + +# + +shar: + shar $(ALLFILES) > Phonetic.shar1 + sed '$$ a\ + mkdir fonts' Phonetic.shar1 > Phonetic.shar + rm Phonetic.shar1 + +tar: + tar chf Phonetic.tar $(ALLFILES) fonts + + diff --git a/fonts/phonetic/phochar.mf b/fonts/phonetic/phochar.mf new file mode 100644 index 0000000000..be8b387bb9 --- /dev/null +++ b/fonts/phonetic/phochar.mf @@ -0,0 +1,1314 @@ +% Actual phonetic character codes. Created by Emma Pease, CSLI, +% Stanford University. Based for the most part on computer modern characters + +cmchar "Reverse Cedilla accent"; +beginchar(oct"011",8u#,0,.875desc_depth#); +adjust_fit(0,0); +x1=.5w+.5u; +if serifs: pickup crisp.nib; pos1(stem,0); pos2(stem,0); + pos3(vair,90); pos4(stem,180); pos5(vair,-90); + x1=x2; z3l=z2r; x4=x2-1.5u; x5=x3+1.5u; + bot y1=-o; bot y2=-vround 2/7d-o; y4=.5[y3,y5]; bot y5=-d-o; + filldraw stroke z1e--z2e; % stem + filldraw stroke z3e{left}...z4e{down}...{right}z5e; % hook +else: pickup fine.nib; pos1(vair,0); top y1=-o-2; + pos2(.5[vair,stem],0); bot y2=-d-o; x2=x1+1.25u; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2,3,4,5); endchar; + +cmchar "The letter phonetic a"; +beginchar("a",10u#+serif_fit#,x_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0r=z0'r; x0'=x1; x0=x2; +rt x1r=hround(w-2.5u+.5stem'); top y1=h+oo; +numeric edge; edge=lft x2l; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,0); +pos4(vair,90); pos5(curve,180); +pos6(vair,270); penpos7(x3r-x3l,360); +lft x3l=1/3[lft x2,edge]; y3=1/8[bar_height,x_height]; +x4l=.5(w-serif_fit)-.3u; top y4r=x_height+oo; +lft x5r=hround max(1.35u-.5curve,.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=max(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=max(x',.5[x5r,x6]); +filldraw stroke z3e{up}...pulled_arc.e(4,5) + & pulled_arc.e(5,6)...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{left}z4l)); +pickup tiny.nib; bot y2=if serifs:-min(oo,serif_drop) else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.r(2,0,b,1/3,jut,min(oo,serif_drop)); fi % lower serif +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "The letter rotated phonetic a"; +beginchar("A",10u#+serif_fit#,x_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); top y1=h+min(oo,serif_drop); +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +pos4(vair,90); pos5(curve,0); pos6(vair,-90); penpos7(x3l-x3r,-180); +rt x3l=max(rt x3l-(lft x3r-tiny.lft x2l),1/3[rt x2,edge]); +y3=1/8[bar_height,x_height]; +x4l=w-.5(w-serif_fit)+.5u; top y4r=x_height+oo; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x4,x5r]); +(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x6,x5r]); +filldraw stroke z3e{up}...pulled_arc.e(4,5)&pulled_arc.e(5,6)...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +y2=ypart(((edge,h)--(edge,0))intersectionpoint(z6l{left}...{up}z7l)); +pickup tiny.nib; filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; pos8(hair,0); pos7'(stem,0); +z7'=z2; x8l=x7'l; bot y8=0; +filldraw stroke z7'e--z8e; % point +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); fi % upper serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "The letter voiced implosive b"; +beginchar("b",10u#+serif_fit#,asc_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); top y1=.25[x_height,h]; +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +pos4(vair,90); pos5(curve,0); pos6(vair,-90); penpos7(x3l-x3r,-180); +rt x3l=max(rt x3l-(lft x3r-tiny.lft x2l),1/3[rt x2,edge]); +y3=1/8[bar_height,x_height]; +x4l=w-.5(w-serif_fit)+.5u; top y4r=x_height+oo; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x4,x5r]); +(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x6,x5r]); +filldraw stroke z3e{up}...pulled_arc.e(4,5)&pulled_arc.e(5,6)...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +y2=ypart(((edge,h)--(edge,0))intersectionpoint(z6l{left}...{up}z7l)); +pickup tiny.nib; filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; pos8(hair,0); pos7'(stem,0); +z7'=z2; x8l=x7'l; bot y8=0; +filldraw stroke z7'e--z8e; % point +if serifs: pickup tiny.nib; + pos9(vair,-270); pos9'(vair,-90);z9=z9';x9=.5[x1,x10]; top y9r=h; + pos10(hair,-360); rt x10r=w- hround u; y10=.75[x_height,h]-.5flare; + pos11(flare,-360); %z11l=z10l; + bulb(9,10,11); filldraw stroke super_arc.e(1,9'); % tail +else: pickup fine.nib; pos1'(stem,0); z1'=z1; + z1''r=z1'r; z1''=z1'; z1''l=(x1'l,0); + pos9(vair,-90); x9=4.5u; top y9l=h; + pos10(.5[vair,flare],90); rt x10=hround 1.25u; + y10r=good.y 5/6[x_height,h]; y10l:=good.y y10l; + filldraw stroke z1'e..z1''e&super_arc.e(1'',9) + & term.e(9,10,left,.9,4); fi % tail +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "The letter variant open o"; +beginchar("C",8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(h+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=x; +filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal +else: pos1(4/7[vair',flare],80); + rt x1r=hround(w-.6u); top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + pos5(.6[vair',flare],275); rt x5r=hround(w-.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; +filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + ..tension .9 and 1..z5e; fi % arc and lower terminal + currentpicture:=currentpicture rotatedaround ((.5w,.5h),180); +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The letter open o"; +beginchar("c",8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w-u); top y2r=vround(h+1.5oo); bot y4r=-oo; +pos3(curve,0); rt x3r=hround min(w-.6u,w-1.35u+.5curve); y3=.5h; +if serifs: pos1(hair,180); pos0(flare,180); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + lft x1r=hround(.7u); bulb(2,1,0); % bulb + pos5(hair,180); lft x5r=hround(.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=min(x,x4l+.5u); +filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal +else: pos1(4/7[vair',flare],80); + lft x1r=hround(.6u); top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + pos5(.6[vair',flare],275); lft x5r=hround(.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{left}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{left}..tension atleast.9 and 1..{dir 75}z5e; fi endfor +filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & p.e; fi % arc and lower terminal +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The letter glottal d"; +beginchar("D",10.5u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; +pos2(stem,0); +lft x2l=w-hround(3u+.5stem'); +pickup fine.nib; numeric bulb_diam; +if serifs: bulb_diam=hround .8[stem,flare]; +pos8(bulb_diam,0); y8+.5bulb_diam=.9[x_height,h+oo]; +if monospace: rt x8r=hround(w-.5u)+1 else: lft x8l=hround(w-.75u+.5) +fi; +else: pos8(5/7[vair,flare],90); top y8r=h; +rt x8=hround(if monospace:w-.5u else:w+.75u fi); fi; + pickup tiny.nib; bot y2=-oo; + penpos a0(x2r-x2l,0); x.a0l=x2l; top y.a0=x_height; + filldraw stroke z2e--z.a0e; % stem + pickup fine.nib; pos a0'(x2r-x2l-(hround stem_corr)+tiny,180); + y.a0'=y.a0; lft x.a0'r=tiny.lft x2l; + penpos a1(x.a0'l-x.a0'r,180); x.a1=x.a0'; y.a1+.5vair=.5[x_height,h]; + pos a2(vair,90); top y.a2r=h+oo; + if serifs: x.a2=.6[x.a1,x8r]; (x.a,y.a2r)=whatever[z.a2l,z.a1l]; + x.a2r:=min(x.a,.5[x.a2,x8r]); pos a3(hair,0); bulb(a2,a3,8); % bulb + filldraw stroke z.a0'e--z.a1e & super_arc.e(a1,a2); % arc + sloped_serif.r(2,a0,b,1/3,jut,min(oo,serif_drop)); % lower serif + else: x.a2=.6[x.a1,x8]; y.a1l:=1/3[y.a1l,y.a2l]; + filldraw stroke z.a0'e--z.a1e & super_arc.e(a1,a2) + & term.e(a2,8,right,.9,4); fi % arc and terminal +numeric edge; edge=lft x2l; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,0); +pos4(vair,90); pos5(curve,180); pos6(vair,270); penpos7(x3r-x3l,360); +lft x3l=min(lft x3l-(rt x3r-tiny.rt x2r),1/3[lft x2,edge]); +y3=1/8[bar_height,x_height]; +x4l=.5(w-serif_fit-.5u)-.3u; top y4r=x_height+oo; +lft x5r=hround max(1.35u-.5curve,.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=max(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=max(x',.5[x5r,x6]); +filldraw stroke z3e{up}...pulled_arc.e(4,5) + & pulled_arc.e(5,6)...{up}z7e; % bowl +penlabels(a1,a2,2,3,4,5,6,7,8,a0); endchar; + +cmchar "The letter eth"; +beginchar("d",9u#,asc_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height; % +vround 1.5oo; +y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penpos5(hair/(sind 45),45); penpos4'(stem,0); +x4r=x4'r; y4=y4'; +top y5r=h+oo; x5=x2; +penstroke pulled_arc.e(4',5); +penpos6(bar+stem_corr,120); penpos7(bar+stem_corr,120); +y6=.35[y1,y5]; y7r=h+oo; +x7r=rt x4; x6l=rt x2l; +filldraw stroke z6e--z7e; +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "The letter schwa"; +beginchar("e",7.25u#+max(.75u#,.5curve#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curvenotch_cut:(x67,notch_cut)+.5right{down} + --(x67,notch_cut)+.5left{up} else: z67&z67 fi + ...{z5-z6}special_diag_end(6,5,4,3){z3-z4} + ...if y23>notch_cut:(x23,notch_cut)+.5right{down} + --(x23,notch_cut)+.5left{up} else: z23&z23 fi + ...{z1-z2}diag_end(2r,1r,1,1,1l,2l)--cycle; % diagonals +if serifs: numeric inner_jut[]; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(5,6); prime_points_inside(8,7); + if monospace: inner_jut1=inner_jut4=1.5jut; + elseif hefty: inner_jut1=inner_jut4=jut; + else: fill diag_end(6r,5r,1,1,5l,6l)--.5[z5l,z6l] + --.5[z5r,z6r]--cycle;% middle stem + inner_jut2=.7inner_jut1; inner_jut4=1.1inner_jut3; + if rt x1'r+jut+.5u+1<=lft x5'l-.7jut: inner_jut1=jut; + else: rt x1'r+inner_jut1+.5u+1=lft x5'l-inner_jut2; fi + if rt x5'r+jut+.5u+1<=lft x8'l-1.1jut: inner_jut3=jut; + else: rt x5'r+inner_jut3+.5u+1=lft x8'l-inner_jut4; fi + dish_serif(5',6,e,1/3,inner_jut2,f,1/2,inner_jut3); fi % middle serif + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut1); % left serif + dish_serif(8',7,c,.6,inner_jut4,d,1/2,outer_jut)(dark); fi % right serif + currentpicture:=currentpicture rotatedaround ((.5w,.5h),180); +penlabels(0,1,2,3,4,5,6,7,8,23,45,67); endchar; + +cmchar "The letter yogh"; +beginchar("x",8u#,x_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,.5serif_fit#); +numeric arm_thickness[],z_stem,stem[]; +stem1=fudged.stem-4stem_corr; +if hefty: arm_thickness1=stem1; arm_thickness2=stem1; + z_stem=fudged.hair; +else: arm_thickness1=stem1; arm_thickness2=stem1; z_stem=fudged.hair; fi +if arm_thickness1notch_cut: y0:=notch_cut; + fill z0+.5right{up}...{z4r-z3r}diag_end(0,4l,1,1,4r,3r) + --z3r--z2l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z0+.5left--cycle; % left and right diagonals +else: fill z0--diag_end(0,4l,1,1,4r,3r)--z3r--z2l + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +penpos5(alpha*bot_stem,0); z5r=whatever[z3r,z4r]; y5-.5vair=-.5d; +if serifs: numeric light_bulb; light_bulb=7/8[hair,flare]; clearpen; + penpos6(vair,-90); penpos7(hair,-180); penpos8(light_bulb,-180); + x6=2u; y6r=-d-oo; y8-.5light_bulb=-.85d; x8r=hround .35u; + fill stroke z3e---z5e...{left}z6e; bulb(6,7,8); % arc and bulb + numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+jut+.5u+1<=lft x4'l-jut: inner_jut=jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut); % left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); % right serif +else: penpos6(bot_vair,-90); x6=2.5u; y6r=-d-oo; + fill stroke z3e---z5e...{left}z6e; % arc + pickup fine.nib; pos6'(bot_vair,-90); z6'=z6; + pos7(2/3[bot_vair,flare],-85); + lft x7l=hround u; bot y7r=vround-.96d-oo; y7l:=good.y y7l; + filldraw stroke term.e(6',7,left,1,4); fi % arc and terminal + currentpicture:=currentpicture rotatedaround ((.5w,.5h),180); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The letter hausa K"; +beginchar("K",13.5u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6cap_jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.cap_stem,0); pos2(fudged.cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5fudged.cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.cap_stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +top y3=h; rt x3r=hround(r-letter_fit-u-right_jut); +bot y6=0; rt x6r=hround(r-letter_fit-.75u-right_jut); +x4=x1; y4=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=.9h; y6'$=0; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; endfor +z5=.5[z5l,z5r]; +z3'r=z3r+penoffset z3-z4 of currentpen+whatever*(z3-z4); +% we have also |z3'l=z3l+penoffset z4-z3 of currentpen+whatever*(z3-z4)|;\] +z6'r=z6r+penoffset z1-z6 of currentpen+whatever*(z1-z6); +z6'l=z6l+penoffset z6-z1 of currentpen+whatever*(z1-z6); +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % lower diagonal +if serifs: numeric inner_jut; + if rt x2r+cap_jut+.5u+1<=lft x6l-cap_jut: inner_jut=cap_jut; + else: rt x2r+cap_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper stem serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower stem serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark);fi % lower diagonal serif +if serifs: z10r=z3'l; z10r-z10l=whatever*(z1-z6); z10l=whatever[z4r,z3'r]; + pos7(vair,90); x7=hround(x3+.5u); top y7 = top y3; + pos8(cap_hair,0); pos9(flare,0); + y8= .3[y5r,y7]; rt x8r=hround(w); + fill z10r{z3-z4}..top z7r{right}--bot z7l{left}...{z4-z3}z10l--cycle; +% filldraw stroke z10e{z3-z4}...z7e{right}; + bulb(7,8,9); fi % bulb +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The letter hausa D"; +beginchar("T",15.5u#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(4u,5u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve-stem_corr,0); +penpos6(cap_band,-90); penpos7(cap_band,-90); +z3r=top z1; y4=y3; y5=.51[y4,y6]; y6=y7; +z7r=bot z2; x4=x6=.5(w+2u#)+.25u; x5r=hround(w-u); +x4l:=x6l:=x4-.25cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,.5cap_jut); % upper serif +nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +if serifs: pickup fine.nib; top y10r= y3r; + pos8(flare,180); pos9(hair,180); + pos10(cap_band,90); rt x8r=0; x10=lft x1l - .5cap_jut; + y8=vround(.7h); + bulb(10,9,8); fi % bulb +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The letter hausa B"; +beginchar("B",14.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(4u,5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(middle_weight,90); penpos9(middle_weight,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(cap_band,-90); penpos12(cap_band,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +z12r=bot z2; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-1.5u); x10r=hround(w-u); +if serifs: right_curve=cap_curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=cap_curve-3stem_corr; x4=.5[x1,w-2.5u]; + x4l:=x4l-.5u; x9l:=x9l-.5u; fi +x6l:=x6l-.5u; x11l:=x11l-.5u; +fill stroke z3e..super_arc.e(4,5) & super_arc.e(5,6)..z7e; % upper lobe +fill stroke z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower lobe +if serifs: nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +if serifs: pickup fine.nib; top y15r= y3r; + pos13(flare,180); pos14(hair,180); + pos15(cap_band,90); rt x13r=0; x15=lft x1l - .5cap_jut; + y13=vround(.7h); + bulb(15,14,13); fi % bulb +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + +cmchar "The letter rotated R"; +beginchar("R",if serifs: 12u#+.5max(2u#,cap_curve#) + else:12.5u#-.5width_adj# fi,cap_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround(.5h+.5vair); x4=x6; +if serifs: x4=.5w-.5u; x5r=hround(w-2.25u); +else: x4=.5w+.5u; x5r=hround(w-u); fi +x4l:=x6l:=x4-.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(cap_stem,180); + pos8(cap_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5cap_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + bot y9r=-o; rt x10r=hround(w-.05u); y10=1/4[y2,y7]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{up}; % tail + dish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif +else: penpos8(cap_stem-2stem_corr,0); penpos9(cap_stem,0); + x8=x6+.5u; y8=y6; x9r=hround(w-.5u); y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +math_fit(0,.75ic#); +transform mirror; mirror=identity rotatedaround ((.5w,.5h),180) +reflectedabout ((.5w,0),(.5w,h)); + currentpicture:=currentpicture transformed mirror; +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + + +cmchar "Glottal stop"; +beginchar("?",8.5u#,asc_height#,0); +italcorr .8asc_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos7(stem',0); bot y7=0; x7=.47w; +numeric bot_width; +bot_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos2(vair,90); pos3(curve,0); +pos4(vair,-90); pos5(stem',0); pos6(stem',0); +x2=x4=x5=x6=x7; rt x3r=hround(w-u); bot y6=1+.5[top y7r,x_height]; +top y2r=h+oo; y3=.75[y6,y2]; y4=.5[y6,y2]; y5=.1[y6,y2]; +{{interim superness:=more_super; +filldraw stroke pulled_super_arc.e(2,3)(superpull) + & subpath (0,1) of super_arc.e(3,4) .. z5e---z7e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=y3; bulb(2,1,0); % bulb + dish_serif(7,5,e,1/3,jut,f,1/3,jut); %serif +else: pos1(vround 5/7[vair,flare],110); + lft x1r=hround u; top y1r=vround .9[y6,top y2r]; + filldraw stroke term.e(2,1,left,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Upward harpoon"; +beginchar("z",9u#,asc_height#,asc_depth#); +italcorr .76asc_height#*slant+.5crisp#-u#; +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,0); pos2(rule_thickness,0); +pos3(bar,90); pos4(bar,90); +lft x1l=hround(.5w-.5rule_thickness); y1-.5rule_thickness=-d; +x0=x1=x2; top y0=h; x0-x3=x4-x0=3u+eps; +y3=y4=y0-.24asc_height-eps; +pos5(bar,angle(z4-z0)); z5l=z0; +pos6(bar,angle(z3-z0)); z6l=z0; +z9=.381966[.5[z3,z4],z0]; +numeric t; path p; p=z4l{z9-z4}..z6r; +t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p; +filldraw z0..{z4-z9}z4r--subpath (0,t) of\\(z4l{z9-z4}..z6r) + --z2r---z1r..z1l---z2l--(x2l,y0)--cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "The letter variant u"; +beginchar(oct"012",10u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(vair,90); pos2(curve,180); +pos3(vair,180); pos4(curve,0); pos5(vair,0); +x1=.5w; top y1r=h+o; lft x2r=hround u; y2=y4=2/3h; x4=w-x2; +rt x3l=hround(1/3(w+.5u)+.5hair); bot y3=bot y5=0; x5=w-x3; +filldraw stroke z3e{up}...{up}z2e + & pulled_super_arc.e(2,1)(.5superpull) + & pulled_super_arc.e(1,4)(.5superpull) + & z4e{down}...{down}z5e; % bowl +numeric arm_thickness; path p; p=z3{up}...{up}z2; +arm_thickness=vround(if hefty:slab+2stem_corr else:.75[slab,vstem] fi); +pickup crisp.nib; pos6(arm_thickness,-90); pos7(fudged.hair,-180); +bot y6r=0; x6=x3; lft x7r=hround .8u; +y7=good.y(y6l+.3beak)+eps; +(x,y)=p intersectionpoint((0,y6l)--(w,y6l)); x6l:=x; +arm(6,7,a,.5beak_darkness,-1.2beak_jut); % left arm and beak +pos8(arm_thickness,-90); pos9(fudged.hair,0); +y8=y6; y9=y7; x8+x6=x9+x7=w; x8l:=w-x6l; +arm(8,9,b,.5beak_darkness,1.2beak_jut); % right arm and beak +math_fit(0,.5ic#); + currentpicture:=currentpicture rotatedaround ((.5w,.5h),180); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The letter variant varu"; +beginchar(oct"010",11u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +pos2(curve,-180); lft x2r=hround.5u; y2=y8=bar_height; +y4=y6=vround.4h; +%y1+.5hair=h; x1=x2+.75u; pos1(hair,angle(2(x1-x2),y1-y2)+90); +y1r=h+oo; x1=.5w; pos1(hair,90); +pos3(hair,-90); pos4(hair,0); pos5(vair,90); +pos6(hair,180); pos7(hair,270); pos8(curve,360); +bot y3r=bot y7r=-oo; top y5r=vround(.1[y4,h]+.5vair); +x3=.5[x2,x4]; x7+.25u=.5[x6,x8]; rt x8r=hround(w-.5u); +x5+.5stem=hround(.5w+.5stem)+eps; +x5=.5[x4,x6]; rt x4r-lft x6r=min(stem,2hair)+2eps; +if x4l1: font_coding_scheme:="TeX text"; +% spanish_shriek=oct"074"; spanish_query=oct"076"; +% input italig; % letter ligatures +%else: font_coding_scheme:=if ligs=0: "TeX typewriter text" +% else: "TeX text without f-ligatures" fi; +% spanish_shriek=oct"016"; spanish_query=oct"017"; fi + +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; + letter_fit#:=letter_fit:=0; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; fi + +%input romanu; % upper case (majuscules) +%input greeku; % upper case greek letters +%input itald; % numerals +%input italp; % ampersand, question marks, currency sign +%input romspu; % uppercase specials (\AE, \OE, \O) +%input punct; % punctuation symbols common to roman and italic text +%input accent; % accents common to roman and italic text +%if ligs>0: input comlig; fi % ligatures common with roman text +%if ligs<=1: input romsub; fi % substitutes for ligatures + +%ligtable "!": "`" =: spanish_shriek; +%ligtable "?": "`" =: spanish_query; + +bye. + +if not monospace: + k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + ligtable "d": "w": "l": "l" kern +u#; + ligtable "F": "V": "o" kern kk#, "e" kern kk#, + "u" kern kk#, "r" kern kk#, "a" kern kk#, "A" kern kkk#, + "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#; + ligtable "T": "y" kern kk#, + "Y": "e" kern kk#, "o" kern kk#, "r" kern kk#, "a" kern kk#, "u" kern kk#, + "P": "W": "A" kern kk#; + ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#, + "V" kern k#, "Y" kern k#; + ligtable "A": "R": "n" kern k#, "l" kern k#, "r" kern k#, "u" kern k#, + "m" kern k#, "t" kern k#, "i" kern k#, "C" kern k#, "O" kern k#, "G" kern k#, + "h" kern k#, "b" kern k#, "U" kern k#, "k" kern k#, "v" kern k#, "w" kern k#, + "Q" kern k#, "L": "T" kern kk#, "Y" kern kk#, "V" kern kkk#, "W" kern kkk#, + "b": "c": "e": "o": "p": "r": "e" kern -u#, "a" kern -u#, "o" kern -u#, + "d" kern -u#, "c" kern -u#, "g" kern -u#, "q" kern -u#; + ligtable "n": "'" kern kkk#; fi +% there are ligature/kern programs for |"f"| in the {\tt romlig} file +% and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file +bye. diff --git a/fonts/phonetic/phoitchar.mf b/fonts/phonetic/phoitchar.mf new file mode 100644 index 0000000000..c77359f91f --- /dev/null +++ b/fonts/phonetic/phoitchar.mf @@ -0,0 +1,853 @@ + +% the italic characters that correspond to those in phochar. +% created by Emma Pease. In most cases these are modified forms of +% standard computer modern characters + +cmchar "Italic letter rotated a"; +beginchar("A",9u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98h; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=h+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +currentpicture:=currentpicture rotatedaround ((.5(w+slant*h),.5h),180); +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Italic letter rotated c"; +beginchar("c",8u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(flare,180); pos1(hair,180); pos2(vair,90); +pos3(curve,0); pos4(vair,270); pos5(hair,220); +x2=x4=.5(w-u); lft x1r=min(lft x2,hround(u))-eps; +rt x3r=w-hround(1.5u-.5curve); x5r=good.x(eps); x6=x5; +y1=.5[bar_height,h]; top y2r=h+oo; bulb(2,1,0); % bulb +bot y4r=-oo; y3=.5[y2,y4]; top y5l=vround .5bar_height; y6=bar_height; +path p; p=z4{left}..z5..z6; +filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + + + +% need an eth (d) +cmchar "The letter eth"; +beginchar("d",9u#,asc_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height; % +vround 1.5oo; +y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penpos5(hair/(sind 45),45); penpos4'(stem,0); +x4r=x4'r; y4=y4'; +top y5r=h+oo; x5=x2; +penstroke pulled_arc.e(4',5); +penpos6(bar+stem_corr,120); penpos7(bar+stem_corr,120); +y6=.35[y1,y5]; y7r=h+oo; +x7r=rt x4; x6l=rt x2l; +filldraw stroke z6e--z7e; +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Italic letter schwa"; +beginchar("e",8u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +numeric heavy_hair; heavy_hair=hround .2[hair,stem]; +pos0(vair,90); pos1(heavy_hair,180); pos2(vair,-90); +pos3(curve,0); pos4(vair,90); pos5(hair,140); +x0=lft x3l; lft x1r=hround(1.5u-.5heavy_hair); x2=x4=.5(w-u); +rt x3r=hround(w-1.5u+.5curve); x5r=good.x(eps); x6=x5; +y0=y3=y6=h-bar_height; y1=.5[y0,y2]; bot y2r=-oo; top y4r=h+oo; +bot y5l=vround(h-.5bar_height); path p; p=z4{left}..z5..z6; +filldraw stroke z0e{left}...z1e{down}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "The letter variant schwa"; +beginchar("E",if serifs: 9.5u# else:9u# fi,x_height#,0); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +left_stem=fudged.stem-stem_corr; +right_stem=min(fudged.hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75jut; x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4=h; +x2-x1=x4-x3; x2l+apex_corr=x3l; y2=y3=-apex_oo; +alpha=diag_ratio(2,right_stem,y1-y2,x4r-x1l-apex_corr); +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*right_stem,0); penpos4(alpha*right_stem,0); +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0>notch_cut: y0:=notch_cut; + fill z0+.5right{up}...{z4-z3}diag_end(3l,4l,1,1,4r,3r) + --diag_end(4r,3r,1,1,2l,1l)--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z0+.5left--cycle; % left and right diagonals +else: fill z0--diag_end(0,4l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l) + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+jut+.5u+1<=lft x4'l-jut: inner_jut=jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut); % left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); fi % right serif + currentpicture:=currentpicture rotatedaround ((.5(w+slant*h),.5h),180); +penlabels(0,1,2,3,4); endchar; + +cmchar "Italic letter rotated g"; +beginchar("g",8u#,x_height#+desc_depth#,0); +h:=vround(x_height#*hppp); d:=vround(desc_depth#*hppp); % vertical adj. +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-1.5u+.5stem); +top y1r=h+oo; bot y3r=0; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +pos4(stem,0); y4+.5stem=vround .98h; +pos5(stem,0); x5=x4; y5=-1/3d; +pos6(vair,-90); pos7(hair,-180); pos8(flare,-180); +bot y6r=-d-oo; y8-.5flare=vround -.9d; +lft x8r=hround(2u-.5flare); x6=x1; bulb(6,7,8); % bulb +filldraw circ_stroke z4e---z5e...{left}z6e; % stem and arc +math_fit(-min(.3x_height#*slant+.5curve#-u#,1.5u#-desc_depth#*slant), + ic#-1/3x_height#*slant); + currentpicture:=currentpicture rotatedaround ((.5(w+slant*h),.5h),180); +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "letter variant i"; +beginchar("i",4u#,x_height#,0); l_width#:=4u#; +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + x_height#*slant+.5stem#-2u#) if math_fitting:+.5u# fi; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x2-.5stem=hround(1.5u-.5stem); x4=w; hook_out(2,3,4); % closing hook +pickup tiny.nib; pos1(stem,0); pos2'(stem,0); z2'=z2; +top y1=h; x1=x2; filldraw stroke z1e--z2e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +math_fit(-.5u#,1/3x_height#*slant+.5hair#+u#); penlabels(1,2,3,4); endchar; + +cmchar "Dotless letter j barred"; +beginchar("j",5.5u#,x_height#,desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+.5u# fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +rt x1r=hround(.5w+.25u+.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=-1/3d; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,1.1jut,serif_drop); % upper serif + pickup tiny.nib; pos5(vair,-90); pos6(hair,-180); pos7(flare,-180); + x5=.5[x2,x6r]; bot y5r=-d-oo; y6-.5flare=-.88d; + if monospace: lft x6r=0 else: z6r=z7r; rt x7l=floor .75u fi; + (x,y5r)=whatever[z5l,z2l]; x5r:=max(x,.5[x6r,x5]); + filldraw stroke z2e{down}...z5e{left}; bulb(5,6,7); % arc and bulb +else: pickup fine.nib; pos2'(stem',0); z2'=z2; + pos6(.2[vair,stem'],-90); pos7(vair,-90); + lft x7r=hround -.75u; bot y7r=vround 5/6(-d-oo); + x3r=x1r; top y4r=min(2x_height,h+1); + (x,y7l)=whatever[z7r,(x1,min(h,asc_height))]; x7l:=x; + z5r=z2'r; (x2'l,y5l)=whatever[z7l,z5r]; x5l=x2'l; y5=y5r; + x6r=.5[x7r,x5r]; x6l:=.5[x7l,x5l]; bot y6r=-d-oo; + filldraw stroke z2'e..{down}z5e & super_arc.e(5,6) + & term.e(6,7,left,1,4); fi % arc and terminal +pickup crisp.nib; bot y3r=bot y4r=0; lft x3=hround .5u-1; +pos3(bar,90); pos4(bar,90); +rt x4=hround(w-if monospace:.75u+1 else:1/3u fi); +filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Italic letter m"; +beginchar("m",15u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:-1.5u#,-2u# else: 0,0 fi); pickup fine.nib; +numeric shaved_stem; shaved_stem=mfudged.stem; +save stem; stem=shaved_stem; +pos2(stem,0); x1=x2; +if monospace: pos1(stem,0); lft x1l=hround(2.5u-.5stem); top y1=h; +else: x0=0; lft x2l=hround(2.5u-.5stem); + hook_in(0,a,1); fi % opening hook +y2-.5stem=-oo; filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(.5w+.5stem); ital_arch(2,3,4); % left arch +pos5(stem,0); y5=y2; x5=x4; +filldraw circ_stroke z5e--z4e; % middle stem +x7+.5stem=hround(w-2.5u+.5stem); +x8=x7-.25u; ital_arch(5,6,7); % right arch +if monospace: pos9(vair,90); x9=good.x .5[x8,w]; bot y9l=0; y8=1/3h; + pos8(stem,0); filldraw stroke z8e{-u,-x_height}...{right}z9e; % terminal +else: x9=w; hook_out(8,b,9)(skewed); fi % closing hook +filldraw stroke z7e{down}..{-u,-x_height}z8e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); + currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); +penlabels(0,a,1,2,3,4,5,6,7,8,9); endchar; + +% letter italic engma + + +cmchar "Italic letter thorn"; +beginchar("p",8u#,asc_height#,desc_depth#); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup tiny.nib; +pos1(stem,0); pos2(stem,0); pos6(stem,0);x1=x2=x6; +lft x1l=hround(1.5u-.5stem); top y1=h; y2=.5x_height;bot y6=-d; +filldraw stroke z1e--z6e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % top serif +dish_serif(6,2,b,1/3,.75jut,c,1/3,jut); % bottom serif +pickup fine.nib; pos2'(stem,-180); pos3(vair,-90); +pos4(curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5=.5[x2,x4]; rt x4r=hround(w-1.5u+.5curve); +bot y3r=-oo; top y5r=x_height+oo; y4=y2; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Italic letter rotated r"; +beginchar("r",5.5u#+max(1.75u#,flare#),x_height#,0); +italcorr x_height#*slant; +adjust_fit(if monospace:.25u#,.5u# else: 0,0 fi); pickup fine.nib; +x0=0; x2=x3; pos3(stem,0); lft x3l=hround(2.5u-.5stem); y3-.5stem=-oo; +hook_in(0,1,2); % opening hook +filldraw circ_stroke z3e--z2e; % left stem +pos3'(hair,180); z3'=z3; pos4(vair,90); pos5(hair,0); pos6(flare,0); +x4=w-.5u-max(1.75u,flare); rt x5r=hround(r-.5u); top y4r=h+oo; +filldraw stroke z3'e{up}...z4e{right}; % link +y6+.5flare=vround(bot y4l-.03x_height); bulb(4,5,6); % bulb +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-.5u#); + currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); +penlabels(0,1,2,3,4,5,6); endchar; + +% the letter esh + +cmchar "Italic letter rotated h"; +beginchar("u",9.5u#,x_height#,desc_depth#); +italcorr .7x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos7(stem,0);pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; bot y7=-d; +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e; % right stem +dish_serif(7,6,a,1/3,jut,b,1/3,jut); % serif +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + +% the letter yogh + +cmchar "Italic letter y"; +beginchar("y",8.5u#,x_height#+desc_depth#,0); +h:=vround(x_height#*hppp); d:=vround(desc_depth#*hppp); %adj. vertical +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-1.5u+.5stem); +pos7(stem,0); pos8(vair,-90); +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +y7=0; bot y8r=-d-oo; x5=x6=x7; x8=.5w; +pos9(hair,-180); pos10(flare,-180); y9=-.5d; +lft x9r=hround(2.75u-.5flare); bulb(8,9,10); % bulb +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e---z7e...{left}z8e; % right stem and link +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-1/3x_height#*slant); + currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + + +cmchar "The letter variant u"; +beginchar(oct"012",10u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(vair,90); pos2(curve,180); +pos3(vair,180); pos4(curve,0); pos5(vair,0); +x1=.5w; top y1r=h+o; lft x2r=hround u; y2=y4=2/3h; x4=w-x2; +rt x3l=hround(1/3(w+.5u)+.5hair); bot y3=bot y5=0; x5=w-x3; +filldraw stroke z3e{up}...{up}z2e + & pulled_super_arc.e(2,1)(.5superpull) + & pulled_super_arc.e(1,4)(.5superpull) + & z4e{down}...{down}z5e; % bowl +numeric arm_thickness; path p; p=z3{up}...{up}z2; +arm_thickness=vround(if hefty:slab+2stem_corr else:.75[slab,vstem] fi); +pickup crisp.nib; pos6(arm_thickness,-90); pos7(fudged.hair,-180); +bot y6r=0; x6=x3; lft x7r=hround .8u; +y7=good.y(y6l+.3beak)+eps; +(x,y)=p intersectionpoint((0,y6l)--(w,y6l)); x6l:=x; +arm(6,7,a,.5beak_darkness,-1.2beak_jut); % left arm and beak +pos8(arm_thickness,-90); pos9(fudged.hair,0); +y8=y6; y9=y7; x8+x6=x9+x7=w; x8l:=w-x6l; +arm(8,9,b,.5beak_darkness,1.2beak_jut); % right arm and beak +math_fit(0,.5ic#); + currentpicture:=currentpicture rotatedaround ((.5(w+h*slant),.5h),180); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The letter variant varu"; +beginchar(oct"010",11u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +pos2(curve,-180); lft x2r=hround.5u; y2=y8=bar_height; +y4=y6=vround.4h; +%y1+.5hair=h; x1=x2+.75u; pos1(hair,angle(2(x1-x2),y1-y2)+90); +y1r=h+oo; x1=.5w; pos1(hair,90); +pos3(hair,-90); pos4(hair,0); pos5(vair,90); +pos6(hair,180); pos7(hair,270); pos8(curve,360); +bot y3r=bot y7r=-oo; top y5r=vround(.1[y4,h]+.5vair); +x3=.5[x2,x4]; x7+.25u=.5[x6,x8]; rt x8r=hround(w-.5u); +x5+.5stem=hround(.5w+.5stem)+eps; +x5=.5[x4,x6]; rt x4r-lft x6r=min(stem,2hair)+2eps; +if x4l1: font_coding_scheme:="TeX text"; + spanish_shriek=oct"074"; spanish_query=oct"076"; +else: font_coding_scheme:=if ligs=0: "TeX typewriter text" + else: "TeX text without f-ligatures" fi; + spanish_shriek=oct"016"; spanish_query=oct"017"; fi + +mode_setup; font_setup; + +input phochar; % phonetics symbols +input symchar; % arrows, hooks .... +input greekl; %lowercase greek letters +%input testchar; % test characters before inserting in phochar +%input romanu; % upper case (majuscules) +%input romanl; % lower case (minuscules) +%input greeku; % upper case Greek letters +%input romand; % numerals +%input romanp; % ampersand, question marks, currency sign +%input romspl; % lowercase specials (dotless \i, ligature \ae, etc.) +%input romspu; % uppercase specials (\AE, \OE, \O) +%input punct; % punctuation symbols common to roman and italic text +%input accent; % accents common to roman and italic text +%if ligs>1: input romlig; fi % letter ligatures +%if ligs>0: input comlig; fi % ligatures common with italic text +%if ligs<=1: input romsub; fi % substitutes for ligatures + +bye. + +ligtable "!": "`" =: spanish_shriek; +ligtable "?": "`" =: spanish_query; +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#;fi; + + % kerning removed until further notice + % there are ligature/kern programs for |"f"| in the {\tt romlig} file + % and for |"-"|, |"`"|, and |"'"| in the {\tt comlig} file diff --git a/fonts/phonetic/symchar.mf b/fonts/phonetic/symchar.mf new file mode 100644 index 0000000000..b019c92e8c --- /dev/null +++ b/fonts/phonetic/symchar.mf @@ -0,0 +1,47 @@ +% More character codes. Created by Emma Pease, CSLI, +% Stanford University. Based for the most part on computer modern characters + +% down hook and up hook were created in order to form hookuparrows and +% hookdownarrows + +cmchar "Down hook"; +compute_spread(.45x_height#,.55x_height#); +beginchar(oct"173",5u#,v_center(2spread#+rule_thickness#)); +adjust_fit(0,0); pickup rule.nib; autorounded; +rt x2=hround(w-u)+eps; x1=x3=w-x2; +y1-y3=spread; y2=.5[y1,y3]; y3=math_axis; +draw z1{right}...z2{down}...z3{left}; % hook +currentpicture:=currentpicture rotatedaround ((.5w,y2),90); +labels(1,2,3); endchar; + +cmchar "Up hook"; +compute_spread(.45x_height#,.55x_height#); +beginchar(oct"174",5u#,v_center(2spread#+rule_thickness#)); +adjust_fit(0,0); pickup rule.nib; autorounded; +rt x2=hround(w-u)+eps; x1=x3=w-x2; +y1-y3=spread; y2=.5[y1,y3]; y3=math_axis; +draw z1{right}...z2{down}...z3{left}; % hook +currentpicture:=currentpicture rotatedaround ((.5w,y2),-90); +labels(1,2,3); endchar; + +cmchar "2bsquare"; +beginchar(oct"176",9u#,fig_height#,comma_depth#); +adjust_fit(0,0); pickup rule.nib; +x1=x4=x8=x7; x2=x3=x5=x6; top y1=top y2=h; +y3=.6[y2,math_axis]; y3=y4; y5=y8; y7=y6; +y5=.6[y6,math_axis]; math_axis=.5[y3,y5]; +y1-y4=x3-x4; lft x4=w-rt x3; +filldraw z1--z2--z3--z4--cycle; +filldraw z5--z6--z7--z8--cycle; +labels(1,2,3,4,5,6,7,8); endchar; + + +cmchar "bsquare"; +beginchar(oct"175",9u#,v_center(7u#)); +adjust_fit(0,0); pickup rule.nib; +numeric a; a=sqrt(3.14159); +lft x6=lft x7=lft x5=hround (w/2 - (w-2u)*a/4); +x2=x1=x3=w-x6; top y1=top y7=h; +y6=y2=math_axis; y5=y3; z2=.5[z3,z1]; +filldraw z1--z2--z3--z5--z7--cycle; +labels(1,2,3,5,7); endchar; -- cgit v1.2.3