diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/tipa |
Initial commit
Diffstat (limited to 'fonts/tipa')
277 files changed, 24050 insertions, 0 deletions
diff --git a/fonts/tipa/00README b/fonts/tipa/00README new file mode 100644 index 0000000000..a72fae094c --- /dev/null +++ b/fonts/tipa/00README @@ -0,0 +1,12 @@ +The latest stable version of TIPA is `tipa-1.3'. + +Manuals are updated (based on version 1.3) and prepared in +PS and PDF formats. Both use embedded Type1 fonts. + + tipaman.ps --- standard manual + tipaman.pdf --- the same, in pdf format + + tipaface.pdf --- a document on TIPA Metafont sources; similar to + Knuth's `Computer Modern Typefaces'. + +2004/03/25 Fukui Rei diff --git a/fonts/tipa/tipa-1.3 b/fonts/tipa/tipa-1.3 new file mode 120000 index 0000000000..c7f99f0d95 --- /dev/null +++ b/fonts/tipa/tipa-1.3 @@ -0,0 +1 @@ +tipa
\ No newline at end of file diff --git a/fonts/tipa/tipa/00README b/fonts/tipa/tipa/00README new file mode 100644 index 0000000000..3a99a4ae14 --- /dev/null +++ b/fonts/tipa/tipa/00README @@ -0,0 +1,111 @@ + TIPA version 1.3 + + Fukui Rei (fkr@l.u-tokyo.ac.jp) + + 30 March, 2004 +--------------------------------------------------------------------------- +Version 1.3 (2004/03/30): + +- Some symbols included in the xipa and related font families modified. +- t3enc.def corrected (thanks to W. Lemberg). + +Version 1.2 (2003/01/01): + +- Some symbols added. +- Some symbols included in the xipa and related font families modified. + +Version 1.1 (2002/08/08): + +- Removed the indication `beta' from the package name, i.e., + this is the first official version 1.1. +- Documentation (tipaman, vowel) corrected and updated. +- a new command \tipasafemode (and a few others) added. +- Copyright notice based on LPPL added. + + (Font files are NOT modified in this version except for the above LPPL + notice. You don't need to re-install fonts.) + +Version 1.1 (as of 2002/01/07): + +- MF sources modified. +- Makefile updated. + +Version 1.1 (as of 2001/12/31): + +- MF sources modified. +- 1.1 manual completed. +- added some codes for handling \sffamily for tipx and xipx series. +- Grave Macron Accent (\textgravemacron) added (thanks to Joachim Becker). + +Version 1.1 (as of 2001/12/06): + +- new series of fonts (tipx and xipx) added. +- T3 encoding slightly modified. + +Version 1.0 (2001/10/28): + +- file names `T3*.*' changed to `t3*.*'. (This should have been done + long before!) +- t3enc.def, tipa.sty modified to be reloadable (thanks to Dominique Unruh). +- bugs fixed in t3enc.def (thanks to Peter Zimmermann). +- typos corrected in the documentation (thanks to Peter Zimmermann, + Rafael Laboissiere, Yoshinari Fujino). +- a new t3phv.fd file (provided by Walter Schmidt). +- manual for the vowel package `vowel.tex' completed. + +(TODO: Dirk Janssen provided me with an excellent package with +detailed installation documentation; many others gave me useful +suggestions but I still don't have time to incorporate all these +things into a new package. Installation section of the manual is now +obsolete and should be rewritten thoroughly in the future.) + +Version beta0624 (1996/06/24): + +- more symbols defined by \* macro. +- \:, \;, \! commands. +- `safe' option. +- documentation much improved. + +New features (1996/06/11): + +- T3enc.def and tipa.sty heavily modified. +- 17 point fonts (tipa17.mf and tipass17) and a bold font (tipab10) added. +- a series of new fonts (xipa*) and new font description files + (T3ptm.fd and T3phv.fd), which can be used with `times.sty', created. +- a few bugs in mf source codes corrected (character height of + `primary stress' and `secondary stress') + +New features (1996/05/12): + +- T3enc.def created and all the package files are modified accordingly. +- diacritics for `extIPA', `VoQS' added. + +New features (1996/04/21): + +- a few diacritics added (\celtpal, \opencorner) +- an optional package for drawing vowel diagrams (vowel.sty) +- many bugs corrected, documentation improved + +New features (1996/03/12): + +- a tentative ligtable is added. +- tone.sty for `tone letters' added. +- a few symbols added by way of TeX macros. +- macros completely rewritten. +- more accents, and easy input method for most of the accents and diacritics. +- an introductory manual, `tipaman.tex' included. (`symblist' and + `codelist' are now merged into this file.) + +------------------------------------------------------------------ +Copyright 2002 FUKUI Rei + +This program may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.2 +of this license or (at your option) any later version. +The latest version of this license is in + http://www.latex-project.org/lppl.txt +and version 1.2 or later is part of all distributions of LaTeX +version 1999/12/01 or later. + +This program consists of all files listed in Manifest.txt. +------------------------------------------------------------------ diff --git a/fonts/tipa/tipa/Makefile b/fonts/tipa/tipa/Makefile new file mode 100644 index 0000000000..c3706a2a0b --- /dev/null +++ b/fonts/tipa/tipa/Makefile @@ -0,0 +1,52 @@ +# Copyright 2002 FUKUI Rei +# +# This program may be distributed and/or modified under the +# conditions of the LaTeX Project Public License, either version 1.2 +# of this license or (at your option) any later version. +# The latest version of this license is in +# http://www.latex-project.org/lppl.txt +# and version 1.2 or later is part of all distributions of LaTeX +# version 1999/12/01 or later. +# +# This program consists of all files listed in Manifest.txt. +# +# Makefile for TIPA installation. +# +# You need to edit PREFIX. + +#PREFIX=/usr/local/share/texmf +PREFIX=/usr/local/teTeX/share/texmf + +TEXDIR=$(PREFIX)/tex/latex/tipa +FONTDIR=$(PREFIX)/fonts +MAPDIR=$(PREFIX)/dvips/config + +all : + +install : + -mkdir -p $(TEXDIR) + chmod 755 $(TEXDIR) + -mkdir -p $(FONTDIR)/source/fkr/tipa + chmod 755 $(FONTDIR)/source/fkr $(FONTDIR)/source/fkr/tipa + -mkdir -p $(FONTDIR)/tfm/fkr/tipa + chmod 755 $(FONTDIR)/tfm/fkr $(FONTDIR)/tfm/fkr/tipa + -mkdir -p $(FONTDIR)/type1/fkr/tipa + chmod 755 $(FONTDIR)/type1/fkr $(FONTDIR)/type1/fkr/tipa + install -c -m 644 sty/*.sty sty/*.fd sty/*.def $(TEXDIR) + install -c -m 644 mf/*.mf mf/*.def mf/*.sh $(FONTDIR)/source/fkr/tipa + install -c -m 644 tfm/*.tfm $(FONTDIR)/tfm/fkr/tipa + install -c -m 644 type1/*.pfb $(FONTDIR)/type1/fkr/tipa + -install -c -m 644 type1/*.afm $(FONTDIR)/type1/fkr/tipa + -mkdir -p $(MAPDIR) + chmod 755 $(MAPDIR) + install -c -m 644 dvips/tipa.map $(MAPDIR) + -mktexlsr + +man : + cd doc; latex tipaman; bibtex tipaman; latex tipaman; latex tipaman + +clean : + (cd doc; rm -f *~ *.log *.aux *.dvi *.blg *.toc) + (cd sty; rm -f *~ *.log *.aux *.dvi *.blg) + (cd mf; rm -f *~ ti*gf ti*pk ti*.tfm ti*.log xi*gf xi*pk xi*.tfm xi*.log) + (cd type1; rm -f *.afm) diff --git a/fonts/tipa/tipa/Manifest.txt b/fonts/tipa/tipa/Manifest.txt new file mode 100644 index 0000000000..3ca5f14a9c --- /dev/null +++ b/fonts/tipa/tipa/Manifest.txt @@ -0,0 +1,272 @@ +The program TIPA consists of the following files. + +00README +Makefile +doc/00README +doc/Makefile +doc/boxchar.sty +doc/codelist.sty +doc/tipa.bib +doc/tipaman.bbl +doc/tipaman.sty +doc/tipaman.tex +doc/tipaman0.tex +doc/tipaman1.tex +doc/tipaman2.tex +doc/tipaman3.tex +doc/tipaman4.tex +doc/vowel.tex +sty/exaccent.sty +sty/extraipa.sty +sty/t3cmr.fd +sty/t3cmss.fd +sty/t3cmtt.fd +sty/t3enc.def +sty/t3phv.fd +sty/t3ptm.fd +sty/tipa.sty +sty/tipx.sty +sty/tone.sty +sty/ts3cmr.fd +sty/ts3cmss.fd +sty/ts3cmtt.fd +sty/ts3enc.def +sty/ts3phv.fd +sty/ts3ptm.fd +sty/utipx.fd +sty/utipxss.fd +sty/utipxtt.fd +sty/uxipx.fd +sty/uxipxss.fd +sty/vowel.sty +mf/gentfm.sh +mf/gentipa.sh +mf/gentipx.sh +mf/genxipa.sh +mf/genxipx.sh +mf/mktipapk.sh +mf/mkxipapk.sh +mf/proofs.mf +mf/tipa.mf +mf/tipa10.mf +mf/tipa12.mf +mf/tipa17.mf +mf/tipa8.mf +mf/tipa9.mf +mf/tipab10.mf +mf/tipabase.mf +mf/tipabs10.mf +mf/tipabx10.mf +mf/tipabx12.mf +mf/tipabx8.mf +mf/tipabx9.mf +mf/tipadiac.mf +mf/tipaextr.mf +mf/tipagerm.mf +mf/tipanew.mf +mf/tipapnct.mf +mf/tipaprm.def +mf/tiparoml.mf +mf/tipasb10.mf +mf/tipasc.mf +mf/tipasi10.mf +mf/tipasl10.mf +mf/tipasl12.mf +mf/tipasl8.mf +mf/tipasl9.mf +mf/tipass10.mf +mf/tipass12.mf +mf/tipass17.mf +mf/tipass8.mf +mf/tipass9.mf +mf/tipasym1.mf +mf/tipasym2.mf +mf/tipasym3.mf +mf/tipasym4.mf +mf/tipatone.mf +mf/tipatr.mf +mf/tipats10.mf +mf/tipatt10.mf +mf/tipatt12.mf +mf/tipatt8.mf +mf/tipatt9.mf +mf/tipx.mf +mf/tipx10.mf +mf/tipx12.mf +mf/tipx17.mf +mf/tipx8.mf +mf/tipx9.mf +mf/tipxb10.mf +mf/tipxbs10.mf +mf/tipxbx10.mf +mf/tipxbx12.mf +mf/tipxbx8.mf +mf/tipxbx9.mf +mf/tipxsb10.mf +mf/tipxsi10.mf +mf/tipxsl10.mf +mf/tipxsl12.mf +mf/tipxsl8.mf +mf/tipxsl9.mf +mf/tipxss10.mf +mf/tipxss12.mf +mf/tipxss17.mf +mf/tipxss8.mf +mf/tipxss9.mf +mf/tipxts10.mf +mf/tipxtt10.mf +mf/tipxtt12.mf +mf/tipxtt8.mf +mf/tipxtt9.mf +mf/xipa10.mf +mf/xipab10.mf +mf/xipabs10.mf +mf/xipaprm.def +mf/xipasb10.mf +mf/xipasi10.mf +mf/xipasl10.mf +mf/xipass10.mf +mf/xipx10.mf +mf/xipxb10.mf +mf/xipxbs10.mf +mf/xipxsb10.mf +mf/xipxsi10.mf +mf/xipxsl10.mf +mf/xipxss10.mf +tfm/tipa10.tfm +tfm/tipa12.tfm +tfm/tipa17.tfm +tfm/tipa8.tfm +tfm/tipa9.tfm +tfm/tipab10.tfm +tfm/tipabs10.tfm +tfm/tipabx10.tfm +tfm/tipabx12.tfm +tfm/tipabx8.tfm +tfm/tipabx9.tfm +tfm/tipasb10.tfm +tfm/tipasi10.tfm +tfm/tipasl10.tfm +tfm/tipasl12.tfm +tfm/tipasl8.tfm +tfm/tipasl9.tfm +tfm/tipass10.tfm +tfm/tipass12.tfm +tfm/tipass17.tfm +tfm/tipass8.tfm +tfm/tipass9.tfm +tfm/tipats10.tfm +tfm/tipatt10.tfm +tfm/tipatt12.tfm +tfm/tipatt8.tfm +tfm/tipatt9.tfm +tfm/tipx10.tfm +tfm/tipx12.tfm +tfm/tipx17.tfm +tfm/tipx8.tfm +tfm/tipx9.tfm +tfm/tipxb10.tfm +tfm/tipxbs10.tfm +tfm/tipxbx10.tfm +tfm/tipxbx12.tfm +tfm/tipxbx8.tfm +tfm/tipxbx9.tfm +tfm/tipxsb10.tfm +tfm/tipxsi10.tfm +tfm/tipxsl10.tfm +tfm/tipxsl12.tfm +tfm/tipxsl8.tfm +tfm/tipxsl9.tfm +tfm/tipxss10.tfm +tfm/tipxss12.tfm +tfm/tipxss17.tfm +tfm/tipxss8.tfm +tfm/tipxss9.tfm +tfm/tipxts10.tfm +tfm/tipxtt10.tfm +tfm/tipxtt12.tfm +tfm/tipxtt8.tfm +tfm/tipxtt9.tfm +tfm/xipa10.tfm +tfm/xipab10.tfm +tfm/xipabs10.tfm +tfm/xipasb10.tfm +tfm/xipasi10.tfm +tfm/xipasl10.tfm +tfm/xipass10.tfm +tfm/xipx10.tfm +tfm/xipxb10.tfm +tfm/xipxbs10.tfm +tfm/xipxsb10.tfm +tfm/xipxsi10.tfm +tfm/xipxsl10.tfm +tfm/xipxss10.tfm +type1/tipa10.pfb +type1/tipa12.pfb +type1/tipa17.pfb +type1/tipa8.pfb +type1/tipa9.pfb +type1/tipab10.pfb +type1/tipabs10.pfb +type1/tipabx10.pfb +type1/tipabx12.pfb +type1/tipabx8.pfb +type1/tipabx9.pfb +type1/tipasb10.pfb +type1/tipasi10.pfb +type1/tipasl10.pfb +type1/tipasl12.pfb +type1/tipasl8.pfb +type1/tipasl9.pfb +type1/tipass10.pfb +type1/tipass12.pfb +type1/tipass17.pfb +type1/tipass8.pfb +type1/tipass9.pfb +type1/tipats10.pfb +type1/tipatt10.pfb +type1/tipatt12.pfb +type1/tipatt8.pfb +type1/tipatt9.pfb +type1/tipx10.pfb +type1/tipx12.pfb +type1/tipx17.pfb +type1/tipx8.pfb +type1/tipx9.pfb +type1/tipxb10.pfb +type1/tipxbs10.pfb +type1/tipxbx10.pfb +type1/tipxbx12.pfb +type1/tipxbx8.pfb +type1/tipxbx9.pfb +type1/tipxsb10.pfb +type1/tipxsi10.pfb +type1/tipxsl10.pfb +type1/tipxsl12.pfb +type1/tipxsl8.pfb +type1/tipxsl9.pfb +type1/tipxss10.pfb +type1/tipxss12.pfb +type1/tipxss17.pfb +type1/tipxss8.pfb +type1/tipxss9.pfb +type1/tipxts10.pfb +type1/tipxtt10.pfb +type1/tipxtt12.pfb +type1/tipxtt8.pfb +type1/tipxtt9.pfb +type1/xipa10.pfb +type1/xipab10.pfb +type1/xipabs10.pfb +type1/xipasb10.pfb +type1/xipasi10.pfb +type1/xipasl10.pfb +type1/xipass10.pfb +type1/xipx10.pfb +type1/xipxb10.pfb +type1/xipxbs10.pfb +type1/xipxsb10.pfb +type1/xipxsi10.pfb +type1/xipxsl10.pfb +type1/xipxss10.pfb +dvips/tipa.map diff --git a/fonts/tipa/tipa/README b/fonts/tipa/tipa/README new file mode 120000 index 0000000000..54e74d2ca7 --- /dev/null +++ b/fonts/tipa/tipa/README @@ -0,0 +1 @@ +00README
\ No newline at end of file diff --git a/fonts/tipa/tipa/doc/00README b/fonts/tipa/tipa/doc/00README new file mode 100644 index 0000000000..ce5cf078ca --- /dev/null +++ b/fonts/tipa/tipa/doc/00README @@ -0,0 +1,32 @@ +This directory contains TIPA documents. + + - tipaman.tex ... A comprehensive manual of TIPA with a detailed list + of all the TIPA phonetic symbols. + + How to compile this manual: + + latex tipaman + bibtex tipaman + latex tipaman + latex tipaman + + You also need to have `mflogo.sty'. Please look for + a CTAN site if you don't have one. + + - vowel.tex ... A manual for the `vowel' package. + +8 Jan, 2002 + +------------------------------------------------------------------ +Copyright 2002 FUKUI Rei + +This program may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either version 1.2 +of this license or (at your option) any later version. +The latest version of this license is in + http://www.latex-project.org/lppl.txt +and version 1.2 or later is part of all distributions of LaTeX +version 1999/12/01 or later. + +This program consists of all files listed in Manifest.txt. +------------------------------------------------------------------ diff --git a/fonts/tipa/tipa/doc/Makefile b/fonts/tipa/tipa/doc/Makefile new file mode 100644 index 0000000000..89c0589bb5 --- /dev/null +++ b/fonts/tipa/tipa/doc/Makefile @@ -0,0 +1,20 @@ +# Copyright 2002 FUKUI Rei +# +# This program may be distributed and/or modified under the +# conditions of the LaTeX Project Public License, either version 1.2 +# of this license or (at your option) any later version. +# The latest version of this license is in +# http://www.latex-project.org/lppl.txt +# and version 1.2 or later is part of all distributions of LaTeX +# version 1999/12/01 or later. +# +# This program consists of all files listed in Manifest.txt. + +tipaman : + latex tipaman + bibtex tipaman + latex tipaman + latex tipaman + +clean : + rm -rf auto *~ *.aux *.log *.blg *.toc *.dvi diff --git a/fonts/tipa/tipa/doc/boxchar.sty b/fonts/tipa/tipa/doc/boxchar.sty new file mode 100644 index 0000000000..efadd07fce --- /dev/null +++ b/fonts/tipa/tipa/doc/boxchar.sty @@ -0,0 +1,218 @@ +% boxchar.sty --- for displaying large scale character images. +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% 2001/12/24 Rei Fukui + +% For extra huge size fonts, some modifications necessary to the *.fd +% files. + +% Without the following, NFSS will complain because T3 and U/tipx +% are not declared at this moment. + +{\fontencoding{T3}\selectfont + \fontencoding{U}\fontfamily{tipx}\selectfont} + +% Redefine several font commands. For xipa and xipx fonts, these +% redefinitions are unnecessary. + +\DeclareFontShape{T3}{cmr}{m}{n}{% + <5> <6> <7> <8> tipa8 + <9> tipa9 + <10> <10.95> tipa10 + <12> <14.4> tipa12 + <17.28> <20.74> <24.88> tipa17 + <25-> tipa10 +}{} +\DeclareFontShape{U}{tipx}{m}{n}{% + <5> <6> <7> <8> tipx8 + <9> tipx9 + <10> <10.95> tipx10 + <12> <14.4> tipx12 + <17.28> <20.74> <24.88> tipx17 + <25-> tipx10 +}{} + +% An extra huge size font for the MainItem. +% Can be used with 10pt, 11pt, and 12pt texts. + +\def\ExHuge{% + \ifnum\@ptsize=0 % 10*1.2^9 = 51.5978 + \fontsize{51.6}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=1 % 11*1.2^9 = 56.75758 + \fontsize{56.758}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=2 % 12*1.2^9 = 61.91736 + \fontsize{61.917}{\f@baselineskip}\selectfont + \fi\fi\fi} + +\def\ExHugeTipa{% + \ifnum\@ptsize=0 % 10*1.2^9 = 51.5978 + \fontencoding{T3}\fontsize{51.6}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=1 % 11*1.2^9 = 56.75758 + \fontencoding{T3}\fontsize{56.758}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=2 % 12*1.2^9 = 61.91736 + \fontencoding{T3}\fontsize{61.917}{\f@baselineskip}\selectfont + \fi\fi\fi} + +% Another extra huge size font for the SubItem. +% Can be used with 10pt, 11pt, and 12pt texts. + +\def\exHuge{% + \ifnum\@ptsize=0 % 10*1.2^8 = 42.998 + \fontsize{43}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=1 % 11*1.2^8 = 47.298 + \fontsize{47.298}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=2 % 12*1.2^8 = 51.5978 + \fontsize{51.6}{\f@baselineskip}\selectfont + \fi\fi\fi} + +\def\exHugeTipa{% + \ifnum\@ptsize=0 % 10*1.2^8 = 42.998 + \fontencoding{T3}\fontsize{43}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=1 % 11*1.2^8 = 47.298 + \fontencoding{T3}\fontsize{47.298}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=2 % 12*1.2^8 = 51.5978 + \fontencoding{T3}\fontsize{51.6}{\f@baselineskip}\selectfont + \fi\fi\fi} + +% Another extra huge size font for the SubItem. +% Can be used with 10pt, 11pt, and 12pt texts. + +\def\exhuge{% + \ifnum\@ptsize=0 % 10*1.2^6 = 29.85984 + \fontsize{29.86}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=1 % 11*1.2^6 = 32.845824 + \fontsize{32.846}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=2 % 12*1.2^6 = 35.831808 + \fontsize{35.832}{\f@baselineskip}\selectfont + \fi\fi\fi} + +\def\exhugeTipa{% + \ifnum\@ptsize=0 % 10*1.2^6 = 29.85984 + \fontencoding{T3}\fontsize{29.86}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=1 % 11*1.2^6 = 32.845824 + \fontencoding{T3}\fontsize{32.846}{\f@baselineskip}\selectfont + \else\ifnum\@ptsize=2 % 12*1.2^6 = 35.831808 + \fontencoding{T3}\fontsize{35.832}{\f@baselineskip}\selectfont + \fi\fi\fi} + +% Produces a super huge image such that 10pt = 10cm. + +\def\SuperHuge{% + \fontsize{284.52756}{\f@baselineskip}\selectfont} + +\def\SuperHugeTipa{% + \fontencoding{T3}\fontsize{284.52756}{\f@baselineskip}\selectfont} + + +% A huge size font for the SubSubItem. + +\def\hugeTipa{\huge\fontencoding{T3}\selectfont} + +% Macros for setting up character box size and margins. + +\newcommand\chaboxvmarginrate{.8} +\newcommand\chaboxhmarginrate{.6} + +% Calculate various sizes for an IPA box. +% global: \ch@rboxxheight, \ch@rboxht, \ch@rboxdp, \ch@rboxwd +% Sizes can be changed by #1 (font size) and the above two values. + + +\def\ipasetb@xsize#1#2{{% + \setbox\z@\hbox{#2{x}}% + \xdef\ch@rboxxheight{\the\ht\z@\relax}% + \dimen\z@\ht\z@ \dimen\@ne \chaboxvmarginrate\dimen\z@ + \edef\ch@rboxvmargin{\the\dimen\@ne\relax}% + \dimen\z@\wd\z@ \dimen\@ne \chaboxhmarginrate\dimen\z@ + \edef\ch@rboxhmargin{\the\dimen\@ne\relax}% + \setbox\z@\hbox{#2{l}}% + \dimen\z@\ht\z@ \advance\dimen\z@ \ch@rboxvmargin + \xdef\ch@rboxht{\the\dimen\z@\relax}% + \setbox\z@\hbox{#2{p}}% + \dimen\z@\dp\z@ \advance\dimen\z@ \ch@rboxvmargin + \xdef\ch@rboxdp{\the\dimen\z@\relax}% + \setbox\z@\hbox{#2{m}}% + \dimen\z@\wd\z@ \advance\dimen\z@ \ch@rboxhmargin + \xdef\ch@rboxwd{\the\dimen\z@\relax}}} + +\def\ptmxheight{128.0374pt\relax} + +\def\ipasetb@xsizevar#1#2{{% + \setbox\z@\hbox{#2{x}}% +% \xdef\ch@rboxxheight{\the\ht\z@\relax}% + \xdef\ch@rboxxheight{\ptmxheight\relax}% + \dimen\z@\ht\z@ \dimen\@ne \chaboxvmarginrate\dimen\z@ + \edef\ch@rboxvmargin{\the\dimen\@ne\relax}% + \dimen\z@\wd\z@ \dimen\@ne \chaboxhmarginrate\dimen\z@ + \edef\ch@rboxhmargin{\the\dimen\@ne\relax}% + \setbox\z@\hbox{#2{l}}% + \dimen\z@\ht\z@ \advance\dimen\z@ \ch@rboxvmargin + \xdef\ch@rboxht{\the\dimen\z@\relax}% + \setbox\z@\hbox{#2{p}}% + \dimen\z@\dp\z@ \advance\dimen\z@ \ch@rboxvmargin + \xdef\ch@rboxdp{\the\dimen\z@\relax}% + \setbox\z@\hbox{#2#1}% + \dimen\z@\wd\z@ \advance\dimen\z@ \ch@rboxhmargin + \xdef\ch@rboxwd{\the\dimen\z@\relax}}} + +\def\rigidframe{\let\ipasetb@xsize\ipasetb@xsizevar} + +\def\doubleframebox#1#2{% + \hbox{\fboxrule.8pt\fboxsep3pt\fbox{% + \fboxrule.4pt\fboxsep\z@\fbox{\symbolb@x{#1}{#2}}}}} + +\def\singleframebox#1#2{% + \hbox{\fboxrule.4pt\fboxsep\z@\fbox{\symbolb@x{#1}{#2}}}} + +% The main macro for displaying a large scale image of a character in +% a framebox with the base and x-height lines indicated. +% Note that the frame is not drawn by this macro. +% +% Arguments: +% #1 = the character to display +% #2 = font size +% +% The result of this macro is an \hbox of which the width is +% \ch@rboxwd and the height is \ch@rboxtotalht. + +\def\symbolb@x#1#2{{% + \ipasetb@xsize{#1}{#2}\setbox\z@\hbox{#2{#1}}% + \dimen\z@\ch@rboxht \advance\dimen\z@ by\ch@rboxdp + \edef\ch@rboxtotalht{\the\dimen\z@}% + \hbox to\ch@rboxwd{\hsize\ch@rboxwd + \hss + \vbox to\ch@rboxtotalht{\offinterlineskip + \dott@dline{\ch@rboxxheight}{\patterni} + \dott@dline{\z@}{\patternii} + \dimen\z@\ch@rboxht \advance\dimen\z@ by-\ht\z@ + \kern\dimen\z@ + \hbox to\hsize{\hfil\box\z@\hfil} + \vss}% + \hss}}} + +% A macro for drawing a dotted line. + +\def\dott@dline#1#2{% + \dimen\z@\ch@rboxht \advance\dimen\z@ by-#1\relax + \vtop to\z@{\kern\the\dimen\z@ + \hbox to\ch@rboxwd{\xleaders#2\hfil}\vss}} + +% Patterns used for dotted lines + +\def\patterni{\hbox to 2pt{% thin dotted line + \hfil\vrule width .5pt height .1pt depth .1pt \hfil}} + +\def\patternii{\hbox to 2pt{% thick dotted line + \hfil\vrule width .5pt height .15pt depth .15pt \hfil}} + +\endinput diff --git a/fonts/tipa/tipa/doc/codelist.sty b/fonts/tipa/tipa/doc/codelist.sty new file mode 100644 index 0000000000..b5494fc340 --- /dev/null +++ b/fonts/tipa/tipa/doc/codelist.sty @@ -0,0 +1,125 @@ +% codelist.sty +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% examples: +% \usepackage{codelist} % necessary in all cases in the preamble +% +% \fonttable{cmr10} +% +% \fonttablescaled{cmr10}{\magstep1} +% +% \fonttable{\empty} % draw an empty code table for a font designer who +% % wants to create a new font from scratch +% % (see also \def\dummyfont below) + +%\topmargin -2cm +%\textheight 24cm + +%\newcommand\dummyfont{cmr10} % for 128 empty boxes +\newcommand\dummyfont{dcr1000} % for 256 empty boxes + +\tracinglostchars=0 +\newcount\@@m \newcount\@@n \newcount\@@p \newdimen\dim +\newif\ifemptybox \emptyboxfalse + +\newcommand\fonttable[1]{% + \ifx\empty#1\font\testfont=\dummyfont % dummy + \emptyboxtrue\def\fontnamestring{empty font}% + \else\font\testfont=#1\def\fontnamestring{#1}\fi +% \leftline{{\small Test of {\itshape{\fontnamestring}}\unskip\ on \today}} +% \smallskip + \testfont \setbaselineskip + \ifdim\fontdimen6\testfont<10pt \rightskip=0pt plus 20pt + \else\rightskip=0pt plus 2em \fi + \spaceskip=\fontdimen2\testfont % space between words (\raggedright) + \xspaceskip=\fontdimen2\testfont \advance\xspaceskip by\fontdimen7\testfont + \f@nttable} + +\newcommand\fonttablescaled[2]{% + \ifx\empty#1\font\testfont=\dummyfont % dummy + \emptyboxtrue\def\fontnamestring{empty font}% + \else\font\testfont=#1 scaled #2\def\fontnamestring{#1}\fi +% \leftline{{\small Test of {\itshape{\fontnamestring}}\unskip\ on \today}} +% \smallskip + \testfont \setbaselineskip + \ifdim\fontdimen6\testfont<10pt \rightskip=0pt plus 20pt + \else\rightskip=0pt plus 2em \fi + \spaceskip=\fontdimen2\testfont % space between words (\raggedright) + \xspaceskip=\fontdimen2\testfont \advance\xspaceskip by\fontdimen7\testfont + \f@nttable} + +\newcommand\setbaselineskip{\setbox0=\hbox{\@@n=0 + \loop\char\@@n \ifnum \@@n<255 \advance\@@n 1 \repeat} + \baselineskip=6pt \advance\baselineskip\ht0 \advance\baselineskip\dp0 } + +\newcommand\oct[1]{\hbox{\rm\'{}\kern-.2em\it#1\/\kern.05em}} % octal constant +\newcommand\hex[1]{\hbox{\rm\H{}\tt#1}} % hexadecimal constant + +\def\setdigs#1"#2{\gdef\h{#2}% \h=hex prefix; \0\1=corresponding octal + \@@m=\@@n \divide\@@m by 64 \xdef\0{\the\@@m}% + \multiply\@@m by-64 \advance\@@m by\@@n \divide\@@m by 8 \xdef\1{\the\@@m}} + +\newcommand\testrow{\setbox0=\hbox{\penalty 1\def\\{\char"\h}% + \\0\\1\\2\\3\\4\\5\\6\\7\\8\\9\\A\\B\\C\\D\\E\\F% + \global\@@p=\lastpenalty}} % \@@p=1 if none of the characters exist + +\newcommand\oddline{\cr + \noalign{\nointerlineskip} + \multispan{19}\hrulefill& + \setbox0=\hbox{\lower 2.3pt\hbox{\hex{\h x}}}\smash{\box0}\cr + \noalign{\nointerlineskip}} + +\newif\ifskipping + +\newcommand\evenline{\loop\skippingfalse + \ifnum\@@n<256 \@@m=\@@n \divide\@@m 16 \chardef\next=\@@m + \expandafter\setdigs\meaning\next \testrow + \ifnum\@@p=1 \skippingtrue \fi\fi + \ifskipping \global\advance\@@n 16 \repeat + \ifnum\@@n=256 \let\next=\@endchart\else\let\next=\morechart\fi + \next} + +\newcommand\morechart{\cr\noalign{\hrule\penalty5000} + \chartline \oddline \@@m=\1 \advance\@@m 1 \xdef\1{\the\@@m} + \chartline \evenline} + +\newcommand\chartline{&\oct{\0\1x}&&\CHAR&&\CHAR&&\CHAR&&\CHAR&&\CHAR&& + \CHAR&&\CHAR&&\CHAR&&} + +%\newcommand\chartstrut{\lower6pt\vbox to18pt{}} +\newcommand\chartstrut{\lower5.5pt\vbox to15pt{}} + +\newcommand\f@nttable{$$\global\@@n=0 + \halign to\hsize\bgroup + \chartstrut##\tabskip0pt plus10pt& + &\hfil##\hfil&\vrule##\cr + \lower6.5pt\null + &&&\oct0&&\oct1&&\oct2&&\oct3&&\oct4&&\oct5&&\oct6&&\oct7&\evenline} + +\newcommand\@endchart{\cr\noalign{\hrule} + \raise11.5pt\null&&&\hex 8&&\hex 9&&\hex A&&\hex B& + &\hex C&&\hex D&&\hex E&&\hex F&\cr\egroup$$\par} + +\newcommand\CHAR{\setbox0=\hbox{\char\@@n}% + \ifdim\ht0>7.5pt\reposition + \else\ifdim\dp0>2.5pt\reposition\fi\fi + \ifemptybox\hbox{}\else \box0\fi + \global\advance\@@n 1 } + +\newcommand\reposition{\setbox0=\vbox{\kern2pt\box0}\dim=\dp0 + \advance\dim 2pt \dp0=\dim} + +\newcommand\centerlargechars{ + \newcommand\reposition{\setbox0=\hbox{$\vcenter{\kern2pt\box0\kern2pt}$}}} + +\endinput diff --git a/fonts/tipa/tipa/doc/tipa.bib b/fonts/tipa/tipa/doc/tipa.bib new file mode 100644 index 0000000000..ca4986446f --- /dev/null +++ b/fonts/tipa/tipa/doc/tipa.bib @@ -0,0 +1,176 @@ +% tipa.bib +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +@article{Chao:ToneLetters, + author = "Chao, Yuen-Ren", + title = "A system of tone letters", + journal = "Le Ma\^itre Phon\'etique", + number = "30", + pages = "24--27", + year = 1933 } + +@book{Principles, + author = "IPA", + title = "The Principles of the International Phonetic Association", + publisher = "University College: London", + year = 1949 } + +@book{PSG:I, + author = "Pullum, Geoffrey K. and Ladusaw, William A.", + title = "Phonetic Symbol Guide", + publisher = "The University of Chicago Press", + note = "First Edition", + year = 1986 } + +@book{PSG:II, + author = "Pullum, Geoffrey K. and Ladusaw, William A.", + title = "Phonetic Symbol Guide", + publisher = "The University of Chicago Press", + note = "Second Edition", + year = 1996 } + +@article{IPA:KielConvention, + author = "IPA", + title = "{Report on the 1989 Kiel Convention}", + journal = "Journal of the International Phonetic Association", + volume = "19", + number = "2", + pages = "67--80", + year = 1989 } + +@article{Esling:IPAcoding, + author = "Esling, John", + title = "Computer coding of the {IPA}: Supplementary Report", + journal = "Journal of the International Phonetic Association", + volume = "20", + number = "1", + pages = "22--26", + year = 1990 } + +@article{IPA:Preview, + author = "IPA", + title = "{Preview of the IPA Handbook}", + journal = "Journal of the International Phonetic Association", + volume = "25", + number = "1", + pages = "1-48", + year = 1995 } + +@article{Pullum:Remarks, + author = "Pullum, Geoffrey K.", + title = "{Remarks on the 1989 revision of the International Phonetic + Alphabet}", + journal = "Journal of the International Phonetic Association", + volume = "20", + number = "1", + pages = "33--40", + year = 1990 } + +@article{IPA:FurtherReport, + author = "IPA", + title = "{Further report on the 1989 Kiel Convention}", + journal = "Journal of the International Phonetic Association", + volume = "20", + number = "2", + pages = "22--24", + year = 1990 } + +@book{Jones:Outline, + author = "Jones, Daniel", + title = "An Outline of English Phonetics", + publisher = "Cambridge: W.\ Heffer", + year = "1918, (9th edition) 1960" } + +@book{Ladefoged:Course, + author = "Ladefoged, Peter", + title = "A Course in Phonetics, Third Edition", + publisher = "Harcourt Brace Jovanovich College Publishers", + year = 1993 } + +@article{IPA:CouncilActions, + author = "IPA", + title = "{Council actions on revisions of the IPA}", + journal = "Journal of the International Phonetic Association", + volume = "23", + number = "1", + pages = "32--34", + year = 1993 } + +@article{Esling:ComputerCodes, + author = "Esling, John H. and Gaylord, Harry", + title = "Computer Codes for Phonetic Symbols", + journal = "Journal of the International Phonetic Association", + volume = "23", + number = "2", + pages = "83--97", + year = 1993 } + +@unpublished{SAMPA, + author = "Wells, John C.", + title = "Computer-coding the {IPA}: a proposed extension of {SAMPA}", + note = "Revised draft 1995 04 28", + year = 1995 } + +@unpublished{extIPA, + author = "ICPLA", + title = "{extIPA Symbols for Disordered Speech}", + note = "Revised to 1994", + year = 1994 } + +@unpublished{VoQS, + author = "Ball, Martin J. and Esling, John and Dickson, Craig", + title = "{VoQS: Voice Quality Symbols}", + note = "Revised to 1994", + year = 1994 } + +@book{Handbook, + author = "IPA", + title = "Handbook of the International Phonetic Association", + publisher = "Cambridge University Press", + year = 1999 } + +@book{Hottentot, + author = "Beach, D. M.", + title = "The Phonetics of the Hottentot Language", + publisher = "Cambridge: Heffner", + year = 1938 } + +@book{Trager, + author = "Trager, George L.", + title = "Phonetics: Glossary and Tables", + series = "Studies in Linguistics: Occasional Papers 6", + publisher = "Buffalo, N.Y.", + year = 1964 } + +@book{Sweet, + author = "Sweet, Henry", + title = "A Primer of Phonetics", + publisher = "Oxford: Clarendon Press", + note = "Third edition, revised", + year = 1906 } + +@incollection{Jones:Phoneme, + author = "Jones, Daniel", + title = "{The term `phoneme'}", + editor = "Jones, W. E. and Laver, J.", + booktitle = "Phonetics in Linguistics: A Book of Reading", + publisher = "London: Longman", + pages = "187--204", + year = 1973 } + +@book{Karlgren, + author = "Karlgren, Bernhard", + title = "{\'E}tude sur la phonologie chinoise", + publisher = "Leyde, Stockholm, and Gotembourg", + year = "1915--1926" } diff --git a/fonts/tipa/tipa/doc/tipaman.bbl b/fonts/tipa/tipa/doc/tipaman.bbl new file mode 100644 index 0000000000..043952af21 --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman.bbl @@ -0,0 +1,100 @@ +\begin{thebibliography}{17} +\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi +\expandafter\ifx\csname url\endcsname\relax + \def\url#1{{\tt #1}}\fi + +\bibitem[Ball et~al.(1994)Ball, Esling, and Dickson]{VoQS} +Martin~J. Ball, John Esling, and Craig Dickson. +\newblock {VoQS: Voice Quality Symbols}. +\newblock Revised to 1994, 1994. + +\bibitem[Beach(1938)]{Hottentot} +D.~M. Beach. +\newblock {\em The Phonetics of the Hottentot Language}. +\newblock Cambridge: Heffner, 1938. + +\bibitem[Chao(1933)]{Chao:ToneLetters} +Yuen-Ren Chao. +\newblock A system of tone letters. +\newblock {\em Le Ma\^itre Phon\'etique}, \penalty0 (30):\penalty0 24--27, + 1933. + +\bibitem[Esling and Gaylord(1993)]{Esling:ComputerCodes} +John~H. Esling and Harry Gaylord. +\newblock Computer codes for phonetic symbols. +\newblock {\em Journal of the International Phonetic Association}, 23\penalty0 + (2):\penalty0 83--97, 1993. + +\bibitem[ICPLA(1994)]{extIPA} +ICPLA. +\newblock {extIPA Symbols for Disordered Speech}. +\newblock Revised to 1994, 1994. + +\bibitem[IPA(1949)]{Principles} +IPA. +\newblock {\em The Principles of the International Phonetic Association}. +\newblock University College: London, 1949. + +\bibitem[IPA(1989)]{IPA:KielConvention} +IPA. +\newblock {Report on the 1989 Kiel Convention}. +\newblock {\em Journal of the International Phonetic Association}, 19\penalty0 + (2):\penalty0 67--80, 1989. + +\bibitem[IPA(1990)]{IPA:FurtherReport} +IPA. +\newblock {Further report on the 1989 Kiel Convention}. +\newblock {\em Journal of the International Phonetic Association}, 20\penalty0 + (2):\penalty0 22--24, 1990. + +\bibitem[IPA(1993)]{IPA:CouncilActions} +IPA. +\newblock {Council actions on revisions of the IPA}. +\newblock {\em Journal of the International Phonetic Association}, 23\penalty0 + (1):\penalty0 32--34, 1993. + +\bibitem[IPA(1995)]{IPA:Preview} +IPA. +\newblock {Preview of the IPA Handbook}. +\newblock {\em Journal of the International Phonetic Association}, 25\penalty0 + (1):\penalty0 1--48, 1995. + +\bibitem[IPA(1999)]{Handbook} +IPA. +\newblock {\em Handbook of the International Phonetic Association}. +\newblock Cambridge University Press, 1999. + +\bibitem[Jones(1973)]{Jones:Phoneme} +Daniel Jones. +\newblock {The term `phoneme'}. +\newblock In W.~E. Jones and J.~Laver, editors, {\em Phonetics in Linguistics: + A Book of Reading}, pages 187--204. London: Longman, 1973. + +\bibitem[Karlgren(1915--1926)]{Karlgren} +Bernhard Karlgren. +\newblock {\em {\'E}tude sur la phonologie chinoise}. +\newblock Leyde, Stockholm, and Gotembourg, 1915--1926. + +\bibitem[Pullum and Ladusaw(1986)]{PSG:I} +Geoffrey~K. Pullum and William~A. Ladusaw. +\newblock {\em Phonetic Symbol Guide}. +\newblock The University of Chicago Press, 1986. +\newblock First Edition. + +\bibitem[Pullum and Ladusaw(1996)]{PSG:II} +Geoffrey~K. Pullum and William~A. Ladusaw. +\newblock {\em Phonetic Symbol Guide}. +\newblock The University of Chicago Press, 1996. +\newblock Second Edition. + +\bibitem[Trager(1964)]{Trager} +George~L. Trager. +\newblock {\em Phonetics: Glossary and Tables}. +\newblock Studies in Linguistics: Occasional Papers 6. Buffalo, N.Y., 1964. + +\bibitem[Wells(1995)]{SAMPA} +John~C. Wells. +\newblock Computer-coding the {IPA}: a proposed extension of {SAMPA}. +\newblock Revised draft 1995 04 28, 1995. + +\end{thebibliography} diff --git a/fonts/tipa/tipa/doc/tipaman.pdf b/fonts/tipa/tipa/doc/tipaman.pdf Binary files differnew file mode 100644 index 0000000000..1e8c630b73 --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman.pdf diff --git a/fonts/tipa/tipa/doc/tipaman.sty b/fonts/tipa/tipa/doc/tipaman.sty new file mode 100644 index 0000000000..6196921b44 --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman.sty @@ -0,0 +1,379 @@ +% tipaman.sty +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +% tipaman.sty for TIPA Manual + +\usepackage{mflogo} +\usepackage[tone,extra]{tipa} +\usepackage{tipx} +\usepackage{codelist} +\usepackage{boxchar} +\usepackage{natbib} +\bibpunct{(}{)}{;}{a}{,}{,} + +%\@twosidefalse +%\@mparswitchfalse + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% What follows is a format I used recently. +% Book size is approximately b5, with crop marks indicated +% on a a4 size of paper. +% +%\usepackage[cam,axes,a4center]{crop} +%\setlength\topmargin {22mm} +%\setlength\headheight{4mm} +%\setlength\headsep {9mm} +%\setlength\footskip{11mm} +%\if@compatibility \setlength\maxdepth{5\p@} \else +%\setlength\maxdepth{.5\topskip} \fi +%\setlength\textwidth{126mm} +%\setlength\textheight{187mm} +%\setlength\paperheight {257mm} +%\setlength\paperwidth {182mm} +%\@twosidetrue +%\@mparswitchtrue +%\setlength\oddsidemargin {28mm} +%\setlength\evensidemargin {28mm} +%\addtolength\topmargin{-1in} +%\addtolength\oddsidemargin{-1in} +%\addtolength\evensidemargin{-1in} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\footnotesep.8\baselineskip +\addtolength{\skip\footins}{2pt} + +% to use float materials more easily +\renewcommand{\topfraction}{1} +\renewcommand{\bottomfraction}{0} +\renewcommand{\textfraction}{0} + +\newif\ifmainitem +\newif\iftimes \timesfalse + +{\newcommand\@@ptm@@@{ptm}% + \ifx\rmdefault\@@ptm@@@ \global\timestrue\fi} + +\newskip\tipamanhskipamount +\tipamanhskipamount 1em plus .2em minus .6em +\def\tipamanhskip{\hskip\tipamanhskipamount} + +\def\ip@item#1#2#3#4#5#6#7{{\leavevmode + \hbox to \textwidth{% + \setbox\z@\singleframebox{#1}{\hugeTipa}\dimen\z@\ht\z@ + \dimen\@ne\hsize \advance\dimen\@ne-\wd\z@ \advance\dimen\@ne-1.5em + \setbox\@ne\hbox{\vbox{%\hsize=1.5em + \edef\symcode{\ifx\empty#7\empty Macro\else#7\fi}% + \ifmainitem\else\edef\symcode{\underline{\symcode}}\fi + \hbox to\z@{\hss\scriptsize\textit{\symcode} }}} + \setbox\tw@\hbox{\vbox{\hsize=\the\dimen\@ne + {\large #2}% + \ifx\empty#3\empty\else + \tipamanhskip\textit{Usage}: #3\fi\par + \ifx\empty#5\empty\textit{Input}: \texttt{#4}\else + \textit{Input1}: \texttt{#4}\quad\textit{Input2}: \texttt{#5}\fi\par + \textit{Sources}: #6 + }}% + \dimen\@ne\dimen\z@ \advance\dimen\@ne-\ht\@ne + \dimen\tw@\dimen\z@ \advance\dimen\tw@-\ht\tw@ + \raise\dimen\@ne\hbox{\unhbox\@ne}\unhbox\z@\hfill + \raise\dimen\tw@\hbox{\unhbox\tw@}% + }\par\medskip}} + +\def\ipaitem{\mainitemtrue\ip@item} +\def\ipxitem{\mainitemfalse\ip@item} + +\def\usage{\@ifstar{\nonipausage}{\ipausage}} +\def\nonipausage{Usage: } +\def\ipausage{{\itshape IPA usage:} } +\def\ipaall{IPA '49--'96} +\def\ipaold{IPA '49, '79} +\def\ipanew{IPA '89--'96} +\def\psg#1{\PSG\ p.\#1} + +\def\tbs{{\ttfamily\char'134}} +\def\tbi{{\ttfamily\char'173}} +\def\tbii{{\ttfamily\char'175}} +\def\ttilde{{\ttfamily\char'176}} +\def\tcircum{{\ttfamily\char'136}} +\def\TT#1{\tbi #1\tbii} +\def\TD#1#2{\tbs #1\tbi #2\tbii} +\def\Td#1#2{\texttt{\TD{#1}{#2}}} +\def\Tt#1{\texttt{\tbs #1}} + +\def\PSG{\textsl{PSG}} +\def\Handbook{\textsl{Handbook}} +\def\New{\textbf{\textsf{New!}}} + +\newcount\excnt +\def\@inout{i} +\def\yitem{\if i\@inout + \item[{\itshape Input\/}:]\def\@inout{o}\else + \par\nobreak\item[{\itshape Output\/}:]\def\@inout{i}\fi} + +\newenvironment{tipaexample}{% + \begin{list}{}{\excnt=1% + \setlength\labelsep{1em}% + \setlength\labelwidth{5em}% + \setlength\leftmargin{6.5em}% + \setlength\parsep{0pt}}}% + {\end{list}} + +\def\xitem{\if i\@inout + \item[{\itshape Input \the\excnt\/}:]\def\@inout{o}\else + \par\nobreak\item[{\itshape Output \the\excnt\/}:]\def\@inout{i}% + \global\advance\excnt by1\fi} + +\def\labelenumi{(\theenumi)} +\newenvironment{Quote}{\begin{quote}}{\end{quote}} + +\let\mc\multicolumn + +\newskip\sloppyspaceamount +\newcommand\sloppyspace{\setbox0\hbox{ }% + \sloppyspaceamount=\wd0 plus 2\wd0 minus .5\wd0 + \hskip\sloppyspaceamount} + + +% +% Below are modifications of LaTeX default styles. +% +% Chapter head + +\renewcommand\chapter{% + \if@openright\cleardoublepage\else\clearpage\fi + \thispagestyle{empty}% + \global\@topnum\z@ + \@afterindentfalse + \secdef\@chapter\@schapter} +\def\@chapter[#1]#2{% + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \refstepcounter{chapter}% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}% + {\protect\numberline{\thechapter}#1}% + \else + \addcontentsline{toc}{chapter}{#1}% + \fi + \else + \addcontentsline{toc}{chapter}{#1}% + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \if@twocolumn + \@topnewpage[\@makechapterhead{#2}]% + \else + \@makechapterhead{#2}% + \@afterheading + \fi} +\def\@makechapterhead#1{% +% \vspace*{50\p@}% + \vspace*{5\p@}% + {\parindent \z@ \raggedright \normalfont + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter +% \huge\bfseries \@chapapp\space \thechapter + \huge\bfseries \huge\@chapapp\space \thechapter% + \par\nobreak + \vskip 10\p@ + \rule[.5ex]{\textwidth}{.8pt} + \vskip 10\p@ + \fi + \fi + \interlinepenalty\@M + \huge \bfseries #1\par\nobreak + \vskip 40\p@ + }} +\def\@schapter#1{\if@twocolumn + \@topnewpage[\@makeschapterhead{#1}]% + \else + \@makeschapterhead{#1}% + \@afterheading + \fi} +\def\@makeschapterhead#1{% +% \vspace*{50\p@}% + \vspace*{5\p@}% + {\parindent \z@ \raggedright + \normalfont + \interlinepenalty\@M + \huge \bfseries #1\par\nobreak + \vskip 40\p@ + }} + +% +% heading. +% + +\newcommand\clearemptydoublepage{% + \newpage{\pagestyle{empty}\cleardoublepage}} + +\def\ps@headings{% + \def\@oddfoot{\hfil\thepage\hfil}% + \def\@evenfoot{\hfil\thepage\hfil}% + \def\@evenhead{\hfil\slshape\leftmark}% + \def\@oddhead{{\slshape\rightmark}\hfil}% + \let\@mkboth\markboth + \def\chaptermark##1{% + \markboth {%\MakeUppercase{% + \ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \@chapapp\ \thechapter. \ % + \fi + \fi + ##1}{}}% + \def\sectionmark##1{% + \markright {%\MakeUppercase{% + \ifnum \c@secnumdepth >\z@ + \thesection. \ % + \fi + ##1}}} + +\pagestyle{headings} + + +% +% Commands for specimen. +% + +\newcount\codecnt +\newcommand\tipaallchars[1]{{% + \hrule width \textwidth \par\medskip + \noindent\font\test=#1\test + \codecnt=0 \loop \char\the\codecnt\sloppyspace + \ifnum\codecnt<255 \advance\codecnt by 1 \repeat + \par\medskip\hrule width \textwidth}} + +\newcommand\tipxallchars[1]{{\par\medskip\sloppy + \noindent\font\test=#1\test + \codecnt=0 \loop \char\the\codecnt\sloppyspace + \ifnum\codecnt<8 \advance\codecnt by 1 \repeat + \codecnt=32 \loop \char\the\codecnt\sloppyspace + \ifnum\codecnt<73 \advance\codecnt by 1 \repeat + \codecnt=80 \loop \char\the\codecnt\sloppyspace + \ifnum\codecnt<86 \advance\codecnt by 1 \repeat + \codecnt=112 \loop \char\the\codecnt\sloppyspace + \ifnum\codecnt<123 \advance\codecnt by 1 \repeat + \par\medskip\hrule width \textwidth}} + +\newcommand\sampletexti[1]{\begin{flushleft}#1 + D@ "nO;T "wInd @nd D@ "s2n w@ dIs"pju;tIN wItS w@z D@ "str6Ng5, + wEn @ "tr\ae vl5 keIm @"l6N "r\ae pt In @ "wO:m "kloUk. DeI + @"gri:d D@t D@ "w2n hu; f3;st s@k"si;dId In "meIkiN D@ "tr\ae vl5 + teIk hIz "kloUk 6f SUd bI k@n"sId@d "str6Ng@ D@n DI "2D@. +\end{flushleft}} + +\newcommand\sampletextii[1]{\begin{flushleft}#1 + la bi:z e l sOlE:j s@ dispytE, Sak\~{\oe} asyr\~A k il etE l ply + fO:r, k\~At iz \~O vy \~{\oe} vwajaZ\oe:r ki s av\~AsE, \~AvlOpe + d\~A s\~O m\~Ato. i s\~O t\~Obe dakO:r, k@ s@lyi ki arivE + l pr@mje a fEr ote s\~O m\~Ato o vwajaZ\oe:r, s@rE rgarde kOm + l ply fO:r. +\end{flushleft}} + +\newcommand\sampletextiii[1]{\begin{flushleft}#1 + "PaInst St\;RIt@n zI\c{c} "nOKtvInt PUnt "zOn@, "ve:\;R fOn Pi;n@n + "baId@n vo:l d5K "StEKk5\;R@ vE:\;R@, PAls PaIn "vAnd5\;R5K, de:K + PIn PaIn@n vAKm@n "mAnt@l g@"hYlt va:K, d@s ve:g@s da:"he:K ka:m. + zi; vUKd@n "PaIni\c{c}, dAs "de:Kje:nIg@ fy:K d@n "StEKk5\;R@n + gElt@n zOlt@, de:K d@n "vAnd5\;R5K "tsvIN@n vyKd@, zaIn@n "mAnt@l + "PAptsu;ne:m@n. +\end{flushleft}} + +\newcommand\sampletextiv[1]{\begin{flushleft}#1 \let\H\textcrh + marra S Samsi wi r ri:\H\ ka:nu bi jitxanPum Pinhu l PaPwa fi:hum. + u baQde:n Sa:fu ra:gil sa:ji\H\ gaj mim baQi:d mitlaffaQ bi + Qaba:ja tPi:la. fa ttafaPum Qala Pin illi jixalli:h jiPlaQ il + Qaba:ja fi l Pawwal jiku:n huwwa PaPwa mit ta:ni. +\end{flushleft}} + +\newcommand\sampletextv[1]{\begin{flushleft}#1 + upepo ulikuwa uki\!biSana na \*fua kuwa nani mweNe Nguvu kupita + mwenziwe, mara akapita masafiri alijekuwa amevaa \*fu\!ba. walipatana + kuwa atakajemvua \*fu\!ba kwanza msafiri ndije mweNe Nguvu. +\end{flushleft}} + +\newcommand\bseries{\fontseries{b}\selectfont} +\newcommand\rmtipa{\renewcommand\rmdefault{cmr}\renewcommand\sfdefault{cmss}} +\newcommand\rmxipa{\renewcommand\rmdefault{ptm}\renewcommand\sfdefault{phv}} + +\newcount\rotatetextcnt \rotatetextcnt=0 + +\newcommand\sampletext{% + \edef\@rotatetextcnt{\the\rotatetextcnt }% + \ifcase\@rotatetextcnt\def\@sampletext{\sampletexti}\or + \def\@sampletext{\sampletextii}\or\def\@sampletext{\sampletextiii}\or + \def\@sampletext{\sampletextiv}\or\def\@sampletext{\sampletextv}\fi + \global\advance\rotatetextcnt by 1 + \ifnum\the\rotatetextcnt=5 \global\rotatetextcnt=0 \fi + \@sampletext} + + +\newcommand\commr[1]{\par\bigskip\begin{flushright}#1\end{flushright}} +\newcommand\comml[1]{\par\bigskip\begin{flushleft}#1\end{flushleft}} + +\newcommand\betacomment{\commr{% + For instance,\\ + the Greek letters included in the International Alphabet\\ + are cut in roman adaptations. Thus, since the ordinary shape of \\ + the Greek letter $\beta$ does not harmonise with roman type,\\ + in the International Phonetic Alphabet it is given the form \textipa{B}.\\ + (\emph{Principles}, 1949, p.~1)}} + +\newcommand\thetacomment{\commr{% + ... And of the two form of Greek theta, $\theta$ and $\vartheta$,\\ + it has been necessary to choose the first (in vertical form),\\ + since the second cannot be made to harmonise with\\ + roman letters. (\emph{Principles}, 1949, p.~2)}} + +\newcommand\Sweet{\comml{% + \textsc{Phonetics} is the \textbf{science} of speech-sounds.\\ + From a practical point of view it is the \textbf{art} of producing\\ + speech-sounds and recognizing them by ear.\par\medskip + (Henry Sweet, \emph{A Primer of Phonetics}, 1906; Boldface by + Sweet)}} + +\newcommand\IPAshape{\comml{% + The non-roman letters of the International Phonetic Alphabet\\ + have been designed as far as possible to harmonise well with \\ + the roman letters. The Association does not recognise\\ + makeshift letters; It recognises only letters which have been\\ + carefully cut so as to be in harmony with the other letters.\par\medskip + (\emph{The Principles of the International Phonetic Association}, 1949)}} + +\newcommand\upsiloncomment{\commr{% + Some phoneticians refer to Upsilon by the name \emph{Bucket},\\ + but it looks more like an urn to us.\par\medskip + (\emph{PSG}, 1996, p.~185)\par\bigskip + + ....................\\ + ....................\\ + O Attic shape! Fair attitude! with brede\\ + Of marble men and maidens overwrought,\\ + With forest branches and the trodden weed;\\ + Thou, silent form, dost tease us out of thought\\ + As doth eternity: Cold Pastoral!\\ + When old age shall this generation waste,\\ + Thou shalt remain, in midst of other woe\\ + Than ours, a friend to man, to whom thou say'st,\\ + ``Beauty is truth, truth beauty, ---that is all\\ + Ye know on earth, and all ye need to know.''\par\medskip + (John Keats, \emph{Ode on a Grecian Urn})}} + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "tipaman" +%%% End: diff --git a/fonts/tipa/tipa/doc/tipaman.tex b/fonts/tipa/tipa/doc/tipaman.tex new file mode 100644 index 0000000000..94a194189d --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman.tex @@ -0,0 +1,45 @@ +% tipaman.tex +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +\documentclass[a4paper]{book} +%\documentclass[b5paper]{book} + +% Uncomment the following three lines if you want to compile this manual +% by using Times Roman and XIPA. +%\usepackage{times} +%\renewcommand\ttdefault{cmtt} + +\usepackage{tipaman} + +\begin{document} +\frontmatter +\include{tipaman0} +\clearemptydoublepage +\tableofcontents +\clearemptydoublepage +\mainmatter +\include{tipaman1} +\clearemptydoublepage +\include{tipaman2} +\clearemptydoublepage +\include{tipaman3} +\clearemptydoublepage +\include{tipaman4} + +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: diff --git a/fonts/tipa/tipa/doc/tipaman0.tex b/fonts/tipa/tipa/doc/tipaman0.tex new file mode 100644 index 0000000000..aa76dc8e74 --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman0.tex @@ -0,0 +1,51 @@ +% tipaman0.tex +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +\thispagestyle{empty} + +\vspace*{\stretch{2}} + +\begin{center} +\renewcommand\sfdefault{cmss} +{\Huge \textsf{\textbf{TIPA Manual}}} +\par\vspace{1cm} +{\huge \textsf{\textbf{Version 1.3}}} +\par\vspace{5cm} +{\huge \textsf{\textbf{Rei Fukui}}} +\par\vspace{1cm} +{\LARGE \textsf{\textbf{Graduate School of Humanities and\\[4mm] Sociology}}} +\par\vspace{.5cm} +{\LARGE \textsf{\textbf{The University of Tokyo}}} +\par\vspace{1cm} +{\Large \textit{fkr@l.u-tokyo.ac.jp}} +\par\vspace{1cm} +{\LARGE \textsf{\textbf{25 March 2004}}} +\end{center} + +\vspace*{\stretch{2}} + +\newpage +\thispagestyle{empty} + +\vspace*{\stretch{2}} + +\Sweet +\IPAshape + +\vspace*{\stretch{2}} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "tipaman" +%%% End: diff --git a/fonts/tipa/tipa/doc/tipaman1.tex b/fonts/tipa/tipa/doc/tipaman1.tex new file mode 100644 index 0000000000..7200d5bb62 --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman1.tex @@ -0,0 +1,1422 @@ +% tipaman1.tex +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +\chapter{Introduction} + +\tipa{}\footnote{\tipa{} stands for \emph{\TeX\ IPA} or \emph{Tokyo + IPA}. The primary ftp site in which the latest version of \tipa{} + is placed is \texttt{ftp://tooyoo.L.u-tokyo.ac.jp/pub/TeX/tipa}, and + also it is mirrored onto the directory \texttt{fonts/tipa} of the + CTAN archives.} is a system for processing IPA (International +Phonetic Alphabet) symbols in \LaTeX. It is based on +\tsipa{}\footnote{\tsipa{} was made in 1992 by Kobayashi Hajime, Fukui + Rei and Shirakawa Shun. It is available from a CTAN archive. + + One problem with \tsipa{} was that symbols already included in + \texttt{OT1}, \texttt{T1} or Math fonts are excluded, because of the + limitation of its 128 character encoding. As a result, a string of + phonetic representation had to be often composed of symbols from + different fonts, disabling the possibility of automatic inter-word + kerning, and also too many symbols had to be realized as macros.} +but both \MF{} source codes and \LaTeX{} macros have been thoroughly +rewritten so it can be considered as a new system. + +Among many features of \tipa{}, the following are the new features +as compared with \tsipa{} or any other existing systems for processing +IPA symbols. + +\begin{itemize} +\itemsep0pt +\item A new 256 character encoding for phonetic symbols + (`\texttt{T3}'), which includes all the symbols and diacritics found + in the recent versions of IPA and some non-IPA symbols. +\item Complete support of \LaTeXe. +\item A variety of font styles including roman, slanted, bold, bold + extended, sans serif and typewriter. +\item Easy input method in the IPA environment. +\item Extended macros for accents and diacritics.\footnote{These + macros are now defined in a separate file called + `\texttt{exaccent.sty}' in order for the authors of other + packages to be able to make use of them. The idea of separating + these macros from other ones was suggested by Frank Mittelbach.} +\item A flexible system of macros for `tone letters'. +\item An optional package (\texttt{vowel.sty}) for drawing vowel + diagrams. This package can be used independently from the \tipa{} + package.\footnote{Documentation is also made separately in + `\texttt{vowel.tex}' so that no further mention will be made + here.} +\item A slightly modified set of fonts that go well when used with + Times Roman and Helvetica fonts. +\end{itemize} + + +\section{Installation} + +\subsection{Basics} + +In a CTAN site or any other sites that have a copy of the \tipa{} +package, the directory structure of \tipa{} looks as follows. + +\begin{quote} + \verb|sty| --- containing \verb|*.sty|, \verb|*.fd|, \verb|*.def| + files.\\ + \verb|mf | --- containing \MF{} source files.\\ + \verb|tfm| --- containing font metric files.\\ + \verb|doc| --- containing document files.\\ + \verb|dvips| --- containing tipa.map file.\\ + \verb|type1| --- containing PostScript type1 fonts. +\end{quote} + +If you are using a recent set of \LaTeX2e distribution, all you need +to do is basically only two things. + +\begin{itemize} +\item Copy all the files in the \verb|sty| directory into an + appropriate place. +\item Copy all the files in the \verb|mf| directory into an + appropriate place. +\end{itemize} + +In the case of a popular Unix-like OS, the actual installation +procedure will look like the following. + +(\verb|$texmf| stands for your \TeX{} system directory; %$ +\verb|/usr/local/share/texmf|, for example). + +\begin{quote} + \verb|mkdir $texmf/tex/latex/tipa| %$ + --- create a directory for style files.\\ + \verb|cp sty/* $texmf/tex/latex/tipa| %$ + --- copy all the files in \verb|sty|.\\ + \verb|mkdir $texmf/fonts/source/fkr| %$ + --- create a directory for\\ + \verb|mkdir $texmf/fonts/source/fkr/tipa| %$ + \hspace{1em} mf files.\\ + \verb|cp mf/* $texmf/fonts/source/fkr/tipa| %$ + --- copy all the \verb|mf| files.\\ + \verb|mktexlsr| --- update the kpathsea database. +\end{quote} + +If you are using Windows or Mac, follow the equivalent steps: i.e., +create a directory/folder for style files and copy the contents of the +\tipa{} \verb|sty| directory/folder; then, create a directory/folder +for \MF{} source files and copy the contents of the +\tipa{} \verb|mf| directory/folder. + +If you are going to run \tipa{} on the basis of \texttt{pk} files, all +other things such as \texttt{tfm} files and \texttt{pk} files will be +generated automatically. That's all for the installation. + +You may optionally copy all the \texttt{tfm} files into an appropriate +directory which \TeX{} and device driver programs can find. This will +save time for the automatic font generation. + +\begin{quote} + \verb|mkdir $texmf/fonts/tfm/fkr| \\%$ + \verb|mkdir $texmf/fonts/tfm/fkr/tipa| \\%$ + \verb|cp tfm/* $texmf/fonts/tfm/fkr/tipa| %$ +\end{quote} + +If your \TeX{} system is not equiped with the automatic font +generation mechanism, you may have to create and install \texttt{pk} +files by yourself. For example: + +\begin{quote} + (generate pk font files; please ask someone how to do this.)\\ + \verb|mkdir $texmf/fonts/pk/ljfour/fkr|\\ %$ + \verb|mkdir $texmf/fonts/pk/ljfour/fkr/tipa|\\ %$ + \verb|cp *pk $texmf/fonts/pk/ljfour/fkr/tipa| %$ +\end{quote} + + +\subsection{Installing Type1 fonts}\label{sec:pdf} + +If you want to create a PDF document, you need to install Type1 fonts. +First, copy the contents of the directories \texttt{dvips} and +\texttt{type1} onto appropriate directories. For example: + +\begin{quote} + \verb|cp dvips/tipa.map $texmf/dvips/config|\\ %$ + \verb|mkdir $texmf/fonts/type1/fkr|\\ %$ + \verb|mkdir $texmf/fonts/type1/fkr/tipa|\\ %$ + \verb|cp type1/* $texmf/fonts/type1/fkr/tipa|\\ %$ + \verb|mktexlsr| --- update the kpathsea database. +\end{quote} + +Then, edit config files for your device driver. In the case +of \texttt{dvips}, edit \texttt{config.ps} and/or \texttt{config.pdf}, +for example, and insert a line containing: + +\begin{quote} + \texttt{p +tipa.map} +\end{quote} + +There are several ways to make PDF documents. The author of this +document usually uses \texttt{dvips}. For example: + +\begin{quote} + \texttt{dvips -Ppdf tipaman} +\end{quote} + +\noindent will produce \texttt{tipaman.ps}. In this case, \texttt{config.pdf} +has to be modified as explained above. Then, by using Acrobat +Distiller (this is not free software), you can convert it to a PDF +file. Alternatively, you can use free software such as +\texttt{dvipdfm}, \texttt{dvipdf}, \texttt{pdflatex}, and so on. + +In the case of \texttt{pdflatex}, for example, you have to copy the file +\texttt{tipa.map} onto the following directory. + +\begin{quote} + \verb|$texmf/pdftex/config|%$ +\end{quote} + +Then, edit \texttt{pdftex.cfg} and insert a line containing: + +\begin{quote} + \texttt{map +tipa.map} +\end{quote} + + +\section{\tipa{} font families} + +This version of \tipa{} includes two families of IPA fonts, +\texttt{tipa} and \texttt{xipa}. The former family of fonts is for +normal use with \LaTeX, and the latter family is intended to be used +with `\texttt{times.sty}'(PSNFSS). They all have the same \texttt{T3} +encoding as explained in the previous section. + +\begin{itemize} +\item \texttt{tipa} + \begin{description} + \item[Roman:] + \texttt{tipa8}, \texttt{tipa9}, \texttt{tipa10}, \texttt{tipa12}, + \texttt{tipa17} + \item[Slanted:] + \texttt{tipasl8}, \texttt{tipasl9}, \texttt{tipasl10}, + \texttt{tipasl12} + \item[Bold extended:] + \texttt{tipabx8}, \texttt{tipabx9}, + \texttt{tipabx10}, \texttt{tipabx12} + \item[Bold extended Slanted:] \texttt{tipabs10} + \item[Sans serif:] + \texttt{tipass8}, \texttt{tipass9}, \texttt{tipass10}, + \texttt{tipass12}, \texttt{tipass17} + \item[Sans serif Bold extended:] \texttt{tipasb10} + \item[Sans serif Slanted:] \texttt{tipasi10} + \item[Bold:] \texttt{tipab10} + \item[Typewriter Text:] + \texttt{tipatt8}, \texttt{tipatt9}, \texttt{tipatt10}, + \texttt{tipatt12} + \item[Typewriter Text Slanted:] \texttt{tipats10} + \end{description} +\item \texttt{xipa} + \begin{description} + \item[Roman:] \texttt{xipa10} + \item[Slanted:] \texttt{xipasl10} + \item[Bold:] \texttt{xipab10} + \item[Bold Slanted:] \texttt{xipabs10} + \item[Sans serif Bold:] \texttt{xipasb10} + \item[Sans serif Slanted:] \texttt{xipasi10} + \end{description} +\end{itemize} + +All these fonts are made by \MF{}, based on the Computer Modern font +series. In the case of the \texttt{xipa} series, parameters are +adjusted so as to look fine when used with Times Roman (in the cases +of \texttt{xipa10}, \texttt{xipasl10}, \texttt{xipab10}) and Helvetica +(in the case of \texttt{xipass10}). + + +\clearemptydoublepage +\chapter{TIPA Encoding} + +\section{Selection of symbols}\label{sec:selection} + +\subsection{IPA symbols} + +When the first version of \tipa{} (version 1.0) was released, the +selection of IPA phonetic symbols was made based on the following +works. + +\begin{itemize} +\item \emph{Phonetic Symbol Guide} \citep{PSG:I}. +\item The official IPA charts of '49, '79, '89 and '93 versions. +\item Articles published in the + \emph{JIPA}\footnote{\emph{Journal of the International Phonetic + Association.}}, such as \cite{IPA:KielConvention}, + \cite{IPA:FurtherReport}, \cite{Esling:ComputerCodes}, + \cite{IPA:CouncilActions}, and so on. +\item An unpublished paper by J.\ C.\ Wells: + ``Computer-coding the IPA: a proposed extension of SAM\-PA'' \citep{SAMPA}. +\item Popular textbooks on phonetics. +\end{itemize} + +More specifically, this first version tried to incorporate all the +symbols and diacritics defined in the '79, '89 and '93 versions of IPA +and some non-IPA symbols. And in the case of the '49 version of +IPA, as was described in the \textit{Principles} \citep{Principles}, +there were too many obsolete symbols and only those symbols that had +had some popularity at least for some time or for some group of people +were included. + +Then, soon after the first release, several important works were +published. + +\begin{itemize} +\item The second edition of \emph{Phonetic Symbol Guide} + \citep{PSG:II}. (henceforth abbreviated as \PSG.) +\item The official IPA chart of '96 version. +\item ``Preview of the IPA Handbook'' \citep{IPA:Preview}. +\item \emph{Handbook of the International Phonetic Association} + \citep{Handbook}. (henceforth abbreviated as \Handbook.) +\end{itemize} + +The differences between '93 and '96 versions of IPA are very +few. However, the second edition of \PSG\ contains much more symbols +than before. + +The current version of tipa{} (version 1.1) is a result of an effort +to increase the number of symbols as much as possible and to cover +almost all the symbols included in \PSG. However, the 256 character +encoding (see next section for detail) used in \tipa{} has been +already filled with symbols assigned in the first release. Therefore, +it was necessary to create a set of new auxiliary fonts to include +new symbols, and the new set of fonts is now called \tipx{}. + +It should be also noted that \tipa{} includes all the necessary +elements of `tone letters', enabling all the theoretically possible +combinations of the tone letter system. This system was devised by +Yuen-Ren Chao \citep{Chao:ToneLetters} and it is now admitted as an +official way of representing tones in the recent publication of the +International Phonetic Association. + +But the treatment of tone letters is quite insufficient in that only a +limited number of combinations is allowed. This is apparently due to +the fact that there has been no `portable' way of combining symbols +that can be used across various computer environments. Therefore +\TeX's productive system of macro is an ideal tool for handling a +system like tone letters. + +In the process of writing \MF{} source codes for \tipa{} phonetic +symbols there have been many problems besides the one with the +selection of symbols. One such problem was that sometimes the +exact shape of a symbol was unclear. For example, the shapes of the +symbols such as \textstretchc\ (Stretched C), and \textctj\ (Curly-tail J) +differ according to sources. This is partly due to the fact that the +IPA has been continuously revised for the past few decades, and partly +due to the fact that different ways of computerizing phonetic symbols +on different systems have resulted in a diversity of the shapes of +phonetic symbols. + +Although there is no definite answer to such a problem yet, it seems +to me that it is a privilege of those working with \MF{} to have a +systematic way of controlling the shapes of phonetic symbols. + +\subsection{Non-IPA symbols} + +Besides IPA symbols, \tipa{} also contains symbols that are useful for +the following areas of phonetics and linguistics. + +\begin{itemize} +\itemsep0pt +\item Symbols used in the American phonetics. (e.g., \textturncelig, + \textsce, \textscomega, \textlambda, etc.) +\item Symbols used in the historical study of Indo-European languages. + (e.g., \textthorn, \textwynn, \texthvlig, \textcommatailz, + \textsoftsign, \texthardsign, and accents such as \textipa{\'=a}, + \textipa{\.'e}, etc.) +\item Symbols used in the phonetic description of languages in East Asia. + (e.g., \textlhtlongi, \textvibyi, \textctd, \textctn, \textctt, etc.) +\item Diacritics used in `ExtIPA Symbols for Disordered + Speech' \citep{extIPA} and `VoQS (Voice Quality Symbols)' \citep{VoQS}. + (e.g., \bibridge{n}, \subdoublevert{f}, \crtilde{m}, etc.) +\end{itemize} + + +\section{Encoding} + +\begin{table}[t] +\begin{center}\tabcolsep1em +\def\zerobox#1{\hbox to0pt{\hss #1\hss}} +\def\MCL#1#2{\multicolumn{#1}{|c|}{#2}} +\begin{tabular}{|c|c|c|c|c|c|c|c|c|} +\hline + &{\it'0}&{\it'1}&{\it'2}&{\it'3}&{\it'4}&{\it'5}&{\it'6}&{\it'7}\\ +\hline + {\it'00x}& \MCL{8}{} \\ + & \MCL{8}{Accents and diacritics} \\ + {\it'04x}& \MCL{8}{} \\ +\hline + {\it'05x}& \MCL{8}{Punctuation marks} \\ +\hline + {\it'06x}& \MCL{8}{Basic IPA symbols I (vowels)} \\ +\cline{4-9} + {\it'07x}& \MCL{2}{} & \MCL{6}{Diacritics, etc.} \\ +\hline + {\it'10x}& \MCL{8}{} \\ + & \MCL{8}{Basic IPA symbols II} \\ + & \MCL{8}{} \\ +\cline{5-9} + {\it'13x}& \MCL{3}{} & \MCL{5}{Diacritics, etc.} \\ +\hline + {\it'14x}& \MCL{1}{\zerobox{Punct\kern-.1em.}} & \MCL{7}{} \\ +\cline{2-2} + & \MCL{8}{Basic IPA symbols III} \\ + & \MCL{8}{(lowercase letters)} \\ +\cline{8-9} + {\it'17x}& \MCL{6}{} & \MCL{2}{\zerobox{Diacritics}}\\ +\hline + {\it'20x}& \MCL{8}{} \\ + & \MCL{8}{Tone letters and other suprasegmentals} \\ + {\it'23x}& \MCL{8}{} \\ +\hline + {\it'24x}& \MCL{8}{} \\ + & \MCL{8}{Old IPA, non-IPA symbols} \\ + {\it'27x}& \MCL{8}{} \\ +\hline + {\it'30x}& \MCL{8}{} \\ + & \MCL{8}{Extended IPA symbols} \\ +\cline{8-9} + {\it'33x}& \MCL{6}{} & \MCL{2}{\zerobox{Germanic}}\\ +\hline + {\it'34x}& \MCL{8}{} \\ + & \MCL{8}{Basic IPA symbols IV} \\ +\cline{8-9} + {\it'37x}& \MCL{6}{} & \MCL{2}{\zerobox{Germanic}}\\ +\hline +\end{tabular} +\end{center} +\caption{Layout of the {\tt T3} encoding}\label{tab:TIPAenc} +\end{table} + + +The 256 character encoding of \tipa{} is now officially called the +`\texttt{T3}' encoding.\footnote{In a discussion with the \LaTeXe{} + team it was suggested that the 128 character encoding used in WSUIPA + would be referred to as the \texttt{OT3} encoding.} In deciding this +new encoding, care is taken to harmonize with other existing +encodings, especially with the \texttt{T1} encoding. Also the easiness +of inputting phonetic symbols is taken into consideration in such a +way that frequently used symbols can be inputted with small number of +keystrokes. + +Table~\ref{tab:TIPAenc} shows the layout of the \texttt{T3} encoding. + +The basic structure of the encoding found in the first half of the +table (character codes \texttt{'000-'177}) is based on normal text +encodings (ASCII, \texttt{OT1} and \texttt{T1}) in that sectioning of +this area into several groups, such as the section for accents and +diacritics, the section for punctuation marks, the section for +numerals, and the sections for uppercase and lowercase letters, is +basically the same with these encodings. + +Note also that the \texttt{T3} encoding contains not only phonetic +symbols but also usual punctuation marks that are used with phonetic +symbols, and in such cases the same codes are assigned as the normal +text encodings. However, it is a matter of trade-off to decide which +punctuation marks are to be included. For example `:' and `;' might +have been preserved in \texttt{T3} but in this case `:' has been +traditionally used as a substitute for the length mark `\textipa{:}' so +that I decided to exclude `:' in favor of the easiness of inputting the +length mark by a single keystroke. + +The encoding of the section for accents and diacritics is closely +related to \texttt{T1} in that the accents commonly included in +\texttt{T1} and \texttt{T3} have the same encoding. + +The sections for numerals and uppercase letters are filled with +phonetic symbols that are used frequently in many languages, because +numerals and uppercase letters are usually not used as phonetic +symbols. Also, the assignments made here are used as the `shortcut +characters', which will be explained in section~\ref{sec:OrdinarySymbol}. + +As for the section for uppercase letters in the usual text encoding, a +series of discussion among the members of the \texttt{ling-tex} +mailing list revealed that there seem to be a certain amount of +consensus on what symbols are to be assigned to each code. For example, +they were almost unanimous for the assignments such as \textipa{A} for +\texttt{A}, \textipa{B} for \texttt{B}, \textipa{D} for \texttt{D}, +\textipa{S} for \texttt{S}, \textipa{T} for \texttt{T}, etc. For more +details, see table~\ref{tab:shortcut}. + +\begin{table}[t] +\begin{center} +\let\:\texttt \let\;\textipa +\begin{tabular}{l|cccccccccc} +\hline +\textit{ASCII}&\:: &\:; &\:" & & & & & & &\\ +\textit{TIPA} &\;: &\;; &\;" & & & & & & &\\ +\hline +\textit{ASCII}&\:0 &\:1 &\:2 &\:3 &\:4 &\:5 &\:6 &\:7 &\:8 &\:9\\ +\textit{TIPA} &\;0 &\;1 &\;2 &\;3 &\;4 &\;5 &\;6 &\;7 &\;8 &\;9\\ +\hline +\textit{ASCII}&\:@ &\:A &\:B &\:C &\:D &\:E &\:F &\:G &\:H &\:I\\ +\textit{TIPA} &\;@ &\;A &\;B &\;C &\;D &\;E &\;F &\;G &\;H &\;I\\ +\hline +\textit{ASCII}&\:J &\:K &\:L &\:M &\:N &\:O &\:P &\:Q &\:R &\:S\\ +\textit{TIPA} &\;J &\;K &\;L &\;M &\;N &\;O &\;P &\;Q &\;R &\;S\\ +\hline +\textit{ASCII}&\:T &\:U &\:V &\:W &\:X &\:Y &\:Z &\:| & &\\ +\textit{TIPA} &\;T &\;U &\;V &\;W &\;X &\;Y &\;Z &\;| & &\\ +\hline +\end{tabular} +\end{center} +\caption{\tipa{} shortcut characters}\label{tab:shortcut} +\end{table} + +The encoding of the section for numerals was more difficult than the +above case. One of the possibilities was to assign symbols based on the +resemblance of shapes. One can easily think of assignments such as +\textipa{3} for \texttt{3}, \texthtb{} for \texttt{6}, etc. But the +resemblance of shape alone does not serve as a criteria for all the +assignments. So I decided to assign basic vowel symbols to this +section.\footnote{This idea was influenced by the above mentioned + article by J.\ C.\ Wells \citep{SAMPA}.} Fortunately the resemblance +of shape is to some extent maintained as is shown in +table~\ref{tab:shortcut}. + +The encoding of the section for lowercase letters poses no problem +since they are all used as phonetic symbols. Only one symbol, namely +`\textipa{g}', needs some attention because its shape should be +`\textipa{g}', rather than `g', as a phonetic symbol.\footnote{% + However, it was declared that these two symbols are equivalent in + the most recent version of the IPA. Anyway, alternative shape + `\textg' is preserved in another section and can be used as + \texttt{\tbs textg}. } + +The second half of the table (character codes \texttt{'200-'377}) is +divided into four sections. The first section is devoted to the +elements of tone letters and other suprasegmental symbols. + +Among the remaining three sections the last section \texttt{'340-'377} +contains more basic symbols than the other two sections. This is a +result of assigning the same character codes as latin-1 (ISO8859-1) +and T1 encodings to the symbols that are commonly included in \tipa{}, +latin-1 and T1 encoded fonts.\footnote{This is based on a suggestion + by J\"org Knappen.} These are the cases of \ae{}, \o, \oe{}, \c{c} +and \textthorn. And within each section, symbols are arranged largely +in alphabetical order. + +For a table of the \texttt{T3} encoding, see Appendix +\ref{sec:FontLayout}. + + + +\clearemptydoublepage +\chapter{Usage} + +\section{Declaration of \tipa{} package} + +In order to use \tipa{}, first declare \texttt{tipa.sty} package at +the preamble of a document. + +\begin{verbatim} + \documentclass{article} + \usepackage{tipa} +\end{verbatim} + +If you want to use an additional set of phonetic symbols, declare +\texttt{tipx.sty} after the declaration of \texttt{tipa.sty}. + +\begin{verbatim} + \documentclass{article} + \usepackage{tipa} + \usepackage{tipx} +\end{verbatim} + +\subsection{Encoding options} + +The above declaration uses \texttt{OT1} as the default text encoding. If +you want to use \tipa{} symbols with \texttt{T1}, specify the option +`\texttt{T1}'. + +\begin{verbatim} + \documentclass{article} + \usepackage[T1]{tipa} +\end{verbatim} + +If you want to use a more complex form of encoding, declare the use of +\texttt{fontenc} package by yourself and specify the option +`\texttt{noenc}'. In this case the option `\texttt{T3}', which represents +the \tipa{} encoding, must be included as an option to the +\texttt{fontenc} package. For example, if you want to use \tipa{} and +the University Washington Cyrillic (\texttt{OT2}) with the \texttt{T1} +text encoding, the following command will do this. + +\begin{verbatim} + \documentclass{article} + \usepackage[T3,OT2,T1]{fontenc} + \usepackage[noenc]{tipa} +\end{verbatim} + +By default, \tipa{} includes the \texttt{fontenc} package internally but +the option \texttt{noenc} suppresses this. + +\subsection{Using \tipa{} with PSNFSS} + +In order to use \tipa{} with \texttt{times.sty}, declare the use of +\texttt{times.sty} before declaring \texttt{tipa} packages. + +\begin{verbatim} + \documentclass{article} + \usepackage{times} + \usepackage{tipa} +\end{verbatim} + +Font description files \texttt{t3ptm.fd} and \texttt{t3phv.fd} +are automatically loaded by the above declaration. + +This manual can be typeset with Times Roman and \textsf{XIPA} fonts by +uncommenting a few lines that appear near the top of the file +\texttt{tipaman.tex}. + +\subsection{Other options}\label{sec:otheroptions} + +\tipa{} can be extended by the options \texttt{tone}, \texttt{extra}. + +If you want to use the optional package for `tone letters', add +`\texttt{tone}' option to the \verb|\usepackage| command that declares +\texttt{tipa} package. + +\begin{verbatim} + \usepackage[tone]{tipa} +\end{verbatim} + +And if you want to use diacritics for extIPA and Vo\-QS, specify +`\texttt{extra}' option. + +\begin{verbatim} + \usepackage[extra]{tipa} +\end{verbatim} + +Finally, there is one more option called `\texttt{safe}', which is used +to suppress definitions of some possibly `dangerous' commands of +\tipa. + +\begin{verbatim} + \usepackage[safe]{tipa} +\end{verbatim} + +More specifically, the following commands are suppressed by declaring +the \texttt{safe} option. Explanation on the function of each command +will be given later. + +\begin{itemize} +\itemsep0pt +\item \verb|\s| \quad Equivalent to \verb|\textsyllabic|; maybe harmless + but too short for a control sequence name. +\item \verb|\*| \quad Already defined in plain \TeX; however, many consider + its redefinition harmless. +\item \verb+\|+, \verb|\:|, \verb|\;|, \verb|\!| \quad Already defined in + \LaTeX; these redefinitions are obviously the most dangerous + ones. However, remedies are prepared even in `unsafe' mode. + There is a command called \verb|\Vert| which has the same meaning as + \verb+\|+ and can be used in `unsafe' mode. For the remaining three + commands, \tipa{} provides commands called \verb|\tipamedspace|, + \verb|\tipathickspace| and \verb|\tipanegthinspace| which retain the + meanings of \verb|\:|, \verb|\;| and \verb|\!|, respectively, even in + the `unsafe mode'. +\end{itemize}\label{unsafemode} + +Despite the above `remedies', you may sometimes want to use the above +commands with their original names in the `unsafe' mode. In such +cases, a command called \texttt{\tbs tipasafemode} can be used. For +example: + +\begin{tipaexample} + \yitem + \verb+\textipa{[\!b] [\:r] [\;B]}\quad{\tipasafemode+\\ + \verb+ $ a\:a\quad b\;b\quad c\!c\quad\| $}\quad+\\ + \verb+\textipa{[\!b] [\:r] [\;B] (back again!)}+ + \yitem + \textipa{[\!b] [\:r] [\;B]}\quad + {\tipasafemode $ a\:a\quad b\;b\quad c\!c\quad\| $}\quad + \textipa{[\!b] [\:r] [\;B] (back again!)} +\end{tipaexample} + +As is shown in this example, \texttt{\tbs tipasafemode} must be used +within a group. Otherwise, the meanings of \tipa{}'s special macros +are lost. + +Finally, more than one options can be specified at the same +time, by separating a comma. For example: + +\begin{verbatim} + \usepackage[tone,extra,safe]{tipa} +\end{verbatim} + +\section{Input commands for phonetic symbols} +\subsection{Ordinary phonetic symbols}\label{sec:OrdinarySymbol} + +\tipa{} phonetic symbols can be inputted by the following two ways. + +\begin{enumerate} +\itemsep0pt +\item Input macro names in the normal text environment. +\item Input macro names or \emph{shortcut characters} with\-in the + following groups or environment. + \begin{itemize} + \item \verb|\textipa{...}|\footnote{I personally prefer a slightly + shorter name like \texttt{\tbs ipa} rather than \texttt{\tbs + textipa} so that I usually put a command \texttt{\tbs let\tbs + ipa\tbs textipa} somewhere in my style file. However, this + command was named after the general convention of \LaTeXe. The + same can be said for all the symbol names beginning with + \texttt{\tbs text}.} + \item \verb|{\tipaencoding ...}| + \item \verb|\begin{IPA} ... \end{IPA}| + \end{itemize} + (These groups and environment will be henceforth referred to as the + \textsl{IPA environment}.) +\end{enumerate} + +A shortcut character refers to a single character that is assigned to +a specific phonetic symbol and that can be directly inputted by an +ordinary keyboard. In \tipa{} fonts, the character codes for numerals +and uppercase letters in the normal ASCII encoding are assigned to such +shortcut characters, because numerals and uppercase letters are +usually not used as phonetic symbols. Additional shortcut +characters for symbols such as \ae{}, \oe{}, \o{} may also be used if +you are using a T1 encoded font and an appropriate input system for +it. + +The following pair of examples show the same phonetic transcription of +an English word that are inputted by the above mentioned two input methods. + +\begin{tipaexample} + \xitem + \verb|[\textsecstress\textepsilon kspl\textschwa|\\ + \verb|\textprimstress ne\textsci\textesh\textschwa n]| + \xitem {[\textsecstress\textepsilon kspl\textschwa\textprimstress + ne\textsci\textesh\textschwa n]} + \xitem \verb|\textipa{[""Ekspl@"neIS@n]}| + \xitem \textipa{[""Ekspl@"neIS@n]} +\end{tipaexample} + +It is apparent that inputting shortcut characters in the IPA +environment is far easier than inputting lengthy symbol names in the +normal text environment. + +Moreover, although the outputs of the above examples look +almost the same, they are \textsl{not\/} identical, exactly +speaking. This is because in the IPA environment automatic kerning +between neighboring symbols is enabled, as is illustrated by the +following pair of examples. + +\begin{tipaexample} + \xitem \verb|v\textturnv v w\textsca w | + \verb|y\textturny y [\textesh]| + \xitem v\textturnv v w\textsca w y\textturny y [\textesh] + \xitem \verb|\textipa{v2v w\textsca w yLy [S]}| + \xitem \textipa{v2v w\textsca w yLy [S]} +\end{tipaexample} + +In the next example, \emph{Input 2} is far better theen \emph{Input 1}, +for the same reason. + +\begin{tipaexample} + \xitem \verb|[\textipa{S}]| + \xitem [\textipa{S}] + \xitem \verb|\textipa{[S]}| + \xitem \textipa{[S]} +\end{tipaexample} + +Therefore, it is recommended to use \texttt{\tbs textipa} or other IPA +environments as much as possible. + +Table~\ref{tab:shortcut} shows most of the shortcut characters that +can be used in the IPA environment, together with the corresponding +characters in the ASCII encoding. + + +\begin{table} +\begin{center}\tabcolsep1em +\begin{tabular}{llc} +\hline + \emph{Symbol name} & \emph{Macro name} & \emph{Symbol}\\ +\hline + Turned A & \verb|\textturna| & \textturna \\ + Glottal stop & \verb|\textglotstop| & \textglotstop \\ + Right-tail D & \verb|\textrtaild| & \textrtaild \\ + Small capital G & \verb|\textscg| & \textscg \\ + Hooktop B & \verb|\texthtb| & \texthtb \\ + Curly-tail C & \verb|\textctc| & \textctc \\ + Crossed H & \verb|\textcrh| & \textcrh \\ + Old L-Yogh ligature & \verb|\textOlyoghlig| & \textOlyoghlig \\ + Beta & \verb|\textbeta| & \textbeta \\ +\hline +\end{tabular} +\end{center} +\caption{Naming of \tipa{} symbols}\label{tab:naming} +\end{table} + +\subsection{Naming of phonetic symbols} + +Every \tipa{} phonetic symbol has a unique symbol name, such as +\textsl{Turned A, Hooktop B, Schwa}. Also each symbol has a +corresponding macro name, such as \verb|\textturna|, \verb|\texthtb|, +\verb|\textschwa|. The naming was made based on the literature listed +in section~\ref{sec:selection}. Among them, \PSG{} is particularly +important because it gives several explicit principles on naming. As +an example, the three terms `turned', `inverted' and `reversed' are +distinguished in the following way (p.\ xxvii): + +\begin{quote} +\begin{description}\itemsep0pt +\item[Turned] rotated by 180 degrees (e.g., \textipa{t} vs. \textipa{\*t}) +\item[Inverted] vertical mirror image (e.g., \textipa{\;R} vs. \textipa{K}) +\item[Reversed] horizontal mirror image (e.g., \textipa{P} vs. \textipa{Q}) +\end{description} +\end{quote} + +The name used as a control sequence is usually an abbreviated form of +the corresponding symbol name with a prefix \verb|\text|. The +conventions used in the abbreviation can be summarized as follows. + +\begin{itemize} +\itemsep0pt +\item Suffixes and endings such as `-ive', `-al', `-ed' are omitted. +\item `right', `left' are abbreviated to \texttt{r}, \texttt{l} respectively. +\item For `small capital' symbols, prefix \texttt{sc} is added. +\item A symbol with a hooktop is abbreviated as \texttt{ht}... +\item A symbol with a curly-tail is abbreviated as \texttt{ct}... +\item A `crossed' symbol is abbreviated as \texttt{cr}... +\item A ligature is abbreviated as ...\texttt{lig}. +\item For an old version of a symbol, prefix \texttt{O} is added. +\end{itemize} + +Note that the prefix \texttt{O} (old) should be given in uppercase +letter. + +Table~\ref{tab:naming} shows some examples of correspondence between +symbol names and control sequence names. + +\subsection{Ligatures} + +Just like the symbols such as ``, '', --, ---, fi, ff are realized as +ligatures by inputting \verb|``|, \verb|''|, \verb|--|, \verb|---|, +\verb|fi|, \verb|ff| in \TeX{}, two of the \tipa{} symbols, namely +\textsl{Secondary Stress} and \textsl{Double Pipe}, and double +quotation marks\footnote{Although \tipa{} fonts do not include the + symbols `` and '', a negative value of kerning is automatically + inserted between ` and `, ' and ', so that the same results can be + obtained as in the case of the normal text font.} can be inputted as +ligatures in the IPA environment. + +\begin{tipaexample} + \yitem \verb+\textipa{" "" | || `` ''}+ + \yitem \textipa{" "" | || `` ''} +\end{tipaexample} + +\subsection{Special macros {\tt\tbs*}, {\tt\tbs;}, {\tt\tbs:} and + {\tt\tbs!}}\label{sec:specialmacros} + +\tipa{} defines {\tt\tbs*}, {\tt\tbs:}, {\tt\tbs;} and {\tt\tbs!} as +special macros in order to easily input phonetic symbols that do not +have a shortcut character explained above. Before explaining how to +use these macros, it is necessary to note that these macros are +primarily intended to be used by linguists who usually do not care +about things in math mode. And they can be `dangerous' in that they +override existing \LaTeX{} commands used in the math mode. So if you +want to preserve the original meaning of these commands, declare the +option `\texttt{safe}' at the preamble. +(However, \tipa{} provides cammands called \verb|\tipamedspace|, +\verb|\tipathickspace| and \verb|\tipanegthinspace|, having the same +meanings as {\tt\tbs:}, {\tt\tbs;} and {\tt\tbs!}, respectively. These +can be used even in `unsafe' mode.) + + +The macro \verb|\*| is used in three different ways. First, when this +macro is followed by one of the letters f, k, r, t or w, it results in +a turned symbol.\footnote{This idea was pointed out by J\"org + Knappen.} + +\begin{tipaexample} + \yitem \verb|\textipa{\*f \*k \*r \*t \*w}| + \yitem \textipa{\*f \*k \*r \*t \*w} +\end{tipaexample} + +Secondly, when this macro is followed by one of the letters j, n, h, +l or z, it results in a frequently used symbol that otherwise has no +easy way to input. + +\begin{tipaexample} + \yitem \verb|\textipa{\*j \*n \*h \*l \*z}| + \yitem \textipa{\*j \*n \*h \*l \*z} +\end{tipaexample} + +Thirdly, when this macro is followed by letters other than the above +cases, they are turned into the symbols of the default text font. This +is useful in the IPA environment to select symbols temporarily from +the normal text font. + +\begin{tipaexample} + \yitem \verb|\textipa{\*A dOg, \*B k\ae{}t, | + \verb|ma\super{\*{214}}}| + \yitem \textipa{\*A dOg, \*B k\ae{}t, ma\super{\*{214}}} +\end{tipaexample} + +The remaining macros {\tt\tbs;}, {\tt\tbs:} and {\tt\tbs!} are +used to make small capital symbols, retroflex symbols, and implosives +or clicks, respectively. + +\begin{tipaexample} + \yitem \verb|\textipa{\;B \;E \;A \;H \;L \;R}| + \yitem \textipa{\;B \;E \;A \;H \;L \;R} + \yitem \verb|\textipa{\:d \:l \:n \:r \:s \:z}| + \yitem \textipa{\:d \:l \:n \:r \:s \:z} + \yitem \verb|\textipa{\!b \!d \!g \!j \!G \!o}| + \yitem \textipa{\!b \!d \!g \!j \!G \!o} +\end{tipaexample} + +\subsection{Punctuation marks} + +The following punctuation marks and text symbols that are +normally included in the text encoding are also included in the +\texttt{T3} encoding so that they can be directly inputted in the IPA +environment. + +\begin{tipaexample} + \yitem \verb|\textipa{! ' ( ) * + , - . / = ? [ ] `}| + \yitem \textipa{! ' ( ) * + , - .\ / = ? [ ] `} +\end{tipaexample} + +All the other punctuation marks and text symbols that are not included +in \texttt{T3} need to be inputted with a prefix \verb|\*| explained in +the last section when they appear in the IPA environment. + +\begin{tipaexample} + \yitem + \verb|\textipa{\*; \*: \*@ \*\# \*\$ \*\& \*\% \*\{ \*\}}| + \yitem \textipa{\*; \*: \*@ \*\# \*\$ \*\& \*\% \*\{ \*\}} +\end{tipaexample} + +\subsection{Accents and diacritics} + +Table~\ref{tab:accent} shows how to input accents and diacritics in +\tipa{} with some examples. Here again, there are two kinds of input +methods; one for the normal text environment, and the other for the +IPA environment. + +\begin{table} +\begin{center}\tabcolsep1em +\def\TblShrt#1{\hbox to 2em{#1\hss}} +\def\TblMvRt#1{\kern 2em #1} +\begin{tabular}{llc} +\hline +\textit{Input in the normal}& \textit{Input in the IPA} & \textit{Output} \\ +\textit{text environment} & \textit{environment} & \\ +\hline +\TblShrt{\Tt{'a}} & \TblMvRt{\Tt{'a}} &\textipa{\'a} \\ +\TblShrt{\Tt{"a}} & \TblMvRt{\Tt{"a}} &\textipa{\"a} \\ +\TblShrt{\Tt{~a}} & \TblMvRt{\Tt{\ttilde a}} &\textipa{\~a} \\ +\TblShrt{\Td{r}{a}} & \TblMvRt{\Td{r}{a}} &\textipa{\r{a}}\\ +\TblShrt{\Td{textsyllabic}{m}} & \TblMvRt{\Td{s}{m}} &\textipa{\s{m}}\\ +\TblShrt{\Td{textsubumlaut}{a}} & \TblMvRt{\Tt{"*a}} &\textipa{\"*a}\\ +\TblShrt{\Td{textsubtilde}{a}} & \TblMvRt{\Tt{\ttilde*a}} &\textipa{\~*a}\\ +\TblShrt{\Td{textsubring}{a}} & \TblMvRt{\Tt{r*a}} &\textipa{\r*a}\\ +\TblShrt{\Td{textdotacute}{e}} & \TblMvRt{\Tt{.'e}} &\textipa{\.'e}\\ +\TblShrt{\Td{textgravedot}{e}} & \TblMvRt{\Tt{`.e}} &\textipa{\`.e}\\ +\TblShrt{\Td{textacutemacron}{a}}& \TblMvRt{\Tt{'=a}} &\textipa{\'=a}\\ +\TblShrt{\Td{textcircumdot}{a}} & \TblMvRt{\Tt{\tcircum.a}}&\textipa{\^.a}\\ +\TblShrt{\Td{texttildedot}{a}} & \TblMvRt{\Tt{\ttilde.a}} &\textipa{\~.a}\\ +\TblShrt{\Td{textbrevemacron}{a}}& \TblMvRt{\Tt{u=a}} &\textipa{\u=a}\\ +%\Td{}{a} & \Tt{} &\textipa{}\\ +\hline +\end{tabular} +\end{center} +\caption{Examples of inputting accents and diacritics}\label{tab:accent} +\end{table} + +In the IPA environment, most of the accents and diacritics can be +inputted more easily than in the normal text environment, especially in +the cases of subscript symbols that are normally placed over a symbol +and in the cases of combined accents, as shown in the table. + +As can be seen by the above examples, most of the accents that are +normally placed over a symbol can be placed under a symbol by adding +an \texttt{*} to the corresponding accent command in the IPA environment. + +The advantage of IPA environment is further exemplified by the +all-purpose accent \verb+\|+, which is used as a macro prefix to +provide shortcut inputs for the diacritics that otherwise have to be +inputted by lengthy macro names. Table~\ref{tab:accprefix} shows examples +of such accents. Note that the macro \verb+\|+ is also `dangerous' in +that it has been already defined as a math symbol of \LaTeX{}. So if +you want to preserve the original meaning of this macro, declare +`\texttt{safe}' option at the preamble. +(However, there is an alternative command called \verb+\Vert+ +(originally defined in plain \TeX) which has the same meaning as +\verb+\|+ and can be used even if the \texttt{safe} option is not +specified.) + +\begin{table} +\begin{center}\tabcolsep1em +\def\TblShrt#1{\hbox to 2em{#1\hss}} +\def\TblMvRt#1{\kern 2em #1} +\begin{tabular}{llc} +\hline +\textit{Input in the normal}& \textit{Input in the IPA} & \textit{Output} \\ +\textit{text environment} & \textit{environment} & \\ +\hline +\TblShrt{\Td{textsubbridge}{t}} & \TblMvRt{\Tt{|[t}} & \textipa{\|[t}\\ +\TblShrt{\Td{textinvsubbridge}{t}}& \TblMvRt{\Tt{|]t}} & \textipa{\|]t}\\ +\TblShrt{\Td{textsublhalfring}{a}}& \TblMvRt{\Tt{|(a}} & \textipa{\|(a}\\ +\TblShrt{\Td{textsubrhalfring}{a}}& \TblMvRt{\Tt{|)a}} & \textipa{\|)a}\\ +\TblShrt{\Td{textroundcap}{k}} & \TblMvRt{\Td{|c}{k}} & \textipa{\|c{k}}\\ +\TblShrt{\Td{textsubplus}{o}} & \TblMvRt{\Tt{|+o}} & \textipa{\|+o}\\ +\TblShrt{\Td{textraising}{e}} & \TblMvRt{\Tt{|'e}} & \textipa{\|'e}\\ +\TblShrt{\Td{textlowering}{e}} & \TblMvRt{\Tt{|`e}} & \textipa{\|`e}\\ +\TblShrt{\Td{textadvancing}{o}} & \TblMvRt{\Tt{|<o}} & \textipa{\|<o}\\ +\TblShrt{\Td{textretracting}{a}} & \TblMvRt{\Tt{|>a}} & \textipa{\|>a}\\ +\TblShrt{\Td{textovercross}{e}} & \TblMvRt{\Td{|x}{e}} & \textipa{\|x{e}}\\ +\TblShrt{\Td{textsubw}{k}} & \TblMvRt{\Td{|w}{k}} & \textipa{\|w{k}}\\ +\TblShrt{\Td{textseagull}{t}} & \TblMvRt{\Td{|m}{t}} & \textipa{\|m{t}}\\ +\hline +\end{tabular} +\end{center} +\caption{Examples of the accent prefix {\tt \tbs|}}\label{tab:accprefix} +\end{table} + +Finally, examples of words with complex accents that are inputted in the +IPA environment are shown below. + +\begin{tipaexample} + \yitem \verb+\textipa{*\|c{k}\r*mt\'om + + \verb+*bhr\'=at\=er}+ + \yitem \textipa{*\|c{k}\r*mt\'om *bhr\'=at\=er} +\end{tipaexample} + +For a full list of accents and diacritics, see Appendix~A. + +\subsection{Superscript symbols} + +In the normal text environment, superscript symbols can be inputted by a +\LaTeX{} macro called \verb|\textsuperscript|. This macro takes one +argument which can be either a symbol or a string of symbols, and can +be nested. + +Since the name of this macro is too long, \tipa{} provides an +abbreviated form of this macro called \verb|\super|. + +\begin{tipaexample} + \xitem + \verb|t\textsuperscript h | + \verb|k\textsuperscript w|\\ + \verb|a\textsuperscript{bc}|\\ + \verb|a\textsuperscript{b\textsuperscript{c}}| + \xitem + t\textsuperscript h k\textsuperscript w a\textsuperscript{bc} + a\textsuperscript{b\textsuperscript{c}} + \xitem + \verb|\textipa{t\super{h} k\super{w}|\\ + \verb| a\super{bc} a\super{b\super{c}}}| + \xitem + \textipa{\textipa{t\super{h} k\super{w} a\super{bc} + a\super{b\super{c}}}} +\end{tipaexample} + +\noindent +(A quiz question: A careful reader may have noticed that the above +\textit{Output1} and \textit{Output2} slightly differ. Explain the +reason.) + +\medskip + +These macros automatically select the correct size of superscript font +no matter what size of text font is used. + +\subsection{Tone letters}\label{sec:tone} + +\tipa{} provides a flexible system of macros for `tone letters'. A +tone letter is represented by a macro called `\verb|\tone|', which +takes one argument consisting of a string of numbers ranging from 1 to +5. These numbers denote pitch levels, 1 being the lowest and 5, the +highest. Within this range, any combination is allowed and there is no +limit in the length of combination. + +As an example of the usage of the tone letter macro, the four tones of +Chinese are shown below. + +\begin{tipaexample} + \yitem + \verb|\tone{55}ma ``mother'', | + \verb|\tone{35}ma ``hemp'',|\\ + \verb|\tone{214}ma ``horse'', | + \verb|\tone{51}ma ``scold''| + \yitem + ma\tone{55} ``mother'', ma\tone{35} ``hemp'', + ma\tone{214} ``horse'', ma\tone{51} ``scold'' +\end{tipaexample} + +The next example looks ridiculous but shows capabilities of the tone +letter macro. + +\begin{tipaexample} + \yitem + \verb|\tone{15253545}| + \yitem + \tone{15253545} +\end{tipaexample} + +\subsubsection{{\tt\tbs stone}} + +In some languages, length distinctions accompany the tone letter +description. In such cases a command called \verb|\stone| can be used +to represent a tone letter that is shorter than a usual one. The next +example from Cantonese illustrates this (look at the examples for +\emph{entering tones}). + +\begin{center} +\begin{tabular}{l|c|c} +\emph{Tone name} & \emph{Input} & \emph{Output} \\ +\hline +high level & \verb|\tone{53}| or \verb|\tone{55}|&\tone{53} or \tone{55}\\ +low level & \verb|\tone{21}| or \verb|\tone{22}|&\tone{21} or \tone{22}\\ +\hline +high rising & \verb|\tone{35}| & \tone{35} \\ +low rising & \verb|\tone{24}| & \tone{24} \\ +\hline +high departing & \verb|\tone{44}| & \tone{44} \\ +low departing & \verb|\tone{33}| & \tone{33} \\ +\hline +high entering & \verb|\stone{55}| & \stone{55} \\ +mid entering & \verb|\stone{44}| & \stone{44} \\ +low entering & \verb|\stone{33}| & \stone{33} \\ +\end{tabular} +\end{center} + +\subsubsection{{\tt\tbs rtone}} + +In some languages, the level/contour bars are placed at the right hand +side of the vertical bar. In such cases a command called \verb|\rtone| +is used instead of \verb|\tone|. The next example is from the Kyoto +Japanese. + +\begin{tipaexample} + \yitem + \verb|\textipa{[\rtone{11}a\rtone{53}me]} `rain'| + \yitem + \textipa{[\rtone{11}a\rtone{53}me]} `rain' +\end{tipaexample} + + +\section{How easy is it to input phonetic symbols?} + +Let us briefly estimate here how easy (or difficult) it is to input +phonetic symbols with \tipa{} in terms of the number of keystrokes. + +The following table shows statistics for all the phonetic symbols that +appear in the '93 version of IPA chart (diacritics and symbols for +su\-pra\-seg\-men\-tals excluded). It is assumed here that each symbol +is inputted within the IPA environment and the \texttt{safe} option is +not specified. + +\begin{center} +\begin{tabular}{c|c|l} +\emph{keystrokes} & \emph{number} & \emph{examples} \\ +\hline +1 & 65 & \textipa{a, b, @, A, B, etc.} \\ +2 & 2 & \textipa{\o, ||} \\ +3 & 30 & \textipa{\ae, \:t, \;B, \!b, etc.} \\ +5 & 1 & \textipa{\c{c}} \\ +more than 5 & 7 & \textipa{\textcloseepsilon, \textbarglotstop, + \textdoublebarpipe, \textturnmrleg, etc.} +\end{tabular} +\end{center} + +As is shown in the table, about 92\% of the symbols can be inputted +within three keystrokes. + +\section{Changing font styles} + +\begin{table} +\begin{center} +\begin{tabular}{@{\hspace{0pt}}lll} +\hline +\textit{Font style}& \textit{Input in the IPA environment}& \textit{Output} \\ +\hline +\emph{Roman}&\verb|\textipa{f@"nEtIks}| &\textipa{f@"nEtIks} \\ +\emph{Slanted}&\verb|\textipa{\slshape f@"nEtIks}|&\textipa{\slshape f@"nEtIks}\\ +or &\verb|\textipa{\textsl{f@"nEtIks}|&\textipa{\textsl{f@"nEtIks}}\\ +or &\verb|\textsl{\textipa{f@"nEtIks}|&\textsl{\textipa{f@"nEtIks}}\\ +\emph{Bold extended} & \verb|\textipa{\bfseries f@"nEtIks}| & + \textipa{\bfseries f@"nEtIks}\\ +or &\verb|\textipa{\textbf{f@"nEtIks}|&\textipa{\textbf{f@"nEtIks}}\\ +or &\verb|\textbf{\textipa{f@"nEtIks}|&\textbf{\textipa{f@"nEtIks}}\\ +\emph{Sans serif}& \verb|\textipa{\sffamily f@"nEtIks}| & + \textipa{\sffamily f@"nEtIks}\\ +or &\verb|\textipa{\textsf{f@"nEtIks}|&\textipa{\textsf{f@"nEtIks}}\\ +or &\verb|\textsf{\textipa{f@"nEtIks}|&\textsf{\textipa{f@"nEtIks}}\\ +\emph{Typewriter Text}& \verb|\textipa{\ttfamily f@"nEtIks}| & + \textipa{\ttfamily f@"nEtIks}\\ +or &\verb|\textipa{\texttt{f@"nEtIks}|&\textipa{\texttt{f@"nEtIks}}\\ +or &\verb|\texttt{\textipa{f@"nEtIks}|&\texttt{\textipa{f@"nEtIks}}\\ +\hline +\end{tabular} +\end{center} +\caption{Examples of font switching}\label{tab:fontswitch} +\end{table} + +This version of \tipa{} includes five styles of fonts, i.e., roman, +slanted, bold, bold extended, sans serif and typewriter. These styles can be +switched in much the same way as in the normal text fonts (see +table~\ref{tab:fontswitch}). + +The bold fonts are usually not used within the standard \LaTeX{} class +packages so that if you want to use them, it is necessary to use +low-level font selection commands of \LaTeXe. + +\begin{tipaexample} + \yitem \verb|{\fontseries{b}\selectfont| + \verb|abcdefg \textipa{ABCDEFG}}| + \yitem {\fontseries{b}\selectfont abcdefg \textipa{ABCDEFG}} +\end{tipaexample} + +Note also that slanting of \tipa{} symbols should correctly work even +in the cases of nested accents and in the cases of symbols made up +by macros. + +\begin{tipaexample} + \yitem \verb|\textsl{\textipa{\'{\"{\u*{e}}}}}| + \yitem \textsl{\textipa{\'{\"{\u*{e}}}}} + \yitem \verb|\textsl{\textdoublebaresh}| + \yitem \textsl{\textdoublebaresh\/} {\small(This symbol is + composed by a macro.)} +\end{tipaexample} + + +\clearemptydoublepage +\chapter{Customizing TIPA} + + +\section{Internal commands} + +Some of the internal commands of \tipa{} are defined without the +letter \texttt{@} in order to allow a user to extend the capability of +\tipa{}. + +\subsection{{\tt\tbs ipabar}} + +Some \tipa{} symbols such as \verb|\textbarb| \textbarb, +\verb|\textcrtwo| \textcrtwo{} are defined by using an internal macro +command \verb|\ipabar|. This command is useful when you want to make +barred or crossed symbols not defined in \tipa{}. + +This command requires the following five parameters to control the +position and length of the bar. + +\begin{itemize} +\itemsep0pt +\item {\tt\#1} the symbol to be barred +\item {\tt\#2} the height of the bar (in dimen) +\item {\tt\#3} bar width +\item {\tt\#4} left kern added to the bar +\item {\tt\#5} right kern added to the bar +\end{itemize} + +Parameters \texttt{\#3}, \texttt{\#4}, \texttt{\#5} are to be given in +a scaling factor to the width of the symbol, which is equal to 1 if +the bar has the same width as the symbol in question. For example, +the following command states a barred b (\textbarb) of which the bar +position in the y-coordinate is \verb|.5ex| and the width of the bar +is slightly larger than that of the letter b. + +\begin{verbatim} + % Barred B + \newcommand\textbarb{% + \ipabar{{\tipaencoding b}}{.5ex}{1.1}{}{}} +\end{verbatim} + +Note that the parameters \texttt{\#4} and \texttt{\#5} can be left +blank if the value is equal to 0. + +And the next example declares a barred c (\textbarc) of which the bar +width is a little more than half as large as the letter c and it has +the same amount of kerning at the right. + +\begin{verbatim} + % Barred C + \newcommand\textbarc{% + \ipabar{{\tipaencoding c}}{.5ex}{.55}{}{.55}} +\end{verbatim} + +More complex examples with the \verb|\ipabar| command are found in +\texttt{T3enc.def}. + +\subsection{{\tt\tbs tipaloweraccent}, {\tt\tbs tipaupperaccent}} + +These two commands are used in the definitions of \tipa{} accents and +diacritics. They are special forms of the commands \verb|\loweraccent| +and \verb|\upperaccent| that are defined in \texttt{exaccent.sty}. The +difference between the commands with the prefix \verb|tipa| and the +ones without it is that the former commands select accents from a T3 +encoded font while the latter ones do so from the current text font. + +These commands take two parameters, the code of the accent (in +decimal, octal or hexadecimal number) and the +symbol to be accented, as shown below. + +\begin{tipaexample} + \yitem \verb|\tipaupperaccent{0}{a}| + \yitem \tipaupperaccent{0}{a} +\end{tipaexample} + +Optionally, these commands can take an extra parameter to adjust the +vertical position of the accent. Such an adjustment is sometimes +necessary in the definition of a nested accent. The next example shows +\tipa's definition of the `Circumflex Dot Accent' (e.g., +\textcircumdot{a}). + +\begin{verbatim} + % Circumflex Dot Accent + \newcommand\textcircumdot[1]{\tipaupperaccent[-.2ex]{2}% + {\tipaupperaccent[-.1ex]{10}{#1}}} +\end{verbatim} + +This definition states that a dot accent is placed over a symbol +thereby reducing the vertical distance between the symbol and the dot +by \texttt{.1ex}, and a circumflex accent is placed over the dot and +the distance between the two accents is reduced by \texttt{.2ex}. + +If you want to make a combined accent not included in \tipa{}, you can +do so fairly easily by using these two commands together with the +optional parameter. For more examples of these commands, see +\verb|tipa.sty| and \verb|extraipa.sty|. + +\subsection{{\tt\tbs tipaLoweraccent}, {\tt\tbs tipaUpperaccent}} + +These two commands differ from the two commands explained above in that +the first parameter should be a symbol (or any other thing, typically +an \verb|\hbox|), rather than the code of the accent. They are special +cases of the commands \verb|\Loweraccent| and \verb|\Upperaccent| and +the difference between the two pairs of commands is the same as before. + +The next example makes a schwa an accent. + +\begin{tipaexample} + \yitem + \verb|\tipaUpperaccent[.2ex]%|\\ + \verb| {\lower.8ex\hbox{\textipa{\super@}}}{a}| + \yitem + \tipaUpperaccent[.2ex]{\lower.8ex\hbox{\textipa{\super@}}}{a} +\end{tipaexample} + +The next example is an interesting application of this command for the +Middle High German (This macro and the example below are provided +by Christian Folini and now included in \texttt{tipa.sty}). + +\begin{verbatim} + \newcommand{\sups}[2]{\textipa{\tipaUpperaccent[.2ex]{% + \lower.8ex\hbox{\super{#2}}}{#1}}} +\end{verbatim} + +\begin{quote} +Und swer dc mit flis t\sups{u}{o}t, so stat das gelt und \sups{o}{v}ch +d\`{u} g\sups{u}{e}ter in deste bessere behabn\`{u}sse und +beh\`{u}gde. (1330 AD.\ Translation: And if this is done with +diligence, the money and the affairs will be in better shape.) +\end{quote} + +In this example, t\sups{u}{o}t is inputted as \verb|t\sups{u}{o}t| and so +on. + +\subsection{{\tt\tbs ipaclap}} + +This command is useful if you need to compose a new symbol by +overlapping two symbols. This command is different from \TeX's +commands \texttt{\tbs llap} and \texttt{\tbs rlap} in that the +alignment is made at the center of each symbol. + +The next example shows how to make a Slashed B. + +\begin{tipaexample} + \yitem \verb|\ipaclap{\textipa{b}}{\textipa{/}}| + \yitem \ipaclap{\textipa{b}}{\textipa{/}} +\end{tipaexample} + + +\section{Manual Kerning} + +The shapes of phonetic symbols are sometimes \emph{nasty} in the sense +that they can have a leftward or rightward protrusion that cannot +be found in the case of normal text fonts. In such cases it is +sometimes necessary to input kerning commands manually. + +One way to do this is to prepare a set of kerning commands like the +following: + +\begin{verbatim} + \newcommand\K{\kern.05em} % small amount of kerning + \newcommand\KK{\kern.1em} % middle amount of kerning + \newcommand\KKK{\kern.2em} % big amount of kerning +\end{verbatim} + +\newcommand\K{\kern.05em} % small amount of kerning +\newcommand\KK{\kern.1em} % middle amount of kerning +\newcommand\KKK{\kern.2em} % big amount of kerning + +And then to put these commands whenever necessary. For example: + +\begin{tipaexample} + \yitem \verb|\textipa{[\textrhooke r]}| + \yitem \textipa{[\textrhooke r]} --- This is OK but + \yitem \verb|\textipa{[\textrhooke]}| + \yitem \textipa{[\textrhooke]} --- this doesn't look good so that + \yitem \verb|\textipa{[\textrhooke\KK]}| + \yitem \textipa{[\textrhooke\KK]} --- manually fixed like this. +\end{tipaexample} + +\clearemptydoublepage +\chapter*{Acknowledgments} +\addcontentsline{toc}{chapter}{Acknowledgments} + +First of all, many thanks are due to the co-authors of \tsipa{}, +Kobayashi Hajime and Shirakawa Shun. Ko\-ba\-yashi Hajime was the main +font designer of \tsipa{}. Shirakawa Shun worked very hard in deciding +encoding, checking the shapes of symbols and writing the Japanese +version of the document. \tipa{} was impossible without \tsipa{}. + +I would like to thank also J\"org Knappen whose insightful comments +greatly helped the development of \tipa{} in many ways. I was also +helped and encouraged by Christina Thiele, Martin Haase, Kirk Sullivan +and many other members of the \texttt{ling-tex} mailing list. + +At the last stage of the development of \tipa{}, Frank Mittelbach gave +me precious comments on how to incorporate various \tipa{} commands +into the NFSS. I would like to thank also Barbara Beeton who kindly +read over the preliminary draft of this document and gave me useful +comments. + +After the first release, I also received useful comments from: +Dominique Unruh, Peter Zimmermann, Rafael Laboissi\`ere, Yoshinari +Fujino, Walter Schmidt, Dirk Janssen, Joachim Becker, Christian +Folini, Conrado Badenas, Alexis Dimitriadis, John Frampton and +probably from many others. I am very sorry that I haven't recorded all +the names. Please let me know if your name is missing. I am also sorry +that I sometimes have been unable to follow all the advice simply +because of lack of time. Finally, Donna Erickson kindly read over the +draft of the present version and corrected my English. All remaining +errors are, of course, my own. + +\clearemptydoublepage +\bibliographystyle{plainnat} +\addcontentsline{toc}{chapter}{Bibliography} +\bibliography{tipa} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "tipaman" +%%% End: diff --git a/fonts/tipa/tipa/doc/tipaman2.tex b/fonts/tipa/tipa/doc/tipaman2.tex new file mode 100644 index 0000000000..fefe92702e --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman2.tex @@ -0,0 +1,1687 @@ +% tipaman2.tex +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +\appendix +\addcontentsline{toc}{chapter}{Appendix} + +\begingroup +\raggedbottom + +\chapter{Annotated List of TIPA Symbols} + +For each symbol, a large scale image of the symbol is displayed with a +frame. Within the frame, horizontal lines that indicate +\verb|x_height| and baseline are also shown. At the top left corner of +a frame, a number indicating the octal code +of the symbol is shown. In the case of a symbol from +\texttt{tipx} fonts, the code number is underlined. + +Next, the following information is shown at the right of each symbol +in this order: (1) the name of the symbol, (2) explanation on its +usage with some examples (for non-IPA usages, an asterisk is put at the +beginning), (3) input method in typewriter style, and finally (4) +sources or references. + +Sometimes the input method is displayed in the form of \textit{Input1: + xxx, Input2: yyy\/}. In such cases \textit{Input1} indicates the one +used in the normal text environment and \textit{Input2}, the one used +in the IPA environment. + +The following abbreviations are used in the examples of usage and +explanations in the footnote. + +\vspace{1cm} + +\emph{ExtIPA} = \emph{ExtIPA Symbols for Disordered Speech} + +\emph{VoQS} = \emph{Voice Quality Symbols} + +\PSG{} = \emph{Phonetic Symbol Guide} \citep{PSG:II} + +\emph{Handbook} = \emph{Handbook of the International Phonetic + Association} \citep{Handbook} + +\emph{Principles} = \emph{Principles of the International Phonetic + Association} \citep{Principles} + +\emph{JIPA} = \emph{Journal of the International Phonetic Association} + +\emph{IE} Indo-European + +\emph{OHG} Old High German + +\emph{OCS} Old Church Slavic + + +\newpage +\section{Vowels and Consonants}\label{list:symbols} + +\begingroup +\setlength\parindent{0pt} + +\medskip + +\ipaitem{a}{Lower-case A}% + {open front unrounded vowel}% + {a}{}{\ipaall}{'141} + +\ipxitem{\textrhooka}{Right-hook A}% + {}% + {\tbs textrhooka}{}{\PSG}{'040} + +\ipaitem{\textturna}{Turned A}% + {near-open central vowel}% + {\tbs textturna}{5}{\ipaall}{'065} + +\ipaitem{\textscripta}{Script A}% + {open back unrounded vowel}% + {\tbs textscripta}{A}{\ipaall}{'101} + +\ipaitem{\textturnscripta}{Turned script A}% + {open back rounded vowel}% + {\tbs textturnscripta}{6}{\ipaall}{'066} + +\ipxitem{\textinvscripta}{Inverted script A}% + {}% + {\tbs textinvscripta}{}{\PSG}{'041} + +\ipaitem{\ae}{Ash}% + {near-open front unrounded vowel}% + {\tbs ae}{}{\ipaall}{'346} + +\ipxitem{\textaolig}{A-O ligature }% + {}% + {\tbs textaolig}{}{\PSG}{'042} + +\ipaitem{\textsca}{Small capital A\footnotemark}% + {*open central unrounded vowel}% + {\tbs textsca}{\tbs;A}{\PSG}{'300}% + \footnotetext{This symbol is fairly common among Chinese + phoneticians.} + +\ipxitem{\textlhookfour}{Left-hook four }% + {}% + {\tbs textlhookfour}{}{\PSG}{'043} + +\ipxitem{\textinvsca}{Inverted small capital A }% + {}% + {\tbs textinvsca}{}{\PSG}{'160} + +\ipxitem{\textscaolig}{Small capital A-O ligature }% + {}% + {\tbs textscaolig}{}{\PSG}{'161} + +\ipaitem{\textturnv}{Turned V\footnotemark}% + {open-mid back unrounded vowel}% + {\tbs textturnv}{2}{\ipaall}{'062}% + \footnotetext{In a previous version of \PSG{} this symbol was + called `Inverted V' but it was apparently a mistake.} + +\ipxitem{\textscdelta}{Small capital delta }% + {}% + {\tbs textscdelta}{}{\PSG}{'162} + +\ipaitem{b}{Lower-case B}% + {voiced bilabial plosive}% + {b}{}{\ipaall}{'142} + +\ipaitem{\textcrb}{Crossed B}% + {}% + {\tbs textcrb}{}{\PSG}{'240} + +\ipaitem{\textbarb}{Barred B}% + {}% + {\tbs textbarb}{}{\PSG}{Macro} + +\ipaitem{\textsoftsign}{Soft sign}% + {*as in \emph{OCS} ogn\textsoftsign{} `fire'.}% + {\tbs textsoftsign}{}{\PSG}{'272} + +\ipaitem{\texthardsign}{Hard sign}% + {*as in \emph{OCS} grad\texthardsign{} `town'.}% + {\tbs texthardsign}{}{\PSG}{'273} + +\ipaitem{\texthtb}{Hooktop B}% + {voiced bilabial implosive}% + {\tbs texthtb}{\tbs!b}{\ipaall}{'341} + +\ipaitem{\textscb}{Small capital B}% + {voiced bilabial trill}% + {\tbs textscb}{\tbs;B}{\ipanew}{'340} + +\ipaitem{\textbeta}{Beta}% + {voiced bilabial fricative}% + {\tbs textbeta}{B}{\ipaall}{'102} + +\ipaitem{c}{Lower-case C}% + {voiceless palatal plosive}% + {c}{}{\ipaall}{'143} + +\ipaitem{\textbarc}{Barred C}% + {}% + {\tbs textbarc}{}{\PSG}{Macro} + +\ipaitem{\v{c}}{Wedge C}% + {*equivalent to IPA \textipa{tS}}% + {\TD{v}{c}}{}{\PSG}{Macro} + +\ipaitem{\c{c}}{C Cedilla}% + {voiceless palatal fricative}% + {\TD{c}{c}}{}{\ipaall}{'347} + +\ipaitem{\texthtc}{Hooktop C}% + {voiceless palatal implosive}% + {\tbs texthtc}{}{IPA '89}{'301} + +\ipaitem{\textctc}{Curly-tail C}% + {voiceless alveolo-palatal fricative}% + {\tbs textctc}{C}{\ipaall}{'103} + +\ipaitem{\textstretchc}{Stretched C\footnotemark}% + {postalveolar click}% + {\tbs textstretchc}{}{\ipaold}{'302}% + \footnotetext{The shape of this symbol differs according to the + sources. In \PSG{} and recent articles in \emph{JIPA}, it is + `stretched' toward both the ascender and descender regions and the + whole shape looks like a thick staple. In the old days, however, + it was stretched only toward the descender and the whole shape + looked more like a stretched c, as is shown in the next item + (original form).} + +\ipxitem{\textstretchcvar}{Stretched C (original form) }% + {}% + {\tbs textstretchcvar}{}{\cite{Hottentot}}{'044} + +\ipxitem{\textctstretchc}{Curly-tail stretched C }% + {}% + {\tbs textctstretchc}{}{\PSG}{'045} + +\ipxitem{\textctstretchcvar}{Curly-tail stretched C (original form) }% + {}% + {\tbs textctstretchcvar}{}{\cite{Hottentot}}{'046} + +\ipaitem{d}{Lower-case D}% + {voiced dental or alveolar plosive}% + {d}{}{\ipaall}{'144} + +\ipaitem{\textcrd}{Crossed D}% + {}% + {\tbs textcrd}{}{\PSG}{'241} + +\ipaitem{\textbard}{Barred D}% + {}% + {\tbs textbard}{}{\PSG}{Macro} + +\ipxitem{\textfrhookd}{Front-hook D }% + {}% + {\tbs textfrhookd}{}{\PSG}{'047} + +\ipxitem{\textfrhookdvar}{Front-hook D (Original)\footnotemark}% + {}% + {\tbs textfrhookdvar}{}{}{'050}% + \footnotetext{This shape is used by \cite{Jones:Phoneme}.} + +\ipaitem{\texthtd}{Hooktop D}% + {voiced dental or alveolar implosive}% + {\tbs texthtd}{\tbs!d}{\ipaall}{'342} + +\ipaitem{\textrtaild}{Right-tail D}% + {voiced retroflex plosive}% + {\tbs textrtaild}{\tbs:d}{\ipaall}{'343} + +\ipaitem{\texthtrtaild}{Hooktop right-tail D }% + {voiced retroflex implosive}% + {\tbs texthtrtaild}{}{\PSG, \Handbook}{'243} + +\ipaitem{\textctd}{Curly-tail D}% + {*voiced alveolo-palatal plosive}% + {\tbs textctd}{}{}{'242} + +\ipxitem{\textdblig}{D-B ligature }% + {}% + {\tbs textdblig}{}{\PSG}{'051} + +\ipaitem{\textdzlig}{D-Z ligature}% + {}% + {\tbs textdzlig}{}{\PSG}{Macro} + +\ipaitem{\textdctzlig}{D-Curly-tail Z ligature}% + {}% + {\tbs textdctzlig}{}{}{Macro} + +\ipaitem{\textdyoghlig}{D-Yogh ligature}% + {voiced postalveolar affricate}% + {\tbs textdyoghlig}{}{\ipaall}{'303} + +\ipaitem{\textctdctzlig}{Curly-tail D-Curly-tail Z ligature}% + {}% + {\tbs textctdctzlig}{}{}{Macro} + +\ipaitem{\dh}{Eth}% + {voiced dental fricative}% + {\tbs dh}{D}{\ipaall}{'104} + +\ipaitem{e}{Lower-case E}% + {close-mid front unrounded vowel}% + {e}{}{\ipaall}{'145} + +\ipxitem{\textrhooke}{Right-hook E }% + {}% + {\tbs textrhooke}{}{\PSG}{'052} + +\ipaitem{\textschwa}{Schwa}% + {mid central vowel}% + {\tbs textschwa}{@}{\ipaall}{'100} + +\ipaitem{\textrhookschwa}{Right-hook schwa}% + {r-colored \textschwa}% + {\tbs textrhookschwa}{}{\ipaold}{'304} + +\ipaitem{\textreve}{Reversed E}% + {close-mid central unrounded vowel}% + {\tbs textreve}{9}{\ipaall}{'071} + +\ipaitem{\textsce}{Small capital E}% + {}% + {\tbs textsce}{\tbs;E}{\PSG}{'244} + +\ipaitem{\textepsilon}{Epsilon}% + {open-mid front unrounded vowel}% + {\tbs textepsilon}{E}{\ipaall}{'105} + +\ipxitem{\textrhookepsilon}{Right-hook epsilon }% + {}% + {\tbs textrhookepsilon}{}{\PSG}{'053} + +\ipaitem{\textcloseepsilon}{Closed epsilon\footnotemark}% + {(obsolete) open-mid central rounded vowel}% + {\tbs textcloseepsilon}{}{IPA '93}{'305}% + \footnotetext{In the 1993 version of IPA, this symbol was used as + the symbol for the open-mid central rounded vowel. However, in the + 1996 version, this symbol was replaced by Closed reversed epsilon, + i.e., \textcloserevepsilon. In fact, it was a typographical error, as + was anounced in \citet[p.\ 48]{IPA:Preview}.} + +\ipaitem{\textrevepsilon}{Reversed epsilon}% + {open-mid central unrounded vowel}% + {\tbs textrevepsilon}{3}{\ipaall}{'063} + +\ipaitem{\textrhookrevepsilon}{Right-hook reversed epsilon}% + {r colored \textrevepsilon}% + {\tbs textrhookrevepsilon}{}{\PSG}{'307} + +\ipaitem{\textcloserevepsilon}{Closed reversed epsilon\footnotemark}% + {open-mid central rounded vowel}% + {\tbs textcloserevepsilon}{}{\Handbook}{'306}% + \footnotetext{See the footnote above.} + +\ipaitem{f}{Lower-case F}% + {voiceless labiodental fricative}% + {f}{}{\ipaall}{'146} + +\ipxitem{\textscf}{Small capital F }% + {}% + {\tbs textscf}{}{\PSG}{'163} + +\ipaitem{g}{Lower-case G}% + {voiced velar plosive}% + {\tbs textscriptg}{g}{\ipaall}{'147} + +\ipaitem{\textbarg}{Barred G}% + {}% + {\tbs textbarg}{}{\PSG}{Macro} + +\ipaitem{\textcrg}{Crossed G}% + {}% + {\tbs textcrg}{}{\PSG}{Macro} + +\ipaitem{\texthtg}{Hooktop G}% + {voiced velar implosive}% + {\tbs texthtg}{\tbs!g}{\ipaall}{'344} + +\ipaitem{\textg}{Looptail G}% + {equivalent to \textscriptg}% + {g}{\tbs textg}{}{'245} + +\ipaitem{\textscg}{Small capital G}% + {voiced uvular plosive}% + {\tbs textscg}{\tbs;G}{\ipaall}{'345} + +\ipaitem{\texthtscg}{Hooktop small capital G}% + {voiced uvular implosive}% + {\tbs texthtscg}{\tbs!G}{\ipanew}{'311} + +\ipaitem{\textgamma}{Gamma}% + {voiced velar fricative}% + {\tbs textgamma}{G}{\ipaall}{'107} + +\ipxitem{\textgrgamma}{Greek gamma\footnotemark}% + {}% + {\tbs textgrgamma}{}{\PSG}{'054}% + \footnotetext{It is not my intention to include all the Greek letters + appearing in \PSG. The reason for including this symbol is to + assure typographical consistency with the next two symbols derived from + Greek gamma.} + +\ipxitem{\textfrtailgamma}{Front-tail gamma }% + {}% + {\tbs textfrtailgamma}{}{\PSG}{'055} + +\ipxitem{\textbktailgamma}{Back-tail gamma }% + {}% + {\tbs textbktailgamma}{}{\PSG}{'056} + +\ipaitem{\textbabygamma}{Baby gamma}% + {(obsolete) close-mid back unrounded vowel}% + {\tbs textbabygamma}{}{\ipaold}{'310} + +\ipaitem{\textramshorns}{Ram's horns}% + {close-mid back unrounded vowel}% + {\tbs textramshorns}{7}{\ipanew}{'067} + +\ipaitem{h}{Lower-case H}% + {voiceless glottal fricative}% + {h}{}{\ipaall}{'150} + +\ipaitem{\texthvlig}{H-V ligature}% + {*as in \emph{Gothic} \texthvlig{}as `what'.}% + {\tbs texthvlig}{}{\PSG}{'377} + +\ipaitem{\textcrh}{Crossed H\footnotemark}% + {voiceless pharyngeal fricative}% + {\tbs textcrh}{}{\ipaall}{'350}% + \footnotetext{In \Handbook, this symbol is called `Barred H'.} + +\ipaitem{\texthth}{Hooktop H}% + {voiced glottal fricative}% + {\tbs texthth}{H}{\ipaall}{'110} + +\ipxitem{\textrtailhth}{Right-tail hooktop H }% + {}% + {\tbs textrtailhth}{}{\PSG}{'057} + +\ipxitem{\textheng}{Heng }% + {}% + {\tbs textheng}{}{\PSG}{'060} + +\ipaitem{\texththeng}{Hooktop heng}% + {simultaneous \textesh\ and x}% + {\tbs texththeng}{}{\ipaall}{'312} + +\ipaitem{\textturnh}{Turned H}% + {voiced labial-palatal approximant}% + {\tbs textturnh}{4}{\ipaall}{'064} + +\ipaitem{\textsch}{Small capital H}% + {voiceless epiglottal fricative}% + {\tbs textsch}{\tbs;H}{\ipanew}{'313} + +\ipaitem{i}{Lower-case I}% + {close front unrounded vowel}% + {i}{}{\ipaall}{'151} + +\ipaitem{\i}{Undotted I}% + {*used in Turkish orthography}% + {\tbs i}{}{\PSG}{'031} + +\ipaitem{\textbari}{Barred I}% + {close central unrounded vowel}% + {\tbs textbari}{1}{\ipaall}{'061} + +\ipaitem{\textsci}{Small capital I}% + {near-close near-front unrounded vowel}% + {\tbs textsci}{I}{\ipanew}{'111} + +\ipaitem{\textiota}{Iota}% + {(obsolete) near-close near-front unrounded vowel}% + {\tbs textiota}{}{\ipaold}{'314} + +\ipxitem{\textlhti}{Left-hooktop I\footnotemark}% + {}% + {\tbs textlhti}{}{}{'061}% + \footnotetext{This symbol is sometimes found instead of + \textlhtlongi\ (next item) in textbooks of Chinese in Japan.} + +\ipaitem{\textlhtlongi}{Left-hooktop Long I\footnotemark}% + {}% + {\tbs textlhtlongi}{}{\PSG}{'246}% + \footnotetext{The two symbols \textlhtlongi{} and \textvibyi{} + are mainly used among Chinese linguists. These + symbols are based on ``det svenska landsm\aa{}lsalfabetet'' and + introduced to China by Bernhard Karlgren. The original shapes of + these symbols were in italic as was always the case with + ``det svenska landsm\aa{}lsalfabetet''. It seems that the Chinese + linguists who wanted to continue to use these symbols in IPA + changed their shapes upright. \PSG's descriptions to the origin of + these symbols are inaccurate.} + +\ipaitem{\textvibyi}{Viby I\footnotemark}% + {}% + {\tbs textvibyi}{}{\PSG}{'247}% + \footnotetext{I call this symbol `Viby I', based on the + following description by Bernhard Karlgren: ``Une voyelle tr\`es + analogue \`a \textvibyi{} se rencontre dans certains dial.\ su\'edois; + on l'appelle `i de Viby'.'' \citep[p.\ 295]{Karlgren}\label{vibyi}} + +\ipaitem{\textraisevibyi}{Raised Viby I}% + {}% + {\tbs textraisevibyi}{}{}{Macro} + +\ipaitem{j}{Lower-case J}% + {voiced palatal approximant}% + {j}{}{\ipaall}{'152} + +\ipaitem{\j}{Undotted J}% + {}% + {\tbs j}{}{}{'032} + +\ipaitem{\textctj}{Curly-tail J\footnotemark}% + {voiced palatal fricative}% + {\tbs textctj}{J}{\ipanew}{'112}% + \footnotetext{In the official IPA charts of '89 through '96, this symbol + has a dish serif on top of the stem, rather than the normal sloped + serif found in the letter j. I found no reason why it should have + a dish serif here, so I changed it to a normal sloped serif. + The official (?) IPA shape can be used by the \texttt{\tbs textctjvar} + command. (\textctjvar)} + +\ipxitem{\textctjvar}{Curly-tail J (a variety found in 1996 IPA) }% + {same as the above}% + {\tbs textctjvar}{}{\ipanew}{'062} + +\ipaitem{\v{\j}}{Wedge J}% + {*equivalent to IPA \textipa{dZ}}% + {\TD{v}{\tbs j}}{}{\PSG}{Macro} + +\ipaitem{\textbardotlessj}{Barred dotless J}% + {voiced palatal plosive}% + {\tbs textbardotlessj}{}{\ipanew}{'351} + +\ipaitem{\textObardotlessj}{Old barred dotless J}% + {voiced palatal plosive}% + {\tbs textObardotlessj}{}{\ipaold}{'315} + +\ipaitem{\texthtbardotlessj}{Hooktop barred dotless J\footnotemark}% + {voiced palatal implosive}% + {\tbs texthtbardotlessj}{\tbs!j}{\Handbook}{'352}% + \footnotetext{In \PSG{} the shape of this symbol slightly + differs. Here I followed the shape found in IPA '89--'96.} + +\ipxitem{\texthtbardotlessjvar}{Hooktop barred dotless J (a variety) }% + {same as the above}% + {\tbs texthtbardotlessjvar}{}{IPA '89--'93, \PSG}{'063} + +\ipaitem{\textscj}{Small capital J}% + {}% + {\tbs textscj}{\tbs;J}{\PSG}{'250} + +\ipaitem{k}{Lower-case K}% + {voiceless velar plosive}% + {k}{}{\ipaall}{'153} + +\ipaitem{\texthtk}{Hooktop K}% + {voiceless velar implosive}% + {\tbs texthtk}{}{IPA '89}{'316} + +\ipaitem{\textturnk}{Turned K}% + {}% + {\tbs textturnk}{\tbs*k}{\PSG}{'251} + +\ipxitem{\textsck}{Small capital K }% + {}% + {\tbs textsck}{}{\PSG}{'164} + +\ipxitem{\textturnsck}{Turned small capital K }% + {}% + {\tbs textturnsck}{}{\PSG}{'165} + +\ipaitem{l}{Lower-case L}% + {alveolar lateral approximant}% + {l}{}{\ipaall}{'154} + +\ipaitem{\textltilde}{L with tilde}% + {}% + {\tbs textltilde}{\tbs|\ttilde l}{\ipaall}{'353} + +\ipaitem{\textbarl}{Barred L}% + {}% + {\tbs textbarl}{}{\PSG}{'252} + +\ipaitem{\textbeltl}{Belted L}% + {voiceless dental or alveolar lateral fricative}% + {\tbs textbeltl}{}{\ipaall}{'354} + +\ipaitem{\textrtaill}{Right-tail L}% + {retroflex lateral approximant}% + {\tbs textrtaill}{\tbs:l}{\ipaall}{'355} + +\ipaitem{\textlyoghlig}{L-Yogh ligature}% + {voiced alveolar lateral fricative}% + {\tbs textlyoghlig}{}{\ipanew}{'320} + +\ipaitem{\textOlyoghlig}{Old L-Yogh ligature}% + {voiced alveolar lateral fricative}% + {\tbs textOlyoghlig}{}{\ipaold}{'255} + +\ipxitem{\textlfishhookrlig}{L-Fish-hook R ligature}% + {alveolar lateral flap}% + {\tbs textlfishhookrlig}{}{}{'111} + +\ipaitem{\textscl}{Small capital L}% + {velar lateral approximant}% + {\tbs textscl}{\tbs;L}{\ipanew}{'317} + +\ipxitem{\textrevscl}{Reversed small capital L }% + {}% + {\tbs textrevscl}{}{\PSG}{'166} + +\ipaitem{\textlambda}{Lambda}% + {}% + {\tbs textlambda}{}{\PSG}{'253} + +\ipaitem{\textcrlambda}{Crossed lambda}% + {}% + {\tbs textcrlambda}{}{\PSG}{'254} + +\ipaitem{m}{Lower-case M}% + {bilabial nasal}% + {m}{}{\ipaall}{'155} + +\ipaitem{\textltailm}{Left-tail M (at right)\footnotemark}% + {labiodental nasal}% + {\tbs textltailm}{M}{\ipaall}{'115}% + \footnotetext{\PSG\ calls this symbol `Meng'.} + +\ipxitem{\texthmlig}{H-M ligature }% + {}% + {\tbs texthmlig}{}{\PSG}{'064} + +\ipaitem{\textturnm}{Turned M}% + {close back unrounded vowel}% + {\tbs textturnm}{W}{\ipaall}{'127} + +\ipaitem{\textturnmrleg}{Turned M, right leg}% + {voiced velar approximant}% + {\tbs textturnmrleg}{}{IPA '79--'93}{'356} + +\ipxitem{\textscm}{Small capital M }% + {}% + {\tbs textscm}{}{\PSG}{'167} + +\ipaitem{n}{Lower-case N}% + {dental or alveolar nasal}% + {n}{}{\ipaall}{'156} + +\ipxitem{\textfrbarn}{Front-bar N\footnotemark}% + {}% + {\tbs textfrbarn}{}{\PSG}{'065}% + \footnotetext{This shape is based on \PSG\ (p.~119). However, its + original shape looks a little different. Here I simply followed + the shape found in \PSG\ because in its source \citep{Trager} the + shape of this symbol is unclear (typewritten, modified by handwriting).} + +\ipxitem{\textnrleg}{N, right leg\footnotemark}% + {}% + {\tbs textnrleg}{}{IPA '49}{'066}% + \footnotetext{In \PSG, this symbol is called `Long-Leg N'.} + +\ipaitem{\~n}{N with tilde}% + {}% + {\tbs\ttilde n}{}{\PSG}{Macro} + +\ipaitem{\textltailn}{Left-tail N (at left)}% + {palatal nasal}% + {\tbs textltailn}{}{\ipaall}{'361} + +\ipaitem{\ng}{Eng}% + {velar nasal}% + {\tbs ng}{N}{\ipaall}{'116} + +\ipaitem{\textrtailn}{Right-tail N}% + {retroflex nasal}% + {\tbs textrtailn}{\tbs:n}{\ipaall}{'357} + +\ipaitem{\textctn}{Curly-tail N}% + {*alveolo-palatal nasal}% + {\tbs textctn}{}{}{'256} + +\ipaitem{\textscn}{Small capital N}% + {uvular nasal}% + {\tbs textscn}{\tbs;N}{\ipaall}{'360} + +\ipaitem{o}{Lower-case O}% + {close-mid back rounded vowel}% + {o}{}{\ipaall}{'157} + +\ipxitem{\textfemale}{Female sign }% + {}% + {\tbs textfemale}{}{\PSG}{'067} + +\ipxitem{\textuncrfemale}{Uncrossed female sign }% + {}% + {\tbs textuncrfemale}{}{\PSG}{'070} + +\ipaitem{\textbullseye}{Bull's eye\footnotemark}% + {bilabial click}% + {\tbs textbullseye}{\tbs!o}{IPA '93, '96}{'362}% + \footnotetext{In \PSG\ this name is spelled `Bullseye'.} + +\ipxitem{\textObullseye}{Bull's eye (an old version) }% + {bilabial click}% + {\tbs textObullseye}{}{IPA '79, '89}{'071} + +\ipaitem{\textbaro}{Barred O}% + {close-mid central rounded vowel}% + {\tbs textbaro}{8}{\ipaall}{'070} + +\ipaitem{\o}{Slashed O}% + {close-mid front rounded vowel}% + {\tbs o}{}{\ipaall}{'370} + +\ipaitem{\oe}{O-E ligature}% + {open-mid front rounded vowel}% + {\tbs oe}{}{\ipaall}{'367} + +\ipaitem{\textscoelig}{Small capital O-E ligature}% + {open front rounded vowel}% + {\tbs textscoelig}{\tbs OE}{IPA '79--'96}{'327} + +\ipaitem{\textopeno}{Open O}% + {open-mid back rounded vowel}% + {\tbs textopeno}{O}{\ipaall}{'117} + +\ipxitem{\textrhookopeno}{Right-hook open O }% + {}% + {\tbs textrhookopeno}{}{\PSG}{'072} + +\ipaitem{\textturncelig}{Turned C (Open O)-E ligature}% + {}% + {\tbs textturncelig}{}{\PSG}{'257} + +\ipaitem{\textomega}{Omega}% + {}% + {\tbs textomega}{}{\PSG}{'260} + +\ipxitem{\textinvomega}{Inverted omega }% + {}% + {\tbs textinvomega}{}{\PSG}{'073} + +\ipaitem{\textcloseomega}{Closed omega}% + {(obsolete) near-close near-back rounded vowel}% + {\tbs textcloseomega}{}{\ipaold}{'321} + +\ipaitem{\textscomega}{Small capital omega}% + {}% + {\tbs textscomega}{}{\PSG}{'261} + +\ipaitem{p}{Lower-case P}% + {voiceless bilabial plosive}% + {p}{}{\ipaall}{'160} + +\ipaitem{\texthtp}{Hooktop P}% + {voiceless bilabial implosive}% + {\tbs texthtp}{}{IPA '89}{'322} + +\ipxitem{\textlhookp}{Left-hook P }% + {}% + {\tbs textlhookp}{}{\PSG}{'074} + +\ipxitem{\textscp}{Small capital P }% + {}% + {\tbs textscp}{}{\PSG}{'170} + +\ipaitem{\textwynn}{Wynn}% + {*labiovelar approximant}% + {\tbs textwynn}{}{Old English}{'337} + +\ipaitem{\textthorn}{Thorn}% + {*interdental fricative}% + {\tbs textthorn}{\tbs th}{Old English}{'376} + +\ipxitem{\textthornvari}{A variety of thorn (1) }% + {}% + {\tbs textthornvari}{}{\PSG}{'120} + +\ipxitem{\textthornvarii}{A variety of thorn (2) }% + {}% + {\tbs textthornvarii}{}{\PSG}{'121} + +\ipxitem{\textthornvariii}{A variety of thorn (3) }% + {}% + {\tbs textthornvariii}{}{\PSG}{'122} + +\ipxitem{\textthornvariv}{A variety of thorn (4) }% + {}% + {\tbs textthornvariv}{}{\PSG}{'123} + +\ipaitem{\textphi}{Phi}% + {voiceless bilabial fricative}% + {\tbs textphi}{F}{\ipaall}{'106} + +\ipaitem{q}{Lower-case Q}% + {voiceless uvular plosive}% + {q}{}{\ipaall}{'161} + +\ipaitem{\texthtq}{Hooktop Q}% + {voiceless uvular implosive}% + {\tbs texthtq}{}{IPA '89}{'323} + +\ipxitem{\textqplig}{Q-P ligature }% + {}% + {\tbs textqplig}{}{\PSG}{'075} + +\ipxitem{\textscq}{Small capital Q\footnotemark}% + {*voiceless pharyngeal plosive}% + {\tbs textscq}{\tbs;Q}{}{'171}% + \footnotetext{Suggested by Prof S. Tsuchida for Austronesian + languages in Taiwan. In \PSG{} `Female Sign' and `Uncrossed Female + Sign'(pp.~110--111) are noted for pharyngeal stops, as proposed by + Trager (1964). Also, I'm not sure about the difference between an + epiglottal plosive and a pharyngeal stop.} + +\ipaitem{r}{Lower-case R}% + {alveolar trill}% + {r}{}{\ipaall}{'162} + +\ipaitem{\textfishhookr}{Fish-hook R}% + {alveolar tap or flap}% + {\tbs textfishhookr}{R}{\ipaall}{'122} + +\ipaitem{\textlonglegr}{Long-leg R}% + {alveolar fricative trill}% + {\tbs textlonglegr}{}{\ipaold}{'324} + +\ipaitem{\textrtailr}{Right-tail R}% + {retroflex tap or flap}% + {\tbs textrtailr}{\tbs:r}{\ipaall}{'363} + +\ipaitem{\textturnr}{Turned R}% + {alveolar approximant}% + {\tbs textturnr}{\tbs*r}{\ipaall}{'364} + +\ipaitem{\textturnrrtail}{Turned R, right tail}% + {retroflex approximant}% + {\tbs textturnrrtail}{\tbs:R}{\ipaall}{'365} + +\ipaitem{\textturnlonglegr}{Turned long-leg R}% + {alveolar lateral flap}% + {\tbs textturnlonglegr}{}{\ipaall}{'325} + +\ipaitem{\textscr}{Small capital R}% + {uvular trill}% + {\tbs textscr}{\tbs;R}{\ipaall}{'366} + +\ipxitem{\textrevscr}{Reversed small capital R }% + {}% + {\tbs textrevscr}{}{\PSG}{'172} + +\ipaitem{\textinvscr}{Inverted small capital R}% + {voiced uvular fricative}% + {\tbs textinvscr}{K}{\ipaall}{'113} + +\ipaitem{s}{Lower-case S}% + {voiceless alveolar fricative}% + {s}{}{\ipaall}{'163} + +\ipaitem{\v{s}}{Wedge S}% + {*equivalent to IPA \textesh}% + {\TD{v}{s}}{}{\PSG}{Macro} + +\ipaitem{\textrtails}{Right-tail S (at left)}% + {voiceless retroflex fricative}% + {\tbs textrtails}{\tbs:s}{\ipaall}{'371} + +\ipaitem{\textesh}{Esh}% + {voiceless postalveolar fricative}% + {\tbs textesh}{S}{\ipaall}{'123} + +\ipaitem{\textdoublebaresh}{Double-barred esh}% + {}% + {\tbs textdoublebaresh}{}{\cite{Hottentot}, \PSG}{Macro} + +\ipxitem{\textlooptoprevesh}{Reversed esh with top loop }% + {}% + {\tbs textlooptoprevesh}{}{IPA '49}{'076} + +\ipaitem{\textctesh}{Curly-tail esh}% + {palatalized \textesh}% + {\tbs textctesh}{}{\ipaold}{'262} + +\ipaitem{t}{Lower-case T}% + {voiceless dental or alveolar plosive}% + {t}{}{\ipaall}{'164} + +\ipxitem{\textfrhookt}{Front-hook T }% + {}% + {\tbs textfrhookt}{}{\PSG}{'077} + +\ipaitem{\textlhookt}{Left-hook T}% + {palatalized t}% + {\tbs textlhookt}{}{\PSG}{'263} + +\ipaitem{\textrtailt}{Right-tail T}% + {voiceless retroflex plosive}% + {\tbs textrtailt}{\tbs:t}{\ipaall}{'372} + +\ipaitem{\texthtt}{Hooktop T}% + {voiceless dental or alveolar implosive}% + {\tbs texthtt}{}{IPA '89}{'326} + +\ipaitem{\textturnt}{Turned T}% + {dental click}% + {\tbs textturnt}{\tbs*t}{\ipaold}{'330} + +\ipxitem{\textctturnt}{Curly-tail turned T }% + {}% + {\tbs textctturnt}{}{\cite{Hottentot}, \PSG}{'100} + +\ipaitem{\textctt}{Curly-tail T}% + {*voiceless alveolo-palatal plosive}% + {\tbs textctt}{}{}{'264} + +\ipaitem{\texttctclig}{T-Curly-tail C ligature}% + {}% + {\tbs texttctclig}{}{}{Macro} + +\ipaitem{\textcttctclig}{Curly-tail T-Curly-tail C ligature}% + {}% + {\tbs textcttctclig}{}{}{Macro} + +\ipaitem{\texttslig}{T-S ligature}% + {}% + {\tbs texttslig}{}{\ipaold}{'265} + +\ipaitem{\textteshlig}{T-Esh ligature}% + {voiceless postalveolar affricate}% + {\tbs textteshlig}{}{\ipaall}{'331} + +\ipaitem{\texttheta}{Theta}% + {voiceless dental fricative}% + {\tbs texttheta}{T}{\ipaall}{'124} + +\ipaitem{u}{Lower-case U}% + {close back rounded vowel}% + {u}{}{\ipaall}{'165} + +\ipaitem{\textbaru}{Barred U}% + {close central rounded vowel}% + {\tbs textbaru}{0}{\ipaall}{'060} + +\ipaitem{\textupsilon}{Upsilon}% + {near-close near-back rounded vowel}% + {\tbs textupsilon}{U}{\ipanew}{'125} + +\ipaitem{\textscu}{Small capital U}% + {*equivalent to IPA \textupsilon}% + {\tbs textscu}{\tbs;U}{\ipaall}{'366} + +\ipxitem{\textturnscu}{Turned small capital U }% + {}% + {\tbs textturnscu}{}{\PSG}{'173} + +\ipaitem{v}{Lower-case V}% + {voiced labiodental fricative}% + {v}{}{\ipaall}{'166} + +\ipaitem{\textscriptv}{Script V\footnotemark}% + {voiced labiodental approximant}% + {\tbs textscriptv}{V}{\ipaall}{'126}% + \footnotetext{In \Handbook, this symbols is called `Cursive V'.} + +\ipaitem{w}{Lower-case W}% + {voiced labio-velar approximant}% + {w}{}{\ipaall}{'167} + +\ipaitem{\textturnw}{Turned W}% + {voiceless labio-velar fricative}% + {\tbs textturnw}{\tbs*w}{\ipaall}{'373} + +\ipaitem{x}{Lower-case X}% + {voiceless velar fricative}% + {x}{}{\ipaall}{'170} + +\ipaitem{\textchi}{Chi}% + {voiceless uvular fricative}% + {\tbs textchi}{X}{\ipaall}{'130} + +\ipaitem{y}{Lower-case Y}% + {close front rounded vowel}% + {y}{}{\ipaall}{'171} + +\ipaitem{\textturny}{Turned Y}% + {palatal lateral approximant}% + {\tbs textturny}{L}{\ipaall}{'114} + +\ipaitem{\textscy}{Small capital Y}% + {near-close near-front rounded vowel}% + {\tbs textscy}{Y}{\ipaall}{'131} + +\ipaitem{\textlhtlongy}{Left-hooktop long Y\footnotemark\ }% + {}% + {\tbs textlhtlongy}{}{\PSG}{'266}% + \footnotetext{See explanations in footnote~\ref{vibyi}.} + +\ipaitem{\textvibyy}{Viby Y\footnotemark}% + {}% + {\tbs textvibyy}{}{\PSG}{'267}% + \footnotetext{See explanations in footnote~\ref{vibyi}.} + +\ipaitem{z}{Lower-case Z}% + {voiced alveolar fricative}% + {z}{}{\ipaall}{'172} + +\ipaitem{\textcommatailz}{Comma-tail Z}% + {*as in \emph{OHG} \"e\textcommatailz\textcommatailz an `to eat'.}% + {\tbs textcommatailz}{}{OHG, \PSG}{'336} + +\ipaitem{\v{z}}{Wedge Z}% + {*equivalent to IPA \textyogh}% + {\TD{v}{z}}{}{\PSG}{Macro} + +\ipaitem{\textctz}{Curly-tail Z}% + {voiced alveolo-palatal fricative}% + {\tbs textctz}{}{\ipaall}{'375} + +\ipaitem{\textrtailz}{Right-tail Z}% + {voiced retroflex fricative}% + {\tbs textrtailz}{\tbs:z}{\ipaall}{'374} + +\ipaitem{\textcrtwo}{Crossed two}% + {}% + {\tbs textcrtwo}{}{IPA '49}{Macro} + +\ipxitem{\textturntwo}{Turned two }% + {}% + {\tbs textturntwo}{}{IPA '49}{'101} + +\ipaitem{\textyogh}{Yogh\footnotemark}% + {voiced postalveolar fricative}% + {\tbs textyogh}{Z}{\ipaall}{'132}% + \footnotetext{In \Handbook, this symbols is called `Ezh'.} + +\ipxitem{\textbenttailyogh}{Bent-tail yogh }% + {}% + {\tbs textbenttailyogh}{}{IPA '49}{'102} + +\ipaitem{\textctyogh}{Curly-tail yogh}% + {palatalized \textyogh}% + {\tbs textctyogh}{}{\ipaold}{'270} + +\ipaitem{\textrevyogh}{Reversed yogh}% + {}% + {\tbs textrevyogh}{}{\PSG}{'271} + +\ipxitem{\textturnthree}{Turned three }% + {}% + {\tbs textturnthree}{}{IPA '49}{'103} + +\ipaitem{\textglotstop}{Glottal stop}% + {glottal plosive}% + {\tbs textglotstop}{P}{\ipaall}{'120} + +\ipxitem{\textglotstopvari}{A variety of glottal stop (1) }% + {}% + {\tbs textglotstopvari}{}{\PSG}{'124} + +\ipxitem{\textglotstopvarii}{A variety of glottal stop (2) }% + {}% + {\tbs textglotstopvarii}{}{\PSG}{'125} + +\ipxitem{\textglotstopvariii}{A variety of glottal stop (3) }% + {}% + {\tbs textglotstopvariii}{}{\PSG}{'126} + +\ipaitem{\textraiseglotstop}{Superscript glottal stop}% + {}% + {\tbs textraiseglotstop}{}{}{'274} + +\ipaitem{\textbarglotstop}{Barred glottal stop}% + {epiglottal plosive}% + {\tbs textbarglotstop}{}{\ipanew}{'334} + +\ipaitem{\textinvglotstop}{Inverted glottal stop}% + {alveolar lateral click}% + {\tbs textinvglotstop}{}{\ipaold}{'333} + +\ipaitem{\textcrinvglotstop}{Crossed inverted glottal stop}% + {}% + {\tbs textcrinvglotstop}{}{IPA '49}{Macro} + +\ipxitem{\textctinvglotstop}{Curly-tail inverted glottal stop }% + {}% + {\tbs textctinvglotstop}{}{\cite{Hottentot}, \PSG}{'104} + +\ipxitem{\textturnglotstop}{Turned glottal stop (PSG 1996:211) }% + {}% + {\tbs textturnglotstop}{}{\PSG}{'105} + +\ipaitem{\textrevglotstop}{Reversed glottal stop}% + {voiced pharyngeal fricative}% + {\tbs textrevglotstop}{Q}{\ipaall}{'121} + +\ipaitem{\textbarrevglotstop}{Barred reversed glottal stop}% + {voiced epiglottal fricative}% + {\tbs textbarrevglotstop}{}{\ipanew}{'335} + +\ipaitem{\textpipe}{Pipe}% + {dental click}% + {\tbs textpipe}{|}{\ipanew}{'174} + +\ipxitem{\textpipevar}{Pipe (a variety with no descender) }% + {dental click}% + {\tbs textpipevar}{}{\PSG}{'106} + +\ipaitem{\textdoublebarpipe}{Double-barred pipe}% + {palatoalveolar click}% + {\tbs textdoublebarpipe}{}{\ipanew}{'175} + +\ipxitem{\textdoublebarpipevar}{Double-barred pipe (a variety with no descender) }% + {same as the above}% + {\tbs textdoublebarpipevar}{}{\PSG}{'110} + +\ipaitem{\textdoublebarslash}{Double-barred slash}% + {*a variant of \textdoublebarpipe}% + {\tbs textdoublebarslash}{}{\PSG}{Macro} + +\ipaitem{\textdoublepipe}{Double pipe}% + {alveolar lateral click}% + {\tbs textdoublepipe}{||}{\ipanew}{'177} + +\ipxitem{\textdoublepipevar}{Double pipe (a variety with no descender) }% + {same as the above}% + {\tbs textdoublepipevar}{}{\PSG}{'107} + +\ipaitem{!}{Exclamation point}% + {(post)alveolar click}% + {!}{}{\ipanew}{'041} + + +\section{Suprasegmentals} + +\ipaitem{\textprimstress}{Vertical stroke (Superior)}% + {primary stress}% + {\tbs textprimstress}{"}{\ipaall}{'042} + +\ipaitem{\textsecstress}{Vertical stroke (Inferior)}% + {secondary stress}% + {\tbs textsecstress}{""}{\ipaall}{'177} + +\ipaitem{\textlengthmark}{Length mark}% + {long}% + {\tbs textlengthmark}{:}{\ipaall}{'072} + +\ipaitem{\texthalflength}{Half-length mark}% + {half-long}% + {\tbs texthalflength}{;}{\ipaall}{'073} + +\ipaitem{\textvertline}{Vertical line}% + {minor (foot) group}% + {\tbs textvertline}{}{\ipanew}{'222} + +\ipaitem{\textdoublevertline}{Double vertical line}% + {major (intonation) group}% + {\tbs textdoublevertline}{}{\ipanew}{'223} + +\ipaitem{\textbottomtiebar{ }}{Bottom tie bar}% + {linking (absence of a break)}% + {\tbs textbottomtiebar}{\tbs t*\TT{}}{\ipanew}{'074} + \label{bottomtiebar} + +\ipaitem{\textdownstep}{Down arrow\footnotemark}% + {downstep}% + {\tbs textdownstep}{}{\ipanew}{'224}% + \footnotetext{The shapes of \tbs\texttt{textdownstep} and + \tbs\texttt{textupstep} differ according to sources. Here I followed + the shapes found in the recent IPA charts.} + +\ipaitem{\textupstep}{Up arrow}% + {upstep}% + {\tbs textupstep}{}{\ipanew}{'225} + +\ipaitem{\textglobfall}{Downward diagonal arrow}% + {global fall}% + {\tbs textglobfall}{}{\ipanew}{'226} + +\ipaitem{\textglobrise}{Upward diagonal arrow}% + {global rise}% + {\tbs textglobrise}{}{\ipanew}{'227} + +\ipxitem{\textspleftarrow}{Superscript left arrow }% + {}% + {\tbs textspleftarrow}{}{\PSG, p.~243}{'005} + +\ipxitem{\textdownfullarrow}{Down full arrow }% + {ingressive airflow}% + {\tbs textdownfullarrow}{}{ExtIPA, \Handbook}{'007} + +\ipxitem{\textupfullarrow}{Up full arrow }% + {egressive airflow}% + {\tbs textupfullarrow}{}{ExtIPA, \Handbook}{'010} + +\ipxitem{\textsubrightarrow}{Subscript right arrow }% + {sliding articulation}% + {\tbs textsubrightarrow}{}{ExtIPA}{'011} + +\ipxitem{\textsubdoublearrow}{Subscript double arrow }% + {labial spreading}% + {\tbs textsubdoublearrow}{}{ExtIPA}{'012} + + +\subsection{Tone letters} + +The tones illustrated here are only a representative sample of what is +possible. For more details see section~\ref{sec:tone}. + +\bigskip + +\ipaitem{\tone{55}}{Extra high tone}% + {}% + {\TD{tone}{55}}{}{\ipanew}{Macro} + +\ipaitem{\tone{44}}{High tone}% + {}% + {\TD{tone}{44}}{}{\ipanew}{Macro} + +\ipaitem{\tone{33}}{Mid tone}% + {}% + {\TD{tone}{33}}{}{\ipanew}{Macro} + +\ipaitem{\tone{22}}{Low tone}% + {}% + {\TD{tone}{22}}{}{\ipanew}{Macro} + +\ipaitem{\tone{11}}{Extra low tone}% + {}% + {\TD{tone}{11}}{}{\ipanew}{Macro} + +\ipaitem{\tone{51}}{Falling tone}% + {}% + {\TD{tone}{51}}{}{\ipanew}{Macro} + +\ipaitem{\tone{15}}{Rising tone}% + {}% + {\TD{tone}{15}}{}{\ipanew}{Macro} + +\ipaitem{\tone{45}}{High rising tone}% + {}% + {\TD{tone}{45}}{}{\ipanew}{Macro} + +\ipaitem{\tone{12}}{Low rising tone}% + {}% + {\TD{tone}{12}}{}{\ipanew}{Macro} + +\ipaitem{\tone{454}}{High rising falling tone}% + {}% + {\TD{tone}{454}}{}{\ipanew}{Macro} + + +\subsection{Diacritical Tone Marks} + +Some symbols included in the next section are also used as diacritical +tone marks. + +\bigskip + +\ipaitem{\texthighrise{a}}{Macron plus acute accent}% + {high rising tone}% + {\TD{texthighrise}{a}}{}{\ipanew}{'230} + +\ipaitem{\textlowrise{a}}{Grave accent plus macron}% + {low rising tone}% + {\TD{textlowrise}{a}}{}{\ipanew}{'231} + +\ipaitem{\textrisefall{a}}{Grave plus acute plus grave accent}% + {rising-falling tone}% + {\TD{textrisefall}{a}}{}{\ipanew}{'232} + +\ipaitem{\textfallrise{a}}{Acute plus grave plus acute accent}% + {falling-rising tone}% + {\TD{textfallrise}{a}}{}{}{'233} + + +\section{Accents and Diacritics}\label{list:diacritics} + +\ipaitem{\`e}{Grave accent}% + {low tone}% + {\tbs`e}{}{\ipaall}{'000} + +\ipaitem{\'e}{Acute accent}% + {high tone}% + {\tbs'e}{}{\ipaall}{'001} + +\ipaitem{\^e}{Circumflex accent}% + {falling tone}% + {\tbs\tcircum e}{}{\ipaall}{'002} + +\ipaitem{\~e}{Tilde}% + {nasalized}% + {\tbs\ttilde e}{}{\ipaall}{'003} + +\ipaitem{\"e}{Umlaut}% + {centralized}% + {\tbs"e}{}{\ipaall}{'004} + +\ipaitem{\H{e}}{Double acute accent}% + {extra high tone}% + {\TD{H}{e}}{}{\ipanew}{'005} + +\ipaitem{\r{e}}{Ring}% + {}% + {\TD{r}{e}}{}{}{'006} + +\ipaitem{\v{e}}{Wedge}% + {rising tone}% + {\TD{v}{e}}{}{\ipaall}{'007} + +\ipaitem{\u{e}}{Breve}% + {extra short}% + {\TD{u}{e}}{}{\ipaall}{'010} + +\ipaitem{\=e}{Macron}% + {mid tone}% + {\tbs=e}{}{}{'011} + +\ipaitem{\.e}{Dot}% + {}% + {\tbs.e}{}{}{'012} + +\ipaitem{\c{e}}{Cedilla}% + {}% + {\TD{c}{e}}{}{}{'013} + +\ipaitem{\textpolhook{e}}{Polish hook (Ogonek accent)}% + {}% + {\TD{textpolhook}{e}}{\TD{k}{e}}{}{'014} + +\ipxitem{\textrevpolhook{o}}{Reversed Polish hook }% + {}% + {\TD{textrevpolhook}{o}}{}{\PSG, p.~129}{'000} + +\ipaitem{\textdoublegrave{e}}{Double grave accent}% + {extra low tone}% + {\TD{textdoublegrave}{e}}{\tbs H*e}{\ipanew}{'015} + +\ipaitem{\textsubgrave{e}}{Subscript grave accent}% + {low falling tone}% + {\TD{textsubgrave}{e}}{\tbs`*e}{\ipaold}{'016} + +\ipaitem{\textsubacute{e}}{Subscript acute accent}% + {low rising tone}% + {\TD{textsubacute}{e}}{\tbs'*e}{\ipaold}{'017} + +\ipaitem{\textsubcircum{e}}{Subscript circumflex accent}% + {}% + {\TD{textsubcircum}{e}}{\tbs\tcircum*e}{}{Macro} + +\ipaitem{\textroundcap{g}}{Round cap}% + {}% + {\TD{textroundcap}{g}}{\tbs|c\TT{g}}{}{'020} + +\ipaitem{\textacutemacron{a}}{Acute accent with macron}% + {}% + {\tbs textacutemacron\TT{a}}{\tbs'=a}{}{Macro} + +\ipaitem{\textgravemacron{a}}{Grave accent with macron}% + {}% + {\tbs textgravemacron\TT{a}}{}{}{Macro} + +\ipaitem{\textvbaraccent{a}}{Vertical bar accent}% + {}% + {\tbs textvbaraccent\TT{a}}{}{}{'234} + +\ipaitem{\textdoublevbaraccent{a}}{Double vertical bar accent}% + {}% + {\tbs textdoublevbaraccent\TT{a}}{}{}{'235} + +\ipaitem{\textgravedot{e}}{Grave dot accent}% + {}% + {\TD{textgravedot}{e}}{\tbs`.e}{}{'236} + +\ipaitem{\textdotacute{e}}{Dot acute accent}% + {}% + {\TD{textdotacute}{e}}{\tbs'.e}{}{'237} + +\ipaitem{\textcircumdot{a}}{Circumflex dot accent}% + {}% + {\TD{textcircumdot}{a}}{\tbs\tcircum.a}{}{Macro} + +\ipaitem{\texttildedot{a}}{Tilde dot accent}% + {}% + {\TD{texttildedot}{a}}{\tbs \ttilde.a}{}{Macro} + +\ipaitem{\textbrevemacron{a}}{Breve macron accent}% + {}% + {\TD{textbrevemacron}{a}}{\tbs u=a}{}{Macro} + +\ipaitem{\textringmacron{a}}{Ring macron accent}% + {}% + {\TD{textringmacron}{a}}{\tbs r=a}{}{Macro} + +\ipaitem{\textacutewedge{s}}{Acute wedge accent}% + {}% + {\TD{textacutewedge}{s}}{\tbs v's}{}{Macro} + +\ipaitem{\textdotbreve{a}}{Dot breve accent}% + {}% + {\TD{textdotbreve}{a}}{}{}{Macro} + +\ipaitem{\textsubbridge{t}}{Subscript bridge}% + {dental}% + {\TD{textsubbridge}{t}}{\tbs|[t}{\ipaall}{'021} + +\ipaitem{\textinvsubbridge{d}}{Inverted subscript bridge}% + {apical}% + {\TD{textinvsubbridge}{d}}{\tbs|]t}{\ipanew}{'022} + +\ipaitem{\textsubsquare{n}}{Subscript square}% + {laminal}% + {\TD{textsubsquare}{n}}{}{\ipanew}{'023} + +\ipaitem{\textsubrhalfring{o}}{Subscript right half-ring\footnotemark}% + {more rounded}% + {\TD{textsubrhalfring}{o}}{\tbs|)o}{\ipaall}{'024}% + \footnotetext{Diacritics {\tt\tbs textsubrhalfring} and + {\tt\tbs textsublhalfring} can be placed after a symbol by inputting, + for example, {\tt[e\tbs textsubrhalfring\tbi\tbii]} + \textipa{[e\textsubrhalfring{}]}.} + +\ipaitem{\textsublhalfring{o}}{Subscript left half-ring}% + {less rounded}% + {\TD{textsublhalfring}{o}}{\tbs|(o}{\ipaall}{'025} + +\ipaitem{\textsubw{k}}{Subscript W}% + {labialized}% + {\TD{textsubw}{k}}{\tbs|w\TT{k}}{IPA '79}{'026} + +\ipaitem{\textoverw{g}}{Over W}% + {*labialized}% + {\TD{textoverw}{g}}{}{}{'026} + +\ipaitem{\textseagull{t}}{Subscript seagull}% + {linguolabial}% + {\TD{textseagull}{t}}{\tbs|m\TT{t}}{\ipanew}{'027} + +\ipaitem{\textovercross{e}}{Over-cross}% + {mid-centralized}% + {\TD{textovercross}{e}}{\tbs|x\TT{e}}{\ipaall}{'030} + +\ipaitem{\textsubplus{\textopeno}}{Subscript plus\footnotemark}% + {advanced}% + {\TD{textsubplus}{\tbs textopeno}}{\tbs|+O}{\ipaall}{'033}% + \footnotetext{The diacritics such as + {\tt\tbs textsubplus}, {\tt\tbs textraising}, {\tt\tbs textlowering} + {\tt\tbs textadvancing} and {\tt\tbs textretracting} + can be placed after a symbol by inputting + {\tt[e\tbs textsubplus\tbi\tbii]} \textipa{[e\textsubplus{}]}, + for example. } + +\ipaitem{\textraising{\textepsilon}}{Raising sign}% + {raised}% + {\TD{textraising}{\tbs textepsilon}}{\tbs|'E}{\ipaall}{'034} + +\ipaitem{\textlowering{e}}{Lowering sign}% + {lowered}% + {\TD{textlowering}{e}}{\tbs|`e}{\ipaall}{'035} + +\ipaitem{\textadvancing{u}}{Advancing sign}% + {advanced tongue root}% + {\TD{textadvancing}{u}}{\tbs|<u}{\ipaall}{'036} + +\ipaitem{\textretracting{\textschwa}}{Retracting sign}% + {retracted tongue root}% + {\TD{textretracting}{\tbs textschwa}}{\tbs|>@}{\ipaall}{'037} + +\ipaitem{\textsubtilde{e}}{Subscript tilde}% + {creaky voiced}% + {\TD{textsubtilde}{e}}{\tbs\ttilde*e}{\ipanew}{'003} + +\ipaitem{\textsubumlaut{e}}{Subscript umlaut}% + {breathy voiced}% + {\TD{textsubumlaut}{e}}{\tbs"*e}{IPA '79, '89, '93}{'004} + +\ipaitem{\textsubring{u}}{Subscript ring}% + {voiceless}% + {\TD{textsubring}{u}}{\tbs r*u}{\ipaall}{'006} + +\ipaitem{\textsubwedge{e}}{Subscript wedge}% + {voiced}% + {\TD{textsubwedge}{e}}{\tbs v*e}{\ipaall}{'007} + +\ipaitem{\textsubbar{e}}{Subscript bar}% + {retracted}% + {\TD{textsubbar}{e}}{\tbs=*e}{\ipaall}{'011} + +\ipaitem{\textsubdot{e}}{Subscript dot}% + {*retroflex}% + {\TD{textsubdot}{e}}{\tbs.*e}{}{'012} + +\ipaitem{\textsubarch{e}}{Subscript arch}% + {non-syllabic}% + {\TD{textsubarch}{e}}{}{}{'020} + +\ipaitem{\textsyllabic{m}}{Syllabicity mark}% + {syllabic}% + {\TD{textsyllabic}{m}}{\TD{s}{m}}{\ipaall}{'042} + +\ipaitem{\textsuperimposetilde{t}}{Superimposed tilde}% + {velarized or pharyngealized}% + {\TD{textsuperimposetilde}% + {t}}{\tbs|\ttilde\TT{t}}{\ipaall}{'046} + +\ipaitem{t\textcorner}{Corner}% + {no audible release}% + {t\tbs textcorner}{}{\ipanew}{'136} + +\ipaitem{t\textopencorner}{Open corner}% + {*release/burst}% + {t\tbs textopencorner}{}{}{'137} + +\ipaitem{\textschwa\textrhoticity}{Rhoticity}% + {rhoticity}% + {\tbs textschwa\tbs textrhoticity}{}{\ipanew}{'176} + +\ipaitem{b\textceltpal}{Celtic palatalization mark}% + {*as in \emph{Irish} b\textceltpal an `woman'.}% + {b\tbs textceltpal}{}{}{'040} + +\ipaitem{k\textlptr}{Left pointer}% + {}% + {k\tbs textlptr}{}{}{'275} + +\ipaitem{k\textrptr}{Right pointer}% + {}% + {k\tbs textrptr}{}{}{'276} + +\ipxitem{p\textrectangle}{Rectangle\footnotemark}% + {*equivalent to IPA \textcorner\ (Corner)}% + {p\tbs textrectangle}{}{}{'004}% + \footnotetext{This symbol is used among Japanese linguists as a + diacritical symbol indicating no audible release (IPA \textcorner), + because the symbol \textcorner{} is used to indicate pitch accent in + Japanese.} + +\ipxitem{\textretractingvar}{Retracting sign (a variety) }% + {}% + {\tbs textretractingvar}{}{IPA '49}{'006} + +\ipaitem{\texttoptiebar{gb}}{Top tie bar}% + {affricates and double articulations}% + {\TD{texttoptiebar}{gb}}{\TD{t}{gb}}{}{'076} + +\hspace*{2em}\emph{See} page~\pageref{bottomtiebar} for `Bottom tie bar'. +\par\bigskip + +\ipaitem{'}{Apostrophe}% + {ejective}% + {'}{}{\ipaall}{'047} + +\ipaitem{\textrevapostrophe}{Reversed apostrophe}% + {(obsolete) week aspiration}% + {\tbs textrevapostrophe}{}{\ipaold}{'134} + +\ipaitem{.}{Period}% + {syllable break as in [\textturnr{}i.\ae{}kt]}% + {.}{}{\ipanew}{'056} + +\ipaitem{\texthooktop}{Hooktop}% + {}% + {\tbs texthooktop}{}{}{'043} + +\ipaitem{\textrthook}{Right hook}% + {}% + {\tbs textrthook}{}{}{'044} + +\ipxitem{\textrthooklong}{Right hook (long) }% + {}% + {\tbs textrthooklong}{}{}{'001} + +\ipaitem{\textpalhook}{Palatalization hook}% + {}% + {\tbs textpalhook}{}{}{'045} + +\ipxitem{\textpalhooklong}{Palatalization hook (long) }% + {}% + {\tbs textpalhooklong}{}{}{'002} + +\ipxitem{\textpalhookvar}{Palatalization hook (a variety) }% + {}% + {\tbs textpalhookvar}{}{}{'003} + +\ipaitem{p\super{h}}{Superscript H}% + {aspirated}% + {p\TD{textsuperscript}{h}}{p\tbs super h}{\ipaall}{Macro} + +\ipaitem{k\super{w}}{Superscript W}% + {labialized}% + {k\TD{textsuperscript}{w}}{k\tbs super w}{\ipaall}{Macro} + +\ipaitem{t\super{j}}{Superscript J}% + {palatalized}% + {t\TD{textsuperscript}{j}}{t\tbs super j}{\ipaall}{Macro} + +\ipaitem{t\super{\textgamma}}{Superscript gamma}% + {velarized}% + {t\TD{textsuperscript}{\tbs textgamma}}{t\tbs super G}{\ipanew}{Macro} + +\ipaitem{d\super{\textrevglotstop}}{Superscript reversed glottal stop}% + {pharyngealized}% + {d\TD{textsuperscript}{\tbs textrevglotstop}}{d\tbs super Q}{\ipanew}{Macro} + +\ipaitem{d\super{n}}{Superscript N}% + {nasal release}% + {d\TD{textsuperscript}{n}}{d\tbs super n}{\ipanew}{Macro} + +\ipaitem{d\super{l}}{Superscript L}% + {lateral release}% + {d\TD{textsuperscript}{l}}{d\tbs super l}{\ipanew}{Macro} + + + +\section{Diacritics for ExtIPA, VoQS} + +In order to use diacritics listed in this section, it is necessary to +specify the option `\texttt{extra}' at the preamble (See the section +entitled ``Other options'' on section~\ref{sec:otheroptions}). Note +also that some of the diacritics are defined by using symbols from +fonts other than \tipa{} so that they may not look quite satisfactory +and/or may not be slanted (e.g. \verb|\whistle{s}| \whistle{s}). + +\bigskip + +\ipxitem{\spreadlips{s}}{Subscript double arrow}% + {*labial spreading}% + {\TD{spreadlips}{s}}{}{ExtIPA '94}{'011} + +\ipaitem{\overbridge{v}}{Overbridge}% + {*dentolabial}% + {\TD{overbridge}{v}}{}{ExtIPA '94}{Macro} + +\ipaitem{\bibridge{n}}{Bibridge}% + {*interdental/bidental}% + {\TD{bibridge}{n}}{}{ExtIPA '94}{Macro} + +\ipaitem{\subdoublebar{t}}{Subscript double bar}% + {*alveolar}% + {\TD{subdoublebar}{t}}{}{ExtIPA '94}{Macro} + +\ipaitem{\subdoublevert{f}}{Subscript double vertical line}% + {*strong articulation}% + {\TD{subdoublevert}{f}}{}{ExtIPA '94}{Macro} + +\ipaitem{\subcorner{v}}{Subscript corner}% + {*weak articulation}% + {\TD{subcorner}{v}}{}{ExtIPA '94}{Macro} + +\ipaitem{\whistle{s}}{Up arrow}% + {*whistled articulation}% + {\TD{whistle}{s}}{}{ExtIPA '94}{Macro} + +\ipxitem{\sliding{Ts}}{Subscript right arrow}% + {*sliding articulation}% + {\TD{sliding}{\TD{textipa}{Ts}}}{}{ExtIPA '94}{'012} + +\ipaitem{\crtilde{m}}{Crossed tilde}% + {*denasal}% + {\TD{crtilde}{m}}{}{ExtIPA '94}{Macro} + +\ipaitem{\dottedtilde{a}}{Dotted tilde}% + {*nasal escape}% + {\TD{dottedtilde}{a}}{}{ExtIPA '94}{Macro} + +\ipaitem{\doubletilde{s}}{Double tilde}% + {*velopharyngeal friction}% + {\TD{doubletilde}{s}}{}{ExtIPA '94}{Macro} + +\ipaitem{\partvoiceless{n}}{Parenthesis plus ring}% + {*partial voiceless}% + {\TD{partvoiceless}{n}}{}{ExtIPA '94}{Macro} + +\ipaitem{\inipartvoiceless{n}}{Parenthesis plus ring}% + {*initial partial voiceless}% + {\TD{inipartvoiceless}{n}}{}{ExtIPA '94}{Macro} + +\ipaitem{\finpartvoiceless{n}}{Parenthesis plus ring}% + {*final partial voiceless}% + {\TD{finpartvoiceless}{n}}{}{ExtIPA '94}{Macro} + +\ipaitem{\partvoice{s}}{Parenthesis plus subwedge}% + {*partial voicing}% + {\TD{partvoice}{s}}{}{ExtIPA '94}{Macro} + +\ipaitem{\inipartvoice{s}}{Parenthesis plus subwedge}% + {*initial partial voicing}% + {\TD{inipartvoice}{s}}{}{ExtIPA '94}{Macro} + +\ipaitem{\finpartvoice{s}}{Parenthesis plus subwedge}% + {*final partial voicing}% + {\TD{finpartvoice}{s}}{}{ExtIPA '94}{Macro} + +\ipaitem{\sublptr{\*J}}{Subscript left pointer}% + {*right offset jaw voice}% + {\TD{sublptr}{J}}{}{VoQS '94}{'275} + +\ipaitem{\subrptr{\*J}}{Subscript right pointer}% + {*left offset jaw voice}% + {\TD{subrptr}{J}}{}{VoQS '94}{'276} + +\endgroup % end of \setlength\parindent{0pt} + +\endgroup % end of \raggedbottom + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "tipaman" +%%% End: diff --git a/fonts/tipa/tipa/doc/tipaman3.tex b/fonts/tipa/tipa/doc/tipaman3.tex new file mode 100644 index 0000000000..47d8931675 --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman3.tex @@ -0,0 +1,504 @@ +% tipaman3.tex +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +\begingroup +\raggedbottom + +\chapter{Recent Changes} + +\section{Changes from Version 1.2 to 1.3} + +Some symbols included in the xipa and related font families have been +modified. + +\section{Changes from Version 1.1 to 1.2} + +The following + +\begin{itemize} +\item The following symbols are added to the \texttt{tipx} fonts: + + Varieties of glottal stop symbols and a new symbol:\\ + \textglotstopvari\ (\texttt{\tbs textglotstopvari})\\ + \textglotstopvarii\ (\texttt{\tbs textglotstopvarii})\\ + \textglotstopvariii\ (\texttt{\tbs textglotstopvariii})\\ + \textlfishhookrlig\ (\texttt{\tbs textlfishhookrlig}) + +\item Symbol shapes of the \texttt{xipa} and \texttt{xipx} font + families slightly modified. +\end{itemize} + +\section{Changes from Version 1.0 to 1.1} + +The following changes have been made since the first release of +\tipa\footnote{The first release of \tipa{} has been known as + `beta0624'. I originally intended to change it to + something like `tipa-1.0' soon after the release but unfortunately + I didn't have the opportunity to do so.}. + +\begin{itemize} +\item The following typefaces are newly added in Version + 1.1. Font description files (\texttt{*.fd}) modified accordingly. + + Bold Extended Slanted Roman: \textbf{\textipa{[\textsl{""Ekspl@"neIS@n}]}}\\ + Sans Serif Bold Extended: \textbf{\textsf{\textipa{[""Ekspl@"neIS@n]}}}\\ + Sans Serif Slanted: \textsf{\textipa{[\textsl{""Ekspl@"neIS@n}]}}\\ + Typewriter Text: \texttt{\textipa{[\textsl{""Ekspl@"neIS@n}]}}\\ + Typewriter Text Slanted: \textsl{\texttt{\textipa{[\textsl{""Ekspl@"neIS@n}]}}} + +\item Many bugs fixed in the \MF\ source codes; modifications made for + almost every symbol. The \texttt{xipa} family of fonts now more closely + simulates Times Roman style.\footnote{% + I'm not fully satisfied with the result of this simulation and + further changes will be made in the next release. However, I have + no intention of simulating too closely in order to avoid any + possible copyright problems.} + +\item \texttt{t3enc.def} and \texttt{tipa.sty} modified. + +\item New series of fonts, \textbf{tipx} and \textbf{xipx} have been + created. These fonts are collections of symbols missing in the + previous version of \tipa{} and cover almost all the symbols that + appear in the second edition of \emph{PSG} (1996). (Remember that + \tipa{} was released in 1996 and at the time the second edition of + \emph{PSG} was not available.) Some of the symbols included in the + previous version of \tipa{} are now moved into \textbf{tipx} and + \textbf{xipx}. Thus the T3 encoding is slightly modified. + + In order to use newly created fonts, add the following after the + declaration of \tipa{}. + + \verb|\usepackage{tipx}| + + For a list of newly created symbols, see next section. + + The encoding of \texttt{tipx} and \texttt{xipx} still has no + definite name. The style file (\texttt{tipx.sty}) uses the + U encoding and new family names (tipx and xipx which are arbitrary). + In the future, it may be possible to use a new encoding name TS3 + (I experimentally put \texttt{ts3enc.def} and \texttt{ts3*.fd} in + the \texttt{sty} directory of the package. Use + these files at your own risk, if the system doesn't complain.) + +\item Some new tone letter commands, \verb|\stone| and \verb|\rtone|. +\item Manual updated. +\item Manual for the \texttt{vowel.sty} completed. +\item Some diacritic commands added. +\end{itemize} + +\subsection{Newly created symbols}\label{sec:newsymbols} + +The following two symbols are newly adopted in the \texttt{tipa} +encoding (i.e., T3). + +\begin{quote} +Hooktop right-tail D --- \texthtrtaild\\ +Left-hooktop long Y --- \textlhtlongy +\end{quote} + +The following command was realized by a macro in the previous version +but now is assigned a code of its own in the \texttt{tipa} encoding +(i.e., T3). + +\begin{quote} +Crossed lambda --- \textcrlambda +\end{quote} + +The following symbols are (mostly) newly created symbols in the +\texttt{tipx} fonts. (Note that some are moved from the \texttt{tipa} +because of the encoding change.) + +\begin{quote} +Right-hook A --- \textrhooka\\ +Left-hook four --- \textlhookfour\\ +Inverted script A --- \textinvscripta\\ +A-O ligature --- \textaolig\\ +Inverted small capital A --- \textinvsca\\ +Small capital A-O ligature --- \textscaolig\\ +Stretched C (original form) --- \textstretchcvar\\ +Curly-tail stretched C --- \textctstretchc\\ +Curly-tail stretched C (original form) --- \textctstretchcvar\\ +Front-hook D --- \textfrhookd\\ +Front-hook D (Original) --- \textfrhookdvar\\ +D-B ligature --- \textdblig\\ +Small capital delta --- \textscdelta\\ +Right-hook E --- \textrhooke\\ +Right-hook epsilon --- \textrhookepsilon\\ +Small capital F --- \textscf\\ +Greek gamma --- \textgrgamma\\ +Front-tail gamma --- \textfrtailgamma\\ +Back-tail gamma --- \textbktailgamma\\ +Right-tail hooktop H --- \textrtailhth\\ +Heng --- \textheng\\ +Curly-tail J (a variety found in 1996 IPA) --- \textctjvar\\ +Hooktop barred dotless J (a variety) --- \texthtbardotlessjvar\\ +Small capital K --- \textsck\\ +Turned small capital K --- \textturnsck\\ +Reversed small capital L --- \textrevscl\\ +H-M ligature --- \texthmlig\\ +Small capital M --- \textscm\\ +Front-bar N --- \textfrbarn\\ +Right leg N --- \textnrleg\\ +Bull's eye (an old version) --- \textObullseye\\ +Female sign --- \textfemale\\ +Uncrossed female sign --- \textuncrfemale\\ +Right-hook open O --- \textrhookopeno\\ +Inverted omega --- \textinvomega\\ +Left-hook P --- \textlhookp\\ +Small capital P --- \textscp\\ +A variety of thorn (1) --- \textthornvari\\ +A variety of thorn (2) --- \textthornvarii\\ +A variety of thorn (3) --- \textthornvariii\\ +A variety of thorn (4) --- \textthornvariv\\ +Q-P ligature --- \textqplig\\ +Reversed small capital R --- \textrevscr\\ +Reversed esh with top loop --- \textlooptoprevesh\\ +Front-hook T --- \textfrhookt\\ +Curly-tail turned T --- \textctturnt\\ +Turned small capital U --- \textturnscu\\ +Turned two --- \textturntwo\\ +Bent-tail yogh --- \textbenttailyogh\\ +Turned three --- \textturnthree\\ +Curly-tail inverted glottal stop --- \textctinvglotstop\\ +Turned glottal stop (PSG 1996:211) --- \textturnglotstop\\ +Pipe (a variety with no descender) --- \textpipevar\\ +Double pipe (a variety with no descender) --- \textdoublepipevar\\ +Double-barred pipe (a variety with no descender) --- \textdoublebarpipevar\\ +Superscript left arrow --- \textspleftarrow\\ +Down full arrow --- \textdownfullarrow\\ +Up full arrow --- \textupfullarrow\\ +Subscript right arrow --- \textsubrightarrow\\ +Subscript double arrow --- \textsubdoublearrow\\ +Reversed Polish hook --- an accent command e.g., \textrevpolhook{o}\\ +Retracting sign (a variety) --- \textretractingvar\\ +Right hook (long) --- \textrthooklong\\ +Palatalization hook (long) --- \textpalhooklong\\ +Palatalization hook (a variety) --- \textpalhookvar +\end{quote} + +\subsection{Symbol shape changes} + +Shapes of the following symbols have been modified from the first +version to the present. + +\begin{center}\tabcolsep.2em +\begin{tabular}{llccl} +Name & Macro name & New & Old & Old symbol name\\ +\hline +Pipe & \Tt{textpipe} & \textpipe + & \textpipevar & \Tt{textpipevar}\\ +Double pipe & \Tt{textdoublepipe} & \textdoublepipe + & \textdoublepipevar & \Tt{textdoublepipevar}\\ +Double-barred pipe & \Tt{textdoublebarpipe}& \textdoublebarpipe + & \textdoublebarpipevar & \Tt{textdoublebarpipevar}\\ +Down arrow & \Tt{textdownstep} & \textdownstep + & \textdownfullarrow & \Tt{textdownfullarrow}\\ +Up arrow & \Tt{textupstep} & \textupstep + & \textupfullarrow & \Tt{textupfullarrow}\\ +Bull's eye & \Tt{textbullseye} & \textbullseye + & \textObullseye & \Tt{textObullseye}\\ +Hooktop barred & \Tt{texthtbardotlessj}& \texthtbardotlessj + & \texthtbardotlessjvar & \Tt{texthtbardotlessjvar}\\ +dotless J \\ +\end{tabular} +\end{center} + +For each symbol, the old shape is preserved in the \texttt{tipx} fonts +and can be accessed by a new name (in most cases \texttt{var} or +\texttt{O} is attached) indicated at the rightmost column of the above +table. + + +\clearemptydoublepage +\chapter{Symbols not included in TIPA} + +Although the present version of \tipa{} includes almost all the +symbols found in \PSG\ and \Handbook, there are still some symbols not +included or defined in \tipa{}. + +Some such symbols can be realized by writing appropriate +macros, while some others cannot be realized without resorting to +the Metafont. + +This section discusses these problems by classifying such symbols into +three categories, as shown below. + +\begin{enumerate} +\itemsep0pt +\item Symbols that can be realized by \TeX{}'s macro level and/or by using + symbols from other fonts. +\item Symbols that can be imitated by \TeX{}'s macro level and/or by using + symbols from other fonts (but may not look quite satisfactory). +\item Symbols that cannot be realized at all, without creating a new + font. +\end{enumerate} + +With the addition of the \tipx{} fonts, symbols that belong to the +third category are virtually non-existent now. + +As for the symbols that belong to the first and second categories, +\tipa{} provides a variety of macros and parts of symbols that can be +used to compose a desired symbol if you can write an appropriate +macro for it. + +The following table shows symbols that belong to the first category. +For each symbol, an example of input method and its output is also +given. Note that barred or crossed symbols can be easily made by +\tipa{}'s \verb|\ipabar| macro. + +\def\SecLine{\>} + +\medskip +\begin{tabbing} +\iftimes +x \=xxxxxxxxxxxxxxxxxxxxxxxx \=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \= \kill +\else +x \=xxxxxxxxxxxxxxxxxxxxxxxx \=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \= \kill +\fi +\> Barred small capital I + \SecLine \verb|\ipabar{\textsci}{.5ex}{1.1}{}{}| \> + \ipabar{\textsci}{.5ex}{1.1}{}{} \\ +\> Barred J + \SecLine \verb|\ipabar{j}{.5ex}{1.1}{}{}| \> + \ipabar{j}{.5ex}{1.1}{}{} \\ +\> Crossed K + \SecLine \verb|\ipabar{k}{1.2ex}{.6}{}{.4}| \> + \ipabar{k}{1.2ex}{.6}{}{.4} \\ +\> Barred open O + \SecLine \verb|\ipabar{\textopeno}{.5ex}{.6}{.4}{}| \> + \ipabar{\textopeno}{.5ex}{.5}{.5}{} \\ +\> Barred small capital omega + \SecLine \verb|\ipabar{\textscomega}{.5ex}{1.1}{}{}| \> + \ipabar{\textscomega}{.5ex}{1.1}{}{} \\ +\> Barred P + \SecLine \verb|\ipabar{p}{.5ex}{1.1}{}{}| \> + \ipabar{p}{.5ex}{1.1}{}{} \\ +\> Half-barred U + \SecLine \verb|\ipabar{u}{.5ex}{.5}{}{.5}| \> + \ipabar{u}{.5ex}{.5}{}{.5} \\ +\> Barred small capital U + \SecLine \verb|\ipabar{\textscu}{.5ex}{1.1}{}{}| \> + \ipabar{\textscu}{.5ex}{1.1}{}{} \\ +\iftimes +\> Double slash + \SecLine \verb|/\kern-.1em/| \> + /\kern-.1em/ \\ +\> Triple slash + \SecLine \verb|/\kern-.1em/\kern-.1em/| \> + /\kern-.1em/\kern-.1em/ +\else +\> Double slash + \SecLine \verb|/\kern-.25em/| \> + /\kern-.25em/ \\ +\> Triple slash + \SecLine \verb|/\kern-.25em/\kern-.25em/| \> + /\kern-.25em/\kern-.25em/ +\fi +\end{tabbing} + +The next definitions attach a tiny `left hook' (which shows +palatalization) to a symbol. For example: + +\iftimes +\newcommand\textlhookb{{\tipaencoding + b\hspace{-.1em}\raisebox{.0ex}{\textpalhookvar}}} +\newcommand\textlhookm{{\tipaencoding + m\hspace{-.1em}\raisebox{.0ex}{\textpalhook}}} +\begin{verbatim} + % Left-hook B + \newcommand\textlhookb{{\tipaencoding + b\hspace{-.1em}\raisebox{.0ex}{\textpalhookvar}}} + % Left-hook M + \newcommand\textlhookm{{\tipaencoding + m\hspace{-.1em}\raisebox{.0ex}{\textpalhook}}} +\end{verbatim} +\else +\newcommand\textlhookb{{\tipaencoding + b\hspace{-.15em}\raisebox{.0ex}{\textpalhookvar}}} +\newcommand\textlhookm{{\tipaencoding + m\hspace{-.15em}\raisebox{.0ex}{\textpalhook}}} +\begin{verbatim} + % Left-hook B + \newcommand\textlhookb{{\tipaencoding + b\hspace{-.15em}\raisebox{.0ex}{\textpalhookvar}}} + % Left-hook M + \newcommand\textlhookm{{\tipaencoding + m\hspace{-.15em}\raisebox{.0ex}{\textpalhook}}} +\end{verbatim} +\fi + +The former example uses a left-hook called \Tt{textpalhookvar}, +(\KK\textpalhookvar\KK) and the latter uses a hook called \Tt{textpalhook}, +(\KK\textpalhook\KK). + +\begin{quote} + Left-hook B --- \textlhookb \\ + Left-hook M --- \textlhookm +\end{quote} + +Symbols that belong to the second category are shown below. Note that +slashed symbols can be in fact easily made by a macro. For example, a +slashed b i.e., \ipaclap{\textipa{b}}{\textipa{/}} can be made by +\verb|\ipaclap{\textipa{b}}{\textipa{/}}|. The reason why slashed +symbols are not included in \tipa{} is as follows: first, a simple +overlapping of a symbol and a slash does not always result in a good +shape, and secondly, it doesn't seem significant to devise fine-tuned +macros for symbols which were created essentially for typewriters. + +\medskip +\begin{tabbing} +xxxx \=xxxxxxxxxxxxxxxxxxxxxxxx \= \kill +\> Slashed B \> + \ipaclap{\textipa{b}}{\textipa{/}} \\ +\> Slashed C \> + \ipaclap{\textipa{c}}{\textipa{/}} \\ +\> Slashed D \> + \ipaclap{\textipa{d}}{\textipa{/}} \\ +\> Slashed U \> + \ipaclap{\textipa{u}}{\textipa{/}} \\ +\> Slashed W \> + \ipaclap{\textipa{w}}{\textipa{/}} +\end{tabbing} + +\endgroup + +\clearemptydoublepage +\chapter{FAQ} + +\newcount\FAQcnt \FAQcnt=0 + +\newcommand\QandA[2]{{\par\bigskip\parindent0pt + \global\advance\FAQcnt 1 + \hangindent2em\hangafter1 \textbf{Q\the\FAQcnt:} #1\par\medskip + \hangindent2em\hangafter1 \textbf{A\the\FAQcnt:} #2\par\medskip}} + +\newcommand\NextPar{\par\hangindent2em\hangafter0\relax} + +\QandA {I have installed all the \tipa{} fonts. But the system can't + find them. What's wrong?}{Please don't forget to run the command + \texttt{mktexlsr} after the installation. Also, try to run the + command:\par\begin{quote}\texttt{kpsewhich tipa10.mf}\end{quote} + \NextPar If the system shows nothing in return, you must have + installed them in a wrong place.} + +\QandA {I'm using shortcut letters but there are still many symbols + which have no shortcut letters. What can I do? Do I have to use all + these long names?}{You are free to define shorter names. \LaTeX's + \texttt{\tbs newcommand} is a safe way to do this. For example: + + \begin{quote} + \texttt{\tbs newcommand\tbi\tbs vef\tbii\tbi\tbs textbarrevglotstop\tbii} + \end{quote} + + \vspace{-5mm} + \begin{tipaexample} + \yitem \texttt{[\tbs vef] is a voiced epiglottal fricative.} + \yitem \textipa{\let\vef\textbarrevglotstop [\vef]} is a + voiced epiglottal fricative. + \end{tipaexample}} + +\QandA {I want to use the \LaTeX\ command \texttt{\tbs |} in the IPA + environment. But I don't want to specify the \texttt{safe} + option. Is it possible?}{Use a command called \texttt{\tbs Vert} + instead of \texttt{\tbs |}. It has the same meaning. Other possibly + dangerous commands such as \texttt{\tbs:}, \texttt{\tbs:} and + \texttt{\tbs!} have a similar substitute command. For more + details, see page~\pageref{unsafemode}.} + +\QandA {I can't input Eng (\texttt{\tbs ng}) + properly. Why?}{Use \texttt{\tbs textipa\tbi N\tbii}. Technically + speaking, this is a matter of priority among the \texttt{OT1}, + \texttt{T1} and \texttt{T3} encodings. But may be called a bug. I'll + work out this problem in the next release.} + +\QandA {How can I input \emph{capital letters}, I mean real capital + letters, not small capitals, within the IPA environment?}{Use the + command \texttt{\tbs*}. For example: + + \begin{tipaexample} + \yitem \texttt{\tbs textipa\tbi["pI\tbs *Di]\tbii} + \yitem \textipa{["pI\*Di]} + \end{tipaexample}\NextPar This command is explained in + section~\ref{sec:specialmacros}.} + +\QandA {How can I output an accent or diacritic symbol alone? For + example, I want to print the umlaut symbol alone, in order to + explain the usage of this symbol.}{Try to add an empty argument + to the umlaut command. + + \begin{tipaexample} + \yitem \texttt{\tbs texipa\tbi[\tbs"\tbi\tbii]\tbii} + \yitem \textipa{[\"{}]} + \end{tipaexample}} + +\QandA {Are there only a limited number of tone letters?} + {Absolutely not! Please read section \ref{sec:tone} carefully.} + +\QandA {How to create a PDF file?} {You can find a few examples in + section \ref{sec:pdf}.} + +\QandA {I have succeeded in creating a PDF document. But \tipa{} fonts + don't look good (jaggy). What's wrong?}{Type1 fonts are not + embedded in your document and pk fonts are used instead. Install + Type1 font files and/or map file correctly.} + +\QandA {I have succeeded in creating a PDF document with Type1 fonts + embedded. But some symbols are missing. Why?}{In some versions of + \texttt{dvips}, the character shifting switch is turned on by + default. In order to prevent this, try to invoke \texttt{dvips} in + the following way.\par + \begin{quote}\texttt{dvips -Ppdf -G0} \textsl{filename}\end{quote}} + +\QandA {I find no description on hyphenation of phonetic texts in this + manual.}{I haven't seen any description on hyphenation in \Handbook\ + nor in \emph{Principles}. } + +\QandA {Why is italic font not included in \tipa? Slanted fonts can be + used as substitutes. But I want real italic fonts.}{It isn't + difficult to create italic shapes for a limited number of symbols + such as Schwa, Turned script A, and so on. However, creating a whole + set of IPA symbols in italic is quite a different story. It is + difficult to distinguish, for example, Lower-case A and Script A in + italic. In the IPA's \emph{Principles}, it is recommended + that the IPA symbols should be roman, excluding italic shapes in + some of the examples. Another point that should be made is that + there exist several systems of phonetic symbols in which all the + symbols appear in italic. These are the ones mainly used in + Scandinavian countries, and the problem is, there is no one-to-one + correspondences between such systems and the IPA. Aside from the + strictly phonetic use of symbols, however, there is a practical need + for italic versions of symbols such as italic Schwa. Therefore, it + may be helpful to create a new auxiliary font containing limited + number of italic symbols.} + +\QandA {Which is the first name of the author of \tipa? I'm confused.} + {Rei is his first name.} + +\QandA {I can't send e-mail to the author.} + {I recently changed my e-mail address. + + \begin{quote}\texttt{fkr@l.u-tokyo.ac.jp}\end{quote}} + + +\vspace{\stretch{2}} + +\betacomment +\thetacomment + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "tipaman" +%%% End: diff --git a/fonts/tipa/tipa/doc/tipaman4.tex b/fonts/tipa/tipa/doc/tipaman4.tex new file mode 100644 index 0000000000..7a4a0859ba --- /dev/null +++ b/fonts/tipa/tipa/doc/tipaman4.tex @@ -0,0 +1,249 @@ +% tipaman4.tex +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +\raggedbottom + +\chapter{Specimens} + +This section displays all the symbols included in the \tipa{} +font families. Sample texts are taken from the \emph{Principles} +(1949). The languages taken up here include: One variety of Southern +British English (in a narrower transcription), one form of Parisian +French, one variety of North German (in a narrower transcription), +Cairene Arabic (spoken language) and Swahili of Zanzaibar. + +\section{\texttt{tipa10} and \texttt{tipx10}} + +\tipaallchars{tipa10}\tipxallchars{tipx10} +\sampletext{\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipa12} and \texttt{tipx12}} + +\tipaallchars{tipa12}\tipxallchars{tipx12} +\sampletext{\large\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipa17} and \texttt{tipx17}} + +\tipaallchars{tipa17}\tipxallchars{tipx17} +\sampletext{\LARGE\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipa8} and \texttt{tipx8}} + +\tipaallchars{tipa8}\tipxallchars{tipx8} +\sampletext{\footnotesize\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipa9} and \texttt{tipx9}} + +\tipaallchars{tipa9}\tipxallchars{tipx9} +\sampletext{\small\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipabx10} and \texttt{tipxbx10}} + +\tipaallchars{tipabx10}\tipxallchars{tipxbx10} +\sampletext{\bfseries\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipabx12} and \texttt{tipxbx12}} + +\tipaallchars{tipabx12}\tipxallchars{tipxbx12} +\sampletext{\large\bfseries\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipabx8} and \texttt{tipxbx8}} + +\tipaallchars{tipabx8}\tipxallchars{tipxbx8} +\sampletext{\footnotesize\bfseries\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipabx9} and \texttt{tipxbx9}} + +\tipaallchars{tipabx9}\tipxallchars{tipxbx9} +\sampletext{\small\bfseries\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipasl10} and \texttt{tipxsl10}} + +\tipaallchars{tipasl10}\tipxallchars{tipxsl10} +\sampletext{\slshape\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipasl12} and \texttt{tipxsl12}} + +\tipaallchars{tipasl12}\tipxallchars{tipxsl12} +\sampletext{\large\slshape\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipasl8} and \texttt{tipxsl8}} + +\tipaallchars{tipasl8}\tipxallchars{tipxsl8} +\sampletext{\footnotesize\slshape\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipasl9} and \texttt{tipxsl9}} + +\tipaallchars{tipasl9}\tipxallchars{tipxsl9} +\sampletext{\small\slshape\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipass10} and \texttt{tipxss10}} + +\tipaallchars{tipass10}\tipxallchars{tipxss10} +\sampletext{\sffamily\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipass12} and \texttt{tipxss12}} + +\tipaallchars{tipass12}\tipxallchars{tipxss12} +\sampletext{\large\rmtipa\sffamily\tipaencoding} + +\section{\texttt{tipass17} and \texttt{tipxss17}} + +\tipaallchars{tipass17}\tipxallchars{tipxss17} +\sampletext{\LARGE\rmtipa\sffamily\tipaencoding} + +\section{\texttt{tipass8} and \texttt{tipxss8}} + +\tipaallchars{tipass8}\tipxallchars{tipxss8} +\sampletext{\footnotesize\rmtipa\sffamily\tipaencoding} + +\section{\texttt{tipass9} and \texttt{tipxss9}} + +\tipaallchars{tipass9}\tipxallchars{tipxss9} +\sampletext{\small\rmtipa\sffamily\tipaencoding} + +\section{\texttt{tipab10} and \texttt{tipxb10}} + +\tipaallchars{tipab10}\tipxallchars{tipxb10} +\sampletext{\bseries\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipabs10} and \texttt{tipxbs10}} + +\tipaallchars{tipabs10}\tipxallchars{tipxbs10} +\sampletext{\bfseries\slshape\rmtipa\rmfamily\tipaencoding} + +\section{\texttt{tipasb10} and \texttt{tipxsb10}} + +\tipaallchars{tipasb10}\tipxallchars{tipxsb10} +\sampletext{\bfseries\rmtipa\sffamily\tipaencoding} + +\section{\texttt{tipasi10} and \texttt{tipxsi10}} + +\tipaallchars{tipasi10}\tipxallchars{tipxsi10} +\sampletext{\slshape\rmtipa\sffamily\tipaencoding} + +\section{\texttt{tipatt10} and \texttt{tipxtt10}} + +\tipaallchars{tipatt10}\tipxallchars{tipxtt10} +\sampletext{\ttfamily\tipaencoding} + +\section{\texttt{tipatt12} and \texttt{tipxtt12}} + +\tipaallchars{tipatt12}\tipxallchars{tipxtt12} +\sampletext{\large\ttfamily\tipaencoding} + +\section{\texttt{tipatt8} and \texttt{tipxtt8}} + +\tipaallchars{tipatt8}\tipxallchars{tipxtt8} +\sampletext{\footnotesize\ttfamily\tipaencoding} + +\section{\texttt{tipatt9} and \texttt{tipxtt9}} + +\tipaallchars{tipatt9}\tipxallchars{tipxtt9} +\sampletext{\small\ttfamily\tipaencoding} + +\section{\texttt{tipats10} and \texttt{tipxts10}} + +\tipaallchars{tipats10}\tipxallchars{tipxts10} +\sampletext{\ttfamily\slshape\tipaencoding} + +\section{\texttt{xipa10} and \texttt{xipx10}} + +\tipaallchars{xipa10}\tipxallchars{xipx10} +\sampletext{\rmxipa\rmfamily\tipaencoding} + +\section{\texttt{xipab10} and \texttt{xipxb10}} + +\tipaallchars{xipab10}\tipxallchars{xipxb10} +\sampletext{\rmxipa\rmfamily\bfseries\tipaencoding} + +\section{\texttt{xipasl10} and \texttt{xipxsl10}} + +\tipaallchars{xipasl10}\tipxallchars{xipxsl10} +\sampletext{\rmxipa\rmfamily\slshape\tipaencoding} + +\section{\texttt{xipass10} and \texttt{xipxss10}} + +\tipaallchars{xipass10}\tipxallchars{xipxss10} +\sampletext{\rmxipa\sffamily\tipaencoding} + +\section{\texttt{xipabs10} and \texttt{xipxbs10}} + +\tipaallchars{xipabs10}\tipxallchars{xipxbs10} +\sampletext{\rmxipa\rmfamily\bfseries\slshape\tipaencoding} + +\section{\texttt{xipasi10} and \texttt{xipxsi10}} + +\tipaallchars{xipasi10}\tipxallchars{xipxsi10} +\sampletext{\rmxipa\sffamily\slshape\tipaencoding} + +\section{\texttt{xipasb10} and \texttt{xipxsb10}} + +\tipaallchars{xipasb10}\tipxallchars{xipxsb10} +\sampletext{\rmxipa\sffamily\bfseries\tipaencoding} + + + +\clearemptydoublepage +\chapter{Layout of TIPA fonts}\label{sec:FontLayout} + +\vspace*{\stretch{2}} + +\upsiloncomment + +\vspace*{\stretch{2}} + +\begingroup + +\newcommand\chartsep{-5mm} +\renewcommand\chartstrut{\lower4.5pt\vbox to14pt{}} + +\newpage +\section{{\tt tipa10}}\vspace{\chartsep} +{\fonttable{tipa10}} +%\section{{\tt tipasl10}}\vspace{\chartsep} +%{\fonttable{tipasl10}} +%\section{{\tt tipabx10}}\vspace{\chartsep} +%{\fonttable{tipabx10}} +%\section{{\tt tipass10}}\vspace{\chartsep} +%{\fonttable{tipass10}} +%\section{{\tt tipasb10}}\vspace{\chartsep} +%{\fonttable{tipasb10}} +%\section{{\tt tipatt10}}\vspace{\chartsep} +%{\fonttable{tipatt10}} +%\section{{\tt xipa10}}\vspace{\chartsep} +%{\fonttable{xipa10}} + +\newpage +\section{{\tt tipx10}}\vspace{\chartsep} +{\fonttable{tipx10}} +%\section{{\tt tipxsl10}} +%{\fonttable{tipxsl10}} +%\newpage +%\section{{\tt tipxbx10}} +%{\fonttable{tipxbx10}} +%\section{{\tt tipxss10}} +%{\fonttable{tipxss10}} +%\newpage +%\section{{\tt tipxtt10}} +%{\fonttable{tipxtt10}} +%\section{{\tt xipx10}} +%{\fonttable{xipx10}} + +\endgroup + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "tipaman" +%%% End: diff --git a/fonts/tipa/tipa/doc/vowel.pdf b/fonts/tipa/tipa/doc/vowel.pdf Binary files differnew file mode 100644 index 0000000000..34e3832eef --- /dev/null +++ b/fonts/tipa/tipa/doc/vowel.pdf diff --git a/fonts/tipa/tipa/doc/vowel.tex b/fonts/tipa/tipa/doc/vowel.tex new file mode 100644 index 0000000000..038cd1f830 --- /dev/null +++ b/fonts/tipa/tipa/doc/vowel.tex @@ -0,0 +1,475 @@ +% vowel.tex +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% + +\documentclass[a4paper]{article} +\usepackage{tipa} +\usepackage{vowel} + +\newcommand{\vowelbox}{\raise1ex\hbox to 2.5cm} +\newenvironment{texsrc}{\begin{minipage}[t]{7cm}}{\end{minipage}} + +\title{Vowel package manual} +\author{FUKUI Rei + \thanks{{\tt fkr@tooyoo.l.u-tokyo.ac.jp}}\\ + \textit{Graduate School of Humanities and Sociology}\\ + \textit{University of Tokyo}} +\date{28 October 2001} + +\begin{document} +\maketitle + +\section{Drawing vowel diagrams} + +\subsection{The {\tt vowel} environment} + +The general format of the {\tt vowel} environment is as follows. + +\medskip + +\verb|\begin{vowel}[|{\it option\/}(,{\it option},...)\verb|]| + +{\it commands for inputting vowels} + +\verb|\end{vowel}| + +\medskip + +Options and commands for inputting vowels are explained below. + +\subsection{The shapes of the diagram supported} + +The default shape of the vowel diagram is the one used in the recent +IPA chart, as shown below. + +\begin{center} +\begin{tabular}{ll} + \begin{vowel}[t] + \end{vowel} & + \begin{minipage}[t]{5.5cm} + \verb|\begin{vowel}|\\ + \verb|\end{vowel}| + \end{minipage} +\end{tabular} +\end{center} + +In this diagram, the bottom, back, and top sides are in the proportion +2:3:4, as was prescribed by Daniel Jones. + +In order to change the shape of an diagram, specify the following +options. + +\begin{itemize}\itemsep0pt +\item \texttt{plain}, \texttt{simple}, \texttt{standard}, + \texttt{ipanew} (=default) +\item \texttt{rectangle} \quad Draws a rectangular diagram. +\item \texttt{triangle} \quad Draws a triangular diagram. +\item \texttt{three} \quad Distinguishes only three levels of vowel + height. +\end{itemize} + +The first group of options are mutually exclusive, i.e., only one them +can be selected at a time. + +\begin{center} +\begin{tabular}{ll} + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}|\\ + \verb|\end{vowel}|\\ + \emph{or}\\ + \verb|\begin{vowel}[ipanew]|\\ + \verb|\end{vowel}|} + \end{minipage} & + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[plain]|\\ + \verb|\end{vowel}|} + \end{minipage} \\ + \begin{vowel}[t]\end{vowel} & + \begin{vowel}[t,plain]\end{vowel} +\end{tabular} + +\begin{tabular}{ll} + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[simple]|\\ + \verb|\end{vowel}|} + \end{minipage} & + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[standard]|\\ + \verb|\end{vowel}|} + \end{minipage} \\ + \begin{vowel}[t,simple]\end{vowel} & + \begin{vowel}[t,standard]\end{vowel} +\end{tabular} +\end{center} + +Among the other options, \texttt{rectangle} +and \texttt{triangle} are mutually exclusive but each can be combined +with one of the options \texttt{plain}, \texttt{simple} or +\texttt{ipanew}. And the last option \texttt{three} can be combined +with one of the options \texttt{plain}, \texttt{simple} or +\texttt{ipanew}, and with one of the options \texttt{rectangle} +and \texttt{triangle}. + +\begin{center} +\begin{tabular}{ll} + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[rectangle]|\\ + \verb|\end{vowel}|} + \end{minipage} & + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[plain,rectangle]|\\ + \verb|\end{vowel}|} + \end{minipage} \\ + \begin{vowel}[t,rectangle]\end{vowel} & + \begin{vowel}[t,plain,rectangle]\end{vowel} +\end{tabular} + +\begin{tabular}{ll} + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[simple,rectangle]|\\ + \verb|\end{vowel}|} + \end{minipage} & + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[triangle]|\\ + \verb|\end{vowel}|} + \end{minipage} \\ + \begin{vowel}[t,simple,rectangle]\end{vowel} & + \begin{vowel}[t,triangle]\end{vowel} +\end{tabular} + +\begin{tabular}{ll} + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[plain,triangle]|\\ + \verb|\end{vowel}|} + \end{minipage} & + \begin{minipage}[t]{5.5cm}{\small + \verb|\begin{vowel}[simple,triangle]|\\ + \verb|\end{vowel}|} + \end{minipage} \\ + \begin{vowel}[t,plain,triangle]\end{vowel} & + \begin{vowel}[t,simple,triangle]\end{vowel} +\end{tabular} + +\begin{tabular}{ll} + \begin{minipage}[t]{5cm}{\small + \verb|\begin{vowel}[simple,three]|\\ + \verb|\end{vowel}|} + \end{minipage} & + \begin{minipage}[t]{6cm}{\small + \verb|\begin{vowel}[simple,triangle,three]|\\ + \verb|\end{vowel}|} + \end{minipage} \\ + \begin{vowel}[t,simple,three]\end{vowel} & + \hspace{.5cm}\begin{vowel}[t,simple,triangle,three]\end{vowel} +\end{tabular} +\end{center} + + +\subsection{Placing vowels on a diagram} + +The following commands are prepared in order to place vowels in the +vowel diagram. + +\begin{itemize} + \item \verb+\putcvowel[l|r]{symbol}{+\emph{cardinal position}\verb+}+ + \item \verb+\putvowel[l|r]{symbol}{x}{y}+ +\end{itemize} + +The former command is used to place a vowel on a {\it cardinal +position}, and the latter is used to place a vowel on a point specified +by {\it x} and {\it y}. In each case, an optional argument \verb|[l]| +or \verb|[r]| can be given, which specifies to put a symbol (usually a +dot) that indicates the point and a vowel is placed at the left or +right of the symbol. + +The next table shows a diagram indicating the cardinal positions and +an example of a vowel diagram containing the \verb|\putcvowel| commands. + +\begin{center} +\begin{tabular}{lll} + \begin{vowel}[t] + \putcvowel{\footnotesize 1}{1}\putcvowel{\footnotesize 2}{2} + \putcvowel{\footnotesize 3}{3}\putcvowel{\footnotesize 4}{4} + \putcvowel{\footnotesize 5}{5}\putcvowel{\footnotesize 6}{6} + \putcvowel{\footnotesize 7}{7}\putcvowel{\footnotesize 8}{8} + \putcvowel{\footnotesize 9}{9}\putcvowel{\footnotesize 10}{10} + \putcvowel{\footnotesize 11}{11}\putcvowel{\footnotesize 12}{12} + \putcvowel{\footnotesize 13}{13}\putcvowel{\footnotesize 14}{14} + \putcvowel{\footnotesize 15}{15}\putcvowel{\footnotesize 16}{16} + \end{vowel} & + \begin{vowel}[t] + \putcvowel{i}{1}\putcvowel{e}{2} + \putcvowel{\textipa{E}}{3}\putcvowel{a}{4} + \putcvowel{\textipa{6}}{5}\putcvowel{\textipa{O}}{6} + \putcvowel{o}{7}\putcvowel{u}{8} + \putcvowel{\textipa{1}}{9}\putcvowel{\textipa{9}}{10} + \putcvowel{\textipa{@}}{11}\putcvowel{\textipa{3}}{12} + \putcvowel{\textipa{I}}{13}\putcvowel{\textipa{U}}{14} + \putcvowel{\textturna}{15}\putcvowel{\ae}{16} + \end{vowel} & + \begin{minipage}[t]{4cm} +{\footnotesize\begin{verbatim} + \begin{vowel} + \putcvowel{i}{1} + \putcvowel{e}{2} + \putcvowel{\textipa{E}}{3} + \putcvowel{a}{4} + ... + \end{vowel} +\end{verbatim}} + \end{minipage} +\end{tabular} +\end{center} + +The cardinal positions from 1 through 8 are the same with the numbers +of cardinal vowels determined by Daniel Jones. And the remaining +numbers (from 9 through 16) are extended cardinal positions that are +used to indicate the positions of all the remaining vowels that appear +in the recent IPA chart, having no relation to the Jonesian system of +cardinal vowels. + +In the case of the second form of the command. i.e., \verb+\putvowel+, +the origin is the upper left corner. And it is convenient to use the +basic units, \verb|\vowelhunit| and \verb|\vowelvunit| in specifying a +point in the $x$--$y$ coordinate. the bottom right corner is indicated +by a point (\verb|4\vowelhunit|, \verb|3\vowelhunit|). Thus: + +\begin{quote} +\verb+\putvowel{i}{0pt}{0pt}+ is equivalent to +\verb+\putcvowel{i}{1}+. +\end{quote} + +and + +\begin{quote} +\verb+\putvowel{\textscripta}{4\vowelhunit}{3\vowelvunit}+ is +equivalent to \verb+\putcvowel{\textscripta}{5}+. +\end{quote} + +\subsection{Changing the size of a diagram} + +The usual commands for changing the size of text fonts such as +\verb|\small|, \verb|\large|, \verb|\Large|, etc.\ can be used to +change the size of a vowel diagram. + +\begin{center} +\begin{tabular}{lll} +\begin{minipage}{3.2cm} +{\small\begin{verbatim} +{\small +\begin{vowel} +\putcvowel{i}{1} +... +\end{vowel}} +\end{verbatim}} +\end{minipage} & +\begin{minipage}{3.2cm} +{\small\begin{verbatim} +\begin{vowel} +\putcvowel{i}{1} +... +\end{vowel} +\end{verbatim}} +\end{minipage} & +\begin{minipage}{3.2cm} +{\small\begin{verbatim} +{\large +\begin{vowel} +\putcvowel{i}{1} +... +\end{vowel}} +\end{verbatim}} +\end{minipage} \\ + {\small \begin{vowel} + \putcvowel{i}{1}\putcvowel{e}{2} + \putcvowel{\textepsilon}{3}\putcvowel{a}{4} + \putcvowel{\textscripta}{5}\putcvowel{\textopeno}{6} + \putcvowel{o}{7}\putcvowel{u}{8} + \end{vowel}} & + \begin{vowel} + \putcvowel{i}{1}\putcvowel{e}{2} + \putcvowel{\textepsilon}{3}\putcvowel{a}{4} + \putcvowel{\textscripta}{5}\putcvowel{\textopeno}{6} + \putcvowel{o}{7}\putcvowel{u}{8} + \end{vowel} & + {\large \begin{vowel} + \putcvowel{i}{1}\putcvowel{e}{2} + \putcvowel{\textepsilon}{3}\putcvowel{a}{4} + \putcvowel{\textscripta}{5}\putcvowel{\textopeno}{6} + \putcvowel{o}{7}\putcvowel{u}{8} + \end{vowel}} +\end{tabular} +\end{center} + +It is also possible to change the size of a vowel symbol and the +size of a diagram independently. + +In order to change only the size of a vowel symbol, use the commands +such as \verb|\small|, \verb|\large|, etc.\ within the +\verb|\putcvowel| command. + +And in order to change only the size of a diagram, give appropriate +values to the parameters \verb|\vowelhunit| and \verb|\vowelvunit|. +\verb|\vowelhunit| stands for the horizontal unit length, and +\verb|\vowelvunit| the vertical unit length. By default both +\verb|\vowelhunit| and \verb|\vowelvunit| are equal to 2em. And if +only the former is modified by an user, the latter is automatically +adjusted to the same length. + +\begin{quote} +\begin{tabular}{ll} + \vowelbox{\hss + \begin{vowel}[t] + \putcvowel{i}{1} + \putcvowel{\large e}{2} + \putcvowel{\Large\textipa{E}}{3} + \putcvowel{\huge a}{4} + \end{vowel}} & +\begin{texsrc} +\begin{verbatim} +\begin{vowel} +\putcvowel{i}{1} +\putcvowel{\large e}{2} +\putcvowel{\Large\textipa{E}}{3} +\putcvowel{\huge a}{4} +\end{vowel} +\end{verbatim} +\end{texsrc} +\end{tabular} +\end{quote} + +\begin{quote} +\begin{tabular}{ll} + \vowelbox{\hss + {\vowelhunit=1em + \begin{vowel}[t] + \putcvowel{i}{1} + \putcvowel{e}{2} + \putcvowel{\textipa{E}}{3} + \putcvowel{a}{4} + \end{vowel}}} & +\begin{texsrc} +\begin{verbatim} +{\vowelhunit=1em +\begin{vowel} +\putcvowel{i}{1} +... +\end{vowel}} +\end{verbatim} +\end{texsrc} +\end{tabular} +\end{quote} + +\begin{quote} +\begin{tabular}{ll} + \vowelbox{\hss + {\vowelvunit=2.31em + \begin{vowel}[t] + \putcvowel{i}{1} + \putcvowel{e}{2} + \putcvowel{\textipa{E}}{3} + \putcvowel{a}{4} + \end{vowel}}} & +\begin{texsrc} +\begin{verbatim} +{\vowelvunit=2.31em +\begin{vowel} +\putcvowel{i}{1} +... +\end{vowel}} +\end{verbatim} +\end{texsrc} +\end{tabular} +\end{quote} + +%In the later works of Daniel Jones, it is reported that he had used +%such a diagram that the angle of the upper-left corner is 60 +%degrees. In this case, the bottom, right, and top sides are in the +%proportion of 2:\(\sqrt{12}\):4. %See Ashby. + +\newpage +\section{Example} + +The next example shows the IPA vowel chart (updated 1996). + +\begin{center} +{\Large +\begin{vowel} +% \putcvowel[l]{i}{1} + \putvowel[l]{i}{0pt}{0pt} + \putcvowel[r]{y}{1} + \putcvowel[l]{e}{2} + \putcvowel[r]{\o}{2} + \putcvowel[l]{\textepsilon}{3} + \putcvowel[r]{\oe}{3} + \putcvowel[l]{a}{4} + \putcvowel[r]{\textscoelig}{4} + \putcvowel[l]{\textscripta}{5} + \putcvowel[r]{\textturnscripta}{5} + \putcvowel[l]{\textturnv}{6} + \putcvowel[r]{\textopeno}{6} + \putcvowel[l]{\textramshorns}{7} + \putcvowel[r]{o}{7} + \putcvowel[l]{\textturnm}{8} + \putcvowel[r]{u}{8} + \putcvowel[l]{\textbari}{9} + \putcvowel[r]{\textbaru}{9} + \putcvowel[l]{\textreve}{10} + \putcvowel[r]{\textbaro}{10} + \putcvowel{\textschwa}{11} + \putcvowel[l]{\textrevepsilon}{12} + \putcvowel[r]{\textcloserevepsilon}{12} + \putcvowel{\textsci\ \textscy}{13} + \putcvowel{\textupsilon}{14} + \putcvowel{\textturna}{15} + \putcvowel{\ae}{16} +\end{vowel} +} + +\bigskip +\begin{texsrc} +\begin{verbatim} +\begin{vowel} + \putcvowel[l]{i}{1} + \putcvowel[r]{y}{1} + \putcvowel[l]{e}{2} + \putcvowel[r]{\o}{2} + \putcvowel[l]{\textepsilon}{3} + \putcvowel[r]{\oe}{3} + \putcvowel[l]{a}{4} + \putcvowel[r]{\textscoelig}{4} + \putcvowel[l]{\textscripta}{5} + \putcvowel[r]{\textturnscripta}{5} + \putcvowel[l]{\textturnv}{6} + \putcvowel[r]{\textopeno}{6} + \putcvowel[l]{\textramshorns}{7} + \putcvowel[r]{o}{7} + \putcvowel[l]{\textturnm}{8} + \putcvowel[r]{u}{8} + \putcvowel[l]{\textbari}{9} + \putcvowel[r]{\textbaru}{9} + \putcvowel[l]{\textreve}{10} + \putcvowel[r]{\textbaro}{10} + \putcvowel{\textschwa}{11} + \putcvowel[l]{\textrevepsilon}{12} + \putcvowel[r]{\textcloserevepsilon}{12} + \putcvowel{\textsci\ \textscy}{13} + \putcvowel{\textupsilon}{14} + \putcvowel{\textturna}{15} + \putcvowel{\ae}{16} +\end{vowel} +\end{verbatim} +\end{texsrc} +\end{center} + +\end{document} diff --git a/fonts/tipa/tipa/dvips/tipa.map b/fonts/tipa/tipa/dvips/tipa.map new file mode 100644 index 0000000000..16cae5115b --- /dev/null +++ b/fonts/tipa/tipa/dvips/tipa.map @@ -0,0 +1,72 @@ +% The line below is a special comment, respected by tracemap.sh. +%vvv UniqueID=4500001 + +% vvv TIPA font series +tipa10 TeX-tipa10 <tipa10.pfb +tipa12 TeX-tipa12 <tipa12.pfb +tipa17 TeX-tipa17 <tipa17.pfb +tipa8 TeX-tipa8 <tipa8.pfb +tipa9 TeX-tipa9 <tipa9.pfb +tipab10 TeX-tipab10 <tipab10.pfb +tipabs10 TeX-tipabs10 <tipabs10.pfb +tipabx10 TeX-tipabx10 <tipabx10.pfb +tipabx12 TeX-tipabx12 <tipabx12.pfb +tipabx8 TeX-tipabx8 <tipabx8.pfb +tipabx9 TeX-tipabx9 <tipabx9.pfb +tipasb10 TeX-tipasb10 <tipasb10.pfb +tipasi10 TeX-tipasi10 <tipasi10.pfb +tipasl10 TeX-tipasl10 <tipasl10.pfb +tipasl12 TeX-tipasl12 <tipasl12.pfb +tipasl8 TeX-tipasl8 <tipasl8.pfb +tipasl9 TeX-tipasl9 <tipasl9.pfb +tipass10 TeX-tipass10 <tipass10.pfb +tipass12 TeX-tipass12 <tipass12.pfb +tipass17 TeX-tipass17 <tipass17.pfb +tipass8 TeX-tipass8 <tipass8.pfb +tipass9 TeX-tipass9 <tipass9.pfb +tipatt8 TeX-tipatt8 <tipatt8.pfb +tipatt9 TeX-tipatt9 <tipatt9.pfb +tipatt10 TeX-tipatt10 <tipatt10.pfb +tipatt12 TeX-tipatt12 <tipatt12.pfb +tipats10 TeX-tipats10 <tipats10.pfb +tipx10 TeX-tipx10 <tipx10.pfb +tipx12 TeX-tipx12 <tipx12.pfb +tipx17 TeX-tipx17 <tipx17.pfb +tipx8 TeX-tipx8 <tipx8.pfb +tipx9 TeX-tipx9 <tipx9.pfb +tipxb10 TeX-tipxb10 <tipxb10.pfb +tipxbs10 TeX-tipxbs10 <tipxbs10.pfb +tipxbx10 TeX-tipxbx10 <tipxbx10.pfb +tipxbx12 TeX-tipxbx12 <tipxbx12.pfb +tipxbx8 TeX-tipxbx8 <tipxbx8.pfb +tipxbx9 TeX-tipxbx9 <tipxbx9.pfb +tipxsb10 TeX-tipxsb10 <tipxsb10.pfb +tipxsi10 TeX-tipxsi10 <tipxsi10.pfb +tipxsl10 TeX-tipxsl10 <tipxsl10.pfb +tipxsl12 TeX-tipxsl12 <tipxsl12.pfb +tipxsl8 TeX-tipxsl8 <tipxsl8.pfb +tipxsl9 TeX-tipxsl9 <tipxsl9.pfb +tipxss10 TeX-tipxss10 <tipxss10.pfb +tipxss12 TeX-tipxss12 <tipxss12.pfb +tipxss17 TeX-tipxss17 <tipxss17.pfb +tipxss8 TeX-tipxss8 <tipxss8.pfb +tipxss9 TeX-tipxss9 <tipxss9.pfb +tipxtt8 TeX-tipxtt8 <tipxtt8.pfb +tipxtt9 TeX-tipxtt9 <tipxtt9.pfb +tipxtt10 TeX-tipxtt10 <tipxtt10.pfb +tipxtt12 TeX-tipxtt12 <tipxtt12.pfb +tipxts10 TeX-tipxts10 <tipxts10.pfb +xipa10 TeX-xipa10 <xipa10.pfb +xipab10 TeX-xipab10 <xipab10.pfb +xipabs10 TeX-xipabs10 <xipabs10.pfb +xipasl10 TeX-xipasl10 <xipasl10.pfb +xipass10 TeX-xipass10 <xipass10.pfb +xipasi10 TeX-xipasi10 <xipasi10.pfb +xipasb10 TeX-xipasb10 <xipasb10.pfb +xipx10 TeX-xipx10 <xipx10.pfb +xipxb10 TeX-xipxb10 <xipxb10.pfb +xipxbs10 TeX-xipxbs10 <xipxbs10.pfb +xipxsl10 TeX-xipxsl10 <xipxsl10.pfb +xipxss10 TeX-xipxss10 <xipxss10.pfb +xipxsi10 TeX-xipxsi10 <xipxsi10.pfb +xipxsb10 TeX-xipxsb10 <xipxsb10.pfb diff --git a/fonts/tipa/tipa/mf/gentfm.sh b/fonts/tipa/tipa/mf/gentfm.sh new file mode 100644 index 0000000000..f7f3dea67a --- /dev/null +++ b/fonts/tipa/tipa/mf/gentfm.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +modename="ljfour" + +tipafonts="tipa10.mf tipa12.mf tipa17.mf tipa8.mf tipa9.mf\ + tipabx10.mf tipabx12.mf tipabx8.mf tipabx9.mf\ + tipasl10.mf tipasl12.mf tipasl8.mf tipasl9.mf\ + tipass10.mf tipass12.mf tipass17.mf tipass8.mf tipass9.mf\ + tipab10.mf tipabs10.mf tipasb10.mf tipasi10.mf\ + tipatt10.mf tipatt12.mf tipatt8.mf tipatt9.mf tipats10.mf" + +tipxfonts="tipx10.mf tipx12.mf tipx17.mf tipx8.mf tipx9.mf\ + tipxbx10.mf tipxbx12.mf tipxbx8.mf tipxbx9.mf\ + tipxsl10.mf tipxsl12.mf tipxsl8.mf tipxsl9.mf\ + tipxss10.mf tipxss12.mf tipxss17.mf tipxss8.mf tipxss9.mf\ + tipxb10.mf tipxbs10.mf tipxsb10.mf tipxsi10.mf\ + tipxtt10.mf tipxtt12.mf tipxtt8.mf tipxtt9.mf tipxts10.mf" + +xipafonts="xipa10.mf xipab10.mf xipasl10.mf xipass10.mf\ + xipabs10 xipasi10 xipasb10" + +xipxfonts="xipx10.mf xipxb10.mf xipxsl10.mf xipxss10.mf\ + xipxbs10 xipxsi10 xipxsb10" + +allfonts="$tipafonts $tipxfonts $xipafonts $xipxfonts" + +for i in $allfonts +do + mf '\mode='$modename'; input' $i +done + +install -c -m 644 *.tfm ../tfm + +exit 0 diff --git a/fonts/tipa/tipa/mf/gentipa.sh b/fonts/tipa/tipa/mf/gentipa.sh new file mode 100644 index 0000000000..2da32b7d62 --- /dev/null +++ b/fonts/tipa/tipa/mf/gentipa.sh @@ -0,0 +1,91 @@ +#!/bin/sh + +# gentipa.sh --- a shell script for producing TIPA parameter files. +# +# 1996/06/24 first version +# 2001/11/07 bs10 (= BXSL10), sb10 (=SSBX10), si10 (=SSSL10) added. +# 2001/12/21 tt8, tt9, tt10, tt12, ts10 (=SLTT10) added. + +AWK=gawk + +DATE="2003/01/01" +VERSION="1.2" + +PARAMFILE="tipaprm.def" + +FILES="tipa8 tipa9 tipa10 tipa12 tipa17 tipasl8 tipasl9 tipasl10 tipasl12 \ + tipabx8 tipabx9 tipabx10 tipabx12 tipass8 tipass9 tipass10 tipass12 \ + tipass17 tipab10 tipabs10 tipasb10 tipasi10 \ + tipatt8 tipatt9 tipatt10 tipatt12 tipats10" + +for FNAME in $FILES +do + case "$FNAME" in + tipa8) NUM=3; FID="TIPA"; FSIZE="8"; FDESC="Roman 8" ;; + tipa9) NUM=4; FID="TIPA"; FSIZE="9"; FDESC="Roman 9" ;; + tipa10) NUM=5; FID="TIPA"; FSIZE="10";FDESC="Roman 10" ;; + tipa12) NUM=6; FID="TIPA"; FSIZE="12";FDESC="Roman 12" ;; + tipa17) NUM=7; FID="TIPA"; FSIZE="17.28";FDESC="Roman 17.28" ;; + tipasl8) NUM=8; FID="TIPASL";FSIZE="8"; FDESC="Slanted Roman 8" ;; + tipasl9) NUM=9; FID="TIPASL";FSIZE="9"; FDESC="Slanted Roman 9" ;; + tipasl10) NUM=10;FID="TIPASL";FSIZE="10";FDESC="Slanted Roman 10" ;; + tipasl12) NUM=11;FID="TIPASL";FSIZE="12";FDESC="Slanted Roman 12" ;; + tipabx8) NUM=12;FID="TIPABX";FSIZE="8"; FDESC="Bold Extended Roman 8" ;; + tipabx9) NUM=13;FID="TIPABX";FSIZE="9"; FDESC="Bold Extended Roman 9" ;; + tipabx10) NUM=14;FID="TIPABX";FSIZE="10";FDESC="Bold Extended Roman 10" ;; + tipabx12) NUM=15;FID="TIPABX";FSIZE="12";FDESC="Bold Extended Roman 12" ;; + tipass8) NUM=16;FID="TIPASS";FSIZE="8"; FDESC="Sans Serif 8" ;; + tipass9) NUM=17;FID="TIPASS";FSIZE="9"; FDESC="Sans Serif 9" ;; + tipass10) NUM=18;FID="TIPASS";FSIZE="10";FDESC="Sans Serif 10" ;; + tipass12) NUM=19;FID="TIPASS";FSIZE="12";FDESC="Sans Serif 12" ;; + tipass17) NUM=20;FID="TIPASS";FSIZE="17.28";FDESC="Sans Serif 17.28" ;; + tipab10) NUM=21;FID="TIPAB"; FSIZE="10";FDESC="Bold Roman 10" ;; + tipabs10) NUM=22;FID="TIPABS";FSIZE="10";FDESC="Bold Extended Slanted Roman 10" ;; + tipasb10) NUM=23;FID="TIPASB";FSIZE="10";FDESC="Sans Serif Bold Extended 10" ;; + tipasi10) NUM=24;FID="TIPASI";FSIZE="10";FDESC="Sans Serif Slanted 10" ;; + tipatt8) NUM=25;FID="TIPATT";FSIZE="8"; FDESC="Typewriter Text 8" ;; + tipatt9) NUM=26;FID="TIPATT";FSIZE="9"; FDESC="Typewriter Text 9" ;; + tipatt10) NUM=27;FID="TIPATT";FSIZE="10";FDESC="Typewriter Text 10" ;; + tipatt12) NUM=28;FID="TIPATT";FSIZE="12";FDESC="Typewriter Text 12" ;; + tipats10) NUM=29;FID="TIPATS";FSIZE="10";FDESC="Typewriter Text Slanted 10" ;; + esac + + echo "% $FNAME.mf: TIPA $FDESC point parameter file" > $FNAME.mf + echo "% Copyright 1996-2003 FUKUI Rei" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program may be distributed and/or modified under the" >> $FNAME.mf + echo "% conditions of the LaTeX Project Public License, either version 1.2" >> $FNAME.mf + echo "% of this license or (at your option) any later version." >> $FNAME.mf + echo "% The latest version of this license is in" >> $FNAME.mf + echo "% http://www.latex-project.org/lppl.txt" >> $FNAME.mf + echo "% and version 1.2 or later is part of all distributions of LaTeX " >> $FNAME.mf + echo "% version 1999/12/01 or later." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program consists of all files listed in Manifest.txt." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% Version $VERSION $DATE" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo '% This file is based on:' >> $FNAME.mf + echo '% Computer Modern font series by D. E. Knuth and' >> $FNAME.mf + echo '% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun.' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'if unknown cmbase: input cmbase fi' >> $FNAME.mf + echo 'if unknown tipabase: input tipabase fi' >> $FNAME.mf + echo '' >> $FNAME.mf + echo "font_identifier:=\"$FID\"; font_size ${FSIZE}pt#;" >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'Times_Compat:=false;' >> $FNAME.mf + echo 'if Times_Compat: input tipatr fi' >> $FNAME.mf + echo '' >> $FNAME.mf + $AWK "{if (\$1 == \"p\") { + if (\$$NUM == \"0\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else print \$2 \"#:=\" \$$NUM \"/36pt#;\";\ + }\ + else if (\$1 == \"P\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else if (\$1 == \"n\") print \$2 \":=\" \$$NUM \";\";}" $PARAMFILE |\ + sed 's/SQ/sqrt/' | sed 's/SC12/sind 12\/cosd 12/' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'generate tipa % switch to the driver file' >> $FNAME.mf +done + +exit 0 diff --git a/fonts/tipa/tipa/mf/gentipx.sh b/fonts/tipa/tipa/mf/gentipx.sh new file mode 100644 index 0000000000..3b76a1e030 --- /dev/null +++ b/fonts/tipa/tipa/mf/gentipx.sh @@ -0,0 +1,90 @@ +#!/bin/sh + +# gentipx.sh --- a shell script for producing TIPX parameter files. +# +# 2001/11/21 first version +# 2001/12/21 tt8, tt9, tt10, tt12, ts10 (=SLTT10) added. + +AWK=gawk + +DATE="2003/01/01" +VERSION="1.2" + +PARAMFILE="tipaprm.def" + +FILES="tipx8 tipx9 tipx10 tipx12 tipx17 tipxsl8 tipxsl9 tipxsl10 tipxsl12 \ + tipxbx8 tipxbx9 tipxbx10 tipxbx12 tipxss8 tipxss9 tipxss10 tipxss12 \ + tipxss17 tipxb10 tipxbs10 tipxsb10 tipxsi10 \ + tipxtt8 tipxtt9 tipxtt10 tipxtt12 tipxts10" + +for FNAME in $FILES +do + case "$FNAME" in + tipx8) NUM=3; FID="TIPX"; FSIZE="8"; FDESC="Roman 8" ;; + tipx9) NUM=4; FID="TIPX"; FSIZE="9"; FDESC="Roman 9" ;; + tipx10) NUM=5; FID="TIPX"; FSIZE="10";FDESC="Roman 10" ;; + tipx12) NUM=6; FID="TIPX"; FSIZE="12";FDESC="Roman 12" ;; + tipx17) NUM=7; FID="TIPX"; FSIZE="17.28";FDESC="Roman 17.28" ;; + tipxsl8) NUM=8; FID="TIPXSL";FSIZE="8"; FDESC="Slanted Roman 8" ;; + tipxsl9) NUM=9; FID="TIPXSL";FSIZE="9"; FDESC="Slanted Roman 9" ;; + tipxsl10) NUM=10;FID="TIPXSL";FSIZE="10";FDESC="Slanted Roman 10" ;; + tipxsl12) NUM=11;FID="TIPXSL";FSIZE="12";FDESC="Slanted Roman 12" ;; + tipxbx8) NUM=12;FID="TIPXBX";FSIZE="8"; FDESC="Bold Extended Roman 8" ;; + tipxbx9) NUM=13;FID="TIPXBX";FSIZE="9"; FDESC="Bold Extended Roman 9" ;; + tipxbx10) NUM=14;FID="TIPXBX";FSIZE="10";FDESC="Bold Extended Roman 10" ;; + tipxbx12) NUM=15;FID="TIPXBX";FSIZE="12";FDESC="Bold Extended Roman 12" ;; + tipxss8) NUM=16;FID="TIPXSS";FSIZE="8"; FDESC="Sans Serif 8" ;; + tipxss9) NUM=17;FID="TIPXSS";FSIZE="9"; FDESC="Sans Serif 9" ;; + tipxss10) NUM=18;FID="TIPXSS";FSIZE="10";FDESC="Sans Serif 10" ;; + tipxss12) NUM=19;FID="TIPXSS";FSIZE="12";FDESC="Sans Serif 12" ;; + tipxss17) NUM=20;FID="TIPXSS";FSIZE="17.28";FDESC="Sans Serif 17.28" ;; + tipxb10) NUM=21;FID="TIPXB"; FSIZE="10";FDESC="Bold Roman 10" ;; + tipxbs10) NUM=22;FID="TIPXBS";FSIZE="10";FDESC="Bold Extended Slanted Roman 10" ;; + tipxsb10) NUM=23;FID="TIPXSB";FSIZE="10";FDESC="Sans Serif Bold Extended 10" ;; + tipxsi10) NUM=24;FID="TIPXSI";FSIZE="10";FDESC="Sans Serif Slanted 10" ;; + tipxtt8) NUM=25;FID="TIPXTT";FSIZE="8"; FDESC="Typewriter Text 8" ;; + tipxtt9) NUM=26;FID="TIPXTT";FSIZE="9"; FDESC="Typewriter Text 9" ;; + tipxtt10) NUM=27;FID="TIPXTT";FSIZE="10";FDESC="Typewriter Text 10" ;; + tipxtt12) NUM=28;FID="TIPXTT";FSIZE="12";FDESC="Typewriter Text 12" ;; + tipxts10) NUM=29;FID="TIPXTS";FSIZE="10";FDESC="Typewriter Text Slanted 10" ;; + esac + + echo "% $FNAME.mf: TIPX $FDESC point parameter file" > $FNAME.mf + echo "% Copyright 1996-2003 FUKUI Rei" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program may be distributed and/or modified under the" >> $FNAME.mf + echo "% conditions of the LaTeX Project Public License, either version 1.2" >> $FNAME.mf + echo "% of this license or (at your option) any later version." >> $FNAME.mf + echo "% The latest version of this license is in" >> $FNAME.mf + echo "% http://www.latex-project.org/lppl.txt" >> $FNAME.mf + echo "% and version 1.2 or later is part of all distributions of LaTeX " >> $FNAME.mf + echo "% version 1999/12/01 or later." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program consists of all files listed in Manifest.txt." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% Version $VERSION $DATE FUKUI Rei" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo '% This file is based on:' >> $FNAME.mf + echo '% Computer Modern font series by D. E. Knuth and' >> $FNAME.mf + echo '% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun.' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'if unknown cmbase: input cmbase fi' >> $FNAME.mf + echo 'if unknown tipabase: input tipabase fi' >> $FNAME.mf + echo '' >> $FNAME.mf + echo "font_identifier:=\"$FID\"; font_size ${FSIZE}pt#;" >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'Times_Compat:=false;' >> $FNAME.mf + echo 'if Times_Compat: input tipatr fi' >> $FNAME.mf + echo '' >> $FNAME.mf + $AWK "{if (\$1 == \"p\") { + if (\$$NUM == \"0\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else print \$2 \"#:=\" \$$NUM \"/36pt#;\";\ + }\ + else if (\$1 == \"P\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else if (\$1 == \"n\") print \$2 \":=\" \$$NUM \";\";}" $PARAMFILE |\ + sed 's/SQ/sqrt/' | sed 's/SC12/sind 12\/cosd 12/' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'generate tipx % switch to the driver file' >> $FNAME.mf +done + +exit 0 diff --git a/fonts/tipa/tipa/mf/genxipa.sh b/fonts/tipa/tipa/mf/genxipa.sh new file mode 100644 index 0000000000..2a1320993f --- /dev/null +++ b/fonts/tipa/tipa/mf/genxipa.sh @@ -0,0 +1,67 @@ +#!/bin/sh + +# genxipa.sh --- a shell script for producing TIPA parameter files. +# +# 1996/06/24 first version +# + +AWK=gawk + +DATE="2003/01/01" +VERSION="1.2" + +PARAMFILE="xipaprm.def" + +FILES="xipa10 xipasl10 xipab10 xipabs10 xipass10 xipasi10 xipasb10" + +for FNAME in $FILES +do + case "$FNAME" in + xipa10) NUM=3;FID="XIPA"; FSIZE="10";FDESC="Roman 10" ;; + xipasl10) NUM=4;FID="XIPASL";FSIZE="10";FDESC="Slanted Roman 10" ;; + xipab10) NUM=5;FID="XIPAB"; FSIZE="10";FDESC="Bold Roman 10" ;; + xipabs10) NUM=6;FID="XIPABS";FSIZE="10";FDESC="Bold Slanted Roman 10" ;; + xipass10) NUM=7;FID="XIPASS";FSIZE="10";FDESC="Sans Serif 10" ;; + xipasi10) NUM=8;FID="XIPASI";FSIZE="10";FDESC="Sans Serif Slanted 10" ;; + xipasb10) NUM=9;FID="XIPASB";FSIZE="10";FDESC="Sans Serif Bold 10" ;; + esac + + echo "% $FNAME.mf: XIPA $FDESC point parameter file" > $FNAME.mf + echo "% Copyright 1996-2003 FUKUI Rei" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program may be distributed and/or modified under the" >> $FNAME.mf + echo "% conditions of the LaTeX Project Public License, either version 1.2" >> $FNAME.mf + echo "% of this license or (at your option) any later version." >> $FNAME.mf + echo "% The latest version of this license is in" >> $FNAME.mf + echo "% http://www.latex-project.org/lppl.txt" >> $FNAME.mf + echo "% and version 1.2 or later is part of all distributions of LaTeX " >> $FNAME.mf + echo "% version 1999/12/01 or later." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program consists of all files listed in Manifest.txt." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% Version $VERSION $DATE FUKUI Rei" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo '% This file is based on:' >> $FNAME.mf + echo '% Computer Modern font series by D. E. Knuth and' >> $FNAME.mf + echo '% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun.' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'if unknown cmbase: input cmbase fi' >> $FNAME.mf + echo 'if unknown tipabase: input tipabase fi' >> $FNAME.mf + echo '' >> $FNAME.mf + echo "font_identifier:=\"$FID\"; font_size ${FSIZE}pt#;" >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'Times_Compat:=true;' >> $FNAME.mf + echo 'if Times_Compat: input tipatr fi' >> $FNAME.mf + echo '' >> $FNAME.mf + $AWK "{if (\$1 == \"p\") { + if (\$$NUM == \"0\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else print \$2 \"#:=\" \$$NUM \"/36pt#;\";\ + }\ + else if (\$1 == \"P\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else if (\$1 == \"n\") print \$2 \":=\" \$$NUM \";\";}" $PARAMFILE |\ + sed 's/SQ/sqrt/' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'generate tipa % switch to the driver file' >> $FNAME.mf +done + +exit 0 diff --git a/fonts/tipa/tipa/mf/genxipx.sh b/fonts/tipa/tipa/mf/genxipx.sh new file mode 100644 index 0000000000..4cd09f4a65 --- /dev/null +++ b/fonts/tipa/tipa/mf/genxipx.sh @@ -0,0 +1,67 @@ +#!/bin/sh + +# genxipx.sh --- a shell script for producing XIPX parameter files. +# +# 1996/06/24 first version +# + +AWK=gawk + +DATE="2003/01/01" +VERSION="1.2" + +PARAMFILE="xipaprm.def" + +FILES="xipx10 xipxsl10 xipxb10 xipxbs10 xipxss10 xipxsi10 xipxsb10" + +for FNAME in $FILES +do + case "$FNAME" in + xipx10) NUM=3;FID="XIPX"; FSIZE="10";FDESC="Roman 10" ;; + xipxsl10) NUM=4;FID="XIPXSL";FSIZE="10";FDESC="Slanted Roman 10" ;; + xipxb10) NUM=5;FID="XIPXB"; FSIZE="10";FDESC="Bold Roman 10" ;; + xipxbs10) NUM=6;FID="XIPXBS";FSIZE="10";FDESC="Bold Slanted Roman 10" ;; + xipxss10) NUM=7;FID="XIPXSS";FSIZE="10";FDESC="Sans Serif 10" ;; + xipxsi10) NUM=8;FID="XIPXSI";FSIZE="10";FDESC="Sans Serif Slanted 10" ;; + xipxsb10) NUM=9;FID="XIPXSB";FSIZE="10";FDESC="Sans Serif Bold 10" ;; + esac + + echo "% $FNAME.mf: XIPX $FDESC point parameter file" > $FNAME.mf + echo "% Copyright 1996-2003 FUKUI Rei" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program may be distributed and/or modified under the" >> $FNAME.mf + echo "% conditions of the LaTeX Project Public License, either version 1.2" >> $FNAME.mf + echo "% of this license or (at your option) any later version." >> $FNAME.mf + echo "% The latest version of this license is in" >> $FNAME.mf + echo "% http://www.latex-project.org/lppl.txt" >> $FNAME.mf + echo "% and version 1.2 or later is part of all distributions of LaTeX " >> $FNAME.mf + echo "% version 1999/12/01 or later." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% This program consists of all files listed in Manifest.txt." >> $FNAME.mf + echo "%" >> $FNAME.mf + echo "% Version $VERSION $DATE" >> $FNAME.mf + echo "%" >> $FNAME.mf + echo '% This file is based on:' >> $FNAME.mf + echo '% Computer Modern font series by D. E. Knuth and' >> $FNAME.mf + echo '% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun.' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'if unknown cmbase: input cmbase fi' >> $FNAME.mf + echo 'if unknown tipabase: input tipabase fi' >> $FNAME.mf + echo '' >> $FNAME.mf + echo "font_identifier:=\"$FID\"; font_size ${FSIZE}pt#;" >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'Times_Compat:=true;' >> $FNAME.mf + echo 'if Times_Compat: input tipatr fi' >> $FNAME.mf + echo '' >> $FNAME.mf + $AWK "{if (\$1 == \"p\") { + if (\$$NUM == \"0\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else print \$2 \"#:=\" \$$NUM \"/36pt#;\";\ + }\ + else if (\$1 == \"P\") print \$2 \"#:=\" \$$NUM \"pt#;\";\ + else if (\$1 == \"n\") print \$2 \":=\" \$$NUM \";\";}" $PARAMFILE |\ + sed 's/SQ/sqrt/' >> $FNAME.mf + echo '' >> $FNAME.mf + echo 'generate tipx % switch to the driver file' >> $FNAME.mf +done + +exit 0 diff --git a/fonts/tipa/tipa/mf/mktipapk.sh b/fonts/tipa/tipa/mf/mktipapk.sh new file mode 100644 index 0000000000..e13a0ee85e --- /dev/null +++ b/fonts/tipa/tipa/mf/mktipapk.sh @@ -0,0 +1,173 @@ +#!/bin/sh +# +# This script generates pk font files for tipa. +# +# TIPA is a set of metafont source files for IPA (International +# Phonetic Alphabet) symbols. You can get it from the CTAN archive. +# +# In order to use this script, metafont programs, gftopk, and metafont +# source files (*.mf) must be installed properly. +# +# You should also be familiar with the `modes.mf' file which contains +# parameters for various printers. +# +# 1996/03/12 FUKUI Rei (fkr@tooyoo.L.u-tokyo.ac.jp) +# + +progname=`basename "$0"` +MF=mf + +if [ $# != 0 ]; then + MODE=$1 +else + echo "Usage: $progname mode_name" + echo "Examples: $progname localfont" + echo " : $progname CanonCX" + exit 1 +fi + +execmf() +{ + for file in $MFFILES + do + echo "[ $file at mag=$MAG ]" + $MF "\mode=$MODE; mag=$MAG; nonstopmode;" input $file + done +} + +cmbase=/usr/local/lib/texmf/fonts/public/cm/src/cmbase.mf +if [ -f $cmbase ]; then + ln -s $cmbase cmbase.mf +fi + +############################## +# make all fonts for mag 5/8 # +############################## + +MFFILES="tipa8 tipasl8 tipabx8 tipass8" +MAG=5/8 +execmf + +############################## +# make all fonts for mag 6/8 # +############################## + +MFFILES="tipa8 tipasl8 tipabx8 tipass8" +MAG=6/8 +execmf + +############################## +# make all fonts for mag 7/8 # +############################## + +MFFILES="tipa8 tipasl8 tipabx8 tipass8" +MAG=7/8 +execmf + +############################# +# make all fonts for mag .5 # +############################# + +MFFILES="tipab10" +MAG=.5 +execmf + +############################# +# make all fonts for mag .6 # +############################# + +MFFILES="tipab10" +MAG=.6 +execmf + +############################# +# make all fonts for mag .7 # +############################# + +MFFILES="tipab10" +MAG=.7 +execmf + +############################# +# make all fonts for mag .8 # +############################# + +MFFILES="tipab10" +MAG=.8 +execmf + +############################# +# make all fonts for mag .9 # +############################# + +MFFILES="tipab10" +MAG=.9 +execmf + +############################ +# make all fonts for mag 1 # +############################ + +MFFILES="tipa8 tipa9 tipa10 tipa12 tipa17 tipasl8 tipasl9 tipasl10 tipasl12 \ + tipabx8 tipabx9 tipabx10 tipabx12 tipass8 tipass9 tipass10 tipass12 \ + tipass17 tipab10" +MAG=1 +execmf + +################################## +# make all fonts for magstep 0.5 # +################################## + +MFFILES="tipa10 tipasl10 tipabx10 tipass10 tipab10" +MAG=magstep.5 +execmf + +################################ +# make all fonts for magstep 1 # +################################ + +MFFILES="tipa12 tipa17 tipasl12 tipabx12 tipass12 tipass17 tipab10" +MAG=magstep1 +execmf + +################################ +# make all fonts for magstep 2 # +################################ + +MFFILES="tipa17 tipasl12 tipabx12 tipass17 tipab10" +MAG=magstep2 +execmf + +################################ +# make all fonts for magstep 3 # +################################ + +MFFILES="tipasl12 tipabx12 tipab10" +MAG=magstep3 +execmf + +################################ +# make all fonts for magstep 4 # +################################ + +MFFILES="tipasl12 tipabx12 tipab10" +MAG=magstep4 +execmf + +################################ +# make all fonts for magstep 5 # +################################ + +MFFILES="tipab10" +MAG=magstep5 +execmf + +for gf in tipa*gf +do + gftopk $gf +done + +rm -f *gf *.log cmbase.mf +#rm -f *.tfm + +exit 0 diff --git a/fonts/tipa/tipa/mf/mkxipapk.sh b/fonts/tipa/tipa/mf/mkxipapk.sh new file mode 100644 index 0000000000..64fb4f8711 --- /dev/null +++ b/fonts/tipa/tipa/mf/mkxipapk.sh @@ -0,0 +1,147 @@ +#!/bin/sh +# +# This script generates pk font files for tipa. +# +# TIPA is a set of metafont source files for IPA (International +# Phonetic Alphabet) symbols. You can get it from the CTAN archive. +# +# In order to use this script, metafont programs, gftopk, and metafont +# source files (*.mf) must be installed properly. +# +# You should also be familiar with the `modes.mf' file which contains +# parameters for various printers. +# +# 1996/03/12 FUKUI Rei (fkr@tooyoo.L.u-tokyo.ac.jp) +# + +progname=`basename "$0"` +MF=mf + +if [ $# != 0 ]; then + MODE=$1 +else + echo "Usage: $progname mode_name" + echo "Examples: $progname localfont" + echo " : $progname CanonCX" + exit 1 +fi + +execmf() +{ + for file in $MFFILES + do + echo "[ $file at mag=$MAG ]" + $MF "\mode=$MODE; mag=$MAG; nonstopmode;" input $file + done +} + +cmbase=/usr/local/lib/texmf/fonts/public/cm/src/cmbase.mf +if [ -f $cmbase ]; then + ln -s $cmbase cmbase.mf +fi + +############################# +# make all fonts for mag .5 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.5 +execmf + +############################# +# make all fonts for mag .6 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.6 +execmf + +############################# +# make all fonts for mag .7 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.7 +execmf + +############################# +# make all fonts for mag .8 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.8 +execmf + +############################# +# make all fonts for mag .9 # +############################# + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=.9 +execmf + +############################ +# make all fonts for mag 1 # +############################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=1 +execmf + +################################## +# make all fonts for magstep 0.5 # +################################## + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep.5 +execmf + +################################ +# make all fonts for magstep 1 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep1 +execmf + +################################ +# make all fonts for magstep 2 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep2 +execmf + +################################ +# make all fonts for magstep 3 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep3 +execmf + +################################ +# make all fonts for magstep 4 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep4 +execmf + +################################ +# make all fonts for magstep 5 # +################################ + +MFFILES="xipa10 xipasl10 xipabx10 xipass10 xipab10" +MAG=magstep5 +execmf + +for gf in xipa*gf +do + gftopk $gf +done + +rm -f *gf *.log cmbase.mf +#rm -f *.tfm + +exit 0 diff --git a/fonts/tipa/tipa/mf/tipa.mf b/fonts/tipa/tipa/mf/tipa.mf new file mode 100644 index 0000000000..5fe2929285 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipa.mf @@ -0,0 +1,166 @@ +% tipa.mf: TIPA driver file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +font_coding_scheme:="TeX IPA"; + +mode_setup; +font_setup; + +input tipanew % new materials for testing +input tipadiac % accents and diacritics +input tipapnct % punctuation marks +input tiparoml % lower case (minuscules) +input tipasym1 % ipa symbols (1) +input tipasym2 % ipa symbols (2) +input tipasym3 % ipa symbols (3) +input tipasym4 % ipa symbols (4) +input tipagerm % symbols for germanic languages +input tipatone % parts of tone letters + +smallcap_setup; +input tipasc % ipa small capitals +restore_normal_setup; + +font_slant slant; font_x_height x_height#; + +% Modified on 2001/12/24 for the Times Roman compatibility; +% The values for Times_Compat are calculated from the data +% from ptmr7t.tfm. +if monospace: + font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: + if Times_Compat: + font_normal_space 5u#+2letter_fit#; + font_normal_stretch 2.2u#; font_normal_shrink 1.2u#; + font_quad 20u#+4letter_fit#; + font_extra_space 1.2u#; + 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 +fi + +% ligatures made by ligtables + +ligtable oct"047": oct"047" kern -1.5u#; % ' + ' -> '' +ligtable oct"140": oct"140" kern -1.5u#; % ` + ` => `` +ligtable "|": "|" =: oct"173"; % Pipe + Pipe -> Double Pipe +ligtable oct"042": oct"042" =: oct"177"; % Prim. Stress + Prim. Stress -> Sec. Stress + +% kernings (need to modify) + +numeric itc#; % modified italic correction on `f' +itc#=if serifs: max(0,flare#-.25u#) else: 1.25u# fi; + +k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + +ligtable "f": + "'" kern itc#, "?" kern itc#, "!" kern itc#, ")" kern itc#, "]" kern itc#; + +ligtable "y": + "o" kern k#, "e" kern k#, "a" kern k#, "." kern kk#, "," kern kk#, + "2" kern -u#, "L" kern -u#, oct"300" kern -u#, oct"373" kern -u#; + +ligtable "g": + "j" kern -k#; % logjam + +if serifs: + + ligtable "k": + "a" kern -u#, "e" kern k#, "a" kern k#, "o" kern k#, "c" kern k#; + + ligtable "v": + "a" kern -u#, "e" kern k#, "a" kern k#, "o" kern k#, "c" kern k#, + "2" kern -u#, "L" kern -u#, oct"300" kern -u#, oct"373" kern -u#; + + ligtable "w": + "e" kern k#, "a" kern k#, "o" kern k#, "c" kern k#, + "2" kern -u#, "L" kern -u#, oct"300" kern -u#, oct"373" kern -u#; + + ligtable "h": "m": "n": + "t" kern k#, "u" kern k#, "b" kern k#, "y" kern k#, "v" kern k#, + "w" kern k#; + + ligtable "c": + "h" kern k#, "k" kern k#; + + ligtable "o": "b": "p": + "e" kern -k#, "o" kern -k#, "x" kern k#, "d" kern -k#, "c" kern -k#, + "q" kern -k#, "v" kern k#, "j" kern u#, "y" kern k#, "w" kern k#; + + ligtable "a": + "v" kern k#, "j" kern u#, "y" kern k#, "w" kern k#; + + ligtable "t": + "y" kern k#, "w" kern k#; + + ligtable "u": + "w" kern k#; + +else: + + ligtable "k": + "e" kern k#, "a" kern k#, "o" kern k#, "c" kern k#; + + ligtable "w": + "e" kern k#, "a" kern k#, "o" kern k#, "c" kern k#, + "2" kern -u#, "L" kern -u#, oct"300" kern -u#, oct"373" kern -u#; + + ligtable "v": + "2" kern -u#, "L" kern -u#, oct"300" kern -u#, oct"373" kern -u#; + + ligtable "o": "b": "p": + "e" kern -k#, "o" kern -k#, "x" kern k#, "d" kern -k#, "c" kern -k#, + "q" kern -k#, "r" kern k#, "y" kern k#, "w" kern k#; + + ligtable "a": + "r" kern k#, "y" kern k#, "w" kern k#; + + ligtable "t": + "y" kern k#, "w" kern k#; + + ligtable "u": + "w" kern k#; + +fi + +ligtable "2": "L": oct"300": oct"373": % Turned V, SC A, Turned y, Turned W + "v" kern -u#, "w" kern -u#, "y" kern -u#; + +ligtable "S": oct"342": oct"344": oct"352": oct"301": oct"311": + oct"323": oct"264": oct"331": % symbols with hooktop + "b" kern -kk#, "f" kern -k#, "h" kern -kk#, "i" kern -kk#, + "j" kern -kk#, "k" kern -kk#, "P" kern -kk#, "Q" kern -kk#, + "]" kern -kk#, ")" kern -kk#; + +ligtable oct"343": oct"355": oct"357": oct"365": oct"374": % symbols with right-tail + "g" kern -k#, "j" kern -kk#, "p" kern -kk#, "y" kern -kk#, "S" kern -kk#, + "B" kern -kk#, "J" kern -kk#, oct"351" kern -kk#, oct"361" kern -kk#, + "]" kern -kk#, ")" kern -kk#; + +ligtable "[": "(": + "S" kern -kk#, oct"361" kern -kk#, "j" kern -kk#, oct"351" kern -kk#, + oct"352" kern -kk#, oct"315" kern -kk#; + +bye. diff --git a/fonts/tipa/tipa/mf/tipa10.mf b/fonts/tipa/tipa/mf/tipa10.mf new file mode 100644 index 0000000000..060a914614 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipa10.mf @@ -0,0 +1,92 @@ +% tipa10.mf: TIPA Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPA"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=246/36pt#; +fig_height#:=232/36pt#; +x_height#:=155/36pt#; +math_axis#:=90/36pt#; +bar_height#:=87/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=25/36pt#; +curve#:=30/36pt#; +ess#:=27/36pt#; +flare#:=33/36pt#; +dot_size#:=38/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=37/36pt#; +cap_ess#:=35/36pt#; +rule_thickness#:=.4pt#; +dish#:=1/36pt#; +bracket#:=20/36pt#; +jut#:=28/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=8/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=11/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=4/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=8/36pt#; +apex_o#:=8/36pt#; +slant:=0; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipa12.mf b/fonts/tipa/tipa/mf/tipa12.mf new file mode 100644 index 0000000000..61ec67fbcf --- /dev/null +++ b/fonts/tipa/tipa/mf/tipa12.mf @@ -0,0 +1,92 @@ +% tipa12.mf: TIPA Roman 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPA"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5.8/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=295.2/36pt#; +fig_height#:=278.4/36pt#; +x_height#:=186/36pt#; +math_axis#:=108/36pt#; +bar_height#:=104.4/36pt#; +comma_depth#:=84/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7.5/36pt#; +hair#:=9.5/36pt#; +stem#:=28/36pt#; +curve#:=33/36pt#; +ess#:=30/36pt#; +flare#:=36/36pt#; +dot_size#:=42/36pt#; +cap_hair#:=11.5/36pt#; +cap_stem#:=35/36pt#; +cap_curve#:=40/36pt#; +cap_ess#:=38/36pt#; +rule_thickness#:=.44pt#; +dish#:=1/36pt#; +bracket#:=24/36pt#; +jut#:=33/36pt#; +cap_jut#:=41/36pt#; +beak_jut#:=11.4/36pt#; +beak#:=84/36pt#; +vair#:=8.5/36pt#; +notch_cut#:=12pt#; +bar#:=12.5/36pt#; +slab#:=12.5/36pt#; +cap_bar#:=12.5/36pt#; +cap_band#:=12.5/36pt#; +cap_notch_cut#:=12pt#; +serif_drop#:=4.8/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=9/36pt#; +apex_o#:=9/36pt#; +slant:=0; +fudge:=1; +math_spread:=-0.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.45/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipa17.mf b/fonts/tipa/tipa/mf/tipa17.mf new file mode 100644 index 0000000000..ff089e9a3e --- /dev/null +++ b/fonts/tipa/tipa/mf/tipa17.mf @@ -0,0 +1,92 @@ +% tipa17.mf: TIPA Roman 17.28 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPA"; font_size 17.28pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=32.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=8/36pt#; +letter_fit#:=-0.1/36pt#; +body_height#:=466/36pt#; +asc_height#:=432/36pt#; +cap_height#:=425/36pt#; +fig_height#:=401/36pt#; +x_height#:=267.8/36pt#; +math_axis#:=155.5/36pt#; +bar_height#:=150/36pt#; +comma_depth#:=121/36pt#; +desc_depth#:=121/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=9/36pt#; +hair#:=11/36pt#; +stem#:=33/36pt#; +curve#:=40/36pt#; +ess#:=35/36pt#; +flare#:=45/36pt#; +dot_size#:=51/36pt#; +cap_hair#:=13/36pt#; +cap_stem#:=41/36pt#; +cap_curve#:=47/36pt#; +cap_ess#:=43/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=34/36pt#; +jut#:=42/36pt#; +cap_jut#:=50/36pt#; +beak_jut#:=15/36pt#; +beak#:=121/36pt#; +vair#:=10/36pt#; +notch_cut#:=17pt#; +bar#:=16/36pt#; +slab#:=16/36pt#; +cap_bar#:=16/36pt#; +cap_band#:=16/36pt#; +cap_notch_cut#:=17pt#; +serif_drop#:=7/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=10/36pt#; +apex_o#:=10/36pt#; +slant:=0; +fudge:=1; +math_spread:=-0.4; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=22.75/36pt#; +sc.letter_fit#:=2.2/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipa8.mf b/fonts/tipa/tipa/mf/tipa8.mf new file mode 100644 index 0000000000..03f4802761 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipa8.mf @@ -0,0 +1,92 @@ +% tipa8.mf: TIPA Roman 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPA"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.1/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=196.8/36pt#; +fig_height#:=185.6/36pt#; +x_height#:=124/36pt#; +math_axis#:=72/36pt#; +bar_height#:=69.6/36pt#; +comma_depth#:=56/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=22/36pt#; +curve#:=25.5/36pt#; +ess#:=23/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=9.5/36pt#; +cap_stem#:=26.5/36pt#; +cap_curve#:=30/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.36pt#; +dish#:=1/36pt#; +bracket#:=16/36pt#; +jut#:=22/36pt#; +cap_jut#:=29/36pt#; +beak_jut#:=8.4/36pt#; +beak#:=56/36pt#; +vair#:=8/36pt#; +notch_cut#:=8pt#; +bar#:=9.5/36pt#; +slab#:=9.5/36pt#; +cap_bar#:=9.5/36pt#; +cap_band#:=9.5/36pt#; +cap_notch_cut#:=8pt#; +serif_drop#:=3.2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=0; +fudge:=1; +math_spread:=.4; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipa9.mf b/fonts/tipa/tipa/mf/tipa9.mf new file mode 100644 index 0000000000..0d3f3b33bd --- /dev/null +++ b/fonts/tipa/tipa/mf/tipa9.mf @@ -0,0 +1,92 @@ +% tipa9.mf: TIPA Roman 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPA"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.6/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=221.4/36pt#; +fig_height#:=208.8/36pt#; +x_height#:=139.5/36pt#; +math_axis#:=81/36pt#; +bar_height#:=78.3/36pt#; +comma_depth#:=63/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=24/36pt#; +curve#:=28/36pt#; +ess#:=25/36pt#; +flare#:=30/36pt#; +dot_size#:=35/36pt#; +cap_hair#:=10/36pt#; +cap_stem#:=29/36pt#; +cap_curve#:=33/36pt#; +cap_ess#:=31/36pt#; +rule_thickness#:=.38pt#; +dish#:=1/36pt#; +bracket#:=18/36pt#; +jut#:=25/36pt#; +cap_jut#:=33/36pt#; +beak_jut#:=9.2/36pt#; +beak#:=63/36pt#; +vair#:=8/36pt#; +notch_cut#:=9pt#; +bar#:=10/36pt#; +slab#:=10/36pt#; +cap_bar#:=10/36pt#; +cap_band#:=10/36pt#; +cap_notch_cut#:=9pt#; +serif_drop#:=3.6/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=7/36pt#; +apex_o#:=7/36pt#; +slant:=0; +fudge:=1; +math_spread:=.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12.95/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipab10.mf b/fonts/tipa/tipa/mf/tipab10.mf new file mode 100644 index 0000000000..92be21db34 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipab10.mf @@ -0,0 +1,92 @@ +% tipab10.mf: TIPA Bold Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPAB"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=10/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=247/36pt#; +fig_height#:=232/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=41/36pt#; +curve#:=46/36pt#; +ess#:=38/36pt#; +flare#:=45/36pt#; +dot_size#:=56/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=51/36pt#; +cap_curve#:=55/36pt#; +cap_ess#:=53/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=10/36pt#; +jut#:=25/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=17/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=3/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipabase.mf b/fonts/tipa/tipa/mf/tipabase.mf new file mode 100644 index 0000000000..74c6cce63d --- /dev/null +++ b/fonts/tipa/tipa/mf/tipabase.mf @@ -0,0 +1,431 @@ +% tipabase.mf: TIPA miscellaneous macros +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% +% N.B. This file is an addition to cmbase.mf, not a replacement. +% + +if unknown cmbase: + errmessage "`cmbase' should have been read before `tipabase'"; fi + +tipabase:=1; % when |tipabase| is known, this file has been input + +boolean Times_Compat; + +let _font_setup = font_setup; + +def font_setup = + _font_setup; + vu#:=u#; hair_rule#:=hair#; + diacritic#:=.2[vair#,stem#]; % breadth of some diacritics + diacr#:=diacritic#; + define_whole_vertical_pixels(vu); + define_whole_blacker_pixels(diacritic,diacr); + forsuffixes $=diacritic: + $.breadth:=$; + pickup if $=0: nullpen else: pencircle scaled $; $:=$-eps fi; + $.nib:=savepen; breadth_[$.nib]:=$; + forsuffixes $$=lft,rt,top,bot: shiftdef($.$$,$$ 0); endfor endfor + hair_rule:=ceiling(hair_rule#*hppp); + pickup pencircle scaled hair_rule; hair_rule.nib:=savepen; + enddef; + +boolean debug; debug:=false; + +let _endchar = endchar; + +def endchar = + _endchar; if debug: stop_here; fi enddef; + +def sc_compress(suffix $)(expr rate_fix) = % for small caps + $.#:=$.# * ((rate_fix[x_height#,cap_height#])/cap_height#); enddef; + +def smallcap_setup = + forsuffixes $=save_var_list: old.$.#:=$.#; endfor + forsuffixes $= u, letter_fit: $.#:=sc.$.#; endfor + sc_compress(flare,.7); + sc_compress(cap_jut,.1); + sc_compress(beak_jut,.1); + sc_compress(beak,0); + sc_compress(slab,.4); + sc_compress(cap_bar,.8); + sc_compress(o,.1); + sc_compress(apex_o,0); + font_setup; enddef; + +def save_var_list = + u, letter_fit, flare, cap_jut, beak_jut, beak, slab, cap_bar, + o, apex_o enddef; + +def restore_normal_setup = + forsuffixes $=save_var_list: $.#:=old.$.#; endfor + font_setup; enddef; + +def turn_picture = + _center_h:=hround(.5charwd*hppp+.5slant*charht*hppp); + _center_v:=vround(.5charht*hppp); + currentpicture:=currentpicture + rotatedabout((_center_h,_center_v),180); enddef; + +def turn_picture_lower = + _center_h:=hround(.5charwd*hppp+.5slant*charht*hppp); + _center_v:=vround(.5x_height#*hppp); + currentpicture:=currentpicture + rotatedabout((_center_h,_center_v),180); enddef; + +def comMA(suffix $,@)(expr dot_size,jut,depth) = + pickup fine.nib; pos$(dot_size,90); + if square_dots: pos$'(dot_size,0); z$'=z$; dot($',$); % squarish dot + comma_join_:=max(fine.breadth,floor .7dot_size); + comma_bot_:=max(fine.breadth,floor .5dot_size); + pos@0(comma_join_,0); pos@1(comma_join_,0); + pos@2(comma_bot_,0); y@0=y$; y@1=y$l; y@2=y@1-depth; + x@0l=x@1l=x$'l; lft x@2l=good.x(x$+eps); + filldraw stroke z@0e--z@1e..z@2e; % tail + else: pos@1(vair,90); pos@2(vair,180); pos@3(vair,225); % 96/02/10 fkr + z@1r=z$r; lft x@2r=hround(x$-.5dot_size-jut)-2eps; x@3=x$+.5u; + y@2=1/3[y@1,y@3]; bot y@3r=vround(y$-.5dot_size-depth); + y_:=ypart((z@1{right}...z@2{down}...z@3) + intersectiontimes (z$l{right}..{left}z$r)); if y_<0: y_:=1; fi + filldraw z$r{left}..subpath (0,y_) of (z$l{right}..{left}z$r)--cycle; % dot + filldraw stroke z@1e{left}...z@2e{down}...z@3e; fi % tail + penlabels(@1,@2,@3); enddef; + +def hook_out_bot(suffix $,$$,$$$) % used in ``Viby I'' and ``Viby Y'' + suffix modifier= % x$ and x$$$ (only) are known + pos$(stem,0); pos$$(vair,90); + x$$$:=hround(x$$$+.5hair-eps)-.5hair; pos$$$(hair,180); + y$=1/4x_height-d; bot y$$l=-oo-d; y$$$=1/3x_height-d; + if skewed.modifier: x$$=x$+1.25u; + filldraw stroke z$e{-u,-x_height}...z$$e{right}...{up}z$$$e; % hook + else: x$$=x$+1.5u; + filldraw stroke z$e{down}...z$$e{right} + ...{x$$$-(x$+2.5u),x_height}z$$$e; fi enddef; % hook + +def hbar(suffix $, $$)(expr loffset, roffset, ypos) = + pickup if serifs: tiny.nib; else: fine.nib fi; + lft x$r = loffset; rt x$$r = roffset; + top y$r = top y$$r = vround(ypos); + pos$(bar,90); pos$$(bar,90); + filldraw stroke z$e--z$$e; + penlabels($, $$); enddef; + +def left_tail(suffix $, $$, @, @@)(expr stem_br, x_offset) = + if serifs: pickup tiny.nib; + pos$.a(stem_br,0); z$=z$.a; + x$$=x$.a; bot y$$=-1/3d; pos$$(stem_br,0); + pos@(vair,-90); pos@@(hair,-180); pos@@'(flare,-180); + x@=.5[x$$,x@@r]; bot y@r=-d-oo; y@@-.5flare=-.88d; + z@@r=z@@'r; lft x@@'r= x_offset; + numeric xx; + (xx,y@r)=whatever[z@l,z$$l]; x@r:=max(xx,.5[x@@r,x@]); + filldraw stroke z$.a e--z$$e{down}...z@e{left}; bulb(@,@@,@@'); % arc and bulb + else: pickup fine.nib; + pos$.a(stem_br,0); z$=z$.a; + x$$=x$.a; bot y$$=-1/3d; pos$$(stem_br,0); + pos@(vair,-90); x@=.5[x$$,x@@r]; bot y@r=-d-o; + pos@@(.6[vair,flare],-110); lft x@@r=x_offset; + y@@r=good.y -5/6d; y@@l:=good.y y@@l; + filldraw stroke z$.a e--z$$e & super_arc.e($$,@) + & term.e(@,@@,left,.9,4); fi + enddef; + +def right_tail(suffix $, $$, @, @@)(expr stem_br, x_offset, y_end, + x_rate, y_rate) = + if serifs: pickup tiny.nib; + pos$.a(stem_br,180); z$=z$.a; + x$$=x$.a; bot y$$=-y_rate*d; pos$$(stem_br,180); + pos@(vair,270); pos@@(hair,360); pos@@'(flare,360); + x@=x_rate[x$$,x@@r]; bot y@r=-d-oo; y@@-.5flare=-y_end*d; + z@@r=z@@'r; rt x@@'r= x_offset; + numeric xx; + (xx,y@r)=whatever[z@l,z$$l]; x@r:=min(xx,.5[x@,x@@r]); + filldraw stroke z$.a e--z$$e{down}...z@e{right}; bulb(@,@@,@@');%arc and bulb + else: pickup fine.nib; + pos$.a(stem_br,180); z$=z$.a; + x$$=x$.a; bot y$$=-y_rate*d; pos$$(stem_br,180); + pos@(vair,270); x@=x_rate[x$$,x@@r]; bot y@r=-d-o; + pos@@(.6[vair,flare],290); rt x@@r=x_offset; + y@@r=good.y(-y_end*d); y@@l:=good.y y@@l; + filldraw stroke z$.a e--z$$e & super_arc.e($$,@) + & term.e(@,@@,right,.9,4); fi + enddef; + +def hooktop(suffix $, $$, @, @@)(expr stem_br, x_offset, height, + y_end, x_rate, y_rate) = + if serifs: pickup tiny.nib; + pos$.a(stem_br,180); z$=z$.a; + x$$=x$.a; top y$$=y_rate[y$.a,height]; pos$$(stem_br,180); + pos@(vair,90); pos@@(hair,0); pos@@'(flare,0); + x@=x_rate[x$$,x@@r]; top y@r=height+oo; y@@+.5flare=y_end[y$.a,height]; + z@@r=z@@'r; rt x@@'r= x_offset; + numeric xx; + (xx,y@r)=whatever[z@l,z$$l]; x@r:=min(xx,.5[x@,x@@r]); + filldraw stroke z$.a e--z$$e{up}...z@e{right}; bulb(@,@@,@@'); % arc and bulb + else: pickup fine.nib; + pos$.a(stem_br,180); z$=z$.a; + x$$=x$.a; top y$$=y_rate[y$.a,height]; pos$$(stem_br,180); + pos@(vair,90); x@=x_rate[x$$,x@@r]; top y@r=height+o; + pos@@(.6[vair,flare],70); rt x@@r=x_offset; + y@@r=good.y y_end[y$.a,height]; y@@l:=good.y y@@l; + filldraw stroke z$.a e--z$$e & super_arc.e($$,@) + & term.e(@,@@,right,.9,4); fi + enddef; + +def c_stroke(expr Width) = + numeric BH; BH=if Times_Compat:.5613h else: bar_height fi; + pickup fine.nib; pos2(vair',90); pos4(vair',270); + x2=x4=.5(Width+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(BH+.5flare+2vair'+2,.9[BH,h]-.5flare); + rt x1r=hround(Width-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(Width-.5u); + y5=max(good.y(.5BH-.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); + rt x1r=hround(Width-.6u); top y1r=vround .82[BH,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + pos5(.6[vair',flare],275); rt x5r=hround(Width-.5u); + y5r=good.y(y5r+1/3BH-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{right}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{right}..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 + enddef; + +def d_stroke(expr Topserif, Botserif, bot_y) = + 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-side_gap+.5stem'); top y1=h; + 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)-.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; numeric lower_serif_drop; + lower_serif_drop = if Times_Compat: serif_drop else: min(oo,serif_drop) fi; + bot y2=if Botserif: if serifs:-min(oo,serif_drop) else: 0 fi; else: bot_y; fi + if Topserif: filldraw stroke z1e--z0'e--z0e--z2e; % stem + else: filldraw stroke z0e--z2e; fi % stem + if serifs: if Topserif: sloped_serif.l(1,0',a,1/3,jut,serif_drop); fi % upper serif + if Botserif: sloped_serif.r(2,0,b,1/3,jut,lower_serif_drop); fi fi % lower serif + enddef; + +def epsilon_stroke(expr reverse,mid_jut) = % derived from `3' of cm + numeric top_thickness,mid_thickness,bot_thickness,mid_thickness'; + top_thickness=max(fine.breadth,vround(slab-2vair_corr)); + mid_thickness=max(fine.breadth,vround 2/3vair); + bot_thickness=max(fine.breadth,vround(slab-vair_corr)); + mid_thickness'=max(hround .6fine.breadth, + hround .35[curve,cap_curve]-stem_corr); + pickup fine.nib; pos2(top_thickness,90); + pos4(vair,-90); pos5(vair,-90); pos6(mid_thickness,90); + pos8(bot_thickness,-90); top y2r=h+o; bot y8r=-o; + if reverse=true: pos3(mid_thickness',0); pos7(mid_thickness',0); + rt x3r=hround(w-u); rt x7r=hround(w-.75u); + x2=x6=x8=.5[1.5u,x7]; lft x5=min(hround mid_jut,lft x6)-eps; + z4=z5+whatever*(150u,h); + else: pos3(mid_thickness',180); pos7(mid_thickness',180); + lft x3r=hround(u); lft x7r=hround(.75u); + x2=x6=x8=.5[x7,w-1.5u]; rt x5=max(hround(w-mid_jut),w-rt x6)+eps; + z4=z5+whatever*(-150u,h); fi + x4=1/3[x5,x3l]; y3=.5[top y4l,bot y2l]; y7=.5[bot y6l,top y8l]; + top y5l=vround(.54h+.5vair); y5r=y6l; + filldraw stroke pulled_super_arc.e(2,3)(.5superpull) + & z3e{down}...z4e---z5e; % upper bowl + filldraw z5r--z6l--z6r--z5l---cycle; % middle tip + filldraw stroke pulled_super_arc.e(6,7)(.5superpull) + & pulled_super_arc.e(7,8)(.5superpull); % lower bowl + enddef; + +def yogh_stroke(expr xmid,xmidrate,xoffset,Comb,Notail) = % derived from `z' of cm + 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_thickness1<tiny.breadth: arm_thickness1:=tiny.breadth; fi + pickup tiny.nib; rt x1r=rt x2r=hround(w-.8u); + lft x3l=lft x4l=hround(xmidrate[xmid, w-.8u]-.25hair); + top y1=h; y2=min(y1,h-2/3arm_thickness1); + bot y4=.3[0,h]; y3=max(y4,2/3arm_thickness2); + numeric alpha; + alpha=diag_ratio(1,z_stem-tiny,y2-y3,x2r-x3l-slant*(y2-y3)); + penpos1(alpha*(z_stem-tiny),0); penpos2(alpha*(z_stem-tiny),0); + penpos3(alpha*(z_stem-tiny),0); penpos4(alpha*(z_stem-tiny),0); + pair delta; delta=penoffset z3-z2 of currentpen; + fill top lft z1l--z2l+delta---z3l+delta..lft z3l---lft z4l..bot z4l + ---bot rt z4r--z3r-delta---z2r-delta..rt z2r---rt z1r..top z1r + ---cycle; % diagonal + pickup crisp.nib; pos5(arm_thickness1,90); pos6(hair,180); + top y5r=h; x5=x1; + lft x6r=if Comb: hround xmid; else: hround xoffset; fi + y6=if Comb: y5l; else: good.y(y5l-beak/1.8)-eps; fi + arm(5,6,a',beak_darkness,if Comb: 0 else: -.4beak_jut fi); % upper arm and beak + pickup tiny.nib; + pos12(stem,angle(z2-z3)); x12l=x3l; bot y12l=bot y3l; + pos7(curve,0); pos8(vair,-90); + rt x7r=hround(w-.75u+.1curve); y7=.48[bot y12l,top y8l]; + x8=hround(if Times_Compat: .5[xoffset,w-.8u]-.25u else: .5[xoffset,w-.8u] fi); + bot y8r=-d-oo; + filldraw stroke pulled_arc.e(12,7) & pulled_arc.e(7,8); % bowl + if Notail: else: + if serifs: pos10(flare,-180); pos9(cap_hair,-180); + lft x10r=hround(xoffset if Times_Compat: -.5u fi); + y10=if Comb: -.45d; else: -.35d; fi + bulb(8,9,10); % lower bulb + else: pickup fine.nib; pos8'(vair,-90); z8'=z8; + pos9(.6[vair',flare],-110); + lft x9r=hround xoffset; top y9l=vround -.3d; + y9r:=good.y y9r-eps; x9l:=good.x x9l; + filldraw stroke term.e(8',9,left,1,4); fi % lower terminal + fi enddef; + +def full_circ_stroke(suffix $,$$) = + filldraw circ_stroke z$e--z$$e; + filldraw circ_stroke z$$e--z$e; + enddef; + +% added on 2001/11/22 fkr +vardef inverted_sloped_serif.r(suffix $,$$,@)(expr darkness,jut,drop) = + pickup crisp.nib; pos@2(slab,90); + rt x@0=tiny.rt x$r; lft x@1=tiny.lft x$l; top y@1=tiny.top y$l; + rt x@2=rt x@0+jut; y@2r=y@1-drop; + y@0=max(y@2l-bracket,y$$)-eps; +if drop>0: erase fill z@1--top z@1 + --(x@2r,top y@1)--z@2r--cycle; fi % erase excess at bottom + filldraw z@1--z@2r--z@2l{left} + ...darkness[(x@0,y@2l),.5[z@2l,z@0] ]{z@0-z@2l} + ...{down}z@0--(x@1,y@0)--cycle; % sloped serif + labels(@0,@1,@2); enddef; + +% moved from tipagerm.mf on 2001/11/22 fkr +vardef varm(suffix $,$$,@)(expr darkness,jut)= + y@0=good.y(y$$r-jut); x@0=x$r; + x@1=x$l; z@1=z$$l+whatever*(z$$r-z@0); z@2=.5[z$l,z@1]; + filldraw z$$l{z@1-z$$l}...darkness[z@1,.5[z@2,z$$l]]...z@2 + ---z$l--z$r--z@0--z$$r--cycle; + penlabels(@0,@1,@2); enddef; + +% front_hook and bulbvar added on 2001/12/06 fkr + +def front_hook(suffix $, $$, @, @@)(expr stem_br, stem_angle, + x_offset, y_offset, x_end, x_rate, y_rate) = + if serifs: pickup tiny.nib; + pos$(stem_br,stem_angle); pos$$(stem_br,stem_angle); + y$=y$$; x$$=x_rate[x@,x$]; + pos@(vair,180); pos@@(hair,270); pos@@'(flare,270); % anomoulous but ... + y@=y_rate[y@@r,y$$]; lft x@r=hround(x_offset); + x@@-.5flare=x_end[x@,x$]; + z@@r=z@@'r; bot y@@'r=y_offset; + filldraw stroke z$e--z$$e{left}...z@e{down}; bulbvar(@,@@,@@');%arc and bulb + else: pickup fine.nib; + pos$(stem_br,stem_angle); pos$$(stem_br,stem_angle); + y$=y$$; x$$=x_rate[x@,x$]; + pos@(vair,180); pos@@(.6[vair,flare],220); + y@=y_rate[y$$r,y@@]; lft x@r=hround(x_offset); + x@@-.5vair=x_end[x@,x$]; bot y@@r=y_offset; + filldraw stroke z$e--z$$e & super_arc.e($$,@) + & term.e(@,@@,down,.9,4); fi + enddef; + +def bulbvar(suffix $,$$,$$$) = + z$$$r=z$$r; + path_.l:=z$l{0,y$$r-y$r}...{x$$r-x$r,0}z$$l; + filldraw path_.l--z$$r{x$r-x$$r,0}...{0,y$r-y$$r}z$r--cycle; % link + path_.r:=z$$$l{x$r-x$$r,0}..z$$$r{x$$r-x$r,0}; % near-circle + filldraw subpath(0,xpart(path_.r intersectiontimes path_.l)) of path_.r + --z$$r{x$$r-x$r,0}..cycle; % bulb + enddef; + +def turned_h_stroke(suffix $,@,@@,$$) = + penpos$$(x@@r-x@@l,0); x$$=x@@; top y$$=h; + y@@=x_height-1/3[bar_height,x_height]; + penpos$''(x$r-x$l,0); x$''=x$; y$''=x_height-1/8[bar_height,x_height]; + filldraw stroke z$''e--z$e; % thicken the lower left stem + penpos@0(min(rt x$r-lft x$l,thin_join)-fine,180); pickup fine.nib; + lft x@0r=tiny.lft x$l; y@0=y$''; + pos@1(vair,90); pos@@'(x@@r-x@@l+tiny,0); z@@'=z@@; + x@1=.5[lft x@0r,lft x@@'l]; bot y@1l=-oo; + (x@,y@1r)=whatever[z@1l,z@0r]; x@1r:=x@; + filldraw stroke z@0e{down}...{left}z@1e + &{{interim superness:=hein_super; super_arc.e(@1,@@')}}; % arch + pickup tiny.nib; filldraw stroke z@@e--z$$e; % right stem + labels(@0); penlabels(@1); enddef; + +def raised_h_stroke(suffix $,@,@@,$$) = + penpos$$(x@@r-x@@l,0); x$$=x@@; y$$=.45bar_height; + y@@=1/3[bar_height,x_height]; + penpos$''(x$r-x$l,0); x$''=x$; y$''=1/8[bar_height,x_height]; + filldraw stroke z$''e--z$e; % thicken the lower left stem + penpos@0(min(rt x$r-lft x$l,thin_join)-fine,180); pickup fine.nib; + rt x@0l=tiny.rt x$r; y@0=y$''; + pos@1(vair,90); pos@@'(x@@r-x@@l+tiny,0); z@@'=z@@; + x@1=.5[rt x@0l,rt x@@'r]; top y@1r=x_height+oo; + (x@,y@1l)=whatever[z@1r,z@0l]; x@1l:=x@; + filldraw stroke z@0e{up}...{right}z@1e + &{{interim superness:=hein_super; super_arc.e(@1,@@')}}; % arch + pickup tiny.nib; filldraw stroke z@@e--z$$e; % right stem + labels(@0); penlabels(@1); enddef; + +vardef turned_special_diag_end(suffix $$,$,@,@@) = % for top middle of turned w + if x@l<=x$: diag_end($$r,$r,1,1,@l,@@l) + else: z0=whatever[z$$l,z$l]=whatever[z@l,z@@l]; + diag_end($$r,$r,1,1,$l,0)--z0 fi enddef; + +def CT(expr $, @) = % Computer modern or Times Roman? + if Times_Compat: @ else: $ fi enddef; + +% Redefinition for Times_Compat. +def f_stroke(suffix $,$$,@,left_serif,right_serif)(expr left_jut,right_jut)= + pickup tiny.nib; bot y$=0; + penpos@0(x$r-x$l,0); x@0l=x$l; top y@0=x_height; + filldraw stroke z$e--z@0e; % stem + pickup fine.nib; pos@0'(x$r-x$l-(hround stem_corr)+tiny,180); + y@0'=y@0; lft x@0'r=tiny.lft x$l; + penpos@1(x@0'l-x@0'r,180); x@1=x@0'; + y@1+.5vair=if Times_Compat:.33 else:.5 fi[x_height,h]; + pos@2(vair,90); top y@2r=h+oo; + if serifs: x@2=.6[x@1,x$$r]; (x@,y@2r)=whatever[z@2l,z@1l]; + x@2r:=min(x@,.5[x@2,x$$r]); pos@3(hair,0); bulb(@2,@3,$$); % bulb + filldraw stroke z@0'e--z@1e & super_arc.e(@1,@2); % arc + dish_serif($,@0,left_serif,1/3,left_jut,right_serif,1/3,right_jut); % serif + else: x@2=.6[x@1,x$$]; y@1l:=1/3[y@1l,y@2l]; + filldraw stroke z@0'e--z@1e & super_arc.e(@1,@2) + & term.e(@2,$$,right,.9,4); fi % arc and terminal + penlabels(@0,@1,@2); enddef; + +def thin_hair = if hair# > 1.5u#: hround(.6hair) else: hair fi enddef; + +def side_gap = if Times_Compat: 2.4u else: 2.5u fi enddef; + +% end of tipabase.mf diff --git a/fonts/tipa/tipa/mf/tipabs10.mf b/fonts/tipa/tipa/mf/tipabs10.mf new file mode 100644 index 0000000000..9cef2692dc --- /dev/null +++ b/fonts/tipa/tipa/mf/tipabs10.mf @@ -0,0 +1,92 @@ +% tipabs10.mf: TIPA Bold Extended Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPABS"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23/36pt#; +width_adj#:=11/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=7/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=247/36pt#; +fig_height#:=232/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=41/36pt#; +curve#:=46/36pt#; +ess#:=38/36pt#; +flare#:=45/36pt#; +dot_size#:=56/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=51/36pt#; +cap_curve#:=55/36pt#; +cap_ess#:=53/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=10/36pt#; +jut#:=25/36pt#; +cap_jut#:=39/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=17/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=3/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=18/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipabx10.mf b/fonts/tipa/tipa/mf/tipabx10.mf new file mode 100644 index 0000000000..580e38427c --- /dev/null +++ b/fonts/tipa/tipa/mf/tipabx10.mf @@ -0,0 +1,92 @@ +% tipabx10.mf: TIPA Bold Extended Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPABX"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23/36pt#; +width_adj#:=11/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=7/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=247/36pt#; +fig_height#:=232/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=41/36pt#; +curve#:=46/36pt#; +ess#:=38/36pt#; +flare#:=45/36pt#; +dot_size#:=56/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=51/36pt#; +cap_curve#:=55/36pt#; +cap_ess#:=53/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=10/36pt#; +jut#:=25/36pt#; +cap_jut#:=39/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=17/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=3/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=18/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipabx12.mf b/fonts/tipa/tipa/mf/tipabx12.mf new file mode 100644 index 0000000000..394a6d4937 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipabx12.mf @@ -0,0 +1,92 @@ +% tipabx12.mf: TIPA Bold Extended Roman 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPABX"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=27/36pt#; +width_adj#:=13/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=8/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=296.4/36pt#; +fig_height#:=278.4/36pt#; +x_height#:=192/36pt#; +math_axis#:=108/36pt#; +bar_height#:=102/36pt#; +comma_depth#:=84/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10.5/36pt#; +hair#:=18.3/36pt#; +stem#:=47/36pt#; +curve#:=52/36pt#; +ess#:=44/36pt#; +flare#:=51/36pt#; +dot_size#:=62/36pt#; +cap_hair#:=20/36pt#; +cap_stem#:=57/36pt#; +cap_curve#:=61/36pt#; +cap_ess#:=59/36pt#; +rule_thickness#:=.66pt#; +dish#:=1/36pt#; +bracket#:=12/36pt#; +jut#:=30/36pt#; +cap_jut#:=46/36pt#; +beak_jut#:=12.4/36pt#; +beak#:=84/36pt#; +vair#:=14.3/36pt#; +notch_cut#:=12pt#; +bar#:=18.5/36pt#; +slab#:=18.5/36pt#; +cap_bar#:=18.5/36pt#; +cap_band#:=18.5/36pt#; +cap_notch_cut#:=12pt#; +serif_drop#:=3.6/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=5/36pt#; +apex_o#:=4/36pt#; +slant:=0; +fudge:=1; +math_spread:=.4; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=21.13/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipabx8.mf b/fonts/tipa/tipa/mf/tipabx8.mf new file mode 100644 index 0000000000..f0a777186a --- /dev/null +++ b/fonts/tipa/tipa/mf/tipabx8.mf @@ -0,0 +1,92 @@ +% tipabx8.mf: TIPA Bold Extended Roman 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPABX"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=19.6/36pt#; +width_adj#:=9.4/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5.4/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197.6/36pt#; +fig_height#:=185.6/36pt#; +x_height#:=128/36pt#; +math_axis#:=72/36pt#; +bar_height#:=67/36pt#; +comma_depth#:=56/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=12/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=16.2/36pt#; +stem#:=35/36pt#; +curve#:=39/36pt#; +ess#:=32/36pt#; +flare#:=39/36pt#; +dot_size#:=46/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=43/36pt#; +cap_curve#:=46/36pt#; +cap_ess#:=43/36pt#; +rule_thickness#:=.54pt#; +dish#:=1/36pt#; +bracket#:=8/36pt#; +jut#:=19/36pt#; +cap_jut#:=31/36pt#; +beak_jut#:=9.4/36pt#; +beak#:=55/36pt#; +vair#:=12/36pt#; +notch_cut#:=8pt#; +bar#:=15/36pt#; +slab#:=15/36pt#; +cap_bar#:=15/36pt#; +cap_band#:=15/36pt#; +cap_notch_cut#:=8pt#; +serif_drop#:=2.4/36pt#; +stem_corr#:=1.8/36pt#; +vair_corr#:=1.3/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.9; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.34/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipabx9.mf b/fonts/tipa/tipa/mf/tipabx9.mf new file mode 100644 index 0000000000..513c921666 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipabx9.mf @@ -0,0 +1,92 @@ +% tipabx9.mf: TIPA Bold Extended Roman 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPABX"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=21.3/36pt#; +width_adj#:=10.2/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6.2/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=222.3/36pt#; +fig_height#:=208.8/36pt#; +x_height#:=144/36pt#; +math_axis#:=81/36pt#; +bar_height#:=76/36pt#; +comma_depth#:=63/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=16.6/36pt#; +stem#:=38/36pt#; +curve#:=43/36pt#; +ess#:=35/36pt#; +flare#:=42/36pt#; +dot_size#:=51/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=47/36pt#; +cap_curve#:=51/36pt#; +cap_ess#:=48/36pt#; +rule_thickness#:=.57pt#; +dish#:=1/36pt#; +bracket#:=9/36pt#; +jut#:=22/36pt#; +cap_jut#:=35/36pt#; +beak_jut#:=10.2/36pt#; +beak#:=63/36pt#; +vair#:=12.5/36pt#; +notch_cut#:=9pt#; +bar#:=16/36pt#; +slab#:=16/36pt#; +cap_bar#:=16/36pt#; +cap_band#:=16/36pt#; +cap_notch_cut#:=9pt#; +serif_drop#:=2.7/36pt#; +stem_corr#:=1.9/36pt#; +vair_corr#:=1.4/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.7; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.67/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipadiac.mf b/fonts/tipa/tipa/mf/tipadiac.mf new file mode 100644 index 0000000000..aa0343d309 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipadiac.mf @@ -0,0 +1,806 @@ +% tipadiac.mf: TIPA accents and diacritics +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +numeric ipacode; +ipacode := -1; + +cmchar "Grave accent"; +beginchar(incr ipacode,9u#,min(asc_height#,2x_height#),0); +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1-.5stem=hround 2u; x2=2/3[x1,w-x1]; + y1+.5stem=h+eps; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + lft x1l=hround 1.5u; rt x2r=hround(.5w+.25u+.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Acute accent"; +beginchar(incr ipacode,9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-if serifs: 1.5 fi u#; +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1+.5stem=hround(w-2u); x2=2/3[x1,w-x1]; + y1+.5stem=h+eps; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + rt x1r=hround(w-1.5u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Circumflex (hat) accent"; +beginchar(incr ipacode,9u#,min(asc_height#,2x_height#),0); +if serifs: italcorr .5[x_height#,h#]*slant+.5hair#-1.75u#; + adjust_fit(0,0); + pickup crisp.nib; pos2(CT(.5,.6)[vair,curve],90); top y2r=h; x2=.5w; + x1=w-x3=good.x 2.25u; y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: italcorr 2/3[x_height#,h#]*slant-.5stem#+.5vair#-.75u#; + adjust_fit(0,0); + pickup fine.nib; pos1(vair,0); pos3(vair,0); x1=w-x3; + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=w-x4l; + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +cmchar "Tilde (squiggle) accent"; +beginchar(incr ipacode,9u#,min(asc_height#,10/7x_height#+.5dot_size#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-x_height)); + pickup crisp.nib; numeric mid_width; mid_width=.4[vair,stem]; + pos1(vair,theta+90); pos2(vair,theta+90); + pos3(vair,theta+90); pos4(vair,theta+90); + z2-z1=z4-z3=(mid_width-crisp)*dir theta; + lft x1r=w-rt x4l=hround 1.5u; top y4r=h; + bot y1l=vround(bot y1l+min(2/3[x_height,h],y3l-.25vair)-top y1r); + pair delta; ypart delta=3(y3l-y1l); delta=whatever*dir theta; + filldraw z1l..controls(z1l+delta)and(z3l-delta)..z3l..z4l + --z4r..controls(z4r-delta)and(z2r+delta)..z2r..z1r--cycle; % stroke +else: pickup fine.nib; pos1(vair,180); pos2(vair,90); + pos3(.5[vair,slab],90); pos4(vair,90); pos5(vair,180); + lft x1r=w-rt x5l=hround 1.5u; x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[x_height,h]-vair); + top y2r=top y5=h; y3=.5[y2,y4]; + filldraw stroke z1e{up}...z2e{right}..z3e..{right}z4e...{up}z5e; fi % stroke +penlabels(1,2,3,4,5); endchar; + +cmchar "Umlaut (double dot) accent"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(incr ipacode,9u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +italcorr h#*slant+.5dot_diam#-2.25u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=2.75u; top y2r=h+1; +if bot y2l<x_height+o+slab: y2l:=min(y2r-eps,x_height+o+slab+.5tiny); fi +y1=.5[y2l,y2r]; dot(1,2); % left dot +pos3(dot_diam,0); penpos4(y2r-y2l,90); y3=y4=y1; x3=x4=w-x1; +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +cmchar "Double acute (Long Hungarian umlaut) accent"; +beginchar(incr ipacode,9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); +x3-x1=x4-x2=hround 3u; y3=y1; y4=y2; +if serifs: pickup crisp.nib; x3+.5stem=hround(w-1.5u); x2=2.5u; + y1+.5stem=h; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + pos3(stem,theta); pos4(hair,theta); + filldraw circ_stroke z1e--z2e; % left diagonal + filldraw circ_stroke z3e--z4e; % right diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + pos3(stem,0); pos4(vair,0); + rt x3r=hround(w-1.5u); lft x4l=hround(.5w+u-.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; % left diagonal + filldraw stroke z3e--z4e; fi % right diagonal +penlabels(1,2,3,4); endchar; + +cmchar "Scandinavian circle accent"; +beginchar(incr ipacode,13u#+4/3(asc_height#-x_height#)*slant,asc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric circ_hair,circ_vair; +circ_hair=hround min(hair,u+.5); circ_vair=vround min(vair,(h-x_height)/6+.5); +penpos1(circ_vair,90); penpos3(circ_vair,-90); +penpos2(circ_hair,180); penpos4(circ_hair,0); +x2r=hround(.5w-1.5u-.5circ_hair); +x4r=w-x2r; x1=x3=.5w; y1r=h+apex_o; y2=y4=.5[y1,y3]; +y3r=vround(1/3[x_height,h]+apex_o); +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penlabels(1,2,3,4); endchar; + +cmchar "Hachek (check) accent"; +beginchar(incr ipacode,9u#,CT(.75,.9)[x_height#,min(asc_height#,2x_height#)],0); +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: italcorr h#*slant+.5hair#-1.75u#; + adjust_fit(0,0); + pickup crisp.nib; pos2'(CT(.5,.6)[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=w-x3=good.x 2.25u; top y1=top y3=h; y1-y2=.5(y2'-x_height); + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: italcorr h#*slant-.5stem#+.5vair#-.75u#; + adjust_fit(0,0); + pickup fine.nib; pos1(vair,0); pos3(vair,0); x1=w-x3; + pos2(stem,0); bot y2=vround(1/12[x_height,h']+o); x2=.5w; + top y1=top y3=h+o; lft x1l=hround(rt x2r-3.25u-.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=w-x4l; + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +cmchar "Breve accent"; +beginchar(incr ipacode,9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant+.5vair#-1.5u#; +adjust_fit(0,0); +pickup crisp.nib; pos1(vair,-180); pos3(vair,0); +top y1=top y3=h; lft x1r=w-rt x3r=hround(2u-.5vair); +numeric mid_thickness; mid_thickness=vround 1/3[vair,stem]; +pos2(mid_thickness,-90); x2=.5w; +bot y2r=vround max(x_height+o+tiny,1/3[x_height,h]+o-.5mid_thickness); +filldraw stroke z1e{down}...z2e{right}...{up}z3e; % stroke +penlabels(1,2,3); endchar; + +cmchar "Macron (bar) accent"; +numeric macron_breadth#; macron_breadth#=.2[vair#,stem#]; +beginchar(incr ipacode,9u#,.4[x_height#,asc_height#]+macron_breadth#,0); +italcorr h#*slant-.75u#; +adjust_fit(0,0); +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos1(macron_breadth,90); pos2(macron_breadth,90); +top y1r=top y2r=h+o; lft x1=w-rt x2=hround 1.25u; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +cmchar "Dot accent"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(incr ipacode,5u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant+.5dot_diam#-2u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=.5w; top y2r=h+1; +if bot y2l<x_height+o+slab: y2l:=min(y2r-eps,x_height+o+slab+.5tiny); fi +y1=.5[y2l,y2r]; dot(1,2); % dot +penlabels(1,2); endchar; + +cmchar "Cedilla accent"; +beginchar(incr ipacode,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,0); pos5(vair,-90); + x1=x2; z3l=z2l; 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{right}...z4e{down}...{left}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 "Polish Hook"; +beginchar(incr ipacode,6u#,0,desc_depth#); +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +pickup if serifs: crisp.nib; else: fine.nib; fi +pos1(vair,-60); pos4(vair,135); +if serifs: pos2(stem,10);pos3(max(.7stem,hair),80); +else: pos2(vair,10);pos3(vair,80); fi +x1-u=x4-2u=.5w; y1=0; y2l=y4r=-3/5d; bot y3l=-d-oo; +x3r=.7[x4r,x2r]; x2l=u; +if serifs: filldraw circ_stroke z1e{(-3,-1)}...{down}z2e... + {right}z3e...{(1,1)}z4e; +else: filldraw stroke z1e{(-3,-1)}...{down}z2e...{right}z3e...{(1,1)}z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Double Grave Accent"; +beginchar(incr ipacode,9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); +x3-x1=x4-x2=hround 3u; y3=y1; y4=y2; +if serifs: pickup crisp.nib; x1-.5stem=hround(1.5u); x4=w-2.5u; + y1+.5stem=h; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + pos3(stem,theta); pos4(hair,theta); + filldraw circ_stroke z1e--z2e; % left diagonal + filldraw circ_stroke z3e--z4e; % right diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + pos3(stem,0); pos4(vair,0); + lft x1l=hround(1.5u); rt x2r=hround(.5w-u+.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; % left diagonal + filldraw stroke z3e--z4e; fi % right diagonal +penlabels(1,2,3,4); endchar; + +cmchar "Grave Accent (under)"; +beginchar(incr ipacode,9u#,asc_height#,0); +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1+.5stem=hround(w-2u); x2=2/3[x1,w-x1]; + y2+.5stem=h+eps; y1=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + rt x1r=hround(w-1.5u); lft x2l=hround(.5w-.25u-.5vair); + top y2=h; bot y1=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Acute Accent (under)"; +beginchar(incr ipacode,9u#,asc_height#,0); +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1-.5stem=hround 2u; x2=2/3[x1,w-x1]; + y2+.5stem=h+eps; y1=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + lft x1l=hround 1.5u; rt x2r=hround(.5w+.25u+.5vair); + top y2=h; bot y1=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Subscript Arch"; +beginchar(incr ipacode,9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant+.5vair#-1.5u#; +adjust_fit(0,0); +pickup crisp.nib; pos1(vair,-180); pos3(vair,0); +numeric mid_thickness; mid_thickness=vround 1/3[vair,stem]; +pos2(mid_thickness,90); x2=.5w; +bot y1=bot y3=vround max(x_height+tiny,1/3[x_height,h]-.5mid_thickness); +top y2r=h-o; lft x1r=w-rt x3r=hround(2u-.5vair); +filldraw stroke z1e{up}...z2e{right}...{down}z3e; % stroke +penlabels(1,2,3); endchar; + +def subtop = -hround(4/7desc_depth) enddef; + +cmchar "Subscript Bridge"; +beginchar(incr ipacode,9u#,0,1.36desc_depth#+.5vair#); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + lft x1=lft x2=hround(.5w-2.5u); x3=x4=w-x1; + top y1=top y3=subtop; bot y2=-d; y2=y4; + draw z2--z1--z3--z4; +else: pickup crisp.nib; + pos1(vair,0); pos2(vair,0); pos2'(vair,90); + pos3(vair,0); pos3'(vair,90); pos4(vair,0); + lft x1l=lft x2l=hround(.5w-2.5u-.5vair); x3=x4=w-x1; x2l=x2'; x3r=x3'; + top y2'r=subtop; bot y1=bot y4=-d; y2=y3=y2'r=y3'r; + filldraw stroke z1e--z2e; + filldraw stroke z3e--z4e; + filldraw stroke z2'e--z3'e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Inverted Subscript Bridge"; +beginchar(incr ipacode,9u#,0,1.36desc_depth#+.5vair#); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + lft x1=lft x2=hround(.5w-2.5u); x3=x4=w-x1; + top y1=top y3=subtop; bot y2=-d; y2=y4; + draw z1--z2--z4--z3; +else: pickup crisp.nib; + pos1(vair,0); pos2(vair,0); pos2'(vair,90); + pos3(vair,0); pos3'(vair,90); pos4(vair,0); + lft x1l=lft x2l=hround(.5w-2.5u-.5vair); x3=x4=w-x1; x2l=x2'; x3r=x3'; + top y1=top y4=subtop; bot y2'l=-d; y2=y3=y2'l=y3'l; + filldraw stroke z1e--z2e; + filldraw stroke z3e--z4e; + filldraw stroke z2'e--z3'e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Subscript Square"; +beginchar(incr ipacode,9u#,0,1.36desc_depth#+vair#); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + lft x1=lft x2=hround(.5w-2.5u); x3=x4=w-x1; + top y1=top y3=subtop; bot y2=-d; y2=y4; + draw z1--z2--z4--z3--z1; +else: pickup crisp.nib; + pos1(vair,0); pos1'(vair,90); pos2(vair,0); pos2'(vair,90); + pos3(vair,0); pos3'(vair,90); pos4(vair,0); pos4'(vair,90); + lft x1l=lft x2l=hround(.5w-2.5u-.5vair); x3=x4=w-x1; + x2l=x1'=x2'; x3r=x3'=x4'; + top y1'r=subtop; bot y2'l=-d; y2=y3=y2'l=y3'l; y1=y1'r=y4=y4'r; + filldraw stroke z1e--z2e; + filldraw stroke z3e--z4e; + filldraw stroke z1'e--z4'e; + filldraw stroke z2'e--z3'e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Subscript Right Half-ring"; +beginchar(incr ipacode,6u#,.5x_height#+vair#,0); +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +autorounded; +if serifs: pickup diacritic.nib; + rt x2=hround(w-1.75u)+eps; x1=x3=w-x2; + bot y3=-d; y2=.5[y1,y3]; top y1=h; + draw z1{right}...z2{down}...z3{left}; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,0); pos3(vair,-90); + rt x2r=hround(w-2u+.5vair)+eps; lft x1=lft x3=hround(w-rt x2r+.3vair); + bot y3r=-d; y2=.5[y1,y3]; top y1r=h; + filldraw stroke z1e{right}...z2e{down}...z3e{left}; fi +penlabels(1,2,3); endchar; + +cmchar "Subscript Left Half-ring"; +beginchar(incr ipacode,6u#,.5x_height#+vair#,0); +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +autorounded; +if serifs: pickup diacritic.nib; + lft x2=hround 1.75u-eps; x1=x3=w-x2; + bot y3=-d; y2=.5[y1,y3]; top y1=h; + draw z1{left}...z2{down}...z3{right}; +else: pickup crisp.nib; + pos1(vair,-90); pos2(vair,0); pos3(vair,90); + lft x2l=hround(2u-.5vair)-eps; rt x1=rt x3=hround(w-lft x2l-.3vair); + bot y3l=-d; y2=.5[y1,y3]; top y1l=h; + filldraw stroke z1e{left}...z2e{down}...z3e{right}; fi +penlabels(1,2,3); endchar; + +cmchar "Subscript W"; +beginchar(incr ipacode,9u#,0,1.4desc_depth#+.5vair#); +adjust_fit(0,0); +if serifs: pickup fine.nib; + numeric hbreadth; hbreadth=max(diacritic,hair); + pos2(vair,-210); pos3(hbreadth,-90); pos4(vair,10); + pos6(vair,170); pos7(hbreadth,270); pos8(vair,30); + lft x2r=hround 1.5u; top y2=top y8=subtop; y4=y6=y2-vair; + bot y3r=bot y7r=-d; + x3=.4[x2,x4]; x7=w-x3; x8=w-x2; x4=x6=good.x .5w; + filldraw circ_stroke z2e{(-1,-2)}...z3e{right}...{(-1,5)}z4e; + filldraw circ_stroke z8e{(1,-2)}...z7e{left}...{(1,5)}z6e; +else: pickup crisp.nib; + pos2(vair,-210); pos3(vair,-90); pos4(vair,0); + pos6(vair,180); pos7(vair,270); pos8(vair,30); + lft x2r=hround(1.5u-.25vair); top y2=top y8=subtop; y4=y6=y2-vair; + bot y3r=bot y7r=-d; + x3=.4[x2,x4]; x7=w-x3; x8=w-x2; x4=x6=good.x .5w; + filldraw circ_stroke z4e{down}...z3e{left}...{(1,2)}z2e; + filldraw circ_stroke z6e{down}...z7e{right}...{(-1,2)}z8e; fi +penlabels(2,3,4,6,7,8); endchar; + +cmchar "Seagull"; +beginchar(incr ipacode,9u#,0,1.2desc_depth#+.5vair#); +adjust_fit(0,0); +if serifs: pickup fine.nib; + numeric hbreadth; hbreadth=max(diacritic,hair); + pos1(vair,160); pos2(hbreadth,90); pos3(vair,0); + pos4(hbreadth,-90); pos5(vair,-160); + x1=w-x5=1.2u; x3=.5w; x2=w-x4=.5[x1,x3]; + top y2r=top y4l=subtop+oo; bot y3=-d; bot y1=bot y5=.1[y3,y2]; + filldraw stroke z1e{(1,4)}...{right}z2e...{down}z3e; + filldraw stroke z3e{up}...{right}z4e...{(1,-4)}z5e; +else: pickup crisp.nib; + pos1(vair,150); pos2(vair,90); pos3(vair,0); + pos4(vair,-90); pos5(vair,-150); + x1=w-x5=1.2u; x3=.5w; x2=w-x4=.5[x1,x3]; + top y2r=top y4l=subtop+oo; bot y3=-d+.5vair; + bot y1l=bot y5r=0[y3,y2]-.5vair; + filldraw circ_stroke z3e{up}...{left}z2e...{(-1,-5)}z1e; + filldraw circ_stroke z3e{up}...{right}z4e...{(1,-5)}z5e; fi +penlabels(1,2,3,4,5); endchar; + +cmchar "Over-cross"; +beginchar(incr ipacode,9u#,asc_height#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + lft x1=lft x2=hround(.5w-2.5u); x3=x4=w-x1; + top y1=top y3=h-o; bot y2=bot y4=.2[x_height,h]; + draw z1--z4; draw z2--z3; +else: pickup crisp.nib; + pos1(vair,65); pos2(vair,115); pos3(vair,115); pos4(vair,65); + lft x1l=lft x2r=hround(.5w-2.5u-.25vair); x3=x4=w-x1; + top y1r=top y3r=h-o; bot y2l=bot y4l=.2[x_height,h]-.6vair; + filldraw stroke z1e--z4e; filldraw stroke z2e--z3e; fi +penlabels(1,2,3,4); endchar; + +ipacode:=ipacode+2; % dotless i and j come here; + +cmchar "Subscript Plus"; +beginchar(incr ipacode,8u#,4vu#+vair#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + top y3=h; bot y4=0; x3=x4=good.x .5w; + lft x1=hround(.5(w-(top y3-bot y4))); x2=w-x1; y1=y2=good.y .5[y3,y4]; + draw z1--z2; draw z3--z4; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,90); pos3(vair,0); pos4(vair,0); + top y3=h; bot y4=0; + lft x3l=lft x4l=hround(.5w-.5vair); + lft x1=hround(.5(w-(top y3-bot y4))); x2=w-x1; + top y1r=top y2r=vround(.5[y3,y4]+.5vair); + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Raising Sign"; +beginchar(incr ipacode,8u#,4vu#+vair#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + x1=w-x2; x3=x4=good.x(.5[x1,x2]); x2-x1=4u; + y1=y2=y4; top y3=h; y4=good.y(y3-3vu); + draw z1--z2; draw z3--z4; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,90); pos3(vair,0); pos4(vair,0); + x1=w-x2; lft x1=hround(2u-.25vair); lft x3l=lft x4l=hround(.5w-.5vair); + y1l=y2l=y4; top y3=h; bot y4=vround(y3-3vu-.5vair); + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Lowering Sign"; +beginchar(incr ipacode,8u#,4vu#+vair#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + x1=w-x2; x3=x4=good.x(.5[x1,x2]); x2-x1=4u; + top y1=h; y1=y2=y3; y4=vround(y3-3vu); + draw z1--z2; draw z3--z4; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,90); pos3(vair,0); pos4(vair,0); + x1=w-x2; lft x1=hround(2u-.25vair); lft x3l=lft x4l=hround(.5w-.5vair); + y1r=y2r=y3; top y3=h; bot y4=vround(y3-3vu-.5vair); + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Advancing Sign"; +beginchar(incr ipacode,8u#,4vu#+vair#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + x2=x3=x4=good.x(.5w+u); x1=good.x(x2-3u); + top y3=h; bot y4=0; y1=y2=good.y(.5[y3,y4]); + draw z1--z2; draw z3--z4; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,90); pos3(vair,0); pos4(vair,0); + lft x1=hround 2u; rt x2=rt x3r=rt x4r=hround(w-3u+.5vair); + top y3=h; bot y4=vround(y3-4vu-.5vair); + top y1r=top y2r=vround(.5[y3,y4]+.5vair); + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Retracting Sign"; +beginchar(incr ipacode,8u#,4vu#+vair#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + x1=x3=x4=good.x(.5w-u); x2=good.x(x1+3u); + top y3=h; bot y4=0; y1=y2=good.y(.5[y3,y4]); + draw z1--z2; draw z3--z4; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,90); pos3(vair,0); pos4(vair,0); + rt x1=hround(w-2u); lft x2=lft x3l=lft x4l=hround(3u-.5vair); + top y3=h; bot y4=vround(y3-4vu-.5vair); + top y1r=top y2r=vround(.5[y3,y4]+.5vair); + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Vertical Stroke (Superior)"; +beginchar(oct"042",4u#,asc_height#,0); +adjust_fit(0,0); +if serifs: pickup tiny.nib; + pos1(diacr,0); pos2(diacr,0); + lft x1l=lft x2l=hround(.5w-.5diacr); + top y1=h; bot y2=vround(top y1-4vu); + filldraw stroke z1e--z2e; +else: pickup crisp.nib; + pos1(vair,0); pos2(vair,0); + lft x1l=lft x2l=hround(.5w-.5vair); + top y1=h; bot y2=vround(top y1-4vu); + filldraw stroke z1e--z2e; fi +penlabels(1,2); endchar; + +cmchar "Length Mark"; +beginchar(oct"072",5u#,x_height#,0); +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +pickup if serifs: tiny.nib; else: crisp.nib; fi +x1=w-x2; x3=.5[x1,x2]; rt x2-lft x1=3u; +top y1=top y2=h if serifs: +oo fi; top y1-bot y3=.387x_height; +filldraw z1--z2--z3--cycle; +x5=w-x6; x4=.5[x5,x6]; rt x6-lft x5=3u; +bot y5=bot y6=if serifs: -oo else: 0 fi; top y4-bot y5=.387x_height; +filldraw z4--z5--z6--cycle; +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Half-length Mark"; +beginchar(oct"073",5u#,x_height#,0); +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +pickup if serifs: tiny.nib; else: crisp.nib; fi +x1=w-x2; x3=.5[x1,x2]; rt x2-lft x1=3u; +top y1=top y2=h if serifs: +oo fi; top y1-bot y3=.387x_height; +filldraw z1--z2--z3--cycle; +penlabels(1,2,3); endchar; + +cmchar "Bottom Tie Bar"; +beginchar(oct"074",14u#,v_center(.35x_height#)); +adjust_fit(0,0); +pickup fine.nib; +numeric light_stem; light_stem=Vround .5[vair,stem]; +x1-.5hair=hround u; y1+.5hair=vround(h+.5hair); x3=w-x1; y3=y1; +pos2(light_stem,90); x2=.5w; y2l=good.y -d; +numeric theta; theta=angle((z2-z1)yscaled 3); +pos1(hair,90+theta); pos3(hair,90-theta); +filldraw z1l{dir theta}...z2l...{dir-theta}z3l + ..z3r{-dir-theta}...z2r...{-dir theta}z1r..cycle; % arc +penlabels(1,2,3); endchar; + +cmchar "Top Tie Bar"; +beginchar(oct"076",14u#,v_center(.35x_height#)); +adjust_fit(0,0); +pickup fine.nib; +numeric light_stem; light_stem=Vround .5[vair,stem]; +x1-.5hair=hround u; y1-.5hair=vround(-d-.5hair); x3=w-x1; y3=y1; +pos2(light_stem,90); x2=.5w; y2=good.y h; +numeric theta; theta=angle((z2-z1)yscaled 3); +pos1(hair,90+theta); pos3(hair,90-theta); +filldraw z1l{dir theta}...z2l...{dir-theta}z3l + ..z3r{-dir-theta}...z2r...{-dir theta}z1r..cycle; % arc +penlabels(1,2,3); endchar; + +cmchar "Reversed Apostrophe"; +beginchar(oct"134",5u#,asc_height#,0); +italcorr asc_height#*slant+.5dot_size#-2u#; +adjust_fit(0,0); +x1-.5dot_size=hround(.5w-.5dot_size); y1+.5dot_size=h; +if monospace: comMA(1,a,dot_size,.28u,vround 1.5comma_depth); % large comma +else: comMA(1,a,dot_size,.25u,comma_depth); fi % comma with increased jut +penlabels(1); endchar; + +cmchar "Corner"; +beginchar(oct"136",5.2u#,asc_height#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + lft x1=hround .2u; rt x2=rt x3=hround(w-1u); top y1=top y2=h-o; + top y2-bot y3=vround 4vu; + draw z1--z2--z3; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,90); pos3(vair,0); pos4(vair,0); + lft x1=hround .2u; rt x2=rt x3r=rt x4r=hround(w-1u); + top y1r=top y2r=top y3=h-o; top y3-bot y4=vround 4vu; + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Open corner"; +beginchar(oct"137",5.2u#,asc_height#,0); +adjust_fit(0,0); +if serifs: pickup diacritic.nib; + rt x1=hround(w-.2u); lft x2=lft x3=hround 1u; top y1=top y2=h-o; + top y2-bot y3=vround 4vu; + draw z1--z2--z3; +else: pickup crisp.nib; + pos1(vair,90); pos2(vair,90); pos3(vair,0); pos4(vair,0); + rt x1=hround(w-.2u); lft x2=lft x3l=lft x4l=hround 1u; + top y1r=top y2r=top y3=h-o; top y3-bot y4=vround 4vu; + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Right-hook (rhoticity)"; +beginchar(oct"176",6u#,x_height#,0); +adjust_fit(0,if monospace: 2u# else: 0 fi); +if serifs: pickup tiny.nib; + numeric hook_hair; hook_hair=max(vround .6stem, hair); + pos3(hook_hair,0); pos4(hook_hair,0); pos5(vair,90); pos6(hair,180); + x1=0; top y2=h; rt x6l=vround(w-.75u+.5hair); + y1=min(.95x_height,y2-2hook_hair); + x2=x4=.36[x1,x6]; x5=.5[x2,x6]; y4=.8[y5,y2]; z3=z2; + y5l=bar_height; y6=.5[bar_height,h]; + pos1(hook_hair,angle(z2-z1)+90); pos2(hook_hair,angle(z2-z1)+90); + filldraw circ_stroke z2e--z1e; + filldraw circ_stroke z3e--z4e{down}..z5e{right}..{up}z6e; +else: pickup crisp.nib; + pos3(thin_hair,0); pos4(thin_hair,0); pos5(vair,90); pos6(thin_hair,180); + x1=0; top y2=h; rt x6l=vround(w-.75u+.5hair); + y1=min(.95x_height,y2-2vair); + x2=x4=.36[x1,x6]; x5=.5[x2,x6]; y4=.8[y5,y2]; z3=z2; + y5l=bar_height; y6=.5[bar_height,h]; + pos1(vair,angle(z2-z1)+90); pos2(vair,angle(z2-z1)+90); + filldraw circ_stroke z2e--z1e; + filldraw circ_stroke z3e--z4e{down}..z5e{right}..{up}z6e; fi +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Vertical Stroke (Inferior)"; +beginchar(oct"177",4u#,4vu#-desc_depth#,desc_depth#); +adjust_fit(if monospace: 2u#,2u# else: 0,0 fi); +if serifs: pickup tiny.nib; + pos1(diacr,0); pos2(diacr,0); + lft x1l=lft x2l=hround(.5w-.5diacr); + bot y2=-d; top y1=h; + filldraw stroke z1e--z2e; +else: pickup crisp.nib; + pos1(vair,0); pos2(vair,0); + lft x1l=lft x2l=hround(.5w-.5vair); + bot y2=-d; top y1=h; + filldraw stroke z1e--z2e; fi +penlabels(1,2); endchar; + +cmchar "Hooktop"; +beginchar(oct"043",4u#,.9asc_height#,0); +italcorr h#*slant+1.5u#; +adjust_fit(if monospace: 2u#,2u# else: 0,0 fi); +if serifs: pickup tiny.nib; + pos1(diacr,0); pos2(diacr,0); + lft x1l=lft x2l=hround(.5w-.5diacr); y1+.5flare=y2=x_height; + filldraw stroke z1e--z2e; + hooktop(2,3,4,5,diacr,hround(x1+3.25u),h+.5vair,.88,.5,1/3); +else: pickup fine.nib; + pos1(vair,0); pos2(vair,0); + lft x1l=lft x2l=hround(.5w-.5vair); y1+.5flare=y2=x_height; + filldraw stroke z1e--z2e; + hooktop(2,3,4,5,vair,hround(x1+3.25u),h+.5vair,5/6,.5,1/3); fi +penlabels(1,2,3,4,5); endchar; + +cmchar "Right-tail"; +beginchar(oct"044",4u#,0,desc_depth#); +adjust_fit(if monospace: 2u#,2u# else: 0,0 fi); +if serifs: pickup tiny.nib; + pos1(diacr,0); lft x1l=hround(.5w-.5diacr); y1=oo; + right_tail(1,2,3,4,diacr,hround(x1+3.25u),.9,.5,.6); +else: pickup fine.nib; + pos1(vair,0); lft x1l=hround(.5w-.5vair); y1=oo; + right_tail(1,2,3,4,vair,hround(x1+3.25u),.85,.5,.5); fi +penlabels(1,2,3,4,5); endchar; + +cmchar "Palatalization Hook"; +beginchar(oct"045",4u#,0,desc_depth#); +adjust_fit(if monospace: 2u#,2u# else: 0,0 fi); +if serifs: pickup tiny.nib; + pos1(diacr,0); lft x1l=hround(.5w-.5diacr); y1=oo; + left_tail(1,2,3,4,diacr,hround(x1-3.25u)); +else: pickup fine.nib; + pos1(vair,0); lft x1l=hround(.5w-.5vair); y1=oo; + left_tail(1,2,3,4,vair,hround(x1-3.25u)); fi +penlabels(1,2,3,4,5); endchar; + +cmchar "Superimposed Tilde"; +beginchar(oct"046",10u#,.5[asc_height#,body_height#],0); +big_tilde; endchar; + +cmchar "Vertical Bar Accent"; +beginchar(oct"234",9u#,min(asc_height#,2x_height#),0); +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1=x2=.5w; + top y1=h+o+eps; y2=max(2/3[h,x_height],x_height+o+hair); + pos1(stem,0); pos2(hair,0); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); x1=x2=.5w; + top y1=h+o; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Double Vertical Bar Accent"; +beginchar(oct"235",9u#,min(asc_height#,2x_height#),0); +adjust_fit(0,0); +x1=x2; x3=x4; y3=y1; y4=y2; +if serifs: pickup crisp.nib; x1=hround(3.8u-.5stem); x3=w-x1; + top y1=h+o+eps; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + pos3(stem,theta); pos4(hair,theta); + filldraw circ_stroke z1e--z2e; % left diagonal + filldraw circ_stroke z3e--z4e; % right diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + pos3(stem,0); pos4(vair,0); x1=hround(3.8u-.5stem); x3=w-x1; + top y1=h+o; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; % left diagonal + filldraw stroke z3e--z4e; fi % right diagonal +penlabels(1,2,3,4); endchar; + +cmchar "Grave Dot Accent"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(oct"236",9u#,min(asc_height#,2x_height#),0); +define_whole_blacker_pixels(dot_diam); +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1-.5stem=hround 1.5u; x2=.45[x1,w-x1]; + y1+.5stem=h+eps; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + lft x1l=hround 1.5u; rt x2r=hround(.5w-.25u+.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +pickup tiny.nib; pos3(dot_diam,0); pos4(dot_diam,90); +x3=x4=.7w; y4=.45[bot y2,top y1]; +y3=.5[y4l,y4r]; dot(3,4); % dot +penlabels(1,2,3,4); endchar; + +cmchar "Acute Dot Accent"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(oct"237",9u#,min(asc_height#,2x_height#),0); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-if serifs: 1 fi u#; +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1+.5stem=hround(w-1.5u); x2=.45[x1,w-x1]; + y1+.5stem=h+eps; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + rt x1r=hround(w-1.5u); lft x2l=hround(.5w+.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +pickup tiny.nib; pos3(dot_diam,0); pos4(dot_diam,90); +x3=x4=.3w; y4=.45[bot y2,top y1]; +y3=.5[y4l,y4r]; dot(3,4); % dot +penlabels(1,2); endchar; + +cmchar "Celtic palatalization mark"; +beginchar(oct"040",6u#,asc_height#,0); +italcorr h#*slant; +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +if serifs: pickup crisp.nib; x1+.5stem=hround(w-.5u); + x2=hround 1u; + y1+.5stem=h+eps; y2=.9x_height; + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + rt x1r=hround(w-.5u); lft x2l=hround 1u; + top y1=h; bot y2=vround .9x_height; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Leftward Pointer"; +beginchar(oct"275",6u#,asc_height#,0); +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +pickup diacritic.nib; +lft x2=hround .5u-eps; x1=x3=w-x2; +y1-y2=y2-y3; y2=.65[x_height,h]; y1=h; +draw z1--z2--z3; % diagonals +labels(1,2,3); endchar; + +cmchar "Rightward Pointer"; +beginchar(oct"276",6u#,asc_height#,0); +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +pickup diacritic.nib; +rt x2=hround(w-.5u)+eps; x1=x3=w-x2; +y1-y2=y2-y3; y2=.65[x_height,h]; y1=h; +draw z1--z2--z3; % diagonals +labels(1,2,3); endchar; + +% This symbol looks like a pipe but is used as the vertical line of tone bars. +cmchar "Tone bar"; +beginchar(oct"277",CT(5u#,5.56u#),asc_height#,0); +italcorr asc_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); +if serifs: pickup rule.nib; + x1=x2=good.x .5w; y1=h; y2=-d; + draw z1--z2; % stem + labels(1,2); +else: pickup fine.nib; + pos1(hair,0); pos2(hair,0); + lft x1l = lft x2l = hround(.5w-.5hair); + top y1=h+o; bot y2=-d-o; + filldraw stroke z1e--z2e; + penlabels(1,2); fi +endchar; + + +% end of tipadiac.mf diff --git a/fonts/tipa/tipa/mf/tipaextr.mf b/fonts/tipa/tipa/mf/tipaextr.mf new file mode 100644 index 0000000000..6f61819449 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipaextr.mf @@ -0,0 +1,1909 @@ +% tipaextr.mf: TIPX Symbols --- a supplement for TIPA. +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% (Most of the symbols are now obsolete and not adopted in +% the T3 encoding for TIPA.) +% + +%%%%% Adaptations for Times_Compat are not yet complete. + +numeric ipacode; ipacode := -1; + +cmchar "Reversed Polish hook"; +beginchar(incr ipacode,6u#,0,desc_depth#); +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +pickup if serifs: crisp.nib; else: fine.nib; fi +pos1(vair,-120); pos4(vair,45); +if serifs: pos2(stem,170);pos3(max(.7stem,hair),100); +else: pos2(vair,170);pos3(vair,100); fi +x1+u=x4+2u=.5w; y1=0; y2l=y4r=-3/5d; bot y3l=-d-oo; +x3r=.7[x4r,x2r]; x2l=w-u; +if serifs: filldraw circ_stroke z1e{(3,-1)}...{down}z2e + ...{left}z3e...{(-1,1)}z4e; +else: filldraw stroke z1e{(3,-1)}...{down}z2e...{left}z3e...{(-1,1)}z4e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Right-tail (long)"; +beginchar(incr ipacode,4u#,.2x_height#,desc_depth#); +adjust_fit(if monospace: 2u#,2u# else: 0,0 fi); +if serifs: pickup tiny.nib; + pos1(diacr,0); lft x1l=hround(.5w-.5diacr); y1=h+oo; + right_tail(1,2,3,4,diacr,hround(x1+3.25u),.9,.5,.6); +else: pickup fine.nib; + pos1(vair,0); lft x1l=hround(.5w-.5vair); y1=h+oo; + right_tail(1,2,3,4,vair,hround(x1+3.25u),.85,.5,.5); fi +penlabels(1,2,3,4); endchar; + +cmchar "Palatalization hook (long)"; +beginchar(incr ipacode,4u#,.2x_height#,desc_depth#); +adjust_fit(if monospace: 2u#,2u# else: 0,0 fi); +if serifs: pickup tiny.nib; + pos1(diacr,0); lft x1l=hround(.5w-.5diacr); y1=h+oo; + left_tail(1,2,3,4,diacr,hround(x1-3.25u)); +else: pickup fine.nib; + pos1(vair,0); lft x1l=hround(.5w-.5vair); y1=h+oo; + left_tail(1,2,3,4,vair,hround(x1-3.25u)); fi +penlabels(1,2,3,4); endchar; + +cmchar "Palatalization hook (a variety)"; +beginchar(incr ipacode,5u#,.2x_height#,desc_depth#); +adjust_fit(if monospace: 1.5u#,1.5u# else: 0,0 fi); +if serifs: pickup tiny.nib; + pos1(diacr,0); lft x1l=hround(.5w-.5diacr+.5u); y1=h+oo; + pos5(diacr,-90); pos6(diacr,-180); bot y5r=0; y6=.1x_height; + x6=0; x5=.5[x1,x6]; + filldraw stroke z1e..z5e..z6e; + left_tail(1,2,3,4,diacr,hround(x1-3.25u)); +else: pickup fine.nib; + pos1(vair,0); lft x1l=hround(.5w-.5vair+.5u); y1=h+oo; + pos5(vair,-90); pos6(vair,-135); bot y5r=0; y6=.1x_height; + x6=0; x5=.5[x1,x6]; + filldraw stroke z1e..z5e..z6e; + left_tail(1,2,3,4,vair,hround(x1-3.25u)); fi +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Superscript rectangle"; +beginchar(incr ipacode,5u#+vair#,asc_height#,0); +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +if serifs: pickup diacritic.nib; + lft x1=lft x2=hround u; x3=x4=w-x1; + top y1=top y3=vround(h-oo); bot y2=bot y4=vround x_height; + draw z1--z2--z4--z3--cycle; +else: pickup crisp.nib; + pos1(vair,0); pos2(vair,0); pos3(vair,0); pos4(vair,0); + lft x1l=lft x2l=hround u; x3=x4=w-x1; + top y1=top y3=vround(h-oo); bot y2=bot y4=vround x_height; + filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; + pos1'(vair,90); pos2'(vair,90); pos3'(vair,90); pos4'(vair,90); + lft x1'=lft x3'=hround u; x2'=x4'=w-x1; + top y1'r=top y2'r=vround(h-oo); bot y3'l=bot y4'l=vround x_height; + filldraw stroke z1'e--z2'e; filldraw stroke z3'e--z4'e; fi +penlabels(1,2,3,4); endchar; + +cmchar "Superscript left arrow"; +beginchar(incr ipacode,8u#,asc_height#,0); +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,90); pos2(rule_thickness,90); +pos3(rule_thickness,0); pos4(rule_thickness,0); +y0=y1=y2; bot y4=.15[x_height,asc_height]; +x1+.5rule_thickness=hround(w-.5u); lft x0=hround .5u; +y3-y0=y0-y4=if monospace:.24 else:.18 fi asc_height+eps; +x3=x4=x0+if monospace:3u else:2.5u fi+eps; +pos5(rule_thickness,angle(z4-z0)); z5l=z0; +pos6(rule_thickness,angle(z3-z0)); z6l=z0; +z9=.2[.5[z3,z4],z0]; +numeric t; path p; p=z4r{z9-z4}..z6r; +t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p; +filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) + --z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3r{z9-z3}..z5r) + --z3l{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +% Sources: Principles (1949:17), PSG (1996:231). +% Is this symbol a horizontal small capital I? I don't know. +cmchar "Retracting sign (a variety)"; +beginchar(incr ipacode,8u#,x_height#,0); +adjust_fit(0,0); +numeric v_thickness; +v_thickness=if monospace: vair; else: .5[vair,flare]; fi +pickup fine.nib; pos1(v_thickness,90); pos2(v_thickness,90); +lft x1=lft x3l=lft x4l=hround u; +rt x2=rt x5r=rt x6r=hround(w-u); +top y1r=top y2r=vround(.5h+.5v_thickness); +filldraw stroke z1e--z2e; +if serifs: + pos3(stem,0); pos4(stem,0); pos5(stem,0); pos6(stem,0); + top y3=top y5=top y2r+v_thickness; bot y4=bot y6=bot y2l-v_thickness; + filldraw stroke z3e--z4e; filldraw stroke z5e--z6e; + x1'=x4r+.2(x2-x1); y1'=y1; pos1'(v_thickness, 90); + filldraw z4r{up}..{right}z1'l--z1'r{left}..{up}z3r--cycle; + x2'=x6l-.2(x2-x1); y2'=y2; pos2'(v_thickness, 90); + filldraw z5l{down}..{left}z2'r--z2'l{right}..{down}z6l--cycle; fi +penlabels(1,1',2,2',3,4,5,6); endchar; + +cmchar "Down full arrow"; +beginchar(incr ipacode,CT(9u#,10u#),asc_height#,0); +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,0); pos2(rule_thickness,0); +pos3(rule_thickness,90); pos4(rule_thickness,90); +lft x1l=hround(.5w-.5rule_thickness); y1+.5rule_thickness=h; +x0=x1=x2; bot y0=-d; x0-x3=x4-x0=if monospace:3u else:3u fi+eps; +y3=y4=y0+if monospace:.24 else:.27 fi asc_height+eps; +pos5(rule_thickness,angle(z4-z0)); z5l=z0; +pos6(rule_thickness,angle(z3-z0)); z6l=z0; +z9=.2[.5[z3,z4],z0]; +numeric t; path p; p=z4r{z9-z4}..z6r; +t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p; +filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) + --z2r---z1r..z1l---z2l--subpath (t,0) of\\(z3r{z9-z3}..z5r) + --z3l{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "Up full arrow"; +beginchar(incr ipacode,CT(9u#,10u#),asc_height#,0); +italcorr .76asc_height#*slant+.5crisp#-u#; +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,0); pos2(rule_thickness,0); +pos3(rule_thickness,90); pos4(rule_thickness,90); +lft x1l=hround(.5w-.5rule_thickness); y1-.5rule_thickness=-d; +x0=x1=x2; top y0=h; x0-x3=x4-x0=if monospace:3u else:3u fi+eps; +y3=y4=y0-if monospace:.24 else:.27 fi asc_height-eps; +pos5(rule_thickness,angle(z4-z0)); z5l=z0; +pos6(rule_thickness,angle(z3-z0)); z6l=z0; +z9=.2[.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--subpath (t,0) of\\(z3l{z9-z3}..z5r) + --z3r{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "Subscript right arrow"; +beginchar(incr ipacode,16u#,0,desc_depth#); +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,90); pos2(rule_thickness,90); +pos3(rule_thickness,0); pos4(rule_thickness,0); +y0=y1=y2; x1-.5rule_thickness=hround .5u; rt x0=hround(w-.5u); +y3-y0=y0-y4=if monospace:.24 else:.18 fi asc_height+eps; +top y1r=vround -.67d; +x3=x4=x0-if monospace:3u else:2.5u fi-eps; +pos5(rule_thickness,angle(z4-z0)); z5l=z0; +pos6(rule_thickness,angle(z3-z0)); z6l=z0; +z9=.2[.5[z3,z4],z0]; +numeric t; path p; p=z4l{z9-z4}..z6r; +t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p; +filldraw z0..{z4-z9}z4r--subpath (0,t) of\\(z4l{z9-z4}..z6r) + ---z1l..z1r---subpath (t,0) of\\(z3l{z9-z3}..z5r) + --z3r{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "Subscript double arrow"; +beginchar(incr ipacode,10u#,0,desc_depth#); +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,90); pos2(rule_thickness,90); +pos3(rule_thickness,0); pos4(rule_thickness,0); +y0=y1=y2; lft x0=hround .1u; +if monospace: x1+.5rule_thickness=hround(w-.1u) else: x1=.5w fi; +y3-y0=y0-y4=if monospace:.24 else:.18 fi asc_height+eps; +top y1r=top y11r=vround -.67d; +x3=x4=x0+if monospace:3u else:2.5u fi+eps; +pos5(rule_thickness,angle(z4-z0)); z5l=z0; +pos6(rule_thickness,angle(z3-z0)); z6l=z0; +z9=.2[.5[z3,z4],z0]; +numeric t; path p; p=z4r{z9-z4}..z6r; +t=xpart(p intersectiontimes((0,y2l)--(w,y2l))); x2=xpart point t of p; +filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) + ---z1l..z1r---subpath (t,0) of\\(z3r{z9-z3}..z5r) + --z3l{z9-z3}..z0 & cycle; % left arrowhead and stem +pos11(rule_thickness,90); pos12(rule_thickness,90); +pos13(rule_thickness,0); pos14(rule_thickness,0); +y10=y11=y12; rt x10=hround(w-.1u); +if monospace: x11-.5rule_thickness=hround .1u else: x11=.5w fi; +y13-y10=y10-y14=if monospace:.24 else:.18 fi asc_height+eps; +x13=x14=x10-if monospace:3u else:2.5u fi-eps; +pos15(rule_thickness,angle(z14-z10)); z15l=z10; +pos16(rule_thickness,angle(z13-z10)); z16l=z10; +z19=.2[.5[z13,z14],z10]; +numeric t; path p; p=z14l{z19-z14}..z16r; +t=xpart(p intersectiontimes((0,y12l)--(w,y12l))); x12=xpart point t of p; +filldraw z10..{z14-z19}z14r--subpath (0,t) of\\(z14l{z19-z14}..z16r) + ---z11l..z11r---subpath (t,0) of\\(z13l{z19-z13}..z15r) + --z13r{z19-z13}..z10 & cycle; % right arrowhead and stem +penlabels(0,1,2,3,4,5,6,9,10,11,12,13,14,15,16,19); endchar; + +ipacode:=31; + +cmchar "Right-hook A"; +beginchar(incr ipacode,CT(9u#,8.88u#),x_height#,desc_depth#); +if Times_Compat: bh#:=.6x_height#; +else: bh#:=min(bar_height#,1.14x_height#-bar_height#); fi +define_pixels(bh); +adjust_fit(0,serif_fit# if serifs: if hair#+.5stem#>1.5u#:-.25u# fi\\fi+1u#); +pickup fine.nib; top y3r=h+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); pos3(vair,90); + lft x1r=hround max(u,if Times_Compat:1.5u else:2.1u fi-.5flare); + x3=.5w if Times_Compat:-.25u else:-.5u fi; + y1=min(bh+.5flare+2vair+2,.9[bh,h]-.5flare); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],95); x1l=good.x 1.5u; x1r:=good.x x1r; + pos3(1/8[vair,thin_join],90); + x3=.5w-.2u; top y1r=vround .82[bh,top y3r]; + filldraw stroke term.e(3,1,left,.9,4); fi % terminal +pos4(stem,0); rt x4r=hround(w-side_gap+.5stem); +y4=if Times_Compat: .5 else: 1/3 fi[bh,h]; +pos5(stem,0); x5=x4; +y5=if Times_Compat: max(.45bh,2vair) else: max(.55bh,2vair) fi; +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=if Times_Compat: 1.1 fi bh; +pos7(hround(curve-2stem_corr),if Times_Compat: 200 else: 180 fi); +lft x7r=hround max(.5u,1.5u-.5curve); +if Times_Compat: y7=.3[top y8l,top y6r]; pos8(.6[vair,flare],240); x8l=.5w-1u; +else: y7=1/3[top y8l,top y6r]; pos8(vair,270); x8l=.5w-.75u; fi +pos9(thin_join,360); z9l=z5l; bot y8r=-oo; +(x,y8r)=whatever[z8l,z9l]; x8r:=max(x,x8-u); +{{interim superness:=more_super; + filldraw stroke z9e{down}...z8e{left}...{up}z7e & + if Times_Compat: z7e{up}...{(35,10)}z6e else: + super_arc.e(7,6)fi}}; % bowl +if serifs: numeric shaved_stem; shaved_stem=hround(stem-3stem_corr); + if hair#+.5stem#>1.5u#: pickup tiny.nib; + pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=.2[.5tiny,bh]; + pos11(shaved_stem,0); rt x11r=hround(w-.25u); bot y11=0; + pos12(shaved_stem,0); x11=x12; top y12=slab+eps; + filldraw z5'l---z10l...z11l{right}--z11r + --z12r{left}...z10r+.75(z12-z11)---z5'r--cycle; % foot + pickup tiny.nib; x14r=x12r; y14=y12; pos14(diacr,0); + right_tail(14,15,16,17,diacr,hround(x14+3.25u),.9,.5,.6); + else: pickup crisp.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=1/3bh; + pos11(.2[vair,stem],90); x11r=.5[x10r,x12r]; bot y11l=-vround .5oo; + pos12(hair,180); rt x12l=hround(w-.1u); y12=max(y10,y11+vair); + pos13(hair,180); x13=x12; top y13=max(vround .6bh,top y12); + (x',y11l)=whatever[z11r,z12r]; x11l:=max(x',x10); + if Times_Compat: y13l:=.05[y12l,y13l]; y13r:=y13l; fi + filldraw stroke z5'e---z10e...z11e{right}...z12e---z13e; % hook + pickup tiny.nib; x14=x13; y14=y13l; pos14(hair,0); + right_tail(14,15,16,17,diacr,hround(x14+3.25u),.9,.5,.6); fi +else: numeric shaved_stem; shaved_stem=hround(stem-stem_corr); + pickup tiny.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; bot y10=0; + filldraw stroke z5'e--z10e; % base of stem + pickup fine.nib; %x14r=x5r; y14=y10; pos14(vair,0); + right_tail(10,15,16,17,shaved_stem,hround(w-.5u+.5hair),.85,.5,.5); fi +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +cmchar "Inverted script A"; +beginchar(incr ipacode,10u#+serif_fit#,x_height#,0); +italcorr x_height#*slant-serif_fit#+.5stem#-.5u#; +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-side_gap+.5stem'); bot y1=-oo; +numeric edge; edge=lft x2l; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,0); +pos4(vair,270); pos5(curve,180); +pos6(vair,90); penpos7(x3r-x3l,360); +lft x3l=1/3[lft x2,edge]; y3=h-1/8[bar_height,x_height]; +x4l=.5(w-serif_fit)-.3u; bot y4r=-oo; +lft x5r=hround max(1.35u-.5curve,.6u); y5=.5x_height; +x6l=x4l-.2u; top y6r=h+oo; +x7=x3; y7=max(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{down}...pulled_arc.e(4,5) + & pulled_arc.e(5,6)...{down}z7e; % bowl +y0=ypart(((edge,0)--(edge,h))intersectionpoint(z3l{down}...{left}z4l)); +pickup tiny.nib; top y2=h+if serifs:min(oo,serif_drop) else: 0 fi; +filldraw stroke z0'e--z0e--z2e; % stem +pickup crisp.nib; +pos8(hround(hair-stem_corr),0); pos7'(stem',0); +z7'=z0'; x8r=x7'r; bot y8=-oo; +filldraw stroke z7'e--z8e; +if serifs: inverted_sloped_serif.r(2,0,b,1/3,jut,serif_drop); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "A-O Ligature"; +beginchar(incr ipacode,CT(13u#,14.44u#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(0,0); +numeric left_curve,right_curve; +if monospace: right_curve=left_curve=fudged.stem; +else: left_curve=max(tiny.breadth,hround(curve-2stem_corr)); + right_curve=max(tiny.breadth,hround(curve-if serifs:6 else:8 fi\\stem_corr));fi +pickup tiny.nib; pos11(right_curve,0); +pos12(vair,90); pos13(mfudged.stem,180); +y11=.5h; top y12r=h+vround 1.5oo; y10l=bot y11; +rt x11r=hround min(w-.5u,w-u+.5right_curve); +lft x13r=hround (.5w-.5mfudged.stem); x12=.5[x13,x11]; +y13=.5[y12,y14]; bot y14r=-oo; x14=x12; pos14(vair,270); +filldraw stroke pulled_arc.e(12,13) & pulled_arc.e(13,14) & + pulled_arc.e(14,11) & pulled_arc.e(11,12); +y11'r=y10r=y10l+.6[thin_join,vair]; y11'l=y10l; x11'l=x11'r=x11; x10l=x10r=x13; +pickup fine.nib; top y3r=h+vround 1.5oo; +if serifs: pos1(flare,180); pos2(mfudged.hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=4u; + y1=min(bar_height+.5flare+2vair+2,.9[bar_height,h]-.5flare); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],95); x1l=good.x 1.5u; x1r:=good.x x1r; + pos3(1/8[vair,thin_join],90); + x3=4.3u; top y1r=vround .82[bar_height,top y3r]; + filldraw stroke term.e(3,1,left,.9,4); fi % left terminal +pos4(mfudged.stem,0); x4=x13; y4=1/3[bar_height,h]; +pos5(mfudged.stem,0); x5=x4; y5=min(y4,y13); +filldraw stroke super_arc.e(3,4)&z4e--z5e; % arc and stem +pos6(.6[thin_join,vair],90); x6=x4; bot y6=if Times_Compat: .9 fi bar_height; +pos7(left_curve,180); +lft x7r=hround max(.5u,1.5u-.5left_curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=3.75u; bot y8r=-oo; +pos9(.5[vair,fudged.stem],360); x9=x5; y9=.55bar_height; +(x',y8r)=whatever[z8l,z9l]; x8r:=max(x',x8-u); +{{interim superness:=more_super; + filldraw stroke z9e{down}...z8e{left}...{up}z7e&super_arc.e(7,6)}}; % bowl +if y9<y5: filldraw stroke z5e{down}..{down}z9e; fi % link (usually hidden) +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + +cmchar "Left-hook four"; +beginchar(incr ipacode,CT(9u#,10u#),fig_height#,desc_depth#); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric light_stem, light_stem', diag_stem, alpha, cut; cut=.75notch_cut; +light_stem=hround .4[fudged.stem,fudged.cap_stem]; +light_stem'=hround max(tiny.breadth,light_stem-2stem_corr); +diag_stem=max(tiny.breadth,.4[vair,fudged.hair]); +pickup crisp.nib; pos5(cap_bar,90); pos6(cap_bar,90); +lft x5=hround .5u; rt x6=hround(w-.5u); +top y5r=vround(if serifs: 5/18[slab,h-light_stem]+1 + else:.35(h-light_stem) fi+.5cap_bar); +z4l=top lft z5r; y2=y2'=y5=y6; x1r=x2r=hround(w-3u+.5light_stem); +penpos1(light_stem',0); penpos2(light_stem',0); y1=y3=h+apex_o+apex_oo; +x3r+apex_corr=x1r; alpha=diag_ratio(1,diag_stem,y3-y4l,x3r-x4l); +penpos3(alpha*diag_stem,0); penpos4(alpha*diag_stem,0); +x0=x1l; z0=whatever[z3r,z4r]; +x5'=x5; z5''=z5'+penoffset z4-z3 of currentpen=whatever[z4l,z3l]; +fill diag_end(2r,1r,1,.5,3l,4l)---z5''...lft z5' + ---lft z5l -- (x4r,y5l) -- z4r + if y0<h-cut:{z3r-z4r}...{up}(x1l-1,h-cut) + --(x1l,h-cut) else: -- z0 fi + --z2l--z2r--cycle; % diagonal and upper stem +filldraw stroke z5e--z6e; % bar +pickup tiny.nib; pos7(light_stem,0); rt x7r=x1r; bot y7=0; +pos2'(light_stem,0); x2'=x7; +filldraw stroke z2'e--z7e; % lower stem +left_tail(7,8,9,10,light_stem,hround(lft x7-3.75u)); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Stretched C (original form)"; +beginchar(incr ipacode,CT(8u#,8.88u#),x_height#,desc_depth#); +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=-d-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h-.5d; +if serifs: pos1(hair,0); pos0(flare,0); + if Times_Compat: + y1=min(bar_height+.4flare+1.8vair'+2,.8[bar_height,h]-.5flare); + else: + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); fi + 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-d),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); + 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-d); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{right}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{right}..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 "Curly-tail stretched C"; +beginchar(incr ipacode,CT(9u#,10u#),asc_height#,desc_depth#); +italcorr asc_height#*slant-1u#; +adjust_fit(0,0); +pickup fine.nib; interim superness:=more_super; +pos2(.6[vair,flare],90); pos5(.6[vair,flare],270); +x2=x5=.5w; top y2r=vround(h+1.5oo); bot y5r=-d-oo; +pos3(stem,180); pos4(stem,180); +lft x3r=lft x4r=hround1.2u; y3=.75h; y4=0; +pos1(stem,0); rt x1r=hround(w-1.1u); top y1=vround .75h; +pos6(stem,0); rt x6r=hround(w-1u); y6=.6[-d,y7]; +pos7(.6[vair,flare],90); x7l=.2[x5,x6]; y7=.25h+.5stem-d; +pos8(stem,160); lft x8r=0; bot y8=-d-oo; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & z3e--z4e & pulled_arc.e(4,5) & pulled_arc.e(5,6); +filldraw stroke z6e{up}...z7e{left}...{dir250}z8e; +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Curly-tail stretched C (original form)"; +beginchar(incr ipacode,CT(8u#,8.88u#),x_height#,desc_depth#); +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=-d-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h-.5d; +if serifs: pos1(hair,0); pos0(flare,0); + if Times_Compat: + y1=min(bar_height+.4flare+1.8vair'+2,.8[bar_height,h]-.5flare); + else: + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); fi + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(.9w); y5=.35bar_height-d+.25hair; + (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..{up}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],0); x5r=hround(w-.5u); + y5=.37bar_height-d+.25hair; + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & z4e{right}...{up}z5e; fi +pos6(vair,90); x6l=.3[x4,x5]; y6=.6bar_height+.5vair-d; +pos8(hair,160); x8=u; bot y8=-d-oo; +filldraw stroke z5e{up}...z6e{left}...{dir250}z8e; +penlabels(0,1,2,3,4,5,6,8); endchar; + +% This shape is found in PSG (1996:38). +cmchar "Front-hook D"; +beginchar(incr ipacode,10u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(3.25u#,serif_fit#); +d_stroke(true,true,0); +if serifs: pickup tiny.nib; else: pickup fine.nib; fi +top y8r=.95x_height; x8=2.7u; +front_hook(8,9,10,11,1.1stem,50,-2.75u,.4x_height,.05,1/2,.5); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +% This shape is the original shape introduced by Daniel Jones. +cmchar "Front-hook D (Original)"; +beginchar(incr ipacode,10u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(2u#,serif_fit#); +d_stroke(true,true,0); +if serifs: pickup tiny.nib; + pos8(.5[vair,hair],50); pos9(vair,90); pos10(vair,180); pos11(flare,180); + top y8r=.95x_height; x8=2.7u; + top y9r=1.1x_height; x9=.5u; + y10=.9x_height; x10r=-1.5u; + filldraw stroke z8e..{left}z9e; bulb(9,10,11);%arc and bulb +else: pickup fine.nib; + pos8(.5[vair,hair],50); pos9(vair,90); pos10(vair,100); + top y8r=.95x_height; x8=2.7u; + top y9r=1.1x_height; x9=.5u; + y10=.9x_height; x10r=-1.5u; + filldraw stroke z8e..z9e{left}..z10e; fi +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "D-B ligature"; +beginchar(incr ipacode,CT(15u#,15.56u#),asc_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(0,0); +numeric w_org; w_org=w; w:=10u if Times_Compat: +.28u fi; +d_stroke(true,false,.1h); w:=w_org; +pickup tiny.nib; pos11(stem',0); pos12(stem,0); +pos10'(stem',0); pos10(stem,0); z10l=z10'l; x10'=x11; x10=x12; +x11l=x1l; top y11=h; +numeric edge; edge=rt x12r; +pickup fine.nib; pos13(if hefty:thin_join else: hair fi,180); +pos14(vair,90); pos15(curve,0); pos16(vair,-90); penpos17(x13l-x13r,-180); +rt x13l=max(rt x13l-(lft x13r-tiny.lft x12l),1/3[rt x12,edge]); +y13=1/8[bar_height,x_height]; +x14l=w-5u+serif_fit+.5u; top y14r=x_height+oo; +rt x15r=hround min(w-1.35u+.5curve,w-.6u); y15=.5x_height; +x16l=x14l-.2u; bot y16r=-oo; +x17=x13; y17=min(y13,y16+y14-y13+.6vair); +numeric X, X'; +(X,y14r)=whatever[z13l,z14l]; x14r:=min(X,.5[x14,x15r]); +(X',y16r)=whatever[z17l,z16l]; x16r:=min(X',.5[x16,x15r]); +filldraw stroke z13e{up}...pulled_arc.e(14,15)&pulled_arc.e(15,16) + ...{up}z17e; % bowl +y10=ypart(((edge,h)--(edge,0))intersectionpoint(z13l{up}...{right}z14l)); +y12=ypart(((edge,h)--(edge,0))intersectionpoint(z16l{left}...{up}z17l)); +pickup tiny.nib; filldraw stroke z10'e--z10e--z12e; % stem +pickup crisp.nib; pos18(hair,0); pos17'(stem,0); +z17'=z12; x18l=x17'l; bot y18=0; +filldraw stroke z17'e--z18e; % point +penlabels(0,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,18); endchar; + +cmchar "Right-hook E"; +beginchar(incr ipacode,CT(7.25u#+max(.75u#,.5curve#),8.88u#), + x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0)-1u#; +adjust_fit(if monospace: .25u#,.5u# else: 0,1u# fi); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=h+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-.5u,w-u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5w+.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2+.25u; +if serifs: pos4(vair',270); pos5(hair,360); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +if serifs: pickup tiny.nib; z6=z5; + pos6(diacr,0); right_tail(6,7,8,9,diacr,hround(x6+3.25u),.9,.5,.6); +else: pickup fine.nib; x6r=x5r; y6=y5r; + pos6(vair,0); right_tail(6,7,8,9,vair,hround(x6+3.25u),.85,.5,.5); fi +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Right-hook epsilon"; +beginchar(incr ipacode,CT(8.5u#,8.88u#),x_height#,desc_depth#); +italcorr x_height#*slant-1.5u#; +adjust_fit(0,1u#); +epsilon_stroke(false,3.5u); +if serifs: numeric bulb_diam; + bulb_diam=max(flare-.75(cap_stem-stem),stem); + pos0(bulb_diam,0); pos1(hair,0); + rt x0r=hround (w-u); y0=min(.9h-.5bulb_diam,.75h+.5bulb_diam); + bulb(2,1,0); % upper bulb + pos9(bot_thickness,angle(2u,-h)); +else: pos1(hair,70); rt x1r = w-1u; top y1r = .9h; + filldraw stroke term.e(2,1,right,1,4); + pos9(hair,-70); fi +rt x9r=hround (w-.75u); top y9=vround .25h-o; +y9r:=good.y y9r-eps; x9l:=good.x x9l; +filldraw stroke term.e(8,9,right,1,4); % lower terminal +if serifs: pickup tiny.nib; x11l=x9l; y11=y9; + pos11(diacr,0); right_tail(11,12,13,14,diacr,hround(x11+3.25u),.9,.5,.6); +else: pickup fine.nib; x11r=x9r; y11=y9r; + pos11(vair,0); right_tail(11,12,13,14,vair,hround(x11+3.25u),.85,.5,.5); fi +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +% based on greekl.mf. +cmchar "Greek gamma"; +beginchar(incr ipacode,10u#,x_height#,desc_depth#); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(hair,180); pos2(vstem+dw,90); +pos4(stem,0); pos5(vair,-90); pos6(stem,-180); pos7(stem,-180); +bot y1=.5772156649h; top y2r=h+oo; y4=y6=-.5d; +bot y5r=-d-o; top y7=h; +lft x1r=hround(.5u-.5hair); x2=2.5u; rt x4r=hround(w-4.2u); x5=.5[x4,x6]; +rt x4r-lft x6r=hround stem+eps; rt x7l=hround(w-u); +if x4l<x6l: x4l:=x6l:=x5; fi +pos3(hair,angle(z4-z2)+90); x3=superness[x2,x4]; y3=superness[y4,y2]; +filldraw stroke z1e{up}...z2e{right}...z3e{z4-z2} + ...z4e{down}...{left}z5e; % arc +filldraw stroke z5e{left}...z6e{up}..{2(x7-x6),y7-y6}z7e; % stem +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Front-tail gamma"; +beginchar(incr ipacode,10u#,x_height#,desc_depth#); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(hair,180); pos2(vstem+dw,90); pos5(stem,0); pos5'(stem,-180); +pos4(stem,0); pos6(stem,-180); pos7(stem,-180); +bot y1=.5772156649h; top y2r=h+oo; y4=y6=-.5d; top y7=h; +lft x1r=hround(.5u-.5hair); x2=2.5u; rt x4r=hround(w-3.8u); +x4=x6; rt x7l=hround(w-u); x5=x5'=x4; y5=y5'=0; +pos3(hair,angle(z4-z2)+90); x3=superness[x2,x4]; y3=superness[y4,y2]; +filldraw stroke z1e{up}...z2e{right}...z3e{z4-z2} + ...{down}z5e; % arc +filldraw stroke z5'e{up}..{2(x7-x6),y7-y6}z7e; % stem +left_tail(5,8,9,10,stem,hround(2u-.5hair)); +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Back-tail gamma"; +beginchar(incr ipacode,10u#,x_height#,desc_depth#); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(hair,180); pos2(vstem+dw,90); pos5(stem,0); pos5'(stem,-180); +pos4(stem,0); pos6(stem,-180); pos7(stem,-180); +bot y1=.5772156649h; top y2r=h+oo; y4=y6=-.5d; top y7=h; +lft x1r=hround(.5u-.5hair); x2=2.5u; rt x4r=hround(w-4.2u); +x4=x6; rt x7l=hround(w-u); x5=x5'=x4; y5=y5'=0; +pos3(hair,angle(z4-z2)+90); x3=superness[x2,x4]; y3=superness[y4,y2]; +filldraw stroke z1e{up}...z2e{right}...z3e{z4-z2} + ...{down}z5e; % arc +filldraw stroke z5'e{up}..{2(x7-x6),y7-y6}z7e; % stem +right_tail(5,8,9,10,stem,hround(w-u),.88,.5,1/3); +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Right-tail hooktop H"; +beginchar(incr ipacode,10u#,asc_height#,desc_depth#); +italcorr .7[x_height#,asc_height#]*slant-serif_fit#+.5stem#-u#; +adjust_fit(serif_fit#+stem_shift#,-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=.25[x_height,h]; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); fi % lower left serif +hooktop(1,9,10,11,stem',rt x3r,h,.8,.55,.2); +if serifs: right_tail(4,5,6,7,stem,hround(w+1u),.88,.5,1/3); +else: right_tail(4,5,6,7,stem,hround(w+1u),.833,.5,1/3); fi +penlabels(1,2,3,4,5,6,7,9,10,11); endchar; + +cmchar "Heng"; +beginchar(incr ipacode,10u#,asc_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant+.5stem#-1.25u#; +adjust_fit(serif_fit#+stem_shift#,-stem_shift#-.5u#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); fi % lower left serif +left_tail(4,5,6,7,stem,rt x2r); +penlabels(1,2,3,4,5,6,7); endchar; + +% Moved from tipasym2.mf (2001/11/23 fkr) +cmchar "Left-hooktop I"; +beginchar(incr ipacode,CT(6u#,6.66u#),x_height#,0); +italcorr x_height#*slant-2u#; +adjust_fit(0 if monospace:+1u# fi,serif_fit# if monospace:+1u# fi); +pickup tiny.nib; pos3(stem,0); x2=x3; bot y3=0; +x0=.75u; lft x2l = hround(.5w+.5u-.5stem); hook_in(0,1,2); +filldraw stroke z2e--z3e; +dish_serif(3,2,a,1/3,jut,b,1/3,jut); +penlabels(0,1,2,3); endchar; + +% The shape of the upper serif differs from the normal Curly-tail J. +cmchar "Curly-tail J (a variety found in 1996 IPA)"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(incr ipacode,CT(5.5u#,6.66u#), + min(asc_height#,10/7x_height#+.5dot_diam#),desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+1.5u# fi +.5u#, + -2stem_shift# if monospace:+1u# fi +.3u#); +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 +pos3(dot_diam,0); pos4(dot_diam,90); +x3r=x1r; top y4r=h+1; +if bot y4l-top y1<slab: y4l:=min(y4r-eps,y1+tiny+slab); fi +x3=x4; y3=.5[y4l,y4r]; dot(3,4); % dot +if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper serif + pickup tiny.nib; pos5(vair,-90); pos6(hair,-180); + pos7(vair,-270); pos8(vair,-270); + x5=.5[x2,x6r]; bot y5r=-d-oo; y6=-.6d; + if monospace: lft x6r=0 else: x6r=-.3u fi; + (x,y5r)=whatever[z5l,z2l]; x5r:=max(x,.5[x6r,x5]); + y7r=y8r=0h; x7=x2l-.5u; x8=w-.5u; + filldraw stroke z2e{down}...z5e{left}...z6e{up}...z7e{right}---z8e; +else: pickup fine.nib; pos2'(stem',0); z2'=z2; + pos6(.2[vair,stem'],-90); pos7(vair,-180); + pos8(vair,-270); pos9(vair,-270); + lft x7r=hround -.75u; y7=-.5d; + 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; + bot y8l = bot y9l = vround(-.5vair); x8 = .5[x7,x2]; x9 = w; + filldraw stroke z2'e..{down}z5e & super_arc.e(5,6) + & z6e{left}..z7e...{right}z8e--z9e; fi % arc and terminal +penlabels(1,2,3,4,5,6,7,8); endchar; + +% Bar postion differs from the normal Hooktop Barred Dotless J. +cmchar "Hooktop barred dotless J (a variety)"; +beginchar(incr ipacode,CT(6u#,6.66u#),.9asc_height#,desc_depth#); +italcorr h#*slant+1u#; +adjust_fit(if monospace: 1.5u#,1.5u# else: 0,0 fi); +pickup if serifs: tiny.nib; else: fine.nib; fi +pos1(stem',0); pos2(stem',0); x1=x2=.5w; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +left_tail(2,5,6,7,stem',hround-.75u); +hooktop(1,8,9,10,stem',hround(w+.75u),h,.84,.5,.4); +pickup crisp.nib; bot y3l=bot y4l=0; lft x3=x2-2.5u; x4=w-x3; +pos3(bar,90); pos4(bar,90); +filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "H-M ligature"; +beginchar(incr ipacode,CT(15u#,15.56u#),asc_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,0); pos2(mfudged.stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged.stem,0); pos5(mfudged.stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; % stem, sic +lft x3l=hround(.5w-.5mfudged.stem); x5-x3=x3-x1; +if not monospace: r:=hround(x5+x1)+r-w; fi % change width for better fit +top y1=h; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % left arch and middle stem +h_stroke(4,b,5,6); % right arch and right stem +if serifs: sloped_serif.l(1',2',c,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,d,1/3,jut,e,1/3,jut); % lower left serif + dish_serif(4,3,f,1/3,inner_jut,g,1/3,jut); % lower middle serif + dish_serif(6,5,h,1/3,inner_jut,i,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + +% This shape is found in PSG(1996:119). +cmchar "Front-bar N"; +beginchar(incr ipacode,10u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(2u#+serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +pickup crisp.nib; +pos5(.8[vair,stem],90);pos6(hair,180); +top y5r=h; x5=x1; lft x6r=hround -1.5u; y6=good.y(y5l-beak/2.4)-eps; +arm(5,6,b,beak_darkness, -.8beak_jut); +penlabels(1,2,3,4,5,6); endchar; + +% Moved from tipasym2.mf (2001/11/23 fkr) +cmchar "Right leg N"; +beginchar(incr ipacode,10u#,x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#-.5u#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +pos5(stem,0); x5=x3; bot y5=-d; +filldraw stroke z4e--z5e; +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(5,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +penlabels(1,2,3,4); endchar; + +% PSG (1996:130). \textbf{(I'm sorry; the codes below are a makeshift.)} +cmchar "Female sign"; +beginchar(incr ipacode,CT(9u#,10u#),x_height#,desc_depth#); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(rule_thickness,90); penpos3(rule_thickness,-90); +penpos2(rule_thickness,180); penpos4(rule_thickness,0); +x2r=hround .8u; x4r=w-x2r; x1=x3=.5w; +y1r=h+o; y3r=.05h; y2=y4=.5[y3,y1]; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penpos5(rule_thickness,0); penpos6(rule_thickness,0); +y5=y3; y6=-d-o; x5=x6=.5w; penstroke z5e--z6e; +penpos7(rule_thickness,90); penpos8(rule_thickness,90); +y7=y8=.5[y6,y3]; x7=hround 1.5u; x8=w-x7; penstroke z7e--z8e; +penlabels(1,2,3,4,5,6,7,8); endchar; + +% PSG (1996:131). \textbf{(I'm sorry; the codes below are a makeshift.)} +cmchar "Uncrossed female sign"; +beginchar(incr ipacode,CT(9u#,10u#),x_height#,desc_depth#); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(rule_thickness,90); penpos3(rule_thickness,-90); +penpos2(rule_thickness,180); penpos4(rule_thickness,0); +x2r=hround .8u; x4r=w-x2r; x1=x3=.5w; +y1r=h+o; y3r=.05h; y2=y4=.5[y3,y1]; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penpos5(rule_thickness,0); penpos6(rule_thickness,0); +y5=y3; y6=-d-o; x5=x6=.5w; penstroke z5e--z6e; +penlabels(1,2,3,4,5,6); endchar; + +% Moved from tipasym2.mf (2001/11/23 fkr) +cmchar "Bull's eye (an old version)"; +beginchar(incr ipacode,asc_height#+2(u#+o#),asc_height#,0); autorounded; +adjust_fit(if monospace:-1u#,-1u# else: 0,0 fi); pickup light_rule.nib; +lft x6=hround u; x2=w-x6; top y8=h+o; bot y4=-d-o; +circle_points; draw_circle; % circle +fill fullcircle scaled(dot_size+eps) shifted(.5[z4,z8]); % dot +labels(1,2,3,4,5,6,7,8); endchar; + +cmchar "Right-hook open O"; +beginchar(incr ipacode,CT(8u#,8.88u#),x_height#,desc_depth#); +italcorr x_height#*slant-.5u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +numeric BH; BH=if Times_Compat:.5613h else: bar_height fi; +pickup fine.nib; pos2(vair',-90); pos4(vair',90); +x2=x4=.5(w-u); bot y2r=vround(-1.5oo); top y4r=h+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=max(h-BH-.5flare-2vair'-2,h-.9[BH,h]+.5flare); + lft x1r=hround(.7u); bulb(2,1,0); % bulb + pos5(hair,-180); lft x5r=hround(.5u); + y5=min(h-good.y(.5BH-.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],-100); + lft x1r=hround(.6u); bot y1r=h-vround .82[BH,top y4r]; + filldraw stroke term.e(2,1,left,.8,4); % upper terminal + pos5(.6[vair',flare],95); lft x5r=hround .5u; + y5r=good.y(h+y5r-1/3BH-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 +if serifs: pickup tiny.nib; x6l=x0r; y6=y0; + pos6(diacr,0); right_tail(6,7,8,9,diacr,hround(x6+3.25u),.9,.5,.6); +else: pickup fine.nib; x6l=x1r; y6=y1r; + pos6(vair,0); right_tail(6,7,8,9,vair,hround(x6+3.25u),.85,.5,.5); fi +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Inverted omega"; +beginchar(incr ipacode,CT(11u#,12u#),x_height#,0); % 2003/03/16 +italcorr .6x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +pos2(curve,0); rt x2r=hround(w-.5u); y2=y8=.55h; +y4=y6=vround.4h; y1r=-oo; x1=x5=.5w; pos1(vair,270); +pos3(vair,90); pos4(hair,180); pos5(vair,270); +pos6(hair,0); pos7(vair,90); pos8(curve,180); +top y3r=top y7r=h+oo; bot y5r=vround(.9[0,y4]-.5vair); +x3=.5[x2,x4]; x7=.5[x6,x8]; lft x8r=hround .5u; +x5=.5[x4,x6]; rt x6r-lft x4r=min(stem,2hair)+2eps; +if x4l>x6l: x4l:=x6l:=x5; fi +pos9(vair,290);pos10(vair,250); +y9r=y10r=0; x9=w-x10=x2+1/2(x1-x2); +filldraw stroke z9e{dir30}...z2e{up}...z3e{left} + ...{down}z4e...{right}z5e; % left arc +filldraw stroke z5e{right}...z6e{up}...z7e{left} + ...{down}z8e...z10e{dir330}; +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Left-hook P"; +beginchar(incr ipacode,10u#+serif_fit#,x_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +adjust_fit(serif_fit#+.5u#,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(side_gap-.5stem'); top y1=h if serifs: +min(oo,serif_drop) fi; +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[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x5r,x6]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{left}...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=0; +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 +left_tail(2,9,10,11,stem,hround(-.75u)); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "Q-P ligature"; +beginchar(incr ipacode,CT(15u#,15.56u#),x_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +adjust_fit(0,0); +numeric w_org; w_org=w; w:=10u if Times_Compat: +.28u fi; +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-side_gap+.5stem'); +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),2/3[lft x2,edge]); y3=bar_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; y7=min(y3,y6+y4-y3+.6vair); +lft x7l=min(lft x7l-(rt x7r-tiny.rt x2r),1/3[lft x2,edge]); +(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}...{left}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{right}...{up}z7e; % bowl +y1=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{left}z4l)); +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z6l{right}...{up}z7l)); +pickup tiny.nib; bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; +pos8(hround(hair-stem_corr),0); pos7'(stem',0); +z7'=z1; x8r=x7'r; top y8=h+oo; +filldraw stroke z7'e--z8e; % point +if serifs: dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +w:=w_org; +pickup tiny.nib; pos11(stem',0); pos12(stem,0); +pos10'(stem',0); pos10(stem,0); z10l=z10'l; x10'=x11; x10=x12; +x11l=x1l; top y11=h if serifs: +min(oo,serif_drop) fi; +numeric edge; edge=rt x12r; +pickup fine.nib; pos13(if hefty:thin_join else: hair fi,180); +pos14(vair',90); pos15(curve,0); pos16(vair,-90); penpos17(x13l-x13r,-180); +rt x13l=max(rt x13l-(lft x13r-tiny.lft x12l), 1/3[rt x12,edge]); +y13=1/8[bar_height,x_height]; +x14l=w-5u+serif_fit+.5u; top y14r=x_height+oo; +rt x15r=hround min(w-1.35u+.5curve,w-.6u); y15=.5x_height; +x16l=x14l-.2u; bot y16r=-oo; +x17=x13; y17=min(y13,y16+y14-y13+.6vair); +numeric X, X'; +(X,y14r)=whatever[z13l,z14l]; x14r:=min(X,.5[x15r,x14]); +(X',y16r)=whatever[z17l,z16l]; x16r:=min(X',.5[x15r,x16]); +filldraw stroke z13e{up}...{right}z14e&super_arc.e(14,15) + &super_arc.e(15,16)&z16e{left}...{up}z17e; % bowl +penlabels(0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,18); endchar; + +cmchar "Reversed esh with top loop"; +beginchar(incr ipacode,CT(5u#,5.56u#),asc_height#,desc_depth#); +italcorr asc_height#*slant-1u#; +adjust_fit(.5hair#+.25u# if monospace:+1u# fi,.5u# if monospace:+1.5u# fi); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +lft x1l=hround(.5w-.5stem'); x2=x1; y2=0; h-y1=d; +filldraw stroke z1e--z2e; % stem +if serifs: right_tail(2,3,4,5,stem',hround(w+1u),.88,.5,1/3); +else: right_tail(2,3,4,5,stem',hround(w+1u),.833,.5,1/3); fi +if serifs: pickup tiny.nib; + pos1.a(stem',0); z1=z1.a; + x6=x1.a; top y6=1/3[y1.a,h]; pos6(stem',0); + pos7(vair,90); pos8(hair,180); pos9(vair,270); pos10(hair,360); + x7=x9=.5[x6,x8r]; top y7r=h+oo; y9r=.4[x_height,h]-vair; + y8=y10=.5[y9r,y7r]; lft x8r=hround-.5u; x10r=x1; + filldraw stroke z1.a e--z6e{up}...z7e{left}...z8e{down}... + {right}z9e...{up}z10e; % arc and loop +else: pickup fine.nib; + pos1.a(stem',0); z1=z1.a; + x6=x1.a; top y6=1/3[y1.a,h]; pos6(stem',0); + pos7(vair,90); pos8(.5[vair,flare],180); pos9(vair,270); + pos10(.5[vair,flare],315); + x7=x9=.5[x6r,x8r]; top y7r=h+o; y9r=.4[x_height,h]-vair; + lft x8r=hround(-.5u-.5vair); y8=y10=.5[y9r,y7r]; x10l=x1l; + filldraw stroke z1.a e--z6e & super_arc.e(6,7) + & z7e{left}...z8e{down}...{right}z9e...{up}z10e; fi +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +% This shape is found in PSG (1996:176). +cmchar "Front-hook T"; +beginchar(incr ipacode,6u#+max(u#,.5stem#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),0); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(3u#,if serifs: 0 else: -.5u# fi); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,180);pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); +y2=y8; y3=max(.5bar_height,2vair); +pickup crisp.nib; pos8(bar,90); +rt x8=hround(w-1.3u); top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +if hefty: pos7(bar,90); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=h; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,90); pos1(hair,0); + rt x1r=fine.rt x2l; top y1=h; + filldraw z1l{down}...{left}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround(w-u); +if serifs: pos5(hair,0); y5=y3; x4l=.5[x3l,x5l]; + (x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); + filldraw stroke z2e..super_arc.e(3,4)...{up}z5e; % stem and hook + pickup crisp.nib; pos6(hair,0); pos5'(hair,0); + x6=x5=x5'; top y6=max(vround .75bar_height,top y5); y5=y5'; + if Times_Compat: y6l:=.2[y5l,y6l]; y6r:=y6l; fi + filldraw stroke z5'e--z6e; % terminal +else: pos5(vair,-75); top y5l=vround .2[top y4l,bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l+.2vair; + filldraw stroke z2e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{right}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)<0) or (xpart(z5r-postcontrol 2 of p)<0): + filldraw stroke z4e{right}...{up}z5e; + else: filldraw p; fi fi; +y10=y7; x10=x2r; +front_hook(10,11,12,13,bar,90,-2.5u,.55x_height,.05,1/2,.5); +penlabels(1,2,3,4,5,6,7,8,10,11,12,13); endchar; + +cmchar "Curly-tail turned T"; +beginchar(incr ipacode,6u#+max(u#,.5stem#),x_height#,desc_depth#); +italcorr .7x_height#*slant -.5u#; +adjust_fit(if serifs: 0 else: -.5u# fi,0 if monospace:+1u# fi); +numeric shaved_stem,td; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +td=min(asc_height,if hefty:9/7 else:10/7 fi\\ x_height)-x_height; +td:=vround .7td; +pickup fine.nib; pos2(shaved_stem,0);pos3(shaved_stem,0); +rt x2r=rt x3r=hround(w-(2.5u-.5shaved_stem)); +y2=y8; y3=min(h-.5bar_height,h-2vair); +pickup crisp.nib; pos8(bar,270); +lft x8=hround 1.3u; bot y8r=0; rt x7=hround(w-1/3u); y7l=y8l; +if hefty: pos7(bar,270); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),180); + lft x1r=fine.lft x2l; bot y1=-td; + penpos2'(x1l-x1r,180); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,270); pos1(hair,180); + lft x1r=fine.lft x2l; bot y1=-td; + filldraw z1l{up}...{right}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',90); top y4r=h+oo; lft x5r=hround u; +if serifs: pos5(hair,180); y5=y3; x4l=.5[x3l,x5l]; + (x,y4r)=whatever[z4l,z5l]; x4r:=min(x,.5[x3r,x4]); + filldraw stroke z2e..super_arc.e(3,4)...{down}z5e; % stem and hook + pickup crisp.nib; pos6(hair,180); pos5'(hair,180); + x6=x5=x5'; bot y6=min(vround (h-.75bar_height),bot y5); y5=y5'; + if Times_Compat: y6l:=.2[y5l,y6l]; y6r:=y6l; fi + filldraw stroke z5'e--z6e; % terminal +else: pos5(vair,105); bot y5l=vround .2[bot y4l,h-bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l-.2vair; + filldraw stroke z2e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{left}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)>=0) or (xpart(z5r-postcontrol 2 of p)>=0): + filldraw stroke z4e{left}...{down}z5e; + else: filldraw p; fi fi; +if serifs: pos10(vair,90); pos11(hair,10); pos12(vair,-100); pos13(hair,190); +else: pos10(vair,90); pos11(.6hair,10); pos12(vair,-100); pos13(vair,240); fi +bot y10l=-d-o; x10=.4[x11,x1]; lft x11l=hround 1u; y11=-.7d; +z12=(x1,-.4d); lft x13r=hround(w-1u); y13=-d-o; +filldraw stroke z1e..tension .9 and atleast 1..{left}z10e...z11e + ...z12e...{down}z13e; +penlabels(1,2,3,4,5,6,7,8,10,11,12,13); endchar; + +cmchar "Turned two"; +beginchar(incr ipacode,CT(9u#,10u#),x_height#,fig_height#-x_height#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,0); +numeric arm_thickness, hair_vair; hair_vair=.25[vair,hair]; +arm_thickness=Vround(if hefty:slab+2stem_corr else:.4[stem,cap_stem] fi); +pickup crisp.nib; pos7(arm_thickness,90); pos8(hair,180); +top y7r=h; rt x7=hround(w-.9u); lft x8r=hround .9u; y8=good.y(y7l-beak/2)-eps; +arm(7,8,a,.3beak_darkness,-beak_jut); % arm and beak +pickup fine.nib; pos2(slab,270); pos3(.4[curve,cap_curve],180); +bot y2r=-d-o; x2=.5(w+.5u); lft x3r=hround .9u; y3-.5vair=h-.75(h+d); +if serifs: numeric bulb_diam; bulb_diam=hround(flare+2/3(cap_stem-stem)); + pos0(bulb_diam,360); pos1(cap_hair,360); + rt x1r=hround(w-.9u); y1+.5bulb_diam=h-2/3(h+d); + (x,y2l)=whatever[z1l,z2r]; x2l:=x; bulb(2,1,0); % bulb and arc +else: x2l:=x2l+.25u; pos1(flare,angle(-9u,h)+180); + rt x1r=hround(w-.75u); top y1l=vround (h-.7(h+d)); + y1r:=good.y y1r-eps; x1l:=good.x x1l; + filldraw stroke term.e(2,1,right,.9,4); fi % terminal and arc +pos4(.25[hair_vair,cap_stem],180); +pos5(hair_vair,180); pos6(hair_vair,180); +y5=h-arm_thickness; y4=.3[y5,y3]; bot y6=max(y5,h-slab,bot y7l); +rt x6l=crisp.rt x7; z4l=whatever[z6l,(x3l,top (h-.58(h+d)))]; +z5l=whatever[z6l,z4l]; +erase fill z4l--z6l--rt z6l--(rt x6l,y4l)--cycle; % erase excess at left +filldraw stroke z2e{left}..tension atleast .9 and atleast 1 + ..z3e{up}.. z4e---z5e--z6e; % stroke +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Bent-tail yogh"; +beginchar(incr ipacode,CT(8u#,8.88u#),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_thickness1<tiny.breadth: arm_thickness1:=tiny.breadth; fi + pickup tiny.nib; rt x1r=rt x2r=hround(w-.8u); + lft x3l=lft x4l=hround .3[.5u, w-.8u]; + top y1=h; y2=min(y1,h-2/3arm_thickness1); + bot y4=.4[0,h]; y3=max(y4,2/3arm_thickness2); + numeric alpha; alpha=diag_ratio(1,z_stem-tiny,y2-y3,x2r-x3l-slant*(y2-y3)); + penpos1(alpha*(z_stem-tiny),0); penpos2(alpha*(z_stem-tiny),0); + penpos3(alpha*(z_stem-tiny),0); penpos4(alpha*(z_stem-tiny),0); + pair delta; delta=penoffset z3-z2 of currentpen; + fill top lft z1l--z2l+delta---z3l+delta..lft z3l---lft z4l..bot z4l + ---bot rt z4r--z3r-delta---z2r-delta..rt z2r---rt z1r..top z1r + ---cycle; % diagonal + pickup crisp.nib; pos5(arm_thickness1,90); pos6(hair,180); + top y5r=h; x5=x1; lft x6r=hround .75u; + y6=good.y(y5l-beak/1.8)-eps; + arm(5,6,a',beak_darkness,-.4beak_jut); % upper arm and beak + pickup fine.nib; + pos12(stem,angle(z2-z3)); z12l=z3l; + pos7(curve,-20); pos8(curve,-20); pos9(vair,90); pos10(hair,135); + rt x7r=hround(w-.75u); y7=.2[bot y12l,top y8l]; + x8=hround .3[.75u, w-.8u]; y8=-1/2d; + x9=.5[x8l,x7r]; bot y9l=-d-oo; + x10=x7r; y10=.7[y9,y8]; + filldraw stroke z12e{right}...z7e{down}.. tension 1.2 ..{down}z8e... + {right}z9e...z10e; % bowl and tail +penlabels(1,2,3,4,5,6,7,8,9,10,12); endchar; + +cmchar "Turned three"; +beginchar(incr ipacode,CT(9u#,10u#),x_height#,fig_height#-x_height#); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +numeric top_thickness,mid_thickness,bot_thickness; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +mid_thickness=max(fine.breadth,vround 2/3vair); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +pickup fine.nib; pos2(top_thickness,270); bot y2r=-d-o; +pos3(max(fine.breadth,.6[curve,cap_curve]-stem_corr),180); +lft x3r=hround 1.25u; +pos4(vair,90); pos5(vair,90); +pos6(mid_thickness,270); x2=x6=x8=.5[w-1.5u,x7]; +pos7(cap_curve,180); lft x7r=hround .75u; rt x5=max(hround(w-3u),rt x6)+eps; +pos8(bot_thickness,90); top y8r=h+o; +y3=.6[bot y4l,top y2l]; y7=.5[top y6l,bot y8l]; +bot y5l=vround(h-.54(h+d)-.5vair); y5r=y6l; +x4=1/3[x5,x3l]; z4=z5-whatever*(15u,.1(h+d)); +filldraw stroke pulled_super_arc.e(2,3)(.5superpull) + & z3e{up}...z4e---z5e; % upper bowl +filldraw z5r--z6l--z6r--z5l---cycle; % middle tip +filldraw stroke pulled_super_arc.e(6,7)(.5superpull) + & pulled_super_arc.e(7,8)(.5superpull); % lower bowl +if serifs: numeric bulb_diam[]; + bulb_diam1=flare+.5(cap_stem-stem); bulb_diam2=flare+cap_stem-stem; + pos0(bulb_diam1,360); pos1(hair,360); + rt x0r=hround(w-1.25u); + y0=max((h-.9(h+d))+.5bulb_diam1,(h-.75(h+d))-.5bulb_diam1); + bulb(2,1,0); % upper bulb + pos10(bulb_diam2,0); pos9(cap_hair,0); + rt x10r=hround(w-.75u); + y10=min((h-.1(h+d))-.5bulb_diam2,(h-.3(h+d))+.5bulb_diam2); + bulb(8,9,10); % lower bulb +else: pos1(.5[vair,flare],angle(-8u,h)+180); + rt x1r=hround(w-u); top y1l=vround(h-.75(h+d))-o; + y1r:=good.y y1r-eps; x1l:=good.x x1l; + pos9(bot_thickness,angle(-2u,-h)+180); + rt x9r=hround(w-.75u); bot y9l=vround(h-.25(h+d))+o; + y9r:=good.y y9r+eps; x9l:=good.x x9l; + filldraw stroke term.e(2,1,right,1,4); % upper terminal + filldraw stroke term.e(8,9,right,1,4); fi % lower terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +% N.B. This symbols is not a descender. +cmchar "Curly-tail inverted glottal stop"; +beginchar(incr ipacode,CT(9u#,10u#),asc_height#,0); +italcorr .5x_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos2(vair,-90); pos3(curve,0); +pos4(vair,90); pos5(stem,0); pos6(stem,0); +x5=x6; x2=.5w; x4=x5l; rt x3r=hround(w-u); +lft x6l=hround(.42w-.5stem); top y6=h; +bot y2r=-oo; y3=.5[y2,y4]; y4r=.9x_height; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{up}...{(-10,-1)}z4e; + filldraw stroke z5e--z6e\\}}; % arc and stem +pos1(stem-stem_corr, 180); lft x1r=hround u; y1=.5[y3,y2]; +pos7(vair,-270); x7=.2[x2,x6]; y7=.3[y3,y2]; +pos8(hair,0); rt x8r=hround(w-2u); bot y8=-.15x_height; +filldraw stroke z2e{left}...{up}z1e...z7e...{dir-80}z8e; +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +% Attested in PSG (1996:211) as a typesetter's error for a normal +% glottal stop. The error is said to appear in the second edition +% of Gimson (1970). +% +% Why do I have to make a symbol like this? Sigh... +% +cmchar "Turned glottal stop (PSG 1996:211)"; +beginchar(incr ipacode,CT(9u#,10u#),asc_height#,0); +italcorr .8asc_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos7(stem,0); top y7=h; x7=.53w; +pos2(vair,270); pos3(curve,180); +pos4(vair,90); pos5(stem,0); pos6(stem,180); +x2=x5=x6=x7; x4=x5r; +lft x3r=hround u; top y6=h-.3x_height; +bot y2r=-oo; y3=.5[y2,y4]; y4r=.5h; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{up}...{(10,1)}z4e; + filldraw stroke z5e--z7e\\}}; % arc and stem +if serifs: pos1(hair,0); pos0(flare,0); + rt x1r=hround(w-u); y1=.3[y3,y2]; 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],290); + rt x1r=hround(w-u); bot y1r=vround .9[y6,top y2r]; + filldraw stroke term.e(2,1,right,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Pipe (a variety with no descender)"; +beginchar(incr ipacode,CT(5u#,5.56u#),asc_height#,0); +italcorr asc_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); +numeric thickness; thickness=hround.4[hair,stem]; +pickup tiny.nib; pos1(thickness,0); pos2(thickness,0); +lft x1l = lft x2l = hround(.5w-.5thickness); +top y1=h+o; bot y2=-d-o; +filldraw stroke z1e--z2e; +penlabels(1,2); endchar; + +cmchar "Double pipe (a variety with no descender)"; +beginchar(incr ipacode,CT(8u#,8.88u#),asc_height#,0); +italcorr asc_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); +numeric thickness; thickness=hround(.4[hair,stem]-2stem_corr); +pickup tiny.nib; pos1(thickness,0); pos2(thickness,0); +pos3(thickness,0); pos4(thickness,0); +x1=x2; x3=x4=w-x1; lft x1l = hround((w-3.2u-thickness)/2); +top y1=top y3=h+o; bot y2=bot y4=-d-o; +filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; +penlabels(1,2,3,4); endchar; + +cmchar "Double-barred pipe (a variety with no descender)"; +beginchar(incr ipacode,10u#,asc_height#,0); +italcorr asc_height#*slant+.5rule_thickness#-1.5u#; +adjust_fit(0,0); +numeric thickness[]; thickness1=hround.4[hair,stem]; +pickup tiny.nib; pos1(thickness1,0); pos2(thickness1,0); +lft x1l = lft x2l = hround(.5w-.5thickness1); +top y1=h+o; bot y2=-d-o; +filldraw stroke z1e--z2e; +thickness2=vround .3[vair,flare]; +pos3(thickness2,90); pos4(thickness2,90); +pos5(thickness2,90); pos6(thickness2,90); +lft x3l = lft x5l = hround 1u; +rt x4l = rt x6l = hround(w-1u); +top y3r = top y4r = h-d-bot y5; +bot y5l = bot y6l = vround(1/3(h+d)-d-.5thickness2); +filldraw stroke z3e--z4e; +filldraw stroke z5e--z6e; +penlabels(1,2,3,4,5,6); endchar; + +cmchar "L-Fish-hook R ligature"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar(incr ipacode,CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + asc_height#,0); +italcorr x_height#*slant if not serifs: +.25u# fi; +adjust_fit(serif_fit#,0); +pickup fine.nib; top y4r=x_height+oo; +if serifs: pos4(vair,90); pos5(hair,0); x4=.5[x6,.5w]; + rt x5r=hround(w-if Times_Compat: .25u else: .5u fi +.5); + y5+.8r_flare=.9[bar_height,x_height]+oo; + pos6(r_flare,0); bulb(4,5,6); % bulb +else: pos4(r_flare,90); rt x4=hround(w-.25u); fi +pos0'(hround(stem-3stem_corr),180); +rt x0'l=hround(side_gap-.5stem')+stem'; top y0'=bar_height+1.8u; +filldraw stroke z0'e{up}...{right}z4e; % arc +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +x1=x2=x0'; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,1.25jut); fi % lower serif +penlabels(1,2,0',4,5,6); endchar; + +ipacode:=79; + +cmchar "A variety of thorn (1)"; +beginchar(incr ipacode,10u#+serif_fit#,asc_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +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(side_gap-.5stem'); top y1=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); +rt x3l=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; +x6=x3; bot y6r=-oo; +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &z5e{down}...{5(x6-x5),y6-y5}z6e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=-d; +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 +penlabels(0,1,2,3,4,5,6,8); endchar; + +cmchar "A variety of thorn (2)"; +beginchar(incr ipacode,10u#+serif_fit#,asc_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +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(side_gap-.5stem'); top y1=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); +rt x3l=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; +x6=x3; bot y6r=-oo; +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &z5e{down}...{5(x6-x5),y6-y5}z6e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=if serifs: -.7d; else: -d; fi +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); % upper serif + pickup tiny.nib; pos10(stem,0); pos11(vair,-90); + z10=z2; lft x11l=.5u; y11l=-d-oo; + varm(10,11,b,.8beak_darkness,-1.5beak_jut); fi +penlabels(0,1,2,3,4,5,6,8,10,11); endchar; + +cmchar "A variety of thorn (3)"; +beginchar(incr ipacode,10u#+serif_fit#,asc_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +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(side_gap-.5stem'); top y1=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); +rt x3l=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; +x6=x3; bot y6r=-oo; +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &z5e{down}...{5(x6-x5),y6-y5}z6e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=-d; +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: dish_serif(1,2,a,1/3,jut,d,1/3,jut); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,8); endchar; + +cmchar "A variety of thorn (4)"; +beginchar(incr ipacode,10u#+serif_fit#,asc_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +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(side_gap-.5stem'); top y1=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); +rt x3l=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; +x6=x3; bot y6r=-oo; +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &z5e{down}...{5(x6-x5),y6-y5}z6e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=0; +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 +left_tail(2,9,10,11,stem,hround(-.75u)); +penlabels(0,1,2,3,4,5,6,8,9,10,11); endchar; + +cmchar "A variety of glottal stop (1)"; +beginchar(incr ipacode,CT(9u#,10u#),asc_height#,0); +italcorr .8asc_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos7(dot_size,0); pos8(dot_size,90); +lft x7l=hround(.5w-.25u-.5dot_size); bot y8l=0; z7=z8; +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(bot_width,0); pos6(bot_width,0); +x2=x4=x5=x6=x7; rt x3r=hround(w-u); bot y6=0; +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---z6e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=y3; bulb(2,1,0); % bulb +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,8); endchar; + +cmchar "A variety of glottal stop (2)"; +beginchar(incr ipacode,CT(9u#,10u#),asc_height#,0); +italcorr .8asc_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos7(stem,0); bot y7=0; x7=.47w; +pos2(vair,90); pos3(curve,0); +pos4(vair,-90); pos5(stem,0); pos6(stem,0); +x2=x5=x6=x7; x4=x5l; +rt x3r=hround(w-u); y6=.67[y3,y7]; +top y2r=h+oo; y3=.5[y2,y4]; y4r=.5y2; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{down}..{down}z6e--z7e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=.3[y3,y2]; bulb(2,1,0); % bulb + dish_serif(7,5,e,1/3,jut,f,1/3,jut); %serif +else: pickup fine.nib; pos2'(vair,90); z2'=z2; + 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 "A variety of glottal stop (3)"; +beginchar(incr ipacode,CT(8u#,8.88u#),asc_height#,0); +italcorr .8asc_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; +numeric bot_width; +bot_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pos7(bot_width,0); bot y7=0; x7=.4w; +pos2(vair,90); pos3(curve,-60); +pos4(min(curve,3vair),-90); pos5(bot_width,0); pos6(bot_width,0); +x2=x5=x6=x7; x4=x5l; +rt x3r=hround(w-u); bot y6=.3x_height; +top y2r=h+oo; y3=.6[y2,y4]; y4r=.4y2; y5=y4r; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + ..z3e{down}..z4e; + filldraw stroke z5e--z7e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround 2u; y1=.8[y3,y2]; bulb(2,1,0); % bulb +% dish_serif(7,5,e,1/3,jut,f,1/3,jut); %serif +else: pickup fine.nib; pos2'(vair,90); z2'=z2; + pos1(vround 5/7[vair,flare],110); + lft x1r=hround 1.5u; 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; + +%%%%%%%% Smallcaps + +ipacode:=oct"157"; + +smallcap_setup; + +def sc_hair = hair enddef; +def sc_stem = stem enddef; +def sc_curve = curve enddef; +def sc_jut = cap_jut enddef; +def sc_bar = cap_bar enddef; +def sc_band = cap_band enddef; + +% romanu.mf -> tipasc.mf conversion: +% +% x_height -> .626x_height +% bar_height -> .632bar_height +% cap_height -> x_height +% comma_depth -> 44/70comma_depth +% cap_hair -> sc_hair +% cap_stem -> sc_stem +% cap_curve -> sc_curve +% cap_ess -> sc_ess +% cap_jut -> sc_jut +% cap_bar -> sc_bar +% cap_band -> sc_band + +cmchar "Inverted small capital A"; +beginchar(incr ipacode,13u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=sc_stem-stem_corr; +left_stem=min(sc_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8sc_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=h; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=-apex_o-apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,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>cap_notch_cut: y0:=cap_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 +penpos5(whatever,angle(z2-z1)); z5=whatever[z1,z2]; +penpos6(whatever,angle(z3-z4)); z6=whatever[z3,z4]; y6=y5; +if hefty: y5l else: y5 fi =h-5/12(h-y0); +y5r-y5l=y6r-y6l=sc_band; penstroke z5e--z6e; % bar line +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+sc_jut+.5u+1<=lft x4'l-sc_jut: inner_jut=sc_jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/2,outer_jut,b,.6,inner_jut)(dark); % left serif + dish_serif(4',3,c,1/2,inner_jut,d,1/3,outer_jut); fi % right serif +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Small capital A-O Ligature"; +beginchar(incr ipacode,18u#,x_height#,0); +italcorr .7x_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,mid_stem,outer_jut,alpha; +mid_stem=max(tiny.breadth,hround .9[mfudged.hair,mfudged.sc_stem]); +pickup tiny.nib; pos1(mid_stem,0); pos2(mid_stem,0); +lft x1l=lft x2l=hround(if monospace or hefty:.55 else:.5 fi\\w-.75u); +top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(mfudged.hair,0); +top y3r=h; x3=x1; pos5(sc_bar,-90); x5=x1; +top y5l=vround(if hefty:.52 else:.48 fi\\[y2,y1]+.5sc_bar); +pos0(sc_bar,90); z0=z5; +pos8(slab if not serifs:+2stem_corr fi,-90); +bot y8r=0; x8=x2; +left_stem=if monospace:fudged.hair else: sc_hair fi if hefty: -3stem_corr fi; +outer_jut=.8sc_jut; x11l=l+letter_fit+outer_jut+.5u; y11=0; +x12=x1l-apex_corr-if monospace:2 fi\\u; y12=h; +alpha=diag_ratio(1,.5left_stem,y12-y11,x12-x11l); +penpos11(alpha*left_stem,0); penpos12(alpha*left_stem,0); +fill diag_end(12l,11l,1,1,11r,12r) + --diag_end(11r,12r,1,1,12l,11l)--cycle; % diagonal +y10=h-slab; z10=whatever[z11,z12]; +fill z10--(x1,y10)--(x1,h)--z12--cycle; % link +penpos13(whatever,angle(z2-z1)); z13=whatever[z11,z12]; +penpos14(sc_band,90); x14=x0; y13l=y14l; y13r=y14r; +if hefty: y14r=.4h; else: y14=y0; fi +penstroke z13e--z14e; % bar line +penpos21(vair,90); penpos23(vair,-90); +if monospace: penpos22(fudged.sc_stem,0); + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: penpos22(hround(sc_curve-stem_corr),0); fi +x21=x23=rt x1r+2u; y21r=h+o; y23r=-o; y22=.5h-vair_corr; x22r=hround(w-u); +rt x24=rt x25=tiny.rt x1r; y24=2/3h; y25=1/3h; y22l:=.52h; +penstroke super_arc.e(21,22) & super_arc.e(22,23); % left half of bowl +fill z23r{left}..{left}(x2,0)--(x1,h){right}..{right}z21r + --z21l{left}...{z24-z21l}(.82[x21l,x24],.82[y24,y21l]) + ...z24---z25...{z23l-z25}(.82[x23l,x25],.82[y25,y23l]) + ...{right}z23l--cycle; % right half of bowl +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(11,12); + if rt x11'r+sc_jut+.5u+1<=lft x2l-.75sc_jut: inner_jut=sc_jut; + else: rt x11'r+inner_jut+.5u+1=lft x2l-.75inner_jut; fi + dish_serif(11',12,i,1/2,outer_jut,j,.6,inner_jut)(dark); % lower left serif + serif(1,2,a,1/3,-(sc_jut+x1l-x12)); % upper serif + serif(2,1,c,1/3,-.75inner_jut); fi % lower middle serif +penlabels(0,1,2,3,5,8,10,11,12,13,14,21,22,23,24,25); endchar; + +cmchar "Small capital Greek delta"; +beginchar(incr ipacode,15u#,x_height#,0); +adjust_fit(0,0); +numeric left_stem,alpha; +left_stem=sc_hair if hefty: -3stem_corr fi; +x1l=w-x4r=.75u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=h+apex_o+apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,x4r-x1l-apex_corr); +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*sc_stem,0); penpos4(alpha*sc_stem,0); +fill diag_end(2l,1l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l)--cycle; % triangle +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +y5=y6=cap_vstem; z5=whatever[z1r,z2r]; z6=whatever[z3l,z4l]; +if y0<h-cap_notch_cut: y0:=h-cap_notch_cut; + unfill z0+.5right{down}...{z4-z3}z6--z5{z2-z1} + ...{up}z0+.5left--cycle; % counter +else: unfill z0--z5--z6--cycle; fi % counter +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Small capital F"; +beginchar(incr ipacode,11.5u#-width_adj#,x_height#,0); +italcorr x_height#*slant-beak_jut#-.25u#; +adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5sc_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-.75u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(sc_bar,-90); pos6(hair,0); +top y5l=vround(.5[y2,y1]+.5sc_bar); x5=x1; +pos0(sc_bar,90); pos7(hair,0); +z0=z5; x6=x7; y6-y5l=y0l-y7; +if serifs: rt x6r=hround(w-4u+.5hair); y6=good.y(y5l+.6beak)+eps; + rt x9r=hround(w-.5u); +else: rt x6r=hround(w-1.5u); y6=y5l+eps; rt x9r=hround(w-.75u); fi +arm(5,6,f,beak_darkness,0); arm(0,7,g,beak_darkness,0); % middle arm and serif +if serifs: nodish_serif(1,2,a,1/3,sc_jut,b,1/3,.5sc_jut); % upper serif + dish_serif(2,1,c,1/3,sc_jut,d,1/3,1.25sc_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Small capital K"; +beginchar(incr ipacode,13.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6sc_jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.sc_stem,0); pos2(fudged.sc_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5fudged.sc_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.sc_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'$=h; 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+sc_jut+.5u+1<=lft x6l-sc_jut: inner_jut=sc_jut; + else: rt x2r+sc_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,sc_jut,b,1/3,sc_jut); % upper stem serif + dish_serif(2,1,c,1/3,sc_jut,d,1/3,sc_jut); % lower stem serif + dish_serif(3,4,e,2/3,1.2sc_jut,f,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark);fi% lower diagonal serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "Turned small capital K"; +beginchar(incr ipacode,13.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6sc_jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.sc_stem,0); pos2(fudged.sc_stem,0); +rt x1r=rt x2r=hround max(w-2u,w-(3u-.5fudged.sc_stem)); bot y1=0; top y2=h; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.sc_stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +bot y3=0; lft x3l=hround(l+letter_fit+u+right_jut); +top y6=h; lft x6l=hround(l+letter_fit+.75u+right_jut); +x4=x1; y4=2/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y4-y3,x4-x3l); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +alpha2=diag_ratio(1,.5(stem2-tiny),y6-y1,x1-x6l); +penpos6(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=0; y6'$=h; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; endfor +z5=.5[z5r,z5l]; +z3'l=z3l+penoffset z3-z4 of currentpen+whatever*(z3-z4); +% we have also z3'l=z3l+penoffset z4-z3 of currentpen+whatever*(z3-z4); +z6'l=z6l+penoffset z1-z6 of currentpen+whatever*(z1-z6); +z6'r=z6r+penoffset z6-z1 of currentpen+whatever*(z1-z6); +fill z4l--diag_end(4l,3'l,1,.5,3'r,4r)--z4r--cycle; % upper diagonal +fill z5r--diag_end(5r,6'r,.5,1,6'l,5l)--z5l--cycle; % lower diagonal +if serifs: numeric inner_jut; + if lft x2l-sc_jut-.5u+1>=rt x6r+sc_jut: inner_jut=sc_jut; + else: lft x2l-sc_jut-.5u-1=rt x6r+inner_jut; fi + dish_serif(1,2,a,1/3,sc_jut,b,1/3,sc_jut); % upper stem serif + dish_serif(2,1,c,1/3,sc_jut,d,1/3,sc_jut); % lower stem serif + dish_serif(3,4,e,1/2,right_jut,f,2/3,1.2sc_jut)(dark); % upper diagonal serif + dish_serif(6,5,g,1/3,right_jut,h,1/2,inner_jut)(dark);fi% lower diagonal serif +math_fit(0,.5ic#); penlabels(1,2,3,3',4,5,6,6'); endchar; + +cmchar "Reversed small capital L"; +beginchar(incr ipacode,11u#-width_adj#,x_height#,0); +adjust_fit(0, cap_serif_fit#); +italcorr x_height#*slant-1u#; +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +rt x1r=rt x2r=hround min(w-2u,w-(3u-.5sc_stem)); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,-90); pos4(hair,180); +bot y3r=0; x3=x2; y4=y3l+beak+eps; lft x4r=hround .75u; +arm(3,4,e,1.2beak_darkness,-beak_jut); % lower arm and beak +if serifs: dish_serif(1,2,b,1/3,1.25sc_jut,a,1/3,sc_jut); % upper serif + nodish_serif(2,1,d,1/3,.5sc_jut,c,1/3,sc_jut); fi % lower serif +math_fit(0,u#); penlabels(1,2,3,4); endchar; + +cmchar "Small capital M"; +beginchar(incr ipacode,16u#+width_adj#,x_height#,0); +italcorr x_height#*slant-cap_serif_fit#+sc_jut#-2.5u#+min(.5sc_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric stem[]; % thicknesses of the four strokes +stem1=hround(fudged.hair+stem_corr); +stem2=hround(fudged.sc_stem-4stem_corr); +stem3=hround(fudged.hair-stem_corr); +stem4=hround(fudged.sc_stem-3stem_corr); +if stem4<stem1: stem4:=stem1; fi +pickup tiny.nib; pos1(stem1,0); pos2(stem1,0); +pos3(stem4,0); pos4(stem4,0); +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround min(w-2u,w-3u+.5stem4); +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(stem2,0); penpos6(stem2,0); penpos7(stem3,0); penpos8(stem3,0); +x5l=x1; x6l=x7l; x8=lft x3l; x6-x5=x8-x7; y5=y8=h; y6=y7; +if hefty: y6=if monospace: vround 1/3h else: o fi; + numeric upper_notch,lower_notch; + upper_notch=h-cap_notch_cut; lower_notch=y6+cap_notch_cut; + x1'=rt x1r; z1'=whatever[z5l,z6l]; x3'=lft x3l; z3'=whatever[z7r,z8r]; + z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l.. + if y1'<upper_notch: {right}(x1'+1,upper_notch){down}... fi + {z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + if y3'<upper_notch: ...{up}(x3'-1,upper_notch){right} fi + ..z8r--diag_out(8r,1,8l,7l){z7-z8} + if y0<=lower_notch: ..{z7-z8}z0{z5-z6}.. + else: ...{down}(x0+.5,lower_notch)--(x0-.5,lower_notch){up}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonals +else: y6=0; z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l..{z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + ..z8r--diag_out(8r,1,8l,7l){z7-z8}..{z7-z8}z0{z5-z6} + ..{z5-z6}diag_in(6r,5r,1,5l)--cycle; fi % diagonals +if serifs: serif(1,2,a,1/3,-sc_jut); % upper left serif + dish_serif(2,1,b,1/2,sc_jut,c,1/2,sc_jut)(dark); % lower left serif + serif(3,4,d,1/3,sc_jut); % upper right serif + dish_serif(4,3,e,1/3,sc_jut,f,1/3,sc_jut); fi % lower right serif +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(0,1,1',2,3,3',4,5,6,7,8); endchar; + +cmchar "Small capital P"; +beginchar(incr ipacode,12u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; penpos1(sc_stem'-tiny,0); penpos2(sc_stem-tiny,0); +pos0(sc_stem',0); pos0'(sc_stem,0); +lft x1l=hround max(2u,3u-.5sc_stem'); top y1=h; bot y2=0; +x1l=x2l=x0l=x0'l; y0=y0'=y7; +penpos3(sc_band,90); penpos4(sc_band,90); +penpos5(sc_curve if hefty:-3stem_corr fi,0); +penpos6(.5[vair,sc_band],-90); penpos7(.5[vair,sc_band],-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround .5h; x4=x6=.5w+.75u; x5r=hround(w-u); +x4l:=x6l:=x4-.25sc_curve; +filldraw stroke z1e--z0e--z0'e--z2e; % stem +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: nodish_serif(1,0,a,1/3,sc_jut,b,1/3,.5sc_jut); % upper serif + dish_serif(2,0',c,1/3,sc_jut,d,1/3,sc_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Small capital Q"; +beginchar(incr ipacode,14u#-width_adj#,x_height#,44/70comma_depth#); +italcorr .7x_height#*slant-.5u#; +adjust_fit(0,0); +numeric light_curve; light_curve=sc_curve-hround stem_corr; +penpos1(vair',90); penpos3(vair',-90); +penpos2(light_curve,180); penpos4(light_curve,0); +if monospace: x2r=hround 1.5u; + interim superness:=sqrt superness; % make |"Q"| like |"O"| +else: x2r=hround u; fi +x4r=w-x2r; x1=x3=.5w; y1r=h+o; y2=y4=.5h-vair_corr; y3r=-o; +penstroke pulled_super_arc.e(1,2)(.5superpull) + & pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & pulled_super_arc.e(4,1)(.5superpull) & cycle; % bowl +pickup tiny.nib; +if hefty: penpos5(1.2(.5[sc_bar,light_curve]),0); penpos6(1.2light_curve,0); + x5=.5w; x6r=hround(w-1.5u); + y5=vround .28h; y6=-d; + fill diag_end(6r,5r,.25,1,5l,6l)--diag_end(5l,6l,.5,1,6r,5r)--cycle; % tail +else: pos3'(vair,270); pos5(vair,180); pos6(vair,90); + pos7(sc_curve,85); penpos8(eps,180); + z3'=z3; x6=x3; top y6r=vround(.2h+.5vair); + lft x5r=hround(.5w-1.25u-.5vair); y5=.5[y3,y6]; + bot y7l=-d; x7l=2/3[x6,x8]; y8=0; rt x8=hround(x4r+.1u); + filldraw stroke z3'e{left}...z5e{up}...z6e{right} + ..z7e{right}...z8e{up}; fi % tail +math_fit(-.3x_height#*slant-.5u#,ic#); penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Reversed small capital R"; +beginchar(incr ipacode,if serifs: 12u#+.5max(2u#,sc_curve#) + else:12.5u#-.5width_adj# fi,x_height#,0); +italcorr x_height#*slant-1u#; +adjust_fit(0, cap_serif_fit#); +pickup tiny.nib; pos1(sc_stem',0); pos2(sc_stem',0); +rt x1r=rt x2r=hround min(w-2u,w-(3u-.5sc_stem')); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(sc_band,90); penpos4(sc_band,90); +penpos5(sc_curve if hefty:-3stem_corr fi,180); +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 2.25u; +else: x4=.5w-.5u; x5r=hround u; fi +x4l:=x6l:=x4+.125sc_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(sc_stem,0); + pos8(sc_curve,0); pos9(vair,-90); pos10(hair,180); + z6'=z6; rt x0r=rt x8r=hround(x5+2/3u+.5sc_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + bot y9r=-o; lft x10r=hround .05u; y10=1/4[y2,y7]; + filldraw stroke z6'e{left}..z0e---z8e....z9e{left}..z10e{up}; % tail + nodish_serif(1,2,a,1/3,.5sc_jut,b,1/3,sc_jut); % upper serif + dish_serif(2,1,c,1/3,sc_jut,d,1/3,sc_jut); % lower serif +else: penpos8(sc_stem-2stem_corr,180); penpos9(sc_stem,180); + x8=x6-.5u; y8=y6; x9r=hround .5u; y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +math_fit(0,.75ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Turned small capital U"; +beginchar(incr ipacode,13u#+.5width_adj#,x_height#,0); +italcorr .75x_height#*slant-cap_serif_fit#+sc_jut#-2.5u#+min(.5sc_stem#,u#); +if monospace: adjust_fit(cap_serif_fit#-.5u#,cap_serif_fit#-.5u#) +else: adjust_fit(cap_serif_fit#,cap_serif_fit#) fi; +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +pos2'(sc_stem,0); z2'=z2; +pos3(sc_band,90); pos4(sc_hair,180); pos5(sc_hair,180); +x1=x2; x3=.5[x1,x5]; x4=x5; x5r=w-x1r; +bot y1=bot y5=0; y2=y4=2/3h; top y3r=h+o; +rt x1r=hround min(w-2u,w-(3u-.5sc_stem)); +filldraw stroke z1e--z2e; % left stem +filldraw stroke pulled_arc.e(2',3) + & pulled_arc.e(3,4)&z4e--z5e; % arc and right stem +if serifs: dish_serif(1,2,a,1/3,sc_jut,b,1/3,sc_jut); % left serif + dish_serif(5,4,c,1/2,sc_jut,d,1/2,sc_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3x_height#*slant-min(x_height#*slant,u#), + max(.5ic#-.5u#,0)); penlabels(1,2,3,4,5); endchar; + +restore_normal_setup; + +%%% back to normal. + +endinput + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% This accent is now realized as macro. +cmchar "Macron Acute accent"; +numeric macron_breadth#; macron_breadth#=.2[vair#,stem#]; +beginchar(oct"040",9u#,asc_height#,0); +italcorr h#*slant-.75u#; +adjust_fit(0,0); +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos1(macron_breadth,90); pos2(macron_breadth,90); +top y1r=top y2r=vround(.3[x_height,asc_height]+macron_breadth)+o; +lft x1=w-rt x2=hround 1.25u; +filldraw stroke z1e--z2e; % bar +if serifs: pickup crisp.nib; x3+.5stem=hround(w-2u); x4=2/3[x3,w-x3]; + y3=h+o+eps; pos4(hair,0); y4r=y1l; + numeric theta; theta=angle(z4-z3)+90; + pos3(stem,theta); + filldraw circ_stroke z3e--z4e; % diagonal +else: pickup fine.nib; pos3(stem,0); pos4(vair,0); + rt x3r=hround(w-2u); lft x4l=hround(.5w-.75u-.5vair); + top y3=h+o; y4r=y1l; + filldraw stroke z3e--z4e; fi % diagonal +penlabels(1,2,3,4); endchar; + +% end of file. diff --git a/fonts/tipa/tipa/mf/tipagerm.mf b/fonts/tipa/tipa/mf/tipagerm.mf new file mode 100644 index 0000000000..cd92a0a348 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipagerm.mf @@ -0,0 +1,137 @@ +% tipagerm.mf: TIPA symbols for germanic languages +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth, +% DC fonts by J"org Knappen and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +% The next codes are from cmman. +cmchar "Thorn"; +beginchar(oct"376",10u#+serif_fit#,asc_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +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(side_gap-.5stem'); top y1=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); +rt x3l=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; +x6=x3; bot y6r=-oo; +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &z5e{down}...{5(x6-x5),y6-y5}z6e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=-d; +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); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,8); endchar; + +cmchar "Wynn"; +beginchar(oct"337",9u#+serif_fit#,x_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.75u#,.1u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos2(stem,if serifs:0 else: 15 fi); +pos0'(stem',0); pos0(stem,0); pos1(stem',0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(side_gap-.5stem');top y1=h; +pickup fine.nib; pos3(vair,90); pos4(vair,90); +pos5(curve,0); pos6(vair,-90); pos7(vair,-90); +x3=x7=x0; x4+.5u=x6=.6w; top y4r=x_height; y4-y3=y6-y7; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.6x_height; +bot y6r=.1x_height-oo; bot y7r=-oo; y0=y3; +pickup tiny.nib; bot y2=if serifs: -.7d; else: -d; fi +filldraw stroke z1e--z0'e--z0e--z2e; % stem +filldraw stroke z3e--z4e{z6-z7}...z5e{down}...{z7-z6}z6e--z7e; +if serifs: pickup crisp.nib; pos10(stem,0); pos11(vair,-90); + z10=z2; lft x11l=x22=.5u; y11l=-d-oo; + varm(10,11,a,.8beak_darkness,-1.5beak_jut); + pickup crisp.nib; + pos21(stem',0); pos22(vair,90); z21=(x1,.6h); y22r=y4r; + varm(21,22,b,.8beak_darkness,-1.3beak_jut); fi +penlabels(0,0',1,2,3,4,5,6,7,8,9,10,11,21,22); endchar; + +cmchar "H-V ligature"; +beginchar(oct"377",13.8u#,asc_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1-3.8u; +top y1=h; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +y3=1/3[bar_height,x_height]; +penpos2''(x2r-x2l,0); x2''=x2; y2''=1/8[bar_height,x_height]; +filldraw stroke z2''e--z2e; % thicken the lower left stem +penpos a0(min(rt x2r-lft x2l,thin_join)-fine,180); pickup fine.nib; +rt x a0l=tiny.rt x2r; y a0=y2''; +pos a1(vair,90); pos3'(x3r-x3l+tiny,0); z3'=z3; +x a1=.5[rt x a0l,rt x3'r]; top y a1r=x_height+oo; +(x a,y a1l)=whatever[z a1r,z a0l]; x a1l:=x a; +filldraw stroke z a0e{up}...{right}z a1e + &{{interim superness:=hein_super; super_arc.e(a1,3')}}; % arch +labels(a0); penlabels(a1); +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); fi % lower left serif +pickup tiny.nib; interim superness:=more_super; +pos3''(stem,180);y3''=y3; +pos4(stem,180); x4=x3''=x3; +pos5(vair,-90); pos6(hair,0); +x5=x4+2.8u; rt x6r=hround(w-.7u); y4=.4h; bot y5r=-oo; y6=.4h; +filldraw stroke z3''e{down}--super_arc.e(4,5) % v stroke + ..tension atleast 1.05..{up}z6e; % left stem and arc +v_bulb(6,7); % closing bulb +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Comma-tail Z"; +beginchar(oct"336",9u#,x_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-1u#; +adjust_fit(0,.5serif_fit#); +numeric arm_thickness[],z_stem; +arm_thickness1=vair; arm_thickness2=1.2vair; z_stem=.9[vair,stem]; +pickup tiny.nib; rt x1r=rt x2r=hround(.89w-.8u); +lft x3l=lft x4l=hround .5u; +top y1=h; y2=min(y1,h-2/3arm_thickness1); +bot y4=0; y3=max(y4,2/3arm_thickness2); +numeric alpha; alpha=diag_ratio(1,z_stem-tiny,y2-y3,x2r-x3l-slant*(y2-y3)); +penpos1(alpha*(z_stem-tiny),0); penpos2(alpha*(z_stem-tiny),0); +penpos3(alpha*(z_stem-tiny),0); penpos4(alpha*(z_stem-tiny),0); +pair delta; delta=penoffset z3-z2 of currentpen; +fill top lft z1l--z2l+delta---z3l+delta..lft z3l---lft z4l..bot z4l + ---bot rt z4r--z3r-delta---z2r-delta..rt z2r---rt z1r..top z1r + ---cycle; % diagonal +pickup tiny.nib; pos5(arm_thickness1,90); pos6(hair,180); +top y5r=h; x5=x1; lft x6r=hround .75u; y6=good.y(y5l-beak/1.4)-eps; +arm(5,6,a,beak_darkness,-.4beak_jut); % upper arm and beak +pos7(arm_thickness2,90); pos8(arm_thickness2,90); +x7=x4; bot y8l=bot y7l=y8'=0; x8=x5-1.5u; +if serifs: pos9(hair,0); pos10(vair,-90); pos11(vair,-100); +else: pos9(fudged.hair,0); pos10(vair,-90); pos11(vair,-100); fi +y9=-.4d; rt x9r =hround(w-1.5u+.5hair); y10=-.8d; +y11=-.7d; x11=.5[x3,x9]; x9-x10=x10-x11; +filldraw stroke z7e--z8e{right}..z9e{down}..{left}z10e..z11e; +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +% end of tipagerm.mf diff --git a/fonts/tipa/tipa/mf/tipanew.mf b/fonts/tipa/tipa/mf/tipanew.mf new file mode 100644 index 0000000000..e0c1cf022a --- /dev/null +++ b/fonts/tipa/tipa/mf/tipanew.mf @@ -0,0 +1,8 @@ +endinput +debug:=true; +if debug: let input = endinput; fi + +%%% This is a scratch file for testing new materials. + + +endinput diff --git a/fonts/tipa/tipa/mf/tipapnct.mf b/fonts/tipa/tipa/mf/tipapnct.mf new file mode 100644 index 0000000000..4a94db11ab --- /dev/null +++ b/fonts/tipa/tipa/mf/tipapnct.mf @@ -0,0 +1,221 @@ +% tipapnct.mf: TIPA punctuation marks +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +cmchar "Exclamation point"; +beginchar("!",5u#+width_adj#,asc_height#,0); +italcorr asc_height#*slant-2u#-.5width_adj#+.5dot_size#; +adjust_fit(0,0); +pickup tiny.nib; pos3(dot_size,0); pos4(dot_size,90); +lft x3l=hround(.5w-.5dot_size); bot y4l=0; z3=z4; dot(3,4); % dot +numeric bot_width; +bot_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos1(dot_size,0); pos2(bot_width,0); +x1=x2=x3; bot y2=.25[top y4r,x_height]+1; +if square_dots: top y1=h; + filldraw stroke z1e--z2e; % stem +else: top z0=(x1,h+o); y1+.5dot_size=h+o; + filldraw z1r...z0...z1l---z2l--z2r---cycle; fi % stem and bulb +penlabels(0,1,2,3,4); endchar; + +cmchar "Apostrophe"; +beginchar("'",5u#,asc_height#,0); +italcorr asc_height#*slant+.5dot_size#-2u#; +adjust_fit(0,0); +x1-.5dot_size=hround(.5w-.5dot_size); y1+.5dot_size=h; +if monospace: comma(1,a,dot_size,.28u,vround 1.5comma_depth); % large comma +else: comma(1,a,dot_size,.25u,comma_depth); fi % comma with increased jut +penlabels(1); endchar; + +cmchar "Left parenthesis"; +beginchar("(",CT(7u# if monospace: -u# fi,6.66u#), + CT(body_height#,asc_height#),CT(paren_depth#,.9desc_depth#)); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,0); pos2(.75[hair,stem],0); pos3(vair,0); +rt x1r=rt x3r=hround(w-u); lft x2l=hround(x1-4u if monospace: +4/3u fi); +top y1=h; y2=.5[y1,y3]=math_axis; +filldraw stroke z1e{3(x2e-x1e),y2-y1}...z2e + ...{3(x3e-x2e),y3-y2}z3e; % arc +penlabels(1,2,3); endchar; + +cmchar "Right parenthesis"; +beginchar(")",CT(7u# if monospace: -u# fi,6.66u#), + CT(body_height#,asc_height#),CT(paren_depth#,.9desc_depth#)); +italcorr math_axis#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,0); pos2(.75[hair,stem],0); pos3(vair,0); +lft x1l=lft x3l=hround u; rt x2r=hround(x1+4u if monospace: -4/3u fi); +top y1=h; y2=.5[y1,y3]=math_axis; +filldraw stroke z1e{3(x2e-x1e),y2-y1}...z2e + ...{3(x3e-x2e),y3-y2}z3e; % arc +penlabels(1,2,3); endchar; + +cmchar "Asterisk"; +beginchar("*",9u#, + if low_asterisk:math_axis#+.5x_height# else: body_height# fi,0); +italcorr h#*slant-.75u#; +adjust_fit(0,0); +numeric ast_flare; ast_flare=hround .7[thin_join,stem]; +x0=.5w; y0=h-.5x_height; +for d=-150 step 60 until 150: z[d]=z0+.5dir d xscaled 7.5u yscaled x_height; + numeric theta; theta=angle(z[d]-z0); + fill z0+.5(0,-thin_join)rotated theta + ---z[d]+.5(-ast_flare,-ast_flare)rotated theta + ..z[d]..z[d]+.5(-ast_flare,ast_flare)rotated theta + ---z0+.5(0,thin_join)rotated theta--cycle; endfor % diagonal at angle |d| +labels(0,[-150],[-90],[-30],30,90,150); endchar; + +cmchar "Plus sign"; +beginarithchar("+"); pickup rule.nib; +x1=x2=good.x .5w; top y1=h+eps; .5[y1,y2]=math_axis; +lft x3=hround u-eps; x4=w-x3; y3=y4=math_axis; +draw z1--z2; % stem +draw z3--z4; % crossbar +labels(1,2,3,4); endchar; + +cmchar "Comma"; +numeric dot_diam#; dot_diam#=if monospace: 5/4 fi\\ dot_size#; +define_whole_blacker_pixels(dot_diam); +beginchar(",",5u#,dot_diam#,comma_depth#); +adjust_fit(0,0); +x1-.5dot_diam=hround(.5w-.5dot_diam); y1-.5dot_diam=0; +comma(1,a,dot_diam,.2u,comma_depth); % dot and tail +penlabels(1); endchar; + +cmchar "Hyphen"; +beginchar("-",6u#,x_height#,0); +italcorr .5x_height#*slant-.5u#; +adjust_fit(0,0); +numeric thickness; thickness=if hefty:bar else:.75[hair,stem] fi; +pickup crisp.nib; pos1(thickness,90); pos2(thickness,90); +top y1r=top y2r=vround(.5h+.5thickness); rt x2=hround(w-u)+eps; +if monospace: x2=w-x1 else: lft x1=hround .2u-eps fi; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +cmchar "Period"; +numeric dot_diam#; dot_diam#=if monospace: 5/4 fi\\ dot_size#; +define_whole_blacker_pixels(dot_diam); +beginchar(".",5u#,dot_diam#,0); +adjust_fit(0,0); pickup fine.nib; +pos1(dot_diam,0); pos2(dot_diam,90); +lft x1l=hround(.5w-.5dot_diam); bot y2l=0; z1=z2; dot(1,2); % dot +penlabels(1,2); endchar; + +cmchar "Virgule (slash)"; +beginchar("/",9u#,body_height#,paren_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup rule.nib; +rt x1=hround(w-u)+eps; top y1=h+eps; +lft x2=hround u-eps; bot y2=-d-eps; +draw z1--z2; % diagonal +penlabels(1,2); endchar; + +cmchar "Equals sign"; +compute_spread(.45x_height#,.55x_height#); +beginchar("=",14u#,v_center(spread#+rule_thickness#)); +italcorr h#*slant-.5u#; +adjust_fit(0,0); pickup rule.nib; +lft x1=hround u-eps; x3=x1; x2=x4=w-x1; +y1=y2; y3=y4; y1-y3=spread; .5[y1,y3]=math_axis; +draw z1--z2; % upper bar +draw z3--z4; % lower bar +labels(1,2,3,4); endchar; + +cmchar "Question mark"; +beginchar("?",8.5u#,asc_height#,0); +italcorr .8asc_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos7(dot_size,0); pos8(dot_size,90); +lft x7l=hround(.5w-.25u-.5dot_size); bot y8l=0; z7=z8; dot(7,8); % dot +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(bot_width,0); pos6(bot_width,0); +x2=x4=x5=x6=x7; rt x3r=hround(w-u); bot y6=1+.25[top y8r,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---z6e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=y3; bulb(2,1,0); % bulb +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,8); endchar; + +cmchar "Left bracket"; +%numeric wd#; wd#=max(5u#,4.5u#+.5if hefty:stem# else:rule_thickness# fi); +% Modified on 2001/11/25 fkr +numeric wd#; wd#=max(5.5u#,5u#+.5if hefty:stem# else:rule_thickness# fi); +beginchar("[",CT(wd#,6.66u#),CT(body_height#,asc_height#), + CT(paren_depth#,.9desc_depth#)); +italcorr body_height#*slant; +adjust_fit(0,0); +numeric top_thickness,side_thickness; +if hefty: top_thickness=vair; + side_thickness=max(crisp.breadth,stem-2stem_corr); +else: top_thickness=side_thickness=rule_thickness; fi; +if Times_Compat and serifs: side_thickness:=1.8side_thickness; + top_thickness:=.8top_thickness; fi +pickup crisp.nib; pos1(side_thickness,0); pos2(side_thickness,0); +top y1=h; bot y2=-d; lft x1l=lft x2l=hround(2.5u-.5side_thickness)-1-eps; +filldraw stroke z1e--z2e; % stem +pos3(top_thickness,90); pos4(top_thickness,90); +pos5(top_thickness,90); pos6(top_thickness,90); +x3=x5=x1l; rt x4=rt x6=ceiling(w-.4u)+eps; y3r=y4r=y1; y5l=y6l=y2; +filldraw stroke z3e--z4e; % upper bar +filldraw stroke z5e--z6e; % lower bar +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Right bracket"; +%numeric wd#; wd#=max(5u#,4.5u#+.5if hefty:stem# else:rule_thickness# fi); +% Modified on 2001/11/25 fkr +numeric wd#; wd#=max(5.5u#,5u#+.5if hefty:stem# else:rule_thickness# fi); +beginchar("]",CT(wd#,6.66u#),CT(body_height#,asc_height#), + CT(paren_depth#,.9desc_depth#)); +italcorr body_height#*slant-2u#+.5if hefty:stem# else:rule_thickness# fi; +adjust_fit(0,0); +numeric top_thickness,side_thickness; +if hefty: top_thickness=vair; + side_thickness=max(crisp.breadth,stem-2stem_corr); +else: top_thickness=side_thickness=rule_thickness; fi; +if Times_Compat and serifs: side_thickness:=1.8side_thickness; + top_thickness:=.8top_thickness; fi +pickup crisp.nib; pos1(side_thickness,0); pos2(side_thickness,0); +top y1=h; bot y2=-d; rt x1r=rt x2r=hround(w-2.5u+.5side_thickness)+1+eps; +filldraw stroke z1e--z2e; % stem +pos3(top_thickness,90); pos4(top_thickness,90); +pos5(top_thickness,90); pos6(top_thickness,90); +x3=x5=x1r; lft x4=lft x6=floor .4u-eps; y3r=y4r=y1; y5l=y6l=y2; +filldraw stroke z3e--z4e; % upper bar +filldraw stroke z5e--z6e; % lower bar +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Turned apostrophe"; +beginchar("`",5u#,asc_height#,0); +italcorr asc_height#*slant+.5dot_size#-2u#; +adjust_fit(0,0); +x1-.5dot_size=hround(.5w-.5dot_size); y1+.5dot_size=h-comma_depth; +if monospace: ammoc(1,a,dot_size,.28u,vround 1.5comma_depth); % large ammoc +else: ammoc(1,a,dot_size,.25u,comma_depth); fi % normal ammoc +penlabels(1); endchar; + +% end of tipapnct.mf diff --git a/fonts/tipa/tipa/mf/tipaprm.def b/fonts/tipa/tipa/mf/tipaprm.def new file mode 100644 index 0000000000..8344e96e2b --- /dev/null +++ b/fonts/tipa/tipa/mf/tipaprm.def @@ -0,0 +1,78 @@ +# tipaprm.def --- parameters for TIPA font families. +# +# 1996/06/24 first version +# 2001/11/07 bs10 (= BXSL10), sb10 (=SSBX10), si10 (=SSSL10) added. +# 2001/12/21 tt8, tt9, tt10, tt12, ts10 (=SLTT10) added. +# +# The basic idea of this file is borrowed from dc fonts. But this file +# is processed by awk, not by a Metafont macro. +# +# NB: The parameter `variant_g' is omitted, and sc.u, sc.letter_fit added. +# For TT family of fonts, sc.u# shuold be equal to u# !!! +# p: x/36pt#, P: xpt#, n: x, SC12: sind 12 / cosd 12, SQ2: sqrt 2 +# +# 8 9 10 12 17 sl8 sl9 sl10 sl12 bx8 bx9 bx10 bx12 ss8 ss9 ss10 ss12 ss17 b10 bs10 sb10 si10 tt8 tt9 tt10 tt12 ts10 +# +p u 17 18.5 20 23.5 32.5 17 18.5 20 23.5 19.6 21.3 23 27 17 18.5 20 23.5 32.5 20 23 22 20 17 18.9 21 24.7 21 +p width_adj 0 0 0 0 0 0 0 0 0 9.4 10.2 11 13 12 13 15 17 24 10 11 22 15 0 0 0 0 0 +p serif_fit 0 0 0 0 0 0 0 0 0 0 0 0 0 -6 -6.5 -7 -9 -12 0 0 -9 -7 0 0 0 0 0 +p cap_serif_fit 4.1 4.6 5 5.8 8 4.1 4.6 5 5.8 5.4 6.2 7 8 -8.5 -9 -10 -13 -17 6 7 -11 -10 0 0 0 0 0 +p letter_fit 0 0 0 0 -0.1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +p body_height 216 243 270 324 466 216 243 270 324 216 243 270 324 216 243 270 324 466 270 270 270 270 200 225 250 300 250 +p asc_height 200 225 250 300 432 200 225 250 300 200 225 250 300 200 225 250 300 432 250 250 250 250 176 198 220 264 220 +p cap_height 196.8 221.4 246 295.2 425 196.8 221.4 246 295.2 197.6 222.3 247 296.4 200 225 250 300 432 247 247 250 250 176 198 220 264 220 +p fig_height 185.6 208.8 232 278.4 401 185.6 208.8 232 278.4 185.6 208.8 232 278.4 189 212 236 283 408 232 232 250 236 176 198 220 264 220 +p x_height 124 139.5 155 186 267.8 124 139.5 155 186 128 144 160 192 128 144 160 192 267.8 160 160 165 160 124 139.5 155 186 155 +p math_axis 72 81 90 108 155.5 72 81 90 108 72 81 90 108 72 81 90 108 155.5 90 90 90 90 88 99 110 132 110 +p bar_height 69.6 78.3 87 104.4 150 69.6 78.3 87 104.4 67 76 85 102 63 71 79 97 136 85 85 90 79 63 71 79 95 79 +p comma_depth 56 63 70 84 121 56 63 70 84 56 63 70 84 37 41 45 54 78 70 70 38 45 40 45 50 60 50 +p desc_depth 56 63 70 84 121 56 63 70 84 56 63 70 84 56 63 70 84 121 70 70 70 70 64 72 80 96 80 +p crisp 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 26 0 19 21 22 25 22 +p tiny 8 8 8 8 8 8 8 8 8 12 13 13 13 0 0 0 0 0 13 13 26 0 19 21 22 25 22 +p fine 7 7 7 7 7 7 7 7 7 10 10 10 10 0 0 0 0 0 10 10 9 0 18 20 21 22 21 +p thin_join 7 7 7 7.5 9 7 7 7 7.5 10 10 10 10.5 15 16 17 20 28 10 10 9 17 18 20 21 22 21 +p hair 9 9 9 9.5 11 9 9 9 9.5 16.2 16.6 17 18.3 25 27 28 33 47 17 17 49 28 22 24 25 28 25 +p stem 22 24 25 28 33 22 24 25 28 35 38 41 47 25 27 28 33 47 41 41 49 28 22 24 25 28 25 +p curve 25.5 28 30 33 40 25.5 28 30 33 39 43 46 52 25 27 28 33 47 46 46 49 28 22 24 25 28 25 +p ess 23 25 27 30 35 23 25 27 30 32 35 38 44 25 27 28 33 47 38 38 43 28 19 21 22 25 22 +p flare 27 30 33 36 45 27 30 33 36 39 42 45 51 22 24 25 30 42 45 45 40 25 28 30 32 35 32 +p dot_size 32 35 38 42 51 32 35 38 42 46 51 56 62 26 28 30 35 50 56 56 47 30 31 33 36 39 36 +p cap_hair 9.5 10 11 11.5 13 9.5 10 11 11.5 19 19 19 20 25 27 28 33 47 19 19 49 28 22 24 25 28 25 +p cap_stem 26.5 29 32 35 41 26.5 29 32 35 43 47 51 57 29 31 32 37 52 51 51 53 32 22 24 25 28 25 +p cap_curve 30 33 37 40 47 30 33 37 40 46 51 55 61 29 31 32 37 52 55 55 53 32 22 24 25 28 25 +p cap_ess 27 31 35 38 43 27 31 35 38 43 48 53 59 28 31 32 37 52 53 53 51 32 22 24 25 28 25 +P rule_thickness .36 .38 .4 .44 .6 .36 .38 .4 .44 .54 .57 .6 .66 .36 .38 .4 .44 .6 .6 .6 30/36 .4 22/36 24/36 25/36 28/36 25/36 +p dish 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 +p bracket 16 18 20 24 34 16 18 20 24 8 9 10 12 0 0 0 0 0 10 10 0 0 0 0 0 0 0 +p jut 22 25 28 33 42 22 25 28 33 19 22 25 30 0 0 0 0 0 25 25 0 0 27 31 34 39 34 +p cap_jut 29 33 37 41 50 29 33 37 41 31 35 39 46 0 0 0 0 0 34 39 0 0 27 31 34 39 34 +p beak_jut 8.4 9.2 10 11.4 15 8.4 9.2 10 11.4 9.4 10.2 11 12.4 0 0 0 0 0 11 11 0 0 0 0 0 0 0 +p beak 56 63 70 84 121 56 63 70 84 55 63 70 84 .4 .5 .5 .6 .8 70 70 1.5 .5 27 31 34 39 34 +p vair 8 8 8 8.5 10 8 8 8 8.5 12 12.5 13 14.3 19 21 22 26 38 13 13 26 22 19 21 22 25 22 +P notch_cut 8 9 10 12 17 8 9 10 12 8 9 10 12 16/36 17/36 18/36 22/36 32/36 10 10 49/36 18/36 22/36 24/36 25/36 28/36 25/36 +p bar 9.5 10 11 12.5 16 9.5 10 11 12.5 15 16 17 18.5 18 20 21 25 36 17 17 26 21 19 21 22 25 22 +p slab 9.5 10 11 12.5 16 9.5 10 11 12.5 15 16 17 18.5 20 22 23 27 40 17 17 36 23 19 21 22 25 22 +p cap_bar 9.5 10 11 12.5 16 9.5 10 11 12.5 15 16 17 18.5 19 21 22 26 38 17 17 34 22 19 21 22 25 22 +p cap_band 9.5 10 11 12.5 16 9.5 10 11 12.5 15 16 17 18.5 17 19 20 24 35 17 17 31 20 19 21 22 25 22 +P cap_notch_cut 8 9 10 12 17 8 9 10 12 8 9 10 12 22/36 24/36 25/36 31/36 46/36 10 10 45/36 25/36 22/36 24/36 25/36 28/36 25/36 +p serif_drop 3.2 3.6 4 4.8 7 3.2 3.6 4 4.8 2.4 2.7 3 3.6 2 2 2 2 2 3 3 2 2 0 0 0 0 0 +p stem_corr 1 1 1 1 1 1 1 1 1 1.8 1.9 2 2 1 1 1 1 1 2 2 1 1 0 0 0 0 0 +p vair_corr 1 1 1 1 1 1 1 1 1 1.3 1.4 1.5 1.5 1 1 1 1 1 1.5 1.5 2 1 0 0 0 0 0 +p apex_corr 0 0 0 0 0 0 0 0 0 0 0 0 0 4 4.5 5 6 7 0 0 18 5 8 9 10 11 10 +p o 6 7 8 9 10 6 7 8 9 4 4 4 5 6 7 8 9 10 4 4 8 8 3 3.5 4 5 4 +p apex_o 6 7 8 9 10 6 7 8 9 3 3 3 4 0 0 0 0 0 3 3 0 0 3 3 3 4 3 +n slant 0 0 0 0 0 1/6 1/6 1/6 1/6 0 0 0 0 0 0 0 0 0 0 1/6 0 SC12 0 0 0 0 1/6 +n fudge 1 1 1 1 1 1 1 1 1 1 1 1 1 .93 .95 .96 .98 1 1 1 .88 .96 0.81 0.81 0.81 0.86 0.81 +n math_spread .4 .2 0 -0.2 -0.4 .4 .2 0 -0.2 .9 .7 .5 .4 .4 .2 0 -0.2 -0.4 .5 .5 .5 0 -1 -1 -1 -1 -1 +n superness 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 8/11 8/11 8/11 8/11 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 8/11 8/11 3/4 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 1/SQ2 +n superpull 1/6 1/6 1/6 1/6 1/6 1/6 1/6 1/6 1/6 1/8 1/8 1/8 1/8 1/20 1/20 1/20 1/20 1/20 1/8 1/8 1/18 1/20 0 0 0 0 0 +n beak_darkness 11/30 11/30 11/30 11/30 11/30 11/30 11/30 11/30 11/30 .4 .4 .4 .4 0 0 0 0 0 .4 .4 0 0 0 0 0 0 0 +n ligs 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 0 0 0 0 +n square_dots false false false false false false false false false false false false false true true true true true false false true true false false false false false +n hefty false false false false false false false false false false false false false true true true true true false false true true true true true true true +n serifs true true true true true true true true true true true true true false false false false false true true false false true true true true true +n monospace false false false false false false false false false false false false false false false false false false false false false false true true true true true +n low_asterisk false false false false false false false false false false false false false false false false false false false false false false true true true true true +n math_fitting false false false false false false false false false false false false false false false false false false false false false false false false false false false +p sc.u 12 12.95 14 16.45 22.75 12 12.95 14 16.45 15.34 16.67 18 21.13 12 12.95 14 16.45 22.75 14 18 17.21 14 17 18.9 21 24.7 21 +p sc.letter_fit 2.4 2.4 2.4 2.4 2.2 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.2 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.4 2.4 diff --git a/fonts/tipa/tipa/mf/tiparoml.mf b/fonts/tipa/tipa/mf/tiparoml.mf new file mode 100644 index 0000000000..2895d6f62d --- /dev/null +++ b/fonts/tipa/tipa/mf/tiparoml.mf @@ -0,0 +1,813 @@ +% tiparoml.mf: TIPA roman lowercase letters +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth. +% + +cmchar "Lower-case A"; +beginchar("a",CT(9u#,8.88u#),x_height#,0); +if Times_Compat: bh#:=.6x_height#; +else: bh#:=min(bar_height#,1.14x_height#-bar_height#); fi +define_pixels(bh); +italcorr 1/3[bh#,x_height#]*slant+.5stem#-serif_fit#-2u#; +adjust_fit(0,serif_fit# if serifs: if hair#+.5stem#>1.5u#:-.25u# fi\\fi); +pickup fine.nib; top y3r=h+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); pos3(vair,90); + lft x1r=hround max(u,if Times_Compat:1.5u else:2.1u fi-.5flare); + x3=.5w if Times_Compat:-.25u else:-.5u fi; + y1=min(bh+.5flare+2vair+2,.9[bh,h]-.5flare); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],95); x1l=good.x 1.5u; x1r:=good.x x1r; + pos3(1/8[vair,thin_join],90); + x3=.5w-.2u; top y1r=vround .82[bh,top y3r]; + filldraw stroke term.e(3,1,left,.9,4); fi % terminal +pos4(stem,0); rt x4r=hround(w-side_gap+.5stem); +y4=if Times_Compat: .5 else: 1/3 fi[bh,h]; +pos5(stem,0); x5=x4; +y5=if Times_Compat: max(.45bh,2vair) else: max(.55bh,2vair) fi; +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=if Times_Compat: 1.1 fi bh; +pos7(hround(curve-2stem_corr),if Times_Compat: 200 else: 180 fi); +lft x7r=hround max(.5u,1.5u-.5curve); +if Times_Compat: y7=.3[top y8l,top y6r]; pos8(.6[vair,flare],210); x8l=.5w-1u; +else: y7=1/3[top y8l,top y6r]; pos8(vair,270); x8l=.5w-.75u; fi +pos9(thin_join,360); z9l=z5l; bot y8r=-oo; +(x,y8r)=whatever[z8l,z9l]; x8r:=max(x,x8-u); +{{interim superness:=more_super; + filldraw stroke z9e{down}...z8e{left}...{up}z7e & + if Times_Compat: z7e{up}...{(35,10)}z6e + else: super_arc.e(7,6)fi}}; % bowl +if serifs: numeric shaved_stem; shaved_stem=hround(stem-3stem_corr); + if hair#+.5stem#>1.5u#: pickup tiny.nib; + pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=.2[.5tiny,bh]; + pos11(shaved_stem,0); rt x11r=hround(w-.25u); bot y11=0; + pos12(shaved_stem,0); x11=x12; top y12=slab+eps; + filldraw z5'l---z10l...z11l{right}--z11r + --z12r{left}...z10r+.75(z12-z11)---z5'r--cycle; % foot + else: pickup crisp.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=1/3bh; + pos11(.2[vair,stem],90); x11r=.5[x10r,x12r]; bot y11l=-vround .5oo; + pos12(hair,180); rt x12l=hround(w-.1u); y12=max(y10,y11+vair); + pos13(hair,180); x13=x12; top y13=max(vround .6bh,top y12); + (x',y11l)=whatever[z11r,z12r]; x11l:=max(x',x10); + if Times_Compat: y13l:=.05[y12l,y13l]; y13r:=y13l; fi + filldraw stroke z5'e---z10e...z11e{right}...z12e---z13e; fi % hook +else: numeric shaved_stem; shaved_stem=hround(stem-stem_corr); + pickup tiny.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; bot y10=0; + filldraw stroke z5'e--z10e; fi % base of stem +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "Lower-case 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(side_gap-.5stem'); top y1=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: 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 "Lower-case C"; +beginchar("c",CT(8u#,8.88u#),x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +c_stroke(w); +penlabels(0,1,2,3,4,5); endchar; + +cmchar "Lower-case D"; +beginchar("d",10u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0,serif_fit#); +d_stroke(true,true,0); +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Lower-case E"; +beginchar("e",CT(7.25u#+max(.75u#,.5curve#),8.88u#),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_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=h+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-.5u,w-u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5w+.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2+.25u; +if serifs: pos4(vair',270); pos5(hair,360); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "Lower-case F"; +beginchar("f",CT(5.5u#,6.66u#),asc_height#,0); +italcorr asc_height#*slant+if serifs:flare#-.25u# else: 1.25u# fi; +adjust_fit(stem_shift#,if monospace: .5u# else:-stem_shift# fi); +pickup tiny.nib; pos1(stem',0); lft x1l=hround(side_gap-.5stem'); +pickup fine.nib; numeric bulb_diam; +if serifs: bulb_diam=hround .8[stem,flare]; + pos2(bulb_diam,0); y2+.5bulb_diam=.9[x_height,h+oo]; + if monospace: rt x2r=hround(w-.5u)+1 else: lft x2l=hround(w-.75u+.5) fi; +else: pos2(5/7[vair,flare],90); top y2r=h; + rt x2=hround(if monospace:w-.5u else:w+.75u fi); fi +f_stroke(1,2,a,b,c,jut,if not monospace:1.25fi\\ jut); % stem, terminal, serif +pickup crisp.nib; top y3r=top y4r=x_height; lft x3=hround .5u-1; +pos3(bar,90); pos4(bar,90); +if Times_Compat: rt x4=hround(w-if monospace:.75u+1 else:2/3u fi); +else: rt x4=hround(w-if monospace:.75u+1 else:1/3u fi); fi +filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4); endchar; + +cmchar "Lower-case G"; +beginchar("g",10u#+serif_fit#,x_height#,desc_depth#); +h:=vround(x_height#*hppp); d:=vround(desc_depth#*hppp); % vertical adj. +italcorr x_height#*slant-serif_fit#+.5stem#-2u# if serifs:+.5u# fi; +adjust_fit(0,serif_fit# if serifs: -.5u# fi); +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-side_gap+.5stem'); +numeric edge; edge=lft x2l; +path edge_path; edge_path=(edge,h)--(edge,0); +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=2/3[lft x2,edge]; y3=bar_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=vround 1/3vair; +lft x7l=edge; 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}...{left}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{right}...{up}z7e; % bowl +y1=ypart(edge_path intersectionpoint(z3l{up}...{left}z4l)); +y0=ypart(edge_path intersectionpoint(z7l{down}...{left}z6l)); +pickup tiny.nib; bot y2=if serifs: -.25d else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; +pos8(hround(hair-stem_corr),0); pos7'(stem',0); +z7'=z1; x8r=x7'r; top y8=h+oo; +filldraw stroke z7'e--z8e; % point +if serifs: pickup tiny.nib; + pos9(vair,-90); x9=.5[x2,x10]; bot y9r=-d-o-1; + pos10(hair,-180); lft x10r=hround u; y10=-.75d+.5flare; + pos11(flare,-180); z11r=z10r; + bulb(9,10,11); filldraw stroke super_arc.e(2,9); % tail +else: pickup fine.nib; pos2'(stem,0); z2'=z2; + z2''r=z2'r; z2''=z2'; z2''l=(x2'l,0); + pos9(vair,-90); x9=4.5u; bot y9r=-d-o-1; + pos10(.5[vair,flare],-90); lft x10=hround 1.25u; + y10r=good.y -5/6d; y10l:=good.y y10l; + filldraw stroke z2'e..z2''e&super_arc.e(2'',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 "Lower-case H"; +beginchar("h",10u#,asc_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +penlabels(1,2,3,4); endchar; + +cmchar "Lower-case I"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar("i",CT(5u#,5.56u#),min(asc_height#,10/7x_height#+.5dot_diam#),0); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit# + .5dot_diam# -2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.25u#fi,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +pos3(dot_diam,0); pos4(dot_diam,90); +if serifs: x3r=max(x1r,hround(x1+.5dot_diam-.2jut)-.5tiny) +else: x3=x1-.5 fi; +top y4r=h+1; +if bot y4l-top y1<slab: y4l:=min(y4r-eps,y1+tiny+slab); fi +x3=x4; y3=.5[y4l,y4r]; dot(3,4); % dot +if serifs: sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +penlabels(1,2,3,4); endchar; + +cmchar "Lower-case J"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar("j",CT(5.5u#,5.56u#),min(asc_height#,10/7x_height#+.5dot_diam#), + desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*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 +pos3(dot_diam,0); pos4(dot_diam,90); +x3r=x1r; top y4r=h+1; +if bot y4l-top y1<slab: y4l:=min(y4r-eps,y1+tiny+slab); fi +x3=x4; y3=.5[y4l,y4r]; dot(3,4); % dot +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); + (x,y7l)=whatever[z7r,z3]; 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) + & z6e{left}..z7e; fi % arc and terminal +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Lower-case K"; +beginchar("k",CT(9.5u#,10u#),asc_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(serif_fit#,serif_fit#); pickup tiny.nib; +numeric right_jut,stem[],alpha[]; +stem1=max(tiny.breadth,hround(fudged.stem-stem_corr)); +stem2=max(tiny.breadth,hround(fudged.stem-2stem_corr)); +stem3=max(tiny.breadth,hround(fudged.hair if hefty:-\\4stem_corr fi)); +stem4=max(tiny.breadth,hround(fudged.stem-3stem_corr)); +if serifs: right_jut=.6jut; else: right_jut=.4tiny; fi +pos1(stem1,0); pos2(stem2,0); top y1=h; bot y2=0; +lft x1l=lft x2l=hround(side_gap-.5stem1); +top y3=x_height; rt x3r=hround(r-letter_fit-.7u-right_jut)+eps; +bot y6=0; rt x6r=hround(r-letter_fit-.3u-right_jut)+eps; +x4=x11=x1; y4=.7bar_height; y11=y3; +alpha1=diag_ratio(1,.5(stem3-tiny),y3-y4,x3r-x4); +alpha2=diag_ratio(1,.5(stem4-tiny),y11-y6,x6r-x1); +penpos3(alpha1*(stem3-tiny),0); penpos4(whatever,-90); +z5=.5[z5l,z5r]; penpos6(alpha2*(stem4-tiny),0); +forsuffixes $=l,r: y3'$=x_height; y6'$=0; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z11-z6)=whatever[z3,z4]; endfor +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 z11-z6 of currentpen+whatever*(z11-z6); +z6'l=z6l+penoffset z6-z11 of currentpen+whatever*(z11-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 +pos0(stem1,0); pos0'(stem2,0); y0=y0'; x0=x1; x0'=x2; +rt z0r=whatever[z3,z4]; filldraw stroke z1e..z0e--z0'e..z2e; % stem +if serifs: numeric inner_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+inner_jut+.5u+1=lft x6l-inner_jut; fi + sloped_serif.l(1,0,a,1/3,jut,serif_drop); % upper stem serif + dish_serif(2,0',b,1/3,jut,c,1/3,inner_jut); % lower stem serif + dish_serif(3,4,d,2/3,1.4jut,e,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,f,1/2,inner_jut,g,1/3,right_jut)(dark);fi % lower diagonal serif +penlabels(0,1,2,3,4,5,6,11); endchar; + +cmchar "Lower-case L"; +beginchar("l",CT(5u#,5.56u#),asc_height#,0); l_width#:=5u#+2serif_fit#; +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(1,2); endchar; + +cmchar "Lower-case M"; +beginchar("m",CT(15u#,15.56u#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,0); pos2(mfudged.stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged.stem,0); pos5(mfudged.stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; % stem, sic +lft x3l=hround(.5w-.5mfudged.stem); x5-x3=x3-x1; +if not monospace: r:=hround(x5+x1)+r-w; fi % change width for better fit +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % left arch and middle stem +h_stroke(4,b,5,6); % right arch and right stem +if serifs: sloped_serif.l(1',2',c,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,d,1/3,jut,e,1/3,jut); % lower left serif + dish_serif(4,3,f,1/3,inner_jut,g,1/3,jut); % lower middle serif + dish_serif(6,5,h,1/3,inner_jut,i,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Lower-case N"; +beginchar("n",10u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +penlabels(1,2,3,4); endchar; + +cmchar "Lower-case O"; +beginchar("o",CT(9u#,10u#),x_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=h+vround 1.5oo; y3r=-oo; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penlabels(1,2,3,4); endchar; + +cmchar "Lower-case P"; +beginchar("p",10u#+serif_fit#,x_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +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(side_gap-.5stem'); top y1=h if serifs: +min(oo,serif_drop) fi; +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[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x5r,x6]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{left}...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=-d; +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); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Lower-case Q"; +beginchar("q",10u#+serif_fit#,x_height#,desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u# if serifs:+.5u# fi; +adjust_fit(0,serif_fit# if not Times_Compat: if serifs: -.5u# fi fi); +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-side_gap+.5stem'); +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),2/3[lft x2,edge]); y3=bar_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; y7=min(y3,y6+y4-y3+.6vair); +lft x7l=min(lft x7l-(rt x7r-tiny.rt x2r),1/3[lft x2,edge]); +(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}...{left}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{right}...{up}z7e; % bowl +y1=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{left}z4l)); +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z6l{right}...{up}z7l)); +pickup tiny.nib; bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; +pos8(hround(hair-stem_corr),0); pos7'(stem',0); +z7'=z1; x8r=x7'r; top y8=h+oo; +filldraw stroke z7'e--z8e; % point +if serifs: dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Lower-case R"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar("r",CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + x_height#,0); +italcorr x_height#*slant if not serifs: +.25u# fi; +adjust_fit(serif_fit#,0); +pickup fine.nib; top y4r=h+oo; +if serifs: pos4(vair,90); pos5(hair,0); + x4=w-max(if Times_Compat: 1.6 else: 1.75 fi u,.25u+r_flare); + rt x5r=hround(w-if Times_Compat: .1u else: .5u fi +.5); + y5+.5r_flare=.9[bar_height,h]+oo; + pos6(r_flare,0); bulb(4,5,6); % bulb +else: pos4(r_flare,90); rt x4=hround(w-.25u); fi +pos3(thin_join,180); rt x3l=hround(side_gap-.5stem')+stem'; top y3=bar_height; +filldraw stroke z3e{up}...{right}z4e; % arc +pickup tiny.nib; pos0(stem',0); pos2(stem',0); +pos1(hround(stem-3stem_corr),0); top y1=h+min(oo,serif_drop); +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1l=x0l=x0'l=x2l; +lft x1l=hround(side_gap-.5stem'); bot y2=0; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,1.25jut); fi % lower serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Lower-case S"; +beginchar("s",CT(7.1u#,7.78u#),x_height#,0); +italcorr x_height#*slant-if serifs:.55u# else:.3u# fi; +adjust_fit(if monospace: .5u#,.4u# else: 0,if serifs:0 else:-.2u# fi fi); +numeric theta; theta=90-angle(40u,h); slope:=-h/40u; % angle at middle +numeric s_slab; s_slab=if serifs:vair else:Vround .1[vair,stem] fi; +numeric ess'; ess'=max(fine.breadth,ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-100); +pos0(ess',theta); pos7(s_slab,-90); x2l=x0=x7=.5w; +top y2l=h+vround 1.5oo; bot y7r=-oo; +y0-.5ess'=y7l+if serifs:.54 else: .52 fi\\(y2r-y7l-ess'); +lft x3l=hround .6u; rt x6r=hround(w-.6u); +x3r-x3l=x6r-x6l=hround .5[s_slab,ess']-fine; +ellipse_set(2l,3l,4l,0l); ellipse_set(2r,3r,4r,0r); y3=y3r; +ellipse_set(7l,6l,5l,0l); ellipse_set(7r,6r,5r,0r); y6=y6r; +interim superness:=more_super; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +if serifs: pos1(hair,180); pos8(hair,180); + rt x1l=hround(w-1.05u); lft x8r=hround .6u; + bot y1=min(bot y2r,vround 1/5[top y5r,h]); + top y8=max(top y7l,vround 5/6 bot y4l); + filldraw stroke z1e{up}....{left}z2e; % upper arc + filldraw stroke z7e{left}....{x8-x7,5(y8-y7)}z8e; % lower arc + path upper_arc, lower_arc; + upper_arc=z1{up}....{left}z2; lower_arc=z7{left}....{x8-x7,5(y8-y7)}z8; + pos10(.3[fine.breadth,cap_hair],0); pos9(.3[fine.breadth,cap_hair],0); + x10r=x1l; top y10=top y2l; x9l=x8r; bot y9=bot y7r; + x1l-x1'=x8'-x8r=1.6cap_curve-fine; y1'=y1; y8'=y8; + numeric t; t=xpart(upper_arc intersectiontimes(z10l--z1')); + filldraw z1l--z10r--z10l--subpath(t,0) of upper_arc--cycle; % upper barb + t:=xpart(lower_arc intersectiontimes(z9r--z8')); + filldraw z8r--z9l--z9r--subpath(t,1) of lower_arc--cycle; % lower barb +else: pos1(4/7[s_slab,flare],-100); pos8(flare,-100); + x1l=good.x(x1l+w-u-rt x1); lft x8r=hround .5u; + top y1l=vround(.93h+1.5oo); bot y8r=vround .1h-oo; + filldraw stroke term.e(2,1,right,.9,4); % upper arc and terminal + filldraw stroke term.e(7,8,left,1,4); fi % lower arc and terminal +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +cmchar "Lower-case T"; +beginchar("t",CT(6u#+max(u#,.5stem#),5.56u#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),0); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: 0 else: -.5u# fi); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,180);pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); +y2=y8; y3=max(.5bar_height,2vair); +pickup crisp.nib; pos8(bar,90); +rt x8=hround(w- if Times_Compat: .4u else: 1.3u fi); +top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +if hefty: pos7(bar,90); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=h; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,90); pos1(hair,0); + rt x1r=fine.rt x2l; top y1=h; + filldraw z1l{down}...{left}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround(w- if Times_Compat: 0 fi u); +if serifs: pos5(hair,0); x4l=.5[x3l,x5l]; + y5= if Times_Compat: .5 else: 1 fi [0,y3]; + (x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); + filldraw stroke z2e..super_arc.e(3,4)...{up}z5e; % stem and hook + if Times_Compat: else: + pickup crisp.nib; pos6(hair,0); pos5'(hair,0); + x6=x5=x5'; top y6=max(vround .75bar_height,top y5); y5=y5'; + filldraw stroke z5'e--z6e; fi % terminal +else: pos5(vair,-75); top y5l=vround .2[top y4l,bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l+.2vair; + filldraw stroke z2e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{right}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)<0) or (xpart(z5r-postcontrol 2 of p)<0): + filldraw stroke z4e{right}...{up}z5e; + else: filldraw p; fi fi; +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "Lower-case U"; +beginchar("u",10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric light_vair; light_vair=vair if hefty: -vround 2vair_corr fi; +if light_vair<fine.breadth: light_vair:=fine.breadth; fi +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem',0); +lft x1l=hround(side_gap-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=h if Times_Compat: else: +min(oo,serif_drop) fi; + bot y4=-min(oo,serif_drop); +else: top y1=h; bot y4=0; fi +pos0(stem,0); pos0'(stem',0); x0=x3; x0'=x4; y0=y0'; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.5bar_height; +penpos5(max(eps,light_vair-fine),-90); penpos6(thin_join-fine,0); +y6=y0=2/3bar_height; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e..z0e--z0'e..z4e; % right stem +pickup fine.nib; bot y5r=-oo; x5l=.5w-.25u; lft x6l=tiny.lft x0l; +(x,y5r)=whatever[z5l,z6l]; x5r:=max(x,.5[x5,x2'r]); +filldraw stroke {{interim superness:=hein_super; + pulled_arc.e(2',5)}} & z5e{right}...{up}z6e; % arc +if serifs: numeric upper_serif_drop, lower_serif_drop; + if Times_Compat: upper_serif_drop=0; lower_serif_drop=serif_drop; + else: upper_serif_drop=serif_drop; lower_serif_drop=min(oo,serif_drop); fi + sloped_serif.l(1,2,a,1/3,jut,upper_serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,upper_serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,lower_serif_drop); fi % lower right serif +penlabels(1,2,3,4,5); labels(6); endchar; + +cmchar "Lower-case V"; +beginchar("v",CT(if serifs: 9.5u# else:9u# fi,10u#),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 +penlabels(0,1,2,3,4); endchar; + +cmchar "Lower-case W"; +beginchar("w",CT(13u#,14.44u#),x_height#,0); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit#,serif_fit#); +numeric stem[],outer_jut,upper_notch,alpha,mid_corr; +outer_jut=.7jut; x1l=w-x8r=l+letter_fit+outer_jut+.25u; +stem1=fudged.stem-stem_corr; +stem4=min(fudged.hair if hefty:-2stem_corr fi,stem1); +stem2=if hefty:.1[vair,stem4] else: stem4 fi; +stem3=max(stem2,stem1-3stem_corr); +x2-x1=x4-x3=x6-x5=x8-x7; x2l+apex_corr=x3l; x6l+apex_corr=x7l; +y1=y8=h; y2=y3=y6=y7=-apex_oo; +y4=y5=if monospace: vround .6 fi\\ h; upper_notch=y4-notch_cut; +mid_corr=if monospace or hefty:-.3apex_corr else: .5jut fi; +alpha=diag_ratio(4,stem2-stem3+stem4,y1-y2,x8r-x1l+mid_corr-2apex_corr); +penpos1(alpha*stem1,0); penpos2(alpha*stem1,0); +penpos3(alpha*stem2,0); penpos4(alpha*stem2,0); +penpos5(alpha*stem3,0); penpos6(alpha*stem3,0); +penpos7(alpha*stem4,0); penpos8(alpha*stem4,0); +x4l-x1l=floor(x4l-x1l+.5(x5r+mid_corr-x4r)); % x5r $\approx$ x4r+mid_corr +z23=whatever[z1r,z2r]=whatever[z3l,z4l]; +z45=whatever[z3r,z4r]=whatever[z5l,z6l]; +z67=whatever[z5r,z6r]=whatever[z7l,z8l]; +fill diag_end(1l,2l,1,1,3r,4r){z4-z3} + ...if y45<upper_notch:(x45,upper_notch)+.5left{up} + --(x45,upper_notch)+.5right{down} else: z45&z45 fi + ...{z6-z5}diag_end(5l,6l,1,1,7r,8r)--diag_end(7r,8r,1,1,8l,7l){z7-z8} + ...if y67>notch_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)--.9[z5l,z6l] + ..{z5-z6}.1[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 +penlabels(0,1,2,3,4,5,6,7,8,23,45,67); endchar; + +cmchar "Lower-case X"; +beginchar("x",CT(if serifs:9.5u# else:9u# fi,10u#),x_height#,0); +italcorr x_height#*slant-.05u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric stem[],outer_jut,xjut,alpha[]; +stem1=fudged.stem-4stem_corr; stem2=min(fudged.hair,stem1); +outer_jut=.75jut; xjut= if serifs: (stem1-stem2)/4 else: 0 fi; +x1l=l+letter_fit+.1u+outer_jut; x2r=r-letter_fit-.3u-outer_jut-xjut; +x3l=l+letter_fit+outer_jut+xjut; x4r=r-letter_fit-outer_jut; +y1=y2=h; y3=y4=0; +alpha1=diag_ratio(1,stem1,h,x4r-x1l); +alpha2=diag_ratio(1,stem2,h,x2r-x3l); +penpos1(alpha1*stem1,0); penpos2(alpha2*stem2,0); +penpos3(alpha2*stem2,0); penpos4(alpha1*stem1,0); +if hefty: z0=whatever[z1,z4]=whatever[z2,z3]; + x12=x34=x0; y13=y24=y0; + z12=whatever[z2l,z3l]; z13=whatever[z2l,z3l]; + z24=whatever[z2r,z3r]; z34=whatever[z2r,z3r]; + forsuffixes $=13,24,34: z$'=.2[z$,z0]; endfor + fill diag_end(12,1r,.5,1,1l,13')--z13'--diag_end(13',3l,1,.5,3r,34')--z34' + --diag_end(34',4l,.5,1,4r,24')--z24' + --diag_end(24',2r,1,.5,2l,12)--z12--cycle; % diagonals +else: fill diag_end(4r,1r,.5,1,1l,4l) + --diag_end(1l,4l,.5,1,4r,1r)--cycle; % left diagonal + fill diag_end(2l,3l,.5,1,3r,2r) + --diag_end(3r,2r,.5,1,2l,3l)--cycle; fi % right diagonal +if serifs: numeric inner_jut[]; pickup tiny.nib; + prime_points_inside(1,4); prime_points_inside(2,3); + prime_points_inside(3,2); prime_points_inside(4,1); + if rt x1'r+jut+.5u+1<=lft x2'l-jut-xjut: inner_jut1=jut; + else: rt x1'r+inner_jut1+.5u+1=lft x2'l-inner_jut1-xjut; fi + if rt x3'r+jut+.5u+1<=lft x4'l-jut-xjut: inner_jut2=jut; + else: rt x3'r+inner_jut2+.5u+1=lft x4'l-inner_jut2-xjut; fi + dish_serif(1',4,a,1/3,outer_jut,b,2/3,inner_jut1); % upper left serif + dish_serif(4',1,c,2/3,inner_jut2,d,1/3,outer_jut); % lower right serif + dish_serif(2',3,e,2/3,inner_jut1+xjut, + f,1/2,outer_jut+xjut)(dark); % upper right serif + dish_serif(3',2,g,1/2,outer_jut+xjut, + h,2/3,inner_jut2+xjut)(dark); fi % lower left serif +penlabels(0,1,2,3,4,12,13,24,34); endchar; + +cmchar "Lower-case Y"; +beginchar("y",CT(if serifs:9.5u# else:9u# fi,10u#),x_height#,desc_depth#); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric left_stem,right_stem,bot_stem,bot_vair,outer_jut; +left_stem=fudged.stem-stem_corr; +right_stem=fudged.hair if hefty:-2stem_corr fi; +bot_stem=fudged.hair if hefty:-8stem_corr fi; +bot_vair=Vround(if serifs: vair else:.5[vair,bot_stem] fi); +outer_jut=.75jut; +x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4r=h; y2=y3=0; x2l=x3l; +numeric alpha,alpha[]; x9=3u; y9=bot_vair-d-oo; +alpha1=diag_ratio(2,bot_stem,y1-y3,x4r-x1l-apex_corr); +alpha2=diag_ratio(1,bot_stem,y1-y9,x4r-x9); +if alpha1<alpha2: x2l-x1l=x4r-x3r+apex_corr; alpha=alpha1; +else: alpha=alpha2; z3l=whatever[z9,z4r-(alpha*bot_stem,0)]; fi +penpos3(alpha*bot_stem,0); penpos4(alpha*right_stem,0); +alpha3=(y1++(x2l-x1l))/y1; +penpos1(alpha3*left_stem,0); penpos2(alpha3*left_stem,0); +z0=whatever[z1r,z2r]=z4l+whatever*(z3r-z4r); +if y0>notch_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=hround 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 +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Lower-case Z"; +beginchar("z",CT(8u#,8.88u#),x_height#,0); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,.5serif_fit#); +numeric arm_thickness[],z_stem; +if hefty: arm_thickness1=Vround(vair-vair_corr); arm_thickness2=vair; + z_stem=.6[vair,stem]; +else: arm_thickness1=vair; arm_thickness2=vair'; z_stem=.9[vair,stem]; fi +pickup tiny.nib; rt x1r=rt x2r=hround(w-.8u); lft x3l=lft x4l=hround .5u; +top y1=h; y2=min(y1,h-2/3arm_thickness1); +bot y4=0; y3=max(y4,2/3arm_thickness2); +numeric alpha; alpha=diag_ratio(1,z_stem-tiny,y2-y3,x2r-x3l-slant*(y2-y3)); +penpos1(alpha*(z_stem-tiny),0); penpos2(alpha*(z_stem-tiny),0); +penpos3(alpha*(z_stem-tiny),0); penpos4(alpha*(z_stem-tiny),0); +pair delta; delta=penoffset z3-z2 of currentpen; +fill top lft z1l--z2l+delta---z3l+delta..lft z3l---lft z4l..bot z4l + ---bot rt z4r--z3r-delta---z2r-delta..rt z2r---rt z1r..top z1r + ---cycle; % diagonal +pickup crisp.nib; pos5(arm_thickness1,90); pos6(hair,180); +top y5r=h; x5=x1; lft x6r=hround .75u; y6=good.y(y5l-beak/1.4)-eps; +arm(5,6,a,beak_darkness,-.4beak_jut); % upper arm and beak +pos7(arm_thickness2,-90); pos8(hair,0); +bot y7r=0; x7=x4; rt x8r=hround(w-.75u); y8=good.y(y7l+beak/1.2)+eps; +arm(7,8,b,beak_darkness,.6beak_jut); % lower arm and beak +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "Dotless I"; +beginchar(oct"031",CT(5u#,5.56u#),x_height#,0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.25u#fi,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +penlabels(1,2); endchar; + +cmchar "Dotless letter J"; +beginchar(oct"032",CT(5.5u#,5.56u#),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 +penlabels(1,2,5,6,7); endchar; + +% end of tiparoml.mf diff --git a/fonts/tipa/tipa/mf/tipasb10.mf b/fonts/tipa/tipa/mf/tipasb10.mf new file mode 100644 index 0000000000..1eef96f4c8 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasb10.mf @@ -0,0 +1,92 @@ +% tipasb10.mf: TIPA Sans Serif Bold Extended 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASB"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=22/36pt#; +width_adj#:=22/36pt#; +serif_fit#:=-9/36pt#; +cap_serif_fit#:=-11/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=250/36pt#; +fig_height#:=250/36pt#; +x_height#:=165/36pt#; +math_axis#:=90/36pt#; +bar_height#:=90/36pt#; +comma_depth#:=38/36pt#; +desc_depth#:=70/36pt#; +crisp#:=26/36pt#; +tiny#:=26/36pt#; +fine#:=9/36pt#; +thin_join#:=9/36pt#; +hair#:=49/36pt#; +stem#:=49/36pt#; +curve#:=49/36pt#; +ess#:=43/36pt#; +flare#:=40/36pt#; +dot_size#:=47/36pt#; +cap_hair#:=49/36pt#; +cap_stem#:=53/36pt#; +cap_curve#:=53/36pt#; +cap_ess#:=51/36pt#; +rule_thickness#:=30/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=1.5/36pt#; +vair#:=26/36pt#; +notch_cut#:=49/36pt#; +bar#:=26/36pt#; +slab#:=36/36pt#; +cap_bar#:=34/36pt#; +cap_band#:=31/36pt#; +cap_notch_cut#:=45/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=2/36pt#; +apex_corr#:=18/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.88; +math_spread:=.5; +superness:=3/4; +superpull:=1/18; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=17.21/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipasc.mf b/fonts/tipa/tipa/mf/tipasc.mf new file mode 100644 index 0000000000..def61220f4 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasc.mf @@ -0,0 +1,496 @@ +% tipasc.mf: TIPA small capital phonetic symbols +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +% romanu.mf -> tipasc.mf conversion: +% +% x_height -> .626x_height +% bar_height -> .632bar_height +% cap_height -> x_height +% comma_depth -> 44/70comma_depth +% cap_hair -> sc_hair +% cap_stem -> sc_stem +% cap_curve -> sc_curve +% cap_ess -> sc_ess +% cap_jut -> sc_jut +% cap_bar -> sc_bar +% cap_band -> sc_band + +def sc_hair = hair enddef; +def sc_stem = stem enddef; +def sc_curve = curve enddef; +def sc_jut = cap_jut enddef; +def sc_bar = cap_bar enddef; +def sc_band = cap_band enddef; + +cmchar "Small capital Y"; +beginchar("Y",13u#,x_height#,0); +italcorr x_height#*slant+.45u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,dy,alpha; +left_stem=sc_stem-stem_corr; +right_stem=min(sc_hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75sc_jut; x1l=w-x4r=l+letter_fit+outer_jut+.05u; +x2l=x5l=hround(.5w-.5left_stem); x3r=x5r; y1=y4=h; y2=y3=y5=.4h; +dy=y1-y2; alpha=((x2l-x1l)++dy)/dy; +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*right_stem,0); penpos4(alpha*right_stem,0); +penpos5(left_stem,0); penpos6(left_stem,0); x5=x6; y6=0; +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0>y2+cap_notch_cut: y0:=y2+cap_notch_cut; + fill z0+.5right{up}...{z4-z3}diag_end(3l,4l,1,1,4r,3r)--z5r + --diag_end(5r,6r,1,1,6l,5l)--z5l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z0+.5left--cycle; % diagonals and stem +else: fill z0--diag_end(0,4l,1,1,4r,3r)--z5r + --diag_end(5r,6r,1,1,6l,5l)--z5l + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % diagonals and stem +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); prime_points_inside(6,5); + if rt x1'r+sc_jut+.5u+1<=lft x4'l-sc_jut: inner_jut=sc_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); % upper left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); % upper right serif + dish_serif(6',5,e,1/3,sc_jut,f,1/3,sc_jut); fi % lower serif +math_fit(.5u#-x_height#*slant,ic#-4u#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Small capital I"; +beginchar("I",max(6u#,4u#+sc_stem#),x_height#,0); +italcorr x_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +lft x1l=lft x2l=hround(.5w-.5sc_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: dish_serif(1,2,a,1/3,1.05sc_jut,b,1/3,1.05sc_jut); % upper serif + dish_serif(2,1,c,1/3,1.05sc_jut,d,1/3,1.05sc_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2); endchar; + +cmchar "Inverted small capital R"; +beginchar("K",if serifs: 12u#+.5max(2u#,sc_curve#) + else:12.5u#-.5width_adj# fi,x_height#,0); +italcorr .75x_height#*slant+ if serifs: .25 else: 1 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(sc_stem',0); pos2(sc_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5sc_stem'); bot y1=0; top y2=h; +filldraw stroke z2e--z1e; % stem +penpos3(sc_band,-90); penpos4(sc_band,-90); +penpos5(sc_curve if hefty:-3stem_corr fi,0); +penpos6(vair,90); penpos7(vair,90); +z3r=bot 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-.125sc_curve; +fill stroke z7e..pulled_arc.e(6,5) & pulled_arc.e(5,4)..z3e; % lobe +if serifs: pos6'(vair,90); pos0(sc_stem,180); + pos8(sc_curve,180); pos9(vair,90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5sc_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + top y9r=h+o; rt x10r=hround(w-.05u); y10=1/4[y2,y7]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{down}; % tail + nodish_serif(1,2,a,1/3,sc_jut,b,1/3,.5sc_jut); % upper serif + dish_serif(2,1,c,1/3,sc_jut,d,1/3,sc_jut); % lower serif +else: penpos8(sc_stem-2stem_corr,0); penpos9(sc_stem,0); + x8=x6+.5u; y8=y6; x9r=hround(w-.5u); y9=h; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +math_fit(0,.75ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Small capital A"; +beginchar(oct"300",13u#,x_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=sc_stem-stem_corr; +left_stem=min(sc_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8sc_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=h+apex_o+apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,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<h-cap_notch_cut: y0:=h-cap_notch_cut; + fill z0+.5right{down}...{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} + ...{up}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 +penpos5(whatever,angle(z2-z1)); z5=whatever[z1,z2]; +penpos6(whatever,angle(z3-z4)); z6=whatever[z3,z4]; y6=y5; +if hefty: y5r else: y5 fi =5/12y0; +y5r-y5l=y6r-y6l=sc_band; penstroke z5e--z6e; % bar line +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+sc_jut+.5u+1<=lft x4'l-sc_jut: inner_jut=sc_jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/2,outer_jut,b,.6,inner_jut)(dark); % left serif + dish_serif(4',3,c,1/2,inner_jut,d,1/3,outer_jut); fi % right serif +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Small capital B"; +beginchar(oct"340",12.5u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=sc_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(2u,3u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(sc_band,90); penpos4(sc_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(sc_band,-90); penpos12(sc_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=sc_curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=sc_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,sc_jut,b,1/3,.5sc_jut); % upper serif + nodish_serif(2,1,c,1/3,sc_jut,d,1/3,.5sc_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +cmchar "Small capital O-E ligature"; +beginchar(oct"327",18u#,x_height#,0); +italcorr x_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric light_stem; +light_stem=max(tiny.breadth,hround .8[mfudged.hair,mfudged.sc_stem]); +pickup tiny.nib; pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround .5w; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(mfudged.hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-.8beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(sc_bar,-90); pos6(mfudged.hair,0); +top y5l=vround(.52[y2,y1]+.5sc_bar); x5=x1; +pos0(sc_bar,90); pos7(mfudged.hair,0); +z0=z5; x6=x7; y6-y5l=y0l-y7; +if serifs and not(monospace and hefty): rt x6r=hround(w-3.4u+.5mfudged.hair); + y6=good.y(y5l+.5beak)+eps; rt x9r=hround(w-.5u); +else: rt x6r=hround(w-1.5u); y6=y5l+eps; rt x9r=hround(w-.75u); fi +arm(5,6,f,beak_darkness,0); arm(0,7,g,beak_darkness,0); % middle arm and serif +pos8(slab if not serifs:+2stem_corr fi,-90); +pos9(mfudged.hair,0); bot y8r=0; x8=x2; y9=good.y(y8l+.9beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +penpos11(vair,90); penpos13(vair,-90); +if monospace: penpos12(fudged.sc_stem,180); + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: penpos12(hround(sc_curve-stem_corr),180); fi +x11=x13=.5w-2u; y11r=h+o; y13r=-o; y12=.5h-vair_corr; x12r=hround u; +x14=x15=.5w; y14=2/3h; y15=1/3h; y12l:=.52h; +penstroke super_arc.e(11,12) & super_arc.e(12,13); % left half of bowl +fill z13r{right}..{right}(x2,0)--(x1,h){left}..{left}z11r + --z11l{right}...{z14-z11l}(.82[x11l,x14],.82[y14,y11l]) + ...z14---z15...{z13l-z15}(.82[x13l,x15],.82[y15,y13l]) + ...{left}z13l--cycle; % right half of bowl +if serifs: serif(1,2,a,1/3,.5sc_jut); % upper serif + serif(2,1,b,1/3,.5sc_jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8,9,11,12,13,14,15); endchar; + +cmchar "Small capital G"; +if serifs: beginchar(oct"345",14u#,x_height#,0); + italcorr x_height#*slant-1.5u#-.5cap_serif_fit#; + adjust_fit(0,.5cap_serif_fit#); + pickup tiny.nib; pos0(sc_stem,0); pos7(sc_stem,0); + rt x0r=hround(w-2u); y0=good.y(.1[.632bar_height,.626x_height]+1); x7=x0; + pickup fine.nib; + if hefty: bot y7=0; pos5(sc_stem,0); x5=x0; top y5=tiny.top y0; + else: pos5(sc_hair,0); pos8(sc_stem,0); + y7=.316bar_height; z5l=z8l; z8=z7; x9=x8r; bot y9=0; + filldraw z8l{down}..{4(x9-x8),y9-y8}z9--z8r--cycle; fi % spur + pos1(sc_hair,0); pos2(sc_band,90); + pos3(sc_curve,180); pos4(sc_band,270); + rt x1r=hround(w-2u); lft x3r=hround u; x2=x4=.55[x3,x1]; + top y2r=h+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6h,.626x_height-.5vair),bot y2l-eps); + (x2l',y2l)=whatever[z2r,z1l]; x2l:=min(x2l',x2l+.5u); + (x4l',y4l)=whatever[z4r,z5l]; x4l:=min(x4l',x4l+.5u); + filldraw stroke z1e{x2-x1,10(y2-y1)} + ...pulled_arc.e(2,3) & pulled_arc.e(3,4)...z5e{up}; % arc + pos6(.3[fine.breadth,sc_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2sc_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x2-x1,10(y2-y1)}..z2{left}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb + pickup tiny.nib; filldraw stroke z0e--z7e; % stem + dish_serif(0,7,a,1/3,max(sc_jut,2.25u),b,1/3,1.25u); % serif + math_fit(-.3x_height#*slant-.5u#,ic#); +else: beginchar(oct"345",12u#,x_height#,0); + italcorr x_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(sc_curve,180); pos4(slab,270); pos5(flare,270); + rt x1r=hround(w-1.35u); x2=x4=.5w+u; + lft x3r=hround max(u,2u-.5sc_curve); rt x5l=hround(w-1.2u); + top y1r=vround .93h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .07h-o; + filldraw stroke rterm.e(2,1,right,.9,4)&super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,1,4); % arc and terminals + pos0(stem,0); pos7(stem,0); + z7r=z5r; x0=x7; top y0=1+vround .35[.632bar_height,.626x_height]; + filldraw stroke z0e--z7e; % stem + pos8(sc_bar,90); pos9(sc_bar,90); + z0r=z9r; y8=y9; lft x8=hround x4; + filldraw stroke z8e--z9e; % bar + math_fit(-.3x_height#*slant-.5u#,.5ic#); fi +penlabels(0,1,1',2,3,4,5,6,7,8,9); endchar; + +cmchar "Small capital N"; +beginchar(oct"360",13u#+width_adj#,x_height#,0); +italcorr x_height#*slant-cap_serif_fit#+sc_jut#-2.5u#+min(.5sc_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric thin_stem; thin_stem=hround(fudged.hair+stem_corr); +pickup tiny.nib; pos1(thin_stem,0); pos2(thin_stem,0); +pos3(thin_stem,0); pos4(thin_stem,0); +pickup tiny.nib; top y1=top y3=h; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround min(w-2u,w-3u+.5fudged.sc_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if hefty: penpos5(fudged.sc_stem,0); penpos6(fudged.sc_stem,0); + x5l=x1; x6r=x4; y5=h; y6=0; + numeric upper_notch,lower_notch; + upper_notch=h-cap_notch_cut; lower_notch=cap_notch_cut; + x1'=rt x1r; z1'=whatever[z5l,z6l]; x4'=lft x4l; z4'=whatever[z5r,z6r]; + fill z5l.. + if y1'<upper_notch: {right}(x1'+1,upper_notch){down}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y4'>lower_notch: {left}(x4'-1,lower_notch){up}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,0); penpos6(whatever,90); + z5l=z1l; z6l=z4l; + z7=z6l+(max(eps,sc_stem-3stem_corr-tiny),0) rotated (angle(z5l-z6l)-90); + z5r=z7+whatever*(z5l-z6l); z6r=z7+whatever*(z5l-z6l); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: if hefty: serif(1,2,a,1/3,-sc_jut); % upper left serif + else: serif(5,6,a,1/3,-sc_jut); fi % upper left serif + dish_serif(2,1,b,1/2,sc_jut,c,1/2,sc_jut)(dark); % lower left serif + dish_serif(3,4,e,1/2,sc_jut,f,1/2,sc_jut)(dark); fi % upper right serif +math_fit(0,max(.5ic#-.5u#,0)); penlabels(1,1',2,3,4,4',5,6,7); endchar; + +cmchar "Small capital R"; +beginchar(oct"366",if serifs: 12u#+.5max(2u#,sc_curve#) + else:12.5u#-.5width_adj# fi,x_height#,0); +italcorr .75x_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(sc_stem',0); pos2(sc_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5sc_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(sc_band,90); penpos4(sc_band,90); +penpos5(sc_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-.125sc_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(sc_stem,180); + pos8(sc_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5sc_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 + nodish_serif(1,2,a,1/3,sc_jut,b,1/3,.5sc_jut); % upper serif + dish_serif(2,1,c,1/3,sc_jut,d,1/3,sc_jut); % lower serif +else: penpos8(sc_stem-2stem_corr,0); penpos9(sc_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#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Hooktop small capital G"; +if serifs: beginchar(oct"311",14u#,x_height#,0); + italcorr .9asc_height#*slant-.5cap_serif_fit#+2u#; + adjust_fit(0,.5cap_serif_fit#+.5u#); + pickup tiny.nib; pos0(sc_stem,0); pos7(sc_stem,0); + rt x0r=hround(w-2u); y0=good.y(.1[.632bar_height,.626x_height]+1); x7=x0; + pickup fine.nib; + if hefty: bot y7=0; pos5(sc_stem,0); x5=x0; top y5=tiny.top y0; + else: pos5(sc_hair,0); pos8(sc_stem,0); + y7=.316bar_height; z5l=z8l; z8=z7; x9=x8r; bot y9=0; + filldraw z8l{down}..{4(x9-x8),y9-y8}z9--z8r--cycle; fi % spur + pos1(sc_hair,0); pos2(sc_band,90); + pos3(sc_curve,180); pos4(sc_band,270); + rt x1r=hround(w-2u); lft x3r=hround u; x2=x4=.55[x3,x1]; + top y2r=h+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6h,.626x_height-.5vair),bot y2l-eps); + (x2l',y2l)=whatever[z2r,z1l]; x2l:=min(x2l',x2l+.5u); + (x4l',y4l)=whatever[z4r,z5l]; x4l:=min(x4l',x4l+.5u); + filldraw stroke z1e{x2-x1,10(y2-y1)} + ...pulled_arc.e(2,3) & pulled_arc.e(3,4)...z5e{up}; % arc + pos6(.3[fine.breadth,sc_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2sc_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x2-x1,10(y2-y1)}..z2{left}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb + pickup tiny.nib; filldraw stroke z0e--z7e; % stem + dish_serif(0,7,a,1/3,max(sc_jut,2.25u),b,1/3,1.25u); % serif + math_fit(-.3x_height#*slant-.5u#,ic#); + pos10(hair,0); y10=y1; rt x10r=rt x1r; + hooktop(10,11,12,13,hair,hround(w+2.5u),.9asc_height+.5vair,.9,.55,.6); +else: beginchar(oct"311",12u#,x_height#,0); + italcorr x_height#*slant-.5u#+2u#; + adjust_fit(0,.5u#); + pickup fine.nib; pos1(1.2flare,30); pos2(slab,90); + pos3(sc_curve,180); pos4(slab,270); pos5(flare,270); + rt x1r=hround(w-1.2u); x2=x4=.5w+u; + lft x3r=hround max(u,2u-.5sc_curve); rt x5l=hround(w-1.2u); + top y1r=vround .83h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .07h-o; + filldraw stroke rterm.e(2,1,right,.9,4)&super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,1,4); % arc and terminals + pos0(stem,0); pos7(stem,0); + z7r=z5r; x0=x7; top y0=1+vround .35[.632bar_height,.626x_height]; + filldraw stroke z0e--z7e; % stem + pos8(sc_bar,90); pos9(sc_bar,90); + z0r=z9r; y8=y9; lft x8=hround x4; + filldraw stroke z8e--z9e; % bar + math_fit(-.3x_height#*slant-.5u#,.5ic#); + pos10(vair,0); y10=y1r; rt x10r=rt x1r; + hooktop(10,11,12,13,vair,hround(w+2.5u),.9asc_height+.5vair,.9,.5,.5); fi +penlabels(0,1,1',2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "Small capital H"; +beginchar(oct"313",13u#+width_adj#,x_height#,0); +italcorr x_height#*slant-cap_serif_fit#+sc_jut#-2.5u#+min(.5sc_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +pos3(sc_stem,0); pos4(sc_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5sc_stem); x3=x4=w-x1; +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(sc_bar,90); penpos6(sc_bar,90); +x5=x1; x6=x3; y5=y6=.52h; +fill stroke z5e--z6e; % bar +if serifs: numeric inner_jut; + if rt x1r+sc_jut+.5u+1<=lft x3l-sc_jut: inner_jut=sc_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,sc_jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,sc_jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,sc_jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,sc_jut); fi % lower left serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "Small capital L"; +beginchar(oct"317",11u#-width_adj#,x_height#,0); +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5sc_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,-90); pos4(hair,0); +bot y3r=0; x3=x2; y4=y3l+beak+eps; rt x4r=hround(w-.75u); +arm(3,4,e,1.2beak_darkness,beak_jut); % lower arm and beak +if serifs: dish_serif(1,2,a,1/3,sc_jut,b,1/3,1.25sc_jut); % upper serif + nodish_serif(2,1,c,1/3,sc_jut,d,1/3,.5sc_jut); fi % lower serif +math_fit(0,u#); penlabels(1,2,3,4); endchar; + +cmchar "Small capital U"; +beginchar(oct"332",13u#+.5width_adj#,x_height#,0); +italcorr x_height#*slant-cap_serif_fit#+sc_jut#-2.5u#+min(.5sc_stem#,u#); +if monospace: adjust_fit(cap_serif_fit#-.5u#,cap_serif_fit#-.5u#) +else: adjust_fit(cap_serif_fit#,cap_serif_fit#) fi; +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +pos2'(sc_stem,180); z2'=z2; +pos3(sc_band,-90); +pos4(sc_hair,0); pos5(sc_hair,0); +x1=x2; x3=.5[x1,x5]; x4=x5; x1l=w-x5r; +top y1=top y5=h; y2=y4=1/3h; bot y3r=-o; +lft x1l=hround max(2u,3u-.5sc_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke pulled_arc.e(2',3) + & pulled_arc.e(3,4)&z4e--z5e; % arc and right stem +if serifs: dish_serif(1,2,a,1/3,sc_jut,b,1/3,sc_jut); % left serif + dish_serif(5,4,c,1/2,sc_jut,d,1/2,sc_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3x_height#*slant-min(x_height#*slant,u#), + max(.5ic#-.5u#,0)); penlabels(1,2,3,4,5); endchar; + +cmchar "Small capital E"; +beginchar(oct"244",12u#-width_adj#,x_height#,0); +italcorr x_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(sc_stem,0); pos2(sc_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5sc_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-.8beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(sc_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5sc_bar); x5=x1; +pos0(sc_bar,90); pos7(hair,0); +z0=z5; x6=x7; y6-y5l=y0l-y7; +if serifs: rt x6r=hround(w-4.4u+.5hair); y6=good.y(y5l+.5beak)+eps; + rt x9r=hround(w-.5u); +else: rt x6r=hround(w-1.5u); y6=y5l+eps; rt x9r=hround(w-.75u); fi +arm(5,6,f,beak_darkness,0); arm(0,7,g,beak_darkness,0); % middle arm and serif +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+.9beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,sc_jut,b,1/3,.5sc_jut); % upper serif + nodish_serif(2,1,c,1/3,sc_jut,d,1/3,.5sc_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Small capital J"; +beginchar(oct"250",9u#,x_height#,0); +italcorr x_height#*slant-cap_serif_fit# + +.75sc_jut#-2.5u#+min(.5sc_stem#,u#); +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; pos1(sc_stem',0); pos2(sc_stem',0); +top y1=h; rt x1r=hround(w-2u); x2=x1; y2=.21h; +if serifs: pos3(vair,-90); pos4(sc_hair,-180); + pos5(flare+(sc_stem-stem),-180); + bot y3r=-o; x3=.5[x4,x2]; y5=1/6h; rt x5l=hround 2.75u; z5r=z4r; + filldraw stroke z1e--z2e&super_arc.e(2,3); % stem and arc + dish_serif(1,2,a,1/3,1.3sc_jut,b,1/3,.75sc_jut); % serif + pickup tiny.nib; bulb(3,4,5); % bulb +else: filldraw stroke z1e--z2e; % stem + pickup fine.nib; pos3(sc_stem',0); z3=z2; + pos4(flare,angle(6.5u,-h)); pos5(1.1flare,-100); + bot y4r=-o; x4r=.5[x5r,x3r]; lft x5r=hround.75u; bot y5r=vround.06h-o; + filldraw stroke z3e{down}....term.e(4,5,left,1,4); fi % arc and terminal +math_fit(0,.5ic#-.5u#); penlabels(1,2,3,4,5); endchar; + +cmchar "Small capital omega"; +beginchar(oct"261",13u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(vair,90); pos2(sc_curve,180); +pos3(vair,180); pos4(sc_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,cap_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+.5beak)+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#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +% end of tipasc.mf diff --git a/fonts/tipa/tipa/mf/tipasi10.mf b/fonts/tipa/tipa/mf/tipasi10.mf new file mode 100644 index 0000000000..1b36f0ef57 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasi10.mf @@ -0,0 +1,92 @@ +% tipasi10.mf: TIPA Sans Serif Slanted 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASI"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=250/36pt#; +fig_height#:=236/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=45/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=28/36pt#; +stem#:=28/36pt#; +curve#:=28/36pt#; +ess#:=28/36pt#; +flare#:=25/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=28/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=23/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=sind 12/cosd 12; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipasl10.mf b/fonts/tipa/tipa/mf/tipasl10.mf new file mode 100644 index 0000000000..92cc2804b7 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasl10.mf @@ -0,0 +1,92 @@ +% tipasl10.mf: TIPA Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASL"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=246/36pt#; +fig_height#:=232/36pt#; +x_height#:=155/36pt#; +math_axis#:=90/36pt#; +bar_height#:=87/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=25/36pt#; +curve#:=30/36pt#; +ess#:=27/36pt#; +flare#:=33/36pt#; +dot_size#:=38/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=37/36pt#; +cap_ess#:=35/36pt#; +rule_thickness#:=.4pt#; +dish#:=1/36pt#; +bracket#:=20/36pt#; +jut#:=28/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=8/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=11/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=4/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=8/36pt#; +apex_o#:=8/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipasl12.mf b/fonts/tipa/tipa/mf/tipasl12.mf new file mode 100644 index 0000000000..359b3c99ef --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasl12.mf @@ -0,0 +1,92 @@ +% tipasl12.mf: TIPA Slanted Roman 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASL"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5.8/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=295.2/36pt#; +fig_height#:=278.4/36pt#; +x_height#:=186/36pt#; +math_axis#:=108/36pt#; +bar_height#:=104.4/36pt#; +comma_depth#:=84/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7.5/36pt#; +hair#:=9.5/36pt#; +stem#:=28/36pt#; +curve#:=33/36pt#; +ess#:=30/36pt#; +flare#:=36/36pt#; +dot_size#:=42/36pt#; +cap_hair#:=11.5/36pt#; +cap_stem#:=35/36pt#; +cap_curve#:=40/36pt#; +cap_ess#:=38/36pt#; +rule_thickness#:=.44pt#; +dish#:=1/36pt#; +bracket#:=24/36pt#; +jut#:=33/36pt#; +cap_jut#:=41/36pt#; +beak_jut#:=11.4/36pt#; +beak#:=84/36pt#; +vair#:=8.5/36pt#; +notch_cut#:=12pt#; +bar#:=12.5/36pt#; +slab#:=12.5/36pt#; +cap_bar#:=12.5/36pt#; +cap_band#:=12.5/36pt#; +cap_notch_cut#:=12pt#; +serif_drop#:=4.8/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=9/36pt#; +apex_o#:=9/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=-0.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.45/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipasl8.mf b/fonts/tipa/tipa/mf/tipasl8.mf new file mode 100644 index 0000000000..5ed37ef905 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasl8.mf @@ -0,0 +1,92 @@ +% tipasl8.mf: TIPA Slanted Roman 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASL"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.1/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=196.8/36pt#; +fig_height#:=185.6/36pt#; +x_height#:=124/36pt#; +math_axis#:=72/36pt#; +bar_height#:=69.6/36pt#; +comma_depth#:=56/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=22/36pt#; +curve#:=25.5/36pt#; +ess#:=23/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=9.5/36pt#; +cap_stem#:=26.5/36pt#; +cap_curve#:=30/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.36pt#; +dish#:=1/36pt#; +bracket#:=16/36pt#; +jut#:=22/36pt#; +cap_jut#:=29/36pt#; +beak_jut#:=8.4/36pt#; +beak#:=56/36pt#; +vair#:=8/36pt#; +notch_cut#:=8pt#; +bar#:=9.5/36pt#; +slab#:=9.5/36pt#; +cap_bar#:=9.5/36pt#; +cap_band#:=9.5/36pt#; +cap_notch_cut#:=8pt#; +serif_drop#:=3.2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.4; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipasl9.mf b/fonts/tipa/tipa/mf/tipasl9.mf new file mode 100644 index 0000000000..fc0d51ece4 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasl9.mf @@ -0,0 +1,92 @@ +% tipasl9.mf: TIPA Slanted Roman 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASL"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.6/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=221.4/36pt#; +fig_height#:=208.8/36pt#; +x_height#:=139.5/36pt#; +math_axis#:=81/36pt#; +bar_height#:=78.3/36pt#; +comma_depth#:=63/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=24/36pt#; +curve#:=28/36pt#; +ess#:=25/36pt#; +flare#:=30/36pt#; +dot_size#:=35/36pt#; +cap_hair#:=10/36pt#; +cap_stem#:=29/36pt#; +cap_curve#:=33/36pt#; +cap_ess#:=31/36pt#; +rule_thickness#:=.38pt#; +dish#:=1/36pt#; +bracket#:=18/36pt#; +jut#:=25/36pt#; +cap_jut#:=33/36pt#; +beak_jut#:=9.2/36pt#; +beak#:=63/36pt#; +vair#:=8/36pt#; +notch_cut#:=9pt#; +bar#:=10/36pt#; +slab#:=10/36pt#; +cap_bar#:=10/36pt#; +cap_band#:=10/36pt#; +cap_notch_cut#:=9pt#; +serif_drop#:=3.6/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=7/36pt#; +apex_o#:=7/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12.95/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipass10.mf b/fonts/tipa/tipa/mf/tipass10.mf new file mode 100644 index 0000000000..1149ecc8cf --- /dev/null +++ b/fonts/tipa/tipa/mf/tipass10.mf @@ -0,0 +1,92 @@ +% tipass10.mf: TIPA Sans Serif 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASS"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=250/36pt#; +fig_height#:=236/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=45/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=28/36pt#; +stem#:=28/36pt#; +curve#:=28/36pt#; +ess#:=28/36pt#; +flare#:=25/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=28/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=23/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipass12.mf b/fonts/tipa/tipa/mf/tipass12.mf new file mode 100644 index 0000000000..5277cc8f39 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipass12.mf @@ -0,0 +1,92 @@ +% tipass12.mf: TIPA Sans Serif 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASS"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23.5/36pt#; +width_adj#:=17/36pt#; +serif_fit#:=-9/36pt#; +cap_serif_fit#:=-13/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=300/36pt#; +fig_height#:=283/36pt#; +x_height#:=192/36pt#; +math_axis#:=108/36pt#; +bar_height#:=97/36pt#; +comma_depth#:=54/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=20/36pt#; +hair#:=33/36pt#; +stem#:=33/36pt#; +curve#:=33/36pt#; +ess#:=33/36pt#; +flare#:=30/36pt#; +dot_size#:=35/36pt#; +cap_hair#:=33/36pt#; +cap_stem#:=37/36pt#; +cap_curve#:=37/36pt#; +cap_ess#:=37/36pt#; +rule_thickness#:=.44pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.6/36pt#; +vair#:=26/36pt#; +notch_cut#:=22/36pt#; +bar#:=25/36pt#; +slab#:=27/36pt#; +cap_bar#:=26/36pt#; +cap_band#:=24/36pt#; +cap_notch_cut#:=31/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=6/36pt#; +o#:=9/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.98; +math_spread:=-0.2; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.45/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipass17.mf b/fonts/tipa/tipa/mf/tipass17.mf new file mode 100644 index 0000000000..1ec586c2c4 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipass17.mf @@ -0,0 +1,92 @@ +% tipass17.mf: TIPA Sans Serif 17.28 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASS"; font_size 17.28pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=32.5/36pt#; +width_adj#:=24/36pt#; +serif_fit#:=-12/36pt#; +cap_serif_fit#:=-17/36pt#; +letter_fit#:=0pt#; +body_height#:=466/36pt#; +asc_height#:=432/36pt#; +cap_height#:=432/36pt#; +fig_height#:=408/36pt#; +x_height#:=267.8/36pt#; +math_axis#:=155.5/36pt#; +bar_height#:=136/36pt#; +comma_depth#:=78/36pt#; +desc_depth#:=121/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=28/36pt#; +hair#:=47/36pt#; +stem#:=47/36pt#; +curve#:=47/36pt#; +ess#:=47/36pt#; +flare#:=42/36pt#; +dot_size#:=50/36pt#; +cap_hair#:=47/36pt#; +cap_stem#:=52/36pt#; +cap_curve#:=52/36pt#; +cap_ess#:=52/36pt#; +rule_thickness#:=.6pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.8/36pt#; +vair#:=38/36pt#; +notch_cut#:=32/36pt#; +bar#:=36/36pt#; +slab#:=40/36pt#; +cap_bar#:=38/36pt#; +cap_band#:=35/36pt#; +cap_notch_cut#:=46/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=7/36pt#; +o#:=10/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=1; +math_spread:=-0.4; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=22.75/36pt#; +sc.letter_fit#:=2.2/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipass8.mf b/fonts/tipa/tipa/mf/tipass8.mf new file mode 100644 index 0000000000..223b2156a8 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipass8.mf @@ -0,0 +1,92 @@ +% tipass8.mf: TIPA Sans Serif 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASS"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=12/36pt#; +serif_fit#:=-6/36pt#; +cap_serif_fit#:=-8.5/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=200/36pt#; +fig_height#:=189/36pt#; +x_height#:=128/36pt#; +math_axis#:=72/36pt#; +bar_height#:=63/36pt#; +comma_depth#:=37/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=15/36pt#; +hair#:=25/36pt#; +stem#:=25/36pt#; +curve#:=25/36pt#; +ess#:=25/36pt#; +flare#:=22/36pt#; +dot_size#:=26/36pt#; +cap_hair#:=25/36pt#; +cap_stem#:=29/36pt#; +cap_curve#:=29/36pt#; +cap_ess#:=28/36pt#; +rule_thickness#:=.36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.4/36pt#; +vair#:=19/36pt#; +notch_cut#:=16/36pt#; +bar#:=18/36pt#; +slab#:=20/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=22/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.93; +math_spread:=.4; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipass9.mf b/fonts/tipa/tipa/mf/tipass9.mf new file mode 100644 index 0000000000..4e71ab3726 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipass9.mf @@ -0,0 +1,92 @@ +% tipass9.mf: TIPA Sans Serif 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPASS"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.5/36pt#; +width_adj#:=13/36pt#; +serif_fit#:=-6.5/36pt#; +cap_serif_fit#:=-9/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=225/36pt#; +fig_height#:=212/36pt#; +x_height#:=144/36pt#; +math_axis#:=81/36pt#; +bar_height#:=71/36pt#; +comma_depth#:=41/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=16/36pt#; +hair#:=27/36pt#; +stem#:=27/36pt#; +curve#:=27/36pt#; +ess#:=27/36pt#; +flare#:=24/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=27/36pt#; +cap_stem#:=31/36pt#; +cap_curve#:=31/36pt#; +cap_ess#:=31/36pt#; +rule_thickness#:=.38pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=21/36pt#; +notch_cut#:=17/36pt#; +bar#:=20/36pt#; +slab#:=22/36pt#; +cap_bar#:=21/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=24/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=4.5/36pt#; +o#:=7/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.95; +math_spread:=.2; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12.95/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipasym1.mf b/fonts/tipa/tipa/mf/tipasym1.mf new file mode 100644 index 0000000000..0fd8d76965 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasym1.mf @@ -0,0 +1,922 @@ +% tipasym1.mf: TIPA phonetic symbols (1) +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +cmchar "Barred U"; +beginchar("0",10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+.5stem#-1.5u#; +if serifs: adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +else: adjust_fit(serif_fit#+stem_shift#+.5u#,serif_fit#-stem_shift#+.5u#); fi +numeric light_vair; light_vair=vair if hefty: -vround 2vair_corr fi; +if light_vair<fine.breadth: light_vair:=fine.breadth; fi +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem',0); +lft x1l=hround(side_gap-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=h if Times_Compat: else: +min(oo,serif_drop) fi; + bot y4=-min(oo,serif_drop); +else: top y1=h; bot y4=0; fi +pos0(stem,0); pos0'(stem',0); x0=x3; x0'=x4; y0=y0'; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.5bar_height; +penpos5(max(eps,light_vair-fine),-90); penpos6(thin_join-fine,0); +y6=y0=2/3bar_height; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e..z0e--z0'e..z4e; % right stem +pickup fine.nib; bot y5r=-oo; x5l=.5w-.25u; lft x6l=tiny.lft x0l; +(x,y5r)=whatever[z5l,z6l]; x5r:=max(x,.5[x5,x2'r]); +filldraw stroke {{interim superness:=hein_super; + pulled_arc.e(2',5)}} & z5e{right}...{up}z6e; % arc +if serifs: numeric upper_serif_drop, lower_serif_drop; + if Times_Compat: upper_serif_drop=0; lower_serif_drop=serif_drop; + else: upper_serif_drop=serif_drop; lower_serif_drop=min(oo,serif_drop); fi + sloped_serif.l(1,2,a,1/3,jut,upper_serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,upper_serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,lower_serif_drop); fi % lower right serif +hbar(7,8,lft x1l - hround(1.5u),rt x3r + hround(1.5u),.58x_height); +penlabels(1,2,3,4,5); labels(6); endchar; + +cmchar "Barred I"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar("1",CT(5u#,5.56u#),min(asc_height#,10/7x_height#+.5dot_diam#),0); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit# + .5dot_diam# -2u#; +if serifs: adjust_fit(serif_fit#+stem_shift#+.3u# if monospace:+.25u#fi, + serif_fit#-stem_shift#+.3u#); +else: adjust_fit(serif_fit#+stem_shift#+.8u# if monospace:+.25u#fi, + serif_fit#-stem_shift#+.8u#); fi +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +pos3(dot_diam,0); pos4(dot_diam,90); +if serifs: x3r=max(x1r,hround(x1+.5dot_diam-.2jut)-.5tiny) +else: x3=x1-.5 fi; +top y4r=h+1; +if bot y4l-top y1<slab: y4l:=min(y4r-eps,y1+tiny+slab); fi +x3=x4; y3=.5[y4l,y4r]; dot(3,4); % dot +if serifs: sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +hbar(5,6,lft x1l - hround(1.8u),rt x1r + hround(1.8u),.58x_height); +penlabels(1,2,3,4); endchar; + +cmchar "Turned V"; +beginchar("2",CT(if serifs: 9.5u# else:9u# fi,10u#),x_height#,0); +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=fudged.stem-stem_corr; +left_stem=min(fudged.hair if hefty:-2stem_corr fi,right_stem); +outer_jut=.75jut; +x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4=0; +x2-x1=x4-x3; x2r+apex_corr=x3r; y2=y3=h+apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,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<h-notch_cut: y0:=h-notch_cut; + fill z0+.5right{down}...{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} + ...{up}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)(dark); % left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut); fi % right serif +penlabels(0,1,2,3,4); endchar; + +cmchar "Reversed epsilon"; +beginchar("3",CT(8.5u#,8.88u#),x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +epsilon_stroke(true,3.5u); +if serifs: numeric bulb_diam; + bulb_diam=max(flare-.75(cap_stem-stem),stem); + pos0(bulb_diam,180); pos1(hair,180); + lft x0r=hround u; y0=min(.9h-.5bulb_diam,.75h+.5bulb_diam); + bulb(2,1,0); % upper bulb + pos9(bot_thickness,angle(-2u,-h)); +else: pos1(.47[vair',flare],100); lft x1r = 1u; top y1r = .9h; + filldraw stroke term.e(2,1,left,1,4); + pos9(.6[vair',flare],-100); fi +lft x9r=hround .75u; top y9=vround .25h-o; +y9r:=good.y y9r-eps; x9l:=good.x x9l; +filldraw stroke term.e(8,9,left,1,4); % lower terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Turned H"; +beginchar("4",10u#,x_height#,desc_depth#); +italcorr x_height#*slant+serif_fit#; +adjust_fit(serif_fit#-stem_shift#,serif_fit#+stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +rt x1r=hround(w-(2.5u-.5stem)); x1r=x1'r=x2r=x2'r; x3=w-x1; +bot y1=-d-min(oo,serif_drop); top y2=h; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +turned_h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.r(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if lft x2l-jut-.5u-1>=rt x4r+jut: inner_jut=jut; + else: lft x2l-jut-.5u-1=rt x4r+inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +penlabels(1,2,3,4); endchar; + +cmchar "Turned A"; +beginchar("5",CT(9u#,8.88u#),x_height#,0); +if Times_Compat: bh#:=.6x_height#; +else: bh#:=min(bar_height#,1.14x_height#-bar_height#); fi +define_pixels(bh); +italcorr .8x_height#*slant+.5stem#-1u#; +adjust_fit(serif_fit# if serifs: if hair#+.5stem#>1.5u#:-.25u# fi\\fi,0); +pickup fine.nib; bot y3r=-vround 1.5oo; +if serifs: pos1(flare,0); pos2(hair,0); pos3(vair,-90); + rt x1r=hround(w-max(u,if Times_Compat:1.5u else:2.1u fi-.5flare)); + x3=.5w if Times_Compat:+.25u else:+.5u fi; + y1=h-(min(bh+.5flare+2vair+2,.9[bh,h]-.5flare)); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],-85); x1l=good.x(w-1.5u); x1r:=good.x x1r; + pos3(1/8[vair,thin_join],-90); + x3=.5w+.2u; bot y1r=vround(.18[bot y3r,h-bh]); + filldraw stroke term.e(3,1,right,.9,4); fi % terminal +pos4(stem,180); lft x4r=hround(side_gap-.5stem); +y4=h-if Times_Compat: .5 else: 1/3 fi[bh,h]; +pos5(stem,180); x5=x4; +y5=h-if Times_Compat: max(.45bh,2vair) else: max(.55bh,2vair) fi; +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],-90); x6=x4; top y6=h-if Times_Compat: 1.1 fi bh; +pos7(hround(curve-2stem_corr),if Times_Compat: 20 else: 0 fi); +rt x7r=hround(w-max(.5u,1.5u-.5curve)); +if Times_Compat: y7=.3[bot y8l,bot y6r]; pos8(.6[vair,flare],30); x8l=.5w+1u; +else: y7=1/3[bot y8l,bot y6r]; pos8(vair,90); x8l=.5w+.75u; fi +pos9(thin_join,180); z9l=z5l; top y8r=h+oo; +(x,y8r)=whatever[z8l,z9l]; x8r:=min(x,x8+u); +{{interim superness:=more_super; + filldraw stroke z9e{up}...z8e{right}...{down}z7e & + if Times_Compat: z7e{down}...{(-35,-10)}z6e + else: super_arc.e(7,6)fi}}; % bowl +if serifs: numeric shaved_stem; shaved_stem=hround(stem-3stem_corr); + if hair#+.5stem#>1.5u#: pickup tiny.nib; + pos5'(shaved_stem,180); lft x5'r=fine.lft x5r; y5'=y5; + pos10(shaved_stem,180); x10=x5'; y10=h-.2[.5tiny,bh]; + pos11(shaved_stem,180); lft x11r=hround .25u; top y11=h; + pos12(shaved_stem,180); x11=x12; bot y12=h-(slab+eps); + filldraw z5'l---z10l...z11l{left}--z11r + --z12r{right}...z10r-.75(z12-z11)---z5'r--cycle; % foot + else: pickup crisp.nib; pos5'(shaved_stem,180); lft x5'r=fine.lft x5r; y5'=y5; + pos10(shaved_stem,180); x10=x5'; y10=h-1/3bh; + pos11(.2[vair,stem],-90); x11r=.5[x10r,x12r]; top y11l=h+vround .5oo; + pos12(hair,0); lft x12l=hround(.1u); y12=min(y10,y11-vair); + pos13(hair,0); x13=x12; bot y13=min(vround(h-.6bh),bot y12); + (x',y11l)=whatever[z11r,z12r]; x11l:=min(x',x10); + if Times_Compat: y13l:=.05[y12l,y13l]; y13r:=y13l; fi + filldraw stroke z5'e---z10e...z11e{left}...z12e---z13e; fi % hook +else: numeric shaved_stem; shaved_stem=hround(stem-stem_corr); + pickup tiny.nib; pos5'(shaved_stem,180); lft x5'r=fine.lft x5r; y5'=y5; + pos10(shaved_stem,180); x10=x5'; top y10=h; + filldraw stroke z5'e--z10e; fi % base of stem +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "Turned script A"; +beginchar("6",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(side_gap-.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 "Ram's horns"; +beginchar("7",CT(9.5u#,10u#),x_height#,0); +italcorr x_height#*slant+.5hair#-.5u#; +adjust_fit(0,0); pickup fine.nib; +if serifs: pos1(hair,0); pos9(hair,180); +else: pos1(fudged.stem,-10); pos9(fudged.stem,190); fi +pos2(vair,-90); pos5(vair,90); pos8(vair,-90); +lft x1l=w-rt x9l=hround(.5u-.25hair); y1=y9=.9h-.5hair; x5=.5w; bot y5l=-o; +x2=w-x8=x1+1u+.15hair; top y2l=top y8l=h+o; +if serifs: pos4(stem,180); pos6(hair,0); pos3(stem,180);pos7(hair,0); +else: pos4(fudged.stem,180); pos6(fudged.hair,0); + pos3(fudged.stem,180);pos7(fudged.hair,0); fi +rt x4l=hround(x5+1u+.5stem); lft x6l=hround(x5-1u-.5hair); +y4=y6=.25h+.5max(vair,.5stem); +rt x3l=lft x7l=.5w+.5(.5stem-.5hair); +y3=y7=.55h+1.5max(vair,.5stem); +filldraw stroke z3e--z4e{z4-z3}...{left}z5e...{z7-z6}z6e--z7e; +filldraw stroke z1e{up}..z2e...{z4-z3}z3e; +filldraw stroke z7e{z7-z6}...z8e..{down}z9e; +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Barred O"; +beginchar("8",CT(9u#,10u#),x_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=h+vround 1.5oo; y3r=-oo; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +hbar(5,6,x2,x4,.5x_height+.5bar); +penlabels(1,2,3,4); endchar; + +cmchar "Reversed E"; +beginchar("9",CT(7.25u#+max(.75u#,.5curve#),8.88u#),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_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,180); +pos2(vair,90); pos3(left_curve,0); +y1=good.y bar_height; top y2r=h+vround 1.5oo; y0l=bot y1; +lft x1r=hround max(.5u,u-.5right_curve); +rt x3r=hround min(w-.5u,w-(1.25u-.5left_curve)); x2=.5w-.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2-.25u; +if serifs: pos4(vair',-90); pos5(hair,-180); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=max(x,x4l-.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,-90); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,-90); z4=z4'; + pos5(.5[vair,flare],-95); lft x5r=hround(.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,left,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(w,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "Schwa"; +beginchar("@",CT(7.25u#+max(.75u#,.5curve#),8.88u#),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_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,180); +pos2(vair,-90); pos3(left_curve,0); +y1=good.y (h-bar_height); bot y2r=-vround 1.5oo; y0l=top y1; +lft x1r=hround min(.5u,u-.5right_curve); +rt x3r=hround max(w-.5u,w-1.25u+.5left_curve); x2=.5w-.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; top y4r=h+oo; x4=x2-.25u; +if serifs: pos4(vair',90); pos5(hair,180); + y5=min(good.y(h-(.5bar_height-.9)),y4l-vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=max(x,x4l-.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,90); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,90); z4=z4'; + pos5(.5[vair,flare],95); lft x5r=hround(.6u); + y5r=good.y(h-(-y5r+1/3bar_height+y5)); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,left,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l-.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((w,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,1',2,3,4,5); endchar; + +cmchar "Script A"; +beginchar("A",10u#+serif_fit#,x_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2.5u#; +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-side_gap+.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 z0'e--z0e--z2e; % stem +pickup crisp.nib; +pos8(hround(hair-stem_corr),0); pos7'(stem',0); +z7'=z0'; x8r=x7'r; top y8=h+oo; +filldraw stroke z7'e--z8e; +if serifs: sloped_serif.r(2,0,b,1/3,jut,serif_drop); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Beta"; +beginchar("B",CT(9.0u#,9.5u#),asc_height#,desc_depth#); +italcorr .5[x_height#,asc_height#]*slant-u#; +adjust_fit(serif_fit#+.5u#,0); pickup tiny.nib; +pos0(stem,180); pos1(stem,180); pos2(vair,90); +pos3(stem,0); pos4(vair,-90); pos5(vair,90); +pos6(vair,-270); pos7(curve,-360); pos8(vair,-450); +if serifs: if monospace: pos9(stem,-540); else: pos9(1.25hair,-540); fi +else: pos9(stem,-540); fi +pos0'(stem,0); pos1'(stem,0); z0'=z0; z1'=z1; +x0=x1=x9; lft x0r=hround u; x4=x6=x8=.5w+.5u-.25curve; x2=.5w; +rt x3r=hround(w-1.5u); rt x7r=hround(w-1.5u+.5curve); +lft x5r=min(hround(rt x1l+1.2u),hround(x2-.3curve)); +bot y0'=-d; top y4l=vround(.56asc_height+.5vair); +top y2r=h+oo; y1+o=y3=.5[y2,y4]; +y5=.5[y4,y6]; y4l=y6r; bot y8=-oo; y7=y9=.5[y6,y8]; +pos4'(vair,-90); pos6'(vair,-270); z4'=z6'=z5; +filldraw stroke z0e---z1e...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{left}z4'e; % stem and upper bowl +filldraw stroke z6'e{right}...pulled_arc.e(6,7) + & pulled_arc.e(7,8)...{up}z9e; % lower bowl +if serifs: dish_serif(0',1',a,1/3,jut,b,1/3,jut); fi +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Curly-tail C"; +beginchar("C",CT(8u#,8.88u#),x_height#,desc_depth#); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +numeric BH; BH=if Times_Compat:.5613h else: bar_height 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(BH+.5flare+2vair'+2,.9[BH,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(.92w); y5=.16h+.5vair; + (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..{up}z5e; % arc and lower terminal +else: pos1(4/7[vair',flare],80); + rt x1r=hround(w-.6u); top y1r=vround .82[BH,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + pos5(.6[vair',flare],0); x5r=hround(w-.4u); + y5=.16h+.5vair; + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & z4e{right}...{up}z5e; fi +pos6(vair,100); x6l=.3[x4,x5]; y6=.3h+.5vair; +pos8(vair,180); x8=u; bot y8=-.75d; +pos7(vair,160); x7=.65[x3r,x4r]; y7=.4[y4,y6]; +filldraw stroke z5e{up}...{(-8,-1)}z6e...{z8-z7}z7e...{(-1,-2)}z8e; +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Eth"; +beginchar("D",CT(9u#,10u#),asc_height#,0); +italcorr asc_height#*slant-.5u#; +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=if serifs:else:.95 fi x_height; y3r=-oo; +y2=y4=.5y1r-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 +if serifs and (not monospace): penpos5(hair/(sind 45),45); +else: penpos5(vair,80); fi +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 "Epsilon"; +beginchar("E",CT(8.5u#,8.88u#),x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +epsilon_stroke(false,3.5u); +if serifs: numeric bulb_diam; + bulb_diam=max(flare-.75(cap_stem-stem),stem); + pos0(bulb_diam,0); pos1(hair,0); + rt x0r=hround (w-u); y0=min(.9h-.5bulb_diam,.75h+.5bulb_diam); + bulb(2,1,0); % upper bulb + pos9(bot_thickness,angle(2u,-h)); +else: pos1(.47[vair',flare],80); rt x1r = w-1u; top y1r = .9h; + filldraw stroke term.e(2,1,right,1,4); + pos9(.6[vair',flare],-80); fi +rt x9r=hround (w-.75u); top y9=vround .25h-o; +y9r:=good.y y9r-eps; x9l:=good.x x9l; +filldraw stroke term.e(8,9,right,1,4); % lower terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Phi"; +beginchar("F",11u#,asc_height#,desc_depth#); +italcorr .7x_height#*slant+.5curve#-1.25u#; +adjust_fit(0,0); pickup tiny.nib; +numeric light_curve; light_curve=hround(.5[stem,curve]-2stem_corr); +pos1(vair,90); pos2(light_curve,180); pos3(vair,270); pos4(light_curve,360); +x1=x3=.5w; lft x2r=hround(1.5u-.5light_curve); x4=w-x2; +top y1r=min(.75h,x_height+2oo); bot y3r=h-top y1r-d-oo; +y2=y4=.5[y1,y3]; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1); % bowl +pos5(stem,0); pos6(stem,0); x5=x6=.5w; top y5=h; bot y6=-d; +filldraw stroke z5e--z6e; % stem +if serifs: dish_serif(5,6,a,1/3,jut,b,1/3,jut); + dish_serif(6,5,c,1/3,jut,d,1/3,jut); fi +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Gamma"; +beginchar("G",CT(if serifs: 9.5u# else:9u# fi,10u#),x_height#,desc_depth#); +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,raise; +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; +raise=if serifs: .05x_height; else: .08x_height; fi +x2-x1=x4-x3; x2l+apex_corr=x3l; y2=y3=raise; +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+raise: y0:=notch_cut+raise; + 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 +pickup penrazor; +penpos5(alpha*left_stem,0); penpos7(vair,-90); penpos9(alpha*right_stem,180); +y5=y9=y0; z5=whatever[z1,z2]; z9=whatever[z4,z3]; +y6=y8=-.5d if not serifs:+.5vair fi; +z6=whatever[z1,z2]; z8=whatever[z4,z3]; +bot y7r=-d-o; x7=.5w+.2(left_stem-right_stem); +numeric stem_jut[], y_shift, circle_gap; +circle_gap=(x6-.5left_stem)-(x8+.5right_stem); +stem_jut1=if circle_gap<.5u: .5 else: .15 fi left_stem; +stem_jut2=if circle_gap<.5u: .5 else: .15 fi right_stem; +y_shift=if (left_stem-1.2right_stem)>0: .25d else: 0 fi; +x6:=x6+stem_jut1; x8:=x8-stem_jut2; y8:=y8+y_shift; +penpos6(left_stem,0); penpos8(right_stem,180); +filldraw stroke z5e{z2-z1}..z6e..{left}z7e..z8e..{z4-z3}z9e; % bottom loop +if not serifs: % minor adjustments + pos5'(alpha*left_stem,0);pos9'(alpha*right_stem,180); + y5'=y9'=0; z5'l=whatever[z1l,z2l]; z9'l=whatever[z4r,z3r]; + fill z5l--z5'l--z5'--z5--cycle; + fill z9l--z9'l--z9'--z9--cycle; fi +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Hooktop H"; +beginchar("H",10u#,asc_height#,0); +italcorr .7[x_height#,asc_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=.25[x_height,h]; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,b,3,4); % arch and right stem +hooktop(1,9,10,11,stem',hround(w-1.5u),h,.8,.55,.2); +if serifs: numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,9,10,11); endchar; + +cmchar "Curly-tail J"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar("J",CT(5.5u#,6.66u#),min(asc_height#,10/7x_height#+.5dot_diam#), + desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+\\.5u# fi +.5u#, + -2stem_shift# if monospace:-.5u# fi +.3u#); +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 +pos3(dot_diam,0); pos4(dot_diam,90); +x3r=x1r; top y4r=h+1; +if bot y4l-top y1<slab: y4l:=min(y4r-eps,y1+tiny+slab); fi +x3=x4; y3=.5[y4l,y4r]; dot(3,4); % dot +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(vair,-270); pos8(vair,-270); + x5=.5[x2,x6r]; bot y5r=-d-oo; y6=-.6d; + if monospace: lft x6r=0 else: x6r=-.3u fi; + (x,y5r)=whatever[z5l,z2l]; x5r:=max(x,.5[x6r,x5]); + y7r=y8r=0h; x7=x2l-.5u; x8=w-.5u; + filldraw stroke z2e{down}...z5e{left}...z6e{up}...z7e{right}---z8e; +else: pickup fine.nib; pos2'(stem',0); z2'=z2; + pos6(.2[vair,stem'],-90); pos7(vair,-180); + pos8(vair,-270); pos9(vair,-270); + lft x7r=hround -.75u; y7=-.5d; + 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; + bot y8l = bot y9l = vround(-.5vair); x8 = .5[x7,x2]; x9 = w; + filldraw stroke z2'e..{down}z5e & super_arc.e(5,6) + & z6e{left}..z7e...{right}z8e--z9e; fi % arc and terminal +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "Turned Y"; +beginchar("L",CT(if serifs:9.5u# else:9u# fi,10u#),x_height#+desc_depth#,0); +italcorr (x_height#+.6desc_depth#)*slant+.25u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric left_stem,right_stem,bot_stem,bot_vair,outer_jut; +right_stem=fudged.stem-stem_corr; +left_stem=fudged.hair if hefty:-2stem_corr fi; +bot_stem=fudged.hair if hefty:-8stem_corr fi; +bot_vair=Vround(if serifs: vair else:.5[vair,bot_stem] fi); +outer_jut=.75jut; +x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1l=y4r=0; y2r=y3=x_height; x2r=x3r; +numeric alpha,alpha[]; x9=w-3u; y9=h+oo-bot_vair; +alpha1=diag_ratio(2,bot_stem,y3-y1l,x4r-x1l-apex_corr); +alpha2=diag_ratio(1,bot_stem,y9-y1l,x4r-x9); +if alpha1>=alpha2: x4r-x3r=x2l-x1l+apex_corr; alpha=alpha1; +else: alpha=alpha2; z2r=whatever[z9,z1l-(alpha*bot_stem,0)]; fi +penpos1(alpha*left_stem,0); penpos2(alpha*bot_stem,0); +alpha3=(y3++(x4r-x3r))/y3; +penpos3(alpha3*right_stem,0); penpos4(alpha3*right_stem,0); +z0=whatever[z4l,z3l]=z1r+whatever*(z2l-z1l); +if y0<x_height-notch_cut: y0:=x_height-notch_cut; + fill z0+.5right{down}...{z4r-z3r}diag_end(0,4l,1,1,4r,3r) + --z3r--z2l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{up}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[z2r,z1r]; +y5+.5vair=x_height+.5desc_depth; +if serifs: numeric light_bulb; light_bulb=hround 7/8[hair,flare]; clearpen; + penpos6(vair,-90); penpos7(hair,0); penpos8(light_bulb,0); + penpos6'(vair,90);z6'=z6; + x6=w-2u; y6l=h+oo; y8+.5light_bulb=x_height+.85desc_depth; x8r=hround(w-.35u); + fill stroke z2e---z5e...{right}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/2,outer_jut,b,.6,inner_jut)(dark); % left serif + dish_serif(4',3,c,1/2,inner_jut,d,1/3,outer_jut); % right serif +else: penpos6(bot_vair,-90); x6=w-2.5u; y6l=h+oo; + fill stroke z2e---z5e...{right}z6e; % arc + pickup fine.nib; pos6'(bot_vair,-90); z6'=z6; + pos7(2/3[bot_vair,flare],-85); + rt x7r=hround(w-u); top y7l=x_height+vround(.96desc_depth)+oo;y7r:=good.y y7r; + filldraw stroke term.e(6',7,right,1,4); fi % arc and terminal +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Left-tail M (at right)"; +beginchar("M",CT(15u#,15.56u#),x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-1.75u#; +adjust_fit(serif_fit#+stem_shift#,-stem_shift# if serifs:-.5u# fi); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,0); pos2(mfudged.stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged.stem,0); pos5(mfudged.stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; +lft x3l=hround(.5w-.5stem); x5-x3=x3-x1; +if not monospace: r:=hround(x5+x1)-l; fi % change width for better fit +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % left arch and middle stem +h_stroke(4,b,5,6); % right arch and right stem +if serifs: sloped_serif.l(1',2',c,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,d,1/3,jut,e,1/3,jut); % lower left serif + dish_serif(4,3,f,1/3,inner_jut,g,1/3,jut); fi % lower middle serif +left_tail(6,7,8,9,mfudged.stem,rt x4r); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Eng"; +beginchar("N",10u#,x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-1.25u#; +adjust_fit(serif_fit#+stem_shift#,-stem_shift# if serifs:-.5u# fi); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); fi % lower left serif +left_tail(4,5,6,7,stem,rt x2r); +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Open O"; +beginchar("O",CT(8u#,8.88u#),x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +numeric BH; BH=if Times_Compat:.5613h else: bar_height fi; +pickup fine.nib; pos2(vair',-90); pos4(vair',90); +x2=x4=.5(w-u); bot y2r=vround(-1.5oo); top y4r=h+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=max(h-BH-.5flare-2vair'-2,h-.9[BH,h]+.5flare); + lft x1r=hround(.7u); bulb(2,1,0); % bulb + pos5(hair,-180); lft x5r=hround(.5u); + y5=min(h-good.y(.5BH-.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],-100); + lft x1r=hround(.6u); bot y1r=h-vround .82[BH,top y4r]; + filldraw stroke term.e(2,1,left,.8,4); % upper terminal + pos5(.6[vair',flare],95); lft x5r=hround .5u; + y5r=good.y(h+y5r-1/3BH-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 +penlabels(0,1,2,3,4,5); endchar; + +cmchar "Glottal stop"; +beginchar("P",CT(9u#,10u#),asc_height#,0); +italcorr .8asc_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos7(stem,0); bot y7=0; x7=.47w; +pos2(vair,90); pos3(curve,0); +pos4(vair,-90); pos5(stem,0); pos6(stem,0); +x2=x5=x6=x7; x4=x5l; +rt x3r=hround(w-u); bot y6=.3x_height; +top y2r=h+oo; y3=.5[y2,y4]; y4r=.5y2; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{down}...{(-10,-1)}z4e; + filldraw stroke z5e--z7e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=.3[y3,y2]; bulb(2,1,0); % bulb + dish_serif(7,5,e,1/3,jut,f,1/3,jut); %serif +else: pickup fine.nib; pos2'(vair,90); z2'=z2; + 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 "Reversed glottal stop"; +beginchar("Q",CT(9u#,10u#),asc_height#,0); +italcorr .8asc_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos7(stem,0); bot y7=0; x7=.53w; +pos2(vair,90); pos3(curve,180); +pos4(vair,-90); pos5(stem,0); pos6(stem,0); +x2=x5=x6=x7; x4=x5r; +lft x3r=hround(u); bot y6=.3x_height; +top y2r=h+oo; y3=.5[y2,y4]; y4r=.5y2; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{down}...{(10,-1)}z4e; + filldraw stroke z5e--z7e\\}}; % arc and stem +if serifs: pos1(hair,0); pos0(flare,0); + rt x1r=hround (w-u); y1=.3[y3,y2]; bulb(2,1,0); % bulb + dish_serif(7,5,e,1/3,-jut,f,1/3,-jut); %serif +else: pickup fine.nib; pos2'(vair,90); z2'=z2; + pos1(vround 5/7[vair,flare],70); + rt x1r=hround (w-u); top y1r=vround .9[y6,top y2r]; + filldraw stroke term.e(2',1,right,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Fish-hook R"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar("R",CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + x_height#,0); +italcorr x_height#*slant if not serifs: +.25u# fi; +adjust_fit(serif_fit#,0); +pickup fine.nib; top y4r=h+oo; +if serifs: pos4(vair,90); pos5(hair,0); x4=.5[x6,.5w]; + rt x5r=hround(w-if Times_Compat: .25u else: .5u fi +.5); + y5+.8r_flare=.9[bar_height,h]+oo; + pos6(r_flare,0); bulb(4,5,6); % bulb +else: pos4(r_flare,90); rt x4=hround(w-.25u); fi +pos0'(hround(stem-3stem_corr),180); +rt x0'l=hround(side_gap-.5stem')+stem'; top y0'=bar_height+1.8u; +filldraw stroke z0'e{up}...{right}z4e; % arc +pickup tiny.nib; pos0(stem',0); pos2(stem',0); +pos1(hround(stem-3stem_corr),0); top y1=h+min(oo,serif_drop); +y0=y0'; x1l=x0l=x2l; +lft x1l=hround(side_gap-.5stem'); bot y2=0; +filldraw stroke z0e--z2e; % stem +if serifs: dish_serif(2,0,b,1/3,jut,c,1/3,1.25jut); fi % lower serif +penlabels(1,2,0',4,5,6); endchar; + +cmchar "Esh"; +beginchar("S",CT(5u#,5.56u#),asc_height#,desc_depth#); +italcorr asc_height#*slant+1u#; +adjust_fit(.5u# if monospace:+1.5u# fi,.5u# if monospace:+1.5u# fi); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +lft x1l=hround(.5w-.5stem'); x2=x1; y2=0; h-y1=d; +filldraw stroke z1e--z2e; % stem +left_tail(2,3,4,5,stem',-1u); +hooktop(1,6,7,8,stem',w+1u,h,.9,.5,1/3); +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "Theta"; +beginchar("T",CT(8.25u#,8.88u#),asc_height#,0); +italcorr .7asc_height#*slant+.5curve#-u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,90); pos2(curve,180); pos3(vair,270); pos4(curve,360); +x1=x3=.5w; lft x2r=hround(1.5u-.5curve); x4=w-x2; +top y1r=h+oo; y2=y4=.5[y1,y3]; bot y3r=-oo; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1); % bowl +pos2'(bar,90); pos4'(bar,90); z2'=z2l; z4'=z4l; +filldraw stroke z2'e--z4'e; % bar +penlabels(1,2,3,4); endchar; + +cmchar "Upsilon"; +beginchar("U",CT(10u#,11u#),x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos1(vair,-90); pos2(curve,180); +pos3(vair,180); pos4(curve,0); pos5(vair,0); +x1=.5w; bot y1r=-o; lft x2r=hround 1.25u; y2=y4=.45h; x4=w-x2; +rt x3l=hround(1/3(w+.5u)+.25hair); top y3=top y5=h; x5=w-x3; +filldraw stroke z3e{down}...{down}z2e + & pulled_super_arc.e(2,1)(.5superpull) + & pulled_super_arc.e(1,4)(.5superpull) + & z4e{up}...{up}z5e; % bowl +numeric arm_thickness[]; path p; p=z3{down}...{down}z2; +arm_thickness1=vround(if hefty:slab+2stem_corr else: min(1.5slab,vstem) fi); +arm_thickness2=if (not serifs) or monospace: arm_thickness1; +else: vround(if hefty:.5slab+2stem_corr else: min(slab,.5vstem) fi); fi +pickup crisp.nib; pos6(arm_thickness1,90); pos7(arm_thickness2,90); +top y6r=top y7r=h; x6=x3; lft x7r=hround 1.0u; +(x,y)=p intersectionpoint((0,y6l)--(w,y6l)); x6l:=x; +filldraw stroke z6e--z7e; +pos8(arm_thickness1,90); pos9(arm_thickness2,90); +y8=y6; y9=y7; x8+x6=x9+x7=w; x8l:=w-x6l; +filldraw stroke z8e--z9e; +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Script V"; +beginchar("V",CT(9u#,9u#),x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(serif_fit#+stem_shift#,stem_shift#); +pickup tiny.nib; interim superness:=more_super; +pos3(stem,-180); lft x3r=hround(side_gap-.5stem); +x0=0; x2=x3; top y2=h+min(oo,serif_drop); +pos2'(stem,-180); z2'=z2; pos4(vair,-90); pos5(hair,0); +x4=.5w; rt x5r=hround(w-.8u); y3=.5[y4,y5]; bot y4r=-oo; y5=.57h; +filldraw stroke z2'e{down}--super_arc.e(3,4) + ..tension atleast 1.05..{up}z5e; % left stem and arc +if serifs: v_bulb(5,6); % closing bulb + pos7(stem,0); pos8(stem,0); z7=z2; z8=z3; + sloped_serif.l(7,8,a,1/3,jut,serif_drop); +else: pos6(hair,15); top y6=h; x6=x5-.5u; + filldraw stroke z5e{up}..z6e; fi +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Turned M"; +beginchar("W",CT(15u#,15.56u#),x_height#,0); +italcorr x_height#*slant+serif_fit#; +adjust_fit(serif_fit#-stem_shift#,serif_fit#+stem_shift#); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,0); pos2(mfudged.stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged.stem,0); pos5(mfudged.stem,0); +rt x1r=hround(w-(2.5u-.5stem)); x1r=x1'r=x2r=x2'r; +rt x3r=hround(.5w+.5stem); x5-x3=x3-x1; +if not monospace: r:=hround(x5+x1)-l; fi % change width for better fit +bot y1=-min(oo,serif_drop); top y2=h; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +turned_h_stroke(2,a,3,4); % left arch and middle stem +turned_h_stroke(4,b,5,6); % right arch and right stem +if serifs: sloped_serif.r(1',2',c,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if lft x2l-jut-.5u-1>=rt x4r+jut: inner_jut=jut; + else: lft x2l-jut-.5u-1=rt x4r+inner_jut; fi + dish_serif(2,1,d,1/3,jut,e,1/3,jut); % lower left serif + dish_serif(4,3,f,1/3,inner_jut,g,1/3,jut); % lower middle serif + dish_serif(6,5,h,1/3,inner_jut,i,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Chi"; +beginchar("X",CT(9.5u#,10u#),x_height#,desc_depth#); +italcorr x_height#*slant+.5hair#-.75u#; +adjust_fit(0,0); pickup fine.nib; +if serifs: pos1(hair,180); pos6(hair,180); + y1=y2l-h/6; y6=y5r+h/6; +else: pos1(fudged.hair,130); pos6(fudged.hair,130); + y1=y2l-h/8; y6=y5r+h/8; fi +pos2(curve,80); pos5(curve,80); +x1-.5hair=hround-.5hair+.5u; x6=w-x1; x2=w-x5=2u; +top y2r=h+oo; bot y5l=-d-oo; +z0=.5[z2,z5]; z2'=z2l+(.5u,0); z5'=z5r-(.5u,0); +numeric theta; theta=angle(z5'-z2')+90; +if serifs: pos3(hair,theta); pos4(hair,theta); +else: pos3(fudged.hair,theta); pos4(fudged.hair,theta); fi +y3r=y2r-h/3; y4l=y5l+h/3; %z3l=whatever[z2',z0]; z4r=whatever[z0,z5']; +if serifs: x3r+u=x4l-u=.5w; +else: x3r+.4u=x4l-.4u=.5w; fi +filldraw stroke z1e{up}..z2e{right}..z3e{z4r-z3r} + ..z4e{z4r-z3r}..{right}z5e..{up}z6e; % major diagonal and hooks +x8l=w-x7r=u; top y7=h; bot y8=-d; +if serifs: pos7(stem,0); pos8(stem,0); +else: pos7(fudged.stem,0); pos8(fudged.stem,0); fi +filldraw stroke z7e--z8e; % minor diagonal +penlabels(0,1,2,2',3,4,5',5,6,7,8); endchar; + +cmchar "Yogh"; +beginchar("Z",CT(8u#,8.88u#),x_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,.5serif_fit#); +yogh_stroke(.5u,.3,.75u,false,false); +penlabels(1,2,3,4,5,6,7,8,9,10,12); endchar; + +cmchar "Pipe"; +beginchar("|",CT(5u#,5.56u#),asc_height#,desc_depth#); +italcorr asc_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); +numeric thickness; thickness=hround.4[hair,stem]; +pickup tiny.nib; pos1(thickness,0); pos2(thickness,0); +lft x1l = lft x2l = hround(.5w-.5thickness); +top y1=h; bot y2=-d; +filldraw stroke z1e--z2e; +penlabels(1,2); endchar; + +cmchar "Double pipe"; +beginchar("{",CT(8u#,8.88u#),asc_height#,desc_depth#); +italcorr asc_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); +numeric thickness; thickness=hround(.4[hair,stem]-2stem_corr); +pickup tiny.nib; pos1(thickness,0); pos2(thickness,0); +pos3(thickness,0); pos4(thickness,0); +x1=x2; x3=x4=w-x1; lft x1l = hround((w-3.2u-thickness)/2); +top y1=top y3=h; bot y2=bot y4=-d; +filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; +penlabels(1,2,3,4); endchar; + +cmchar "Double-barred pipe"; +beginchar("}",10u#,asc_height#,desc_depth#); +italcorr asc_height#*slant+.5rule_thickness#-1.5u#; +adjust_fit(0,0); +numeric thickness[]; thickness1=hround.4[hair,stem]; +pickup tiny.nib; pos1(thickness1,0); pos2(thickness1,0); +lft x1l = lft x2l = hround(.5w-.5thickness1); +top y1=h; bot y2=-d; +filldraw stroke z1e--z2e; +thickness2=vround .3[vair,flare]; +pos3(thickness2,90); pos4(thickness2,90); +pos5(thickness2,90); pos6(thickness2,90); +lft x3l = lft x5l = hround 1u; +rt x4l = rt x6l = hround(w-1u); +top y3r = top y4r = h-d-bot y5; +bot y5l = bot y6l = vround(.4(h+d)-d-.5thickness2); +filldraw stroke z3e--z4e; +filldraw stroke z5e--z6e; +penlabels(1,2,3,4,5,6); endchar; + +% end of tipasym1.mf diff --git a/fonts/tipa/tipa/mf/tipasym2.mf b/fonts/tipa/tipa/mf/tipasym2.mf new file mode 100644 index 0000000000..5b4738c0da --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasym2.mf @@ -0,0 +1,720 @@ +% tipasym2.mf: TIPA phonetic symbols (2) +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +% symbols in the section '340--'377 + +cmchar "Hooktop B"; +beginchar(oct"341",10u#,asc_height#,0); +italcorr .7[x_height#,asc_height#]*slant+min(.5curve#-u#,-.25u#); +adjust_fit(if serifs:-.5u# else:0 fi,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(side_gap-.5stem'); top y1=.1[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 +hooktop(1,9,10,11,stem',hround(w-1u),h,.8,.55,.2); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "Hooktop D"; +beginchar(oct"342",10u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant+1.75u#; +adjust_fit(0,serif_fit#); +d_stroke(false,true,0); +hooktop(0,9,10,11,stem,hround(w+1.5u),h,.9,.6,.5); +penlabels(0,1,2,3,4,5,6,7,9,10,11); endchar; + +cmchar "Right-tail D"; +beginchar(oct"343",10u#,asc_height#,desc_depth#); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0,serif_fit#); +d_stroke(true,false,0); +if serifs: right_tail(2,8,9,10,stem,hround(w+1u),.88,.5,1/3); +else: right_tail(2,8,9,10,stem,hround(w+1u),.833,.5,1/3); fi +penlabels(0,1,2',3,4,5,6,7,8,9,10); endchar; + +cmchar "Hooktop G"; +beginchar(oct"344",10u#+serif_fit#,.9asc_height#,desc_depth#); +h:=vround(.9asc_height#*hppp); d:=vround(desc_depth#*hppp); % vertical adj. +italcorr .9asc_height#*slant+1.75u#; +adjust_fit(0,0); +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-side_gap+.5stem'); +numeric edge; edge=lft x2l; +path edge_path; edge_path=(edge,h)--(edge,0); +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=2/3[lft x2,edge]; y3=bar_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=vround 1/3vair; +lft x7l=edge; 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}...{left}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{right}...{up}z7e; % bowl +y1=ypart(edge_path intersectionpoint(z3l{up}...{left}z4l)); +y0=ypart(edge_path intersectionpoint(z7l{down}...{left}z6l)); +pickup tiny.nib; bot y2=if serifs: -.25d else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: pickup tiny.nib; + pos9(vair,-90); x9=.5[x2,x10]; bot y9r=-d-o-1; + pos10(hair,-180); lft x10r=hround u; y10=-.75d+.5flare; + pos11(flare,-180); z11r=z10r; + bulb(9,10,11); filldraw stroke super_arc.e(2,9); % tail +else: pickup fine.nib; pos2'(stem,0); z2'=z2; + z2''r=z2'r; z2''=z2'; z2''l=(x2'l,0); + pos9(vair,-90); x9=4.5u; bot y9r=-d-o-1; + pos10(.5[vair,flare],-90); lft x10=hround 1.25u; + y10r=good.y -5/6d; y10l:=good.y y10l; + filldraw stroke z2'e..z2''e&super_arc.e(2'',9) + & term.e(9,10,left,.9,4); fi % tail +hooktop(0,12,13,14,stem',hround(w+1.5u),h,.92,.55,.7); +penlabels(0,1,2,3,4,5,6,7,9,10,11,12,13,14); endchar; + +cmchar "Crossed H"; +beginchar(oct"350",10u#,asc_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(stem_shift#+.5u#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower left serif + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +hbar(5,6,lft x1l - hround(2u),rt x1r + hround(side_gap), + x_height + .5(h - x_height)); +penlabels(1,2,3,4); endchar; + +cmchar "Barred dotless J"; +beginchar(oct"351",CT(5.5u#,5.56u#),x_height#,desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-.5u#; +adjust_fit(2stem_shift# if monospace:+1u# fi, + -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; bot y2=-1/3d; +filldraw stroke z1e--z2e; % stem +if serifs: dish_serif(1,2,b,1/3,1.25jut,c,1/3,jut); % 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 +hbar(8,9,lft x1l - hround(1.75u),rt x1r + hround(1.5u),.58x_height); +penlabels(1,2,5,6,7); endchar; + +cmchar "Hooktop barred dotless J"; +beginchar(oct"352",6u#,.9asc_height#,desc_depth#); +italcorr h#*slant+1u#; +adjust_fit(if monospace: 1u#,1u# else: 0,0 fi); +pickup if serifs: tiny.nib; else: fine.nib; fi +pos1(stem',0); pos2(stem',0); x1=x2=.5w; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +left_tail(2,5,6,7,stem',hround-.75u); +hooktop(1,8,9,10,stem',hround(w+.75u),h,.84,.5,.4); +pickup crisp.nib; top y3r=top y4r=vround(bar_height+.5bar); +lft x3=x2-2.5u; x4=w-x3; +pos3(bar,90); pos4(bar,90); +filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "L with tilde"; +beginchar(oct"353",7u#,asc_height#,0); +l_width#:=5u#+2serif_fit#; +numeric hook_depth#; hook_depth#:=1.1desc_depth#; +define_whole_vertical_pixels(hook_depth); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#+.3u#,serif_fit#-stem_shift#+.3u#); +numeric tilde_height; tilde_height:=min(.66h,.9x_height); % tilde +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-x_height)); + pickup crisp.nib; numeric mid_width; mid_width=.4[vair,stem]; + pos1(vair,theta+90); pos2(vair,theta+90); + pos3(vair,theta+90); pos4(vair,theta+90); + z2-z1=z4-z3=(mid_width-crisp)*dir theta; + lft x1r=w-rt x4l=hround .75u; top y4r=tilde_height; + bot y1l= top y4r - .13h; + pair delta; ypart delta=3(y3l-y1l); delta=whatever*dir theta; + filldraw z1l..controls(z1l+delta)and(z3l-delta)..z3l..z4l + --z4r..controls(z4r-delta)and(z2r+delta)..z2r..z1r--cycle; % stroke +else: pickup fine.nib; pos1(vair,180); pos2(vair,90); + pos3(.5[vair,slab],90); pos4(vair,90); pos5(vair,180); + lft x1r=w-rt x5l=hround .75u; x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=top y5 - .13h; + top y2r=top y5=vround(tilde_height); y3=.5[y2,y4]; + filldraw stroke z1e{up}...z2e{right}..z3e..{right}z4e...{up}z5e; fi % stroke +penlabels(1,2,3,4,5); +pickup tiny.nib; pos6(stem',0); pos7(stem',0); +if odd(w-stem'): change_width; fi +lft x6l=hround(.5w-.5stem'); x6=x7; top y6=h; bot y7=0; +filldraw stroke z6e--z7e; % stem +if serifs: sloped_serif.l(6,7,a,1/3,jut,serif_drop); % upper serif + dish_serif(7,6,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(6,7); endchar; + +cmchar "Belted L"; +beginchar(oct"354",7u#,asc_height#,0); +l_width#:=5u#+2serif_fit#; +numeric hook_depth#; hook_depth#:=1.1desc_depth#; +define_whole_vertical_pixels(hook_depth); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+1u# fi, + if monospace: 1u#+fi serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +if serifs: pickup crisp.nib; + pos13(vair,90); pos14(max(.8stem,vair),180); pos15(vair,-50); + x13=x1; x14r=x1-3.2u; x15=x1+2.8u; + top y13r=x_height; y14=y15; bot y15=if monospace:.65 else:.8 fi x_height; + filldraw stroke z13e{(-10,1)}...z14e{down}...{(1,1)}z15e; % hook +else: pickup fine.nib; + pos13(vair,85); pos14(min(.8stem,vair),180); pos15(vair,-50); + x13=x1; x14r=x1-2.8u; x15=x1+2.6u; + top y13r=x_height; y14=y15; bot y15=.7x_height; + filldraw stroke z13e{(-10,1)}...z14e{down}...{(1,1)}z15e; fi % hook +penlabels(1,2,11,12,13,14,15); endchar; + +cmchar "Right-tail L"; +beginchar(oct"355",CT(5u#,5.56u#),asc_height#,desc_depth#); +italcorr asc_height#*slant+.5stem#-1.5u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.5u# fi, + if monospace: 1.5u#fi -stem_shift#); +pickup if serifs: tiny.nib; else: fine.nib; fi +pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop);fi% upper serif +if serifs: right_tail(2,3,4,5,stem',hround(w+1u),.88,.5,1/3); +else: right_tail(2,3,4,5,stem',hround(w+1u),.833,.5,1/3); fi +penlabels(1,2,3,4,5); endchar; + +cmchar "Turned M, right leg"; +beginchar(oct"356",CT(15u#,15.56u#),x_height#,desc_depth#); +italcorr x_height#*slant+serif_fit#; +adjust_fit(serif_fit#-stem_shift#,serif_fit#+stem_shift#); +numeric shaved_stem; shaved_stem=hround(mfudged.stem-2stem_corr); +pickup tiny.nib; pos1(mfudged.stem,0); pos2(mfudged.stem,0); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); +pos3(mfudged.stem,0); pos5(mfudged.stem,0); +rt x1r=hround(w-(2.5u-.5stem)); x1r=x1'r=x2r=x2'r; +rt x3r=hround(.5w+.5stem); x5-x3=x3-x1; +if not monospace: r:=hround(x5+x1)-l; fi % change width for better fit +bot y1=-d-min(oo,serif_drop); top y2=h; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +turned_h_stroke(2,a,3,4); % left arch and middle stem +turned_h_stroke(4,b,5,6); % right arch and right stem +if serifs: sloped_serif.r(1',2',c,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if lft x2l-jut-.5u-1>=rt x4r+jut: inner_jut=jut; + else: lft x2l-jut-.5u-1=rt x4r+inner_jut; fi + dish_serif(2,1,d,1/3,jut,e,1/3,jut); % lower left serif + dish_serif(4,3,f,1/3,inner_jut,g,1/3,jut); % lower middle serif + dish_serif(6,5,h,1/3,inner_jut,i,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Right-tail N"; +beginchar(oct"357",10u#,x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: + sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); fi % lower left serif +if serifs: right_tail(4,5,6,7,stem,hround(w+1u),.88,.5,1/3); +else: right_tail(4,5,6,7,stem,hround(w+1u),.833,.5,1/3); fi +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Left-tail N (at left)"; +beginchar(oct"361",10u#,x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); pos8(stem',0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l=x8l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; bot y8=-1/3d; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(8,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +left_tail(2',5,6,7,shaved_stem,hround(-.75u)); +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Bull's eye"; +beginchar(oct"362",CT(14u#-width_adj#,14.44u#),cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +penpos1(vair',90); penpos3(vround(vair+1.5vair_corr),-90); +penpos2(cap_curve,180); penpos4(cap_curve,0); +if monospace: x2r=hround 1.5u; + interim superness:=sqrt superness; % make "O", not "0" +else: x2r=hround u; fi +x4r=w-x2r; x1=x3=.5w; y1r=h+o; y3r=-o; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_super_arc.e(1,2)(.5superpull) + & pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & pulled_super_arc.e(4,1)(.5superpull) & cycle; % bowl +fill fullcircle scaled(dot_size+eps) shifted(.5[z3,z1]); % dot +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); penlabels(1,2,3,4); endchar; + +cmchar "Right-tail R"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar(oct"363",CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + x_height#,desc_depth#); +italcorr x_height#*slant if not serifs: +.25u# fi; +adjust_fit(serif_fit#,0); +pickup fine.nib; top y4r=h+oo; +if serifs: pos4(vair,90); pos5(hair,0); + x4=w-max(if Times_Compat: 1.6 else: 1.75 fi u,.25u+r_flare); + rt x5r=hround(w-if Times_Compat: .1u else: .5u fi +.5); + y5+.5r_flare=.9[bar_height,h]+oo; + pos6(r_flare,0); bulb(4,5,6); % bulb +else: pos4(r_flare,90); rt x4=hround(w-.25u); fi +pos3(thin_join,180); rt x3l=hround(side_gap-.5stem')+stem'; top y3=bar_height; +filldraw stroke z3e{up}...{right}z4e; % arc +pickup tiny.nib; pos0(stem',0); pos2(stem',0); +pos1(hround(stem-3stem_corr),0); top y1=h+min(oo,serif_drop); +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1l=x0l=x0'l=x2l; +lft x1l=hround(side_gap-.5stem'); bot y2=0; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + pickup tiny.nib; + right_tail(2,7,8,9,stem',hround(w-.1u),.88,.5,1/3); +else: pickup fine.nib; + right_tail(2,7,8,9,stem',hround(w-.1u),.833,.5,1/3); fi +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Turned R"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar(oct"364",CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + x_height#,0); +italcorr x_height#*slant if not serifs: -.5u# fi; +adjust_fit(0,serif_fit#); +pickup fine.nib; bot y4r=-oo; +if serifs: pos4(vair,-90); pos5(hair,-180); + x4=max(if Times_Compat: 1.6 else: 1.75 fi u,.25u+r_flare); + lft x5r=hround(if Times_Compat: .1u else: .5u fi -.5); + y5-.5r_flare=h-.9[bar_height,h]-oo; + pos6(r_flare,-180); bulb(4,5,6); % bulb +else: pos4(r_flare,-90); lft x4=hround(.25u); fi +pos3(thin_join,0); lft x3l=hround(w-side_gap+.5stem')-stem'; bot y3=h-bar_height; +filldraw stroke z3e{down}...{left}z4e; % arc +pickup tiny.nib; pos0(stem',0); pos2(stem',0); +pos1(hround(stem-3stem_corr),0); top y2=h; +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1r=x0r=x0'r=x2r; +rt x1r=hround(w-side_gap+.5stem'); bot y1=-min(oo,serif_drop); +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.r(1,0',a,1/3,jut,serif_drop); % lower serif + dish_serif(2,0,b,1/3,1.25jut,c,1/3,jut); fi % upper serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Turned R, right tail"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar(oct"365",CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + x_height#,desc_depth#); +italcorr x_height#*slant if not serifs: -.5u# fi; +adjust_fit(0,serif_fit#); +pickup fine.nib; bot y4r=-oo; +if serifs: pos4(vair,-90); pos5(hair,-180); + x4=max(if Times_Compat: 1.6 else: 1.75 fi u,.25u+r_flare); + lft x5r=hround(if Times_Compat: .1u else: .5u fi -.5); + y5-.5r_flare=h-.9[bar_height,h]-oo; + pos6(r_flare,-180); bulb(4,5,6); % bulb +else: pos4(r_flare,-90); lft x4=hround(.25u); fi +pos3(thin_join,0); lft x3l=hround(w-side_gap+.5stem')-stem'; bot y3=h-bar_height; +filldraw stroke z3e{down}...{left}z4e; % arc +pickup tiny.nib; pos0(stem',0); pos2(stem',0); +pos1(hround(stem-3stem_corr),0); top y2=h; +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1r=x0r=x0'r=x2r; +rt x1r=hround(w-side_gap+.5stem'); bot y1=-min(oo,serif_drop); +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: dish_serif(2,0,b,1/3,1.25jut,c,1/3,jut); % upper serif + right_tail(2,7,8,9,hround(stem'),hround(w+1u),.88,.5,1/3); +else: pickup fine.nib; + right_tail(2,7,8,9,hround(stem'),hround(w+1u),.833,.5,1/3); fi +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Right-tail S (at left)"; +beginchar(oct"371",CT(7.1u#,7.78u#),x_height#,desc_depth#); +italcorr x_height#*slant-if serifs:.55u# else:.3u# fi; +adjust_fit(if monospace: .5u#,.4u# else: 0,if serifs:0 else:-.2u# fi fi); +numeric theta; theta=90-angle(40u,h); slope:=-h/40u; % angle at middle +numeric s_slab; s_slab=if serifs:vair else:Vround .1[vair,stem] fi; +numeric ess'; ess'=max(fine.breadth,ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-100); +pos0(ess',theta); pos7(s_slab,-90); x2l=x0=x7=.5w; +top y2l=h+vround 1.5oo; bot y7r=-oo; +y0-.5ess'=y7l+if serifs:.54 else: .52 fi\\(y2r-y7l-ess'); +lft x3l=hround .6u; rt x6r=hround(w-.6u); +x3r-x3l=x6r-x6l=hround .5[s_slab,ess']-fine; +ellipse_set(2l,3l,4l,0l); ellipse_set(2r,3r,4r,0r); y3=y3r; +ellipse_set(7l,6l,5l,0l); ellipse_set(7r,6r,5r,0r); y6=y6r; +interim superness:=more_super; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +if serifs: pos1(hair,180); pos8(hair,180); + rt x1l=hround(w-1.05u); lft x8r=hround .6u; + bot y1=min(bot y2r,vround 1/5[top y5r,h]); + top y8=max(top y7l,vround 5/6 bot y4l); + filldraw stroke z1e{up}....{left}z2e; % upper arc + filldraw stroke z7e{left}....{x8-x7,5(y8-y7)}z8e; % lower arc + path upper_arc, lower_arc; + upper_arc=z1{up}....{left}z2; lower_arc=z7{left}....{x8-x7,5(y8-y7)}z8; + pos10(.3[fine.breadth,cap_hair],0); pos9(.3[fine.breadth,cap_hair],0); + x10r=x1l; top y10=top y2l; x9l=x8r; bot y9=bot y7r; + x1l-x1'=x8'-x8r=1.6cap_curve-fine; y1'=y1; y8'=y8; + numeric t; t=xpart(upper_arc intersectiontimes(z10l--z1')); + filldraw z1l--z10r--z10l--subpath(t,0) of upper_arc--cycle; % upper barb + t:=xpart(lower_arc intersectiontimes(z9r--z8')); + filldraw z8r--z9l--z9r--subpath(t,1) of lower_arc--cycle; % lower barb +else: pos1(4/7[s_slab,flare],-100); pos8(flare,-90); + x1l=good.x(x1l+w-u-rt x1); lft x8r=hround .5u; + top y1l=vround(.93h+1.5oo); bot y8r=vround .1h-oo; + filldraw stroke term.e(2,1,right,.9,4); % upper arc and terminal + filldraw stroke term.e(7,8,left,1,4); fi % lower arc and terminal +if serifs: pos11(hair,0); y11=y9l; x11l=x8r; + right_tail(11,12,13,14,hair,hround(x7+.5u),.88,.5,1/3); +else: pos11(.8stem,-10); y11=y8r; lft x11l=lft x8l; + right_tail(11,12,13,14,.8stem,hround(x7+.5u+.25hair),.833,.5,1/3); fi +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10,11,12,13,14); +endchar; + +cmchar "Right-tail T"; +beginchar(oct"372",6u#+max(u#,.5stem#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),desc_depth#); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: -.5u# else: -.5u# fi); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,180); pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); y2=y8; y3=0; +pickup crisp.nib; pos8(bar,90); +rt x8=hround(.93w- if Times_Compat: .4u else: 1.3u fi); +top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +if hefty: pos7(bar,90); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=h; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; %terminal +else: pos7(vair,90); pos1(hair,0); + rt x1r=fine.rt x2l; top y1=h; + filldraw z1l{down}...{left}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; +filldraw stroke z2e--z3e; % stem +if serifs: right_tail(3,9,10,11,shaved_stem,hround(w-.5u),.88,.5,1/3); +else: right_tail(3,9,10,11,shaved_stem,hround(w-1u),.833,.5,1/3); fi +penlabels(1,2,3,7,8,9,10,11); endchar; + +cmchar "Turned W"; +beginchar(oct"373",CT(13u#,14.44u#),x_height#,0); +adjust_fit(serif_fit#,serif_fit#); +numeric stem[],outer_jut,upper_notch,alpha,mid_corr; +outer_jut=.7jut; x1l=w-x8r=l+letter_fit+outer_jut+.25u; +stem4=fudged.stem-stem_corr; +stem1=min(fudged.hair if hefty:-2stem_corr fi,stem4); +stem3=if hefty:.1[vair,stem1] else: stem1 fi; +stem2=max(stem3,stem4-3stem_corr); +x2-x1=x4-x3=x6-x5=x8-x7; x2r+apex_corr=x3r; x6r+apex_corr=x7r; +y1=y8=0; y2=y3=y6=y7=h+apex_oo; +y4=y5=if monospace: vround .4h else: 0 fi; upper_notch=y4+notch_cut; +mid_corr=if monospace or hefty:-.3apex_corr else: .5jut fi; +alpha=diag_ratio(4,stem3-stem2+stem1,y2-y1,x8r-x1l+mid_corr-2apex_corr); +penpos1(alpha*stem1,0); penpos2(alpha*stem1,0); +penpos3(alpha*stem2,0); penpos4(alpha*stem2,0); +penpos5(alpha*stem3,0); penpos6(alpha*stem3,0); +penpos7(alpha*stem4,0); penpos8(alpha*stem4,0); + x8r-x5r=floor(x8r-x5r+.5(x5l+mid_corr-x4l)); % x5r $\approx$ x4r+mid_corr +z23=whatever[z1r,z2r]=whatever[z3l,z4l]; +z45=whatever[z3r,z4r]=whatever[z5l,z6l]; +z67=whatever[z5r,z6r]=whatever[z7l,z8l]; +fill diag_end(1l,2l,1,1,3r,4r){z4-z3} + ...if y45>upper_notch:(x45,upper_notch)+.5left{down} + --(x45,upper_notch)+.5right{up} else: z45&z45 fi + ...{z6-z5}diag_end(5l,6l,1,1,7r,8r)--diag_end(7r,8r,1,1,8l,7l){z7-z8} + ...if y67<h-notch_cut:(x67,h-notch_cut)+.5right{up} + --(x67,h-notch_cut)+.5left{down} else: z67&z67 fi + ...{z5-z6}turned_special_diag_end(6,5,4,3){z3-z4} + ...if y23<h-notch_cut:(x23,h-notch_cut)+.5right{up} + --(x23,h-notch_cut)+.5left{down} 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(4,3); prime_points_inside(8,7); + if monospace: inner_jut1=inner_jut4=1.5jut; + elseif hefty: inner_jut1=inner_jut4=jut; + else: fill diag_end(3l,4l,1,1,4r,3r)--.9[z4r,z3r] + ..{z4-z3}.1[z4l,z3l]--cycle; % middle stem + inner_jut2=.7inner_jut1; inner_jut4=1.1inner_jut3; + if lft x8'l-jut-.5u-1>=rt x4'r+.7jut: inner_jut1=jut; + else: lft x8'l-inner_jut1-.5u-1=rt x4'r+inner_jut2; fi + if lft x4'l-jut-.5u-1>=rt x1'r+1.1jut: inner_jut3=jut; + else: lft x4'l-inner_jut3-.5u-1=rt x1'r+inner_jut4; fi + dish_serif(4',3,e,1/2,inner_jut3,f,1/3,inner_jut2); fi % middle serif + dish_serif(1',2,a,1/2,outer_jut,b,.6,inner_jut4)(dark); % left serif + dish_serif(8',7,c,1/2,inner_jut1,d,1/3,outer_jut); fi % right serif +penlabels(0,1,2,3,4,5,6,7,8,23,45,67); endchar; + +cmchar "Right-tail Z"; +beginchar(oct"374",CT(8u#,8.88u#),x_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,if monospace:.5u#+fi .5serif_fit#); +numeric arm_thickness[],z_stem; +if hefty: arm_thickness1=Vround(vair-vair_corr); arm_thickness2=vair; + z_stem=.6[vair,stem]; +else: arm_thickness1=vair; arm_thickness2=vair'; z_stem=.9[vair,stem]; fi +pickup tiny.nib; rt x1r=rt x2r=hround(w-.8u); lft x3l=lft x4l=hround .5u; +top y1=h; y2=min(y1,h-2/3arm_thickness1); +bot y4=0; y3=max(y4,2/3arm_thickness2); +numeric alpha; alpha=diag_ratio(1,z_stem-tiny,y2-y3,x2r-x3l-slant*(y2-y3)); +penpos1(alpha*(z_stem-tiny),0); penpos2(alpha*(z_stem-tiny),0); +penpos3(alpha*(z_stem-tiny),0); penpos4(alpha*(z_stem-tiny),0); +pair delta; delta=penoffset z3-z2 of currentpen; +fill top lft z1l--z2l+delta---z3l+delta..lft z3l---lft z4l..bot z4l + ---bot rt z4r--z3r-delta---z2r-delta..rt z2r---rt z1r..top z1r + ---cycle; % diagonal +pickup crisp.nib; pos5(arm_thickness1,90); pos6(hair,180); +top y5r=h; x5=x1; lft x6r=hround .75u; y6=good.y(y5l-beak/1.4)-eps; +arm(5,6,a,beak_darkness,-.4beak_jut); % upper arm and beak +pos7(arm_thickness2,-90); pos8(hair,0); +bot y7r=0; x7=x4; rt x8r=hround(w-.75u); y8=good.y(y7l+beak/1.2)+eps; +arm(7,8,b,beak_darkness,.6beak_jut); % lower arm and beak +if serifs: pos11(hair,0); y11=y.b0; + x11r=hround(x.b0-.05u); + right_tail(11,12,13,14,hair,hround(w+2u),.88,.5,1/3); +else: pos11(.8stem,0); y11=.5[0,y8]; rt x11r=rt x8r; + right_tail(11,12,13,14,.8stem,hround(w+1.5u),.833,.5,1/3); fi +penlabels(1,2,3,4,5,6,7,8,11,12,13,14); +endchar; + +cmchar "Curly-tail Z"; +beginchar(oct"375",CT(9u#,9.88u#),x_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,.5serif_fit#); +numeric arm_thickness[],z_stem; +arm_thickness1=vair; arm_thickness2=1.2vair; z_stem=.9[vair,stem]; +pickup tiny.nib; rt x1r=rt x2r=hround(.89w-.8u); +lft x3l=lft x4l=hround .5u; +top y1=h; y2=min(y1,h-2/3arm_thickness1); +bot y4=0; y3=max(y4,2/3arm_thickness2); +numeric alpha; alpha=diag_ratio(1,z_stem-tiny,y2-y3,x2r-x3l-slant*(y2-y3)); +penpos1(alpha*(z_stem-tiny),0); penpos2(alpha*(z_stem-tiny),0); +penpos3(alpha*(z_stem-tiny),0); penpos4(alpha*(z_stem-tiny),0); +pair delta; delta=penoffset z3-z2 of currentpen; +fill top lft z1l--z2l+delta---z3l+delta..lft z3l---lft z4l..bot z4l + ---bot rt z4r--z3r-delta---z2r-delta..rt z2r---rt z1r..top z1r + ---cycle; % diagonal +pickup crisp.nib; pos5(arm_thickness1,90); pos6(hair,180); +top y5r=h; x5=x1; lft x6r=hround .75u; y6=good.y(y5l-beak/1.4)-eps; +arm(5,6,a,beak_darkness,-.4beak_jut); % upper arm and beak +pos7(arm_thickness2,90); pos8(arm_thickness2,90); +x7=x4; bot y8l=bot y7l=0; pos9(vair,-80); +if serifs: pos11(hair,180); pos10(hair,0); +else: pos11(fudged.hair,180); pos10(fudged.hair,0); fi +rt x11l=hround(w-1u+.5hair); y11=.5[y9r,y8r]; +x9-.5u=x8=.7[x7,x11]; y9=.32h+.5vair; x10l=1.5u+.6hair; bot y10=-.75d; +filldraw stroke z7e--z8e{right}...{up}z11e...{(-5,-1)}z9e + ...{(-1,-2)}z10e; +penlabels(1,2,3,4,5,6,7,8,8',9,10,11); endchar; + +cmchar "Ash; Lower-case A-E ligature"; +beginchar(oct"346",13u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(0,0); +numeric left_curve,right_curve; +if monospace: right_curve=left_curve=fudged.stem; +else: left_curve=max(tiny.breadth,hround(curve-2stem_corr)); + right_curve=max(tiny.breadth,hround(curve-if serifs:6 else:8 fi\\stem_corr));fi +pickup tiny.nib; pos11(right_curve,0); +pos12(vair,90); pos13(mfudged.stem,180); +y11=good.y bar_height; top y12r=h+vround 1.5oo; y10l=bot y11; +rt x11r=hround min(w-.5u,w-u+.5right_curve); +lft x13r=hround (.5w-.5mfudged.stem); x12=.55[x13,x11]; +{{interim superness:=more_super; + filldraw stroke super_arc.e(11,12)}}; % right bowl of e +y13=.5[y12,y14]; bot y14r=-oo; x14=x12+.25u; +if serifs: pos14(vair',270); pos15(mfudged.hair,360); + y15=max(good.y(.5bar_height-.9),y14l+vair); x15r=x11r; + (x,y14l)=whatever[z14r,z15]; x14l:=min(x,x14l+.5u); + filldraw stroke pulled_arc.e(12,13) + & pulled_super_arc.e(13,14)(.8superpull) + ...{x15-x14,5(y15-y14)}z15e; % left bowl, arc, and terminal of e +else: pos14(vair,270); + filldraw stroke super_arc.e(12,13) + & super_arc.e(13,14); % left bowl and arc of e + pickup fine.nib; pos14'(vair,270); z14=z14'; + pos15(.5[vair,flare],275); rt x15r=hround(w-.6u); + y15r=good.y(y15r+1/3bar_height-y15); y15l:=good.y y15l; x15l:=good.x x15l; + filldraw stroke term.e(14',15,right,1,4); fi % right terminal +y11'r=y10r=y10l+.6[thin_join,vair]; y11'l=y10l; x11'l=x11'r=x11; x10l=x10r=x13; +fill stroke z10e--z11'e; % crossbar +pickup fine.nib; top y3r=h+vround 1.5oo; +if serifs: pos1(flare,180); pos2(mfudged.hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=4u; + y1=min(bar_height+.5flare+2vair+2,.9[bar_height,h]-.5flare); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],95); x1l=good.x 1.5u; x1r:=good.x x1r; + pos3(1/8[vair,thin_join],90); + x3=4.3u; top y1r=vround .82[bar_height,top y3r]; + filldraw stroke term.e(3,1,left,.9,4); fi % left terminal +pos4(mfudged.stem,0); x4=x13; y4=1/3[bar_height,h]; +pos5(mfudged.stem,0); x5=x4; y5=min(y4,y13); +filldraw stroke super_arc.e(3,4)&z4e--z5e; % arc and stem +pos6(.6[thin_join,vair],90); x6=x4; bot y6=y10l; +pos7(left_curve,if (Times_Compat and serifs): 200 else: 180 fi); +lft x7r=hround max(.5u,1.5u-.5left_curve); y7=1/3[top y8l,top y6r]; +if (Times_Compat and serifs): pos8(.6[vair,flare],210); else: pos8(vair,270);fi +x8l=3.75u; bot y8r=-oo; +pos9(.5[vair,fudged.stem],360); x9=x5; y9=.55bar_height; +(x',y8r)=whatever[z8l,z9l]; x8r:=max(x',x8-u); +{{interim superness:=more_super; + filldraw stroke z9e{down}...z8e{left}...{up}z7e&%super_arc.e(7,6)}}; % bowl + if (Times_Compat and serifs): z7e{up}...{(50,10)}z6e + else: super_arc.e(7,6)fi}}; % bowl +if y9<y5: filldraw stroke z5e{down}..{down}z9e; fi % link (usually hidden) +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + +cmchar "C cedilla"; +beginchar(oct"347",CT(8u#,8.88u#),x_height#,0.875desc_depth#); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +c_stroke(w); x6=x4; +if serifs: pickup crisp.nib; pos6(stem,0); pos7(stem,0); + pos8(vair,90); pos9(stem,0); pos10(vair,-90); + x6=x7; z8l=z7l; x9=x7+1.5u; x10=x8-1.5u; + bot y6=0; bot y7=-vround 2/7d-o; y9=.5[y8,y10]; bot y10=-d-o; + filldraw stroke z6e--z7e; % stem + filldraw stroke z8e{right}...z9e{down}...{left}z10e; % hook +else: pickup fine.nib; pos6(vair,0); top y6=-o-2; + pos7(.5[vair,stem],0); bot y7=-d-o; x7=x6-1.25u; + filldraw stroke z6e--z7e; fi % diagonal +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Lower-case O-E ligature"; +beginchar(oct"367",14u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(0,0); +numeric left_curve,right_curve; +if monospace: right_curve=left_curve=fudged.stem; +else: left_curve=max(fine.breadth,hround(curve-2stem_corr)); + right_curve=max(tiny.breadth,hround(curve-if serifs:6 else:8 fi\\stem_corr));fi +pickup tiny.nib; pos11(right_curve,0); +pos12(vair,90); pos13(mfudged.stem,180); +y11=good.y bar_height; top y12r=h+vround 1.5oo; y10l=bot y11; +rt x11r=hround min(w-.5u,w-u+.5right_curve); +lft x13r=hround (.5(w+u)-.5mfudged.stem); x12=.55[x13,x11]; +{{interim superness:=more_super; + filldraw stroke super_arc.e(11,12)}}; % right bowl of e +y13=.5[y12,y14]; bot y14r=-oo; x14=x12+.25u; +if serifs: pos14(vair',270); pos15(mfudged.hair,360); + y15=max(good.y(.5bar_height-.9),y14l+vair); x15r=x11r; + (x,y14l)=whatever[z14r,z15]; x14l:=min(x,x14l+.5u); + filldraw stroke pulled_arc.e(12,13) + & pulled_super_arc.e(13,14)(.8superpull) + ...{x15-x14,5(y15-y14)}z15e; % left bowl, arc, and terminal of e +else: pos14(vair,270); + filldraw stroke super_arc.e(12,13) + & super_arc.e(13,14); % left bowl and arc of e + pickup fine.nib; pos14'(vair,270); z14=z14'; + pos15(.5[vair,flare],275); rt x15r=hround(w-.6u); + y15r=good.y(y15r+1/3bar_height-y15); y15l:=good.y y15l; x15l:=good.x x15l; + filldraw stroke term.e(14',15,right,1,4); fi % terminal +y11'r=y10r=y10l+.6[thin_join,vair]; y11'l=y10l; x11'l=x11'r=x11; x10l=x10r=x13; +fill stroke z10e--z11'e; % crossbar +pickup fine.nib; pos1(vair,90); pos3(vair,-90); +pos2(left_curve,180); pos4(mfudged.stem,0); +lft x2r=hround max(.5u,1.25u-.5curve); +z4=z13; x1=x3=.5[x2,x4]; top y1r=h+vround 1.5oo; bot y3r=-oo; +y2=y4; y2l:=y4l:=.52h; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3); % left half of left bowl +filldraw stroke pulled_arc.e(3,4) & pulled_arc.e(4,1); % right half of left bowl +penlabels(1,2,3,4,10,11,12,13,14,15); endchar; + +cmchar "Slashed O"; +beginchar(oct"370",CT(9u#,10u#),x_height#+.5desc_depth#,.5desc_depth#); +italcorr h#*slant-u#-max(.5fudge*stem#,.75u#)+.5vair#; +adjust_fit(0,0); +penpos1(vair,90); penpos3(vair,-90); +penpos2(fudged.stem,180); penpos4(fudged.stem,0); +x2r=hround max(.5u,1.25u-.5fudged.stem); +x4r=w-x2r; x1=x3=.5w; +y1r=x_height+vround 1.5oo; y2=y4=.5x_height-vair_corr; y3r=-oo; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +x5=x4; x6=x2; y5=h; y6=-d; +numeric theta; theta=angle(z5-z6)-90; +pickup crisp.nib; pos5(vair,theta); pos6(vair,theta); +filldraw stroke z5e--z6e; % diagonal +penlabels(1,2,3,4,5,6); endchar; + +% end of tipasym2.mf diff --git a/fonts/tipa/tipa/mf/tipasym3.mf b/fonts/tipa/tipa/mf/tipasym3.mf new file mode 100644 index 0000000000..7b5c2c29ff --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasym3.mf @@ -0,0 +1,646 @@ +% tipasym3.mf: TIPA phonetic symbols (3) +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +cmchar "Hooktop C"; +beginchar(oct"301",CT(8u#,8.8u#),x_height#,0); +italcorr .9asc_height#*slant + 1.5u#; +adjust_fit(if monospace: .5u#,1.5u# else: 0,1u# fi); +c_stroke(w); +if serifs: pos6(hair,0); y6=y1; rt x6r=rt x1r; + hooktop(6,7,8,9,hair,hround(w+2.25u),.9asc_height+.5vair,.95,.55,.5); +else: pos6(vair,0); y6=y1r; rt x6r=rt x1r; + hooktop(6,7,8,9,vair,hround(w+2.25u),.9asc_height+.5vair,.9,.5,.5); fi +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Stretched C"; +beginchar(oct"302",CT(9u#,10u#),asc_height#,desc_depth#); +italcorr x_height#*slant-.2u#; +adjust_fit(0,0); +pickup fine.nib; interim superness:=more_super; +pos2(.6[vair,flare],90); pos5(.6[vair,flare],270); +x2=x5=.5w; top y2r=vround(h+1.5oo); bot y5r=-d-oo; +pos3(stem,180); pos4(stem,180); +lft x3r=lft x4r=hround1.2u; y3=.75h; y4=0; +pos1(stem,0); rt x1r=hround(w-1.1u); top y1=vround .75h; +pos6(stem,0); rt x6r=hround(w-1u); top y6=0; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & z3e--z4e & pulled_arc.e(4,5) & pulled_arc.e(5,6); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "D-Yogh ligature"; +beginchar(oct"303",CT(13u#,14.44u#),asc_height#,desc_depth#); +numeric d_w; d_w=if monospace: .48w else: .65w+.5stem+serif_fit fi; +italcorr asc_height#*slant-serif_fit#+.5stem#-1.75u#; +adjust_fit(0,.5serif_fit#); +pickup tiny.nib; pos21(stem',0); pos22(stem,0); % d +pos20'(stem',0); pos20(stem,0); z20r=z20'r; x20'=x21; x20=x22; +rt x21r=hround(d_w-2.5u+.5stem'); top y21=h; +numeric edge; edge=lft x22l; +pickup fine.nib; pos23(if hefty:thin_join else: hair fi,0); +pos24(vair,90); pos25(curve,180); pos26(vair,270); penpos27(x23r-x23l,360); +lft x23l=min(lft x23l-(rt x23r-tiny.rt x22r),1/3[lft x22,edge]); +y23=.616x_height; +x24l=.5(d_w-serif_fit)-.3u; top y24r=x_height+oo; +lft x25r=hround max(1.35u-.5curve,.6u); y25=.5x_height; +x26l=x24l-.2u; bot y26r=-oo; +x27=x23; y27=min(y23,y26+y24-y23+.6vair); +(x,y24r)=whatever[z23l,z24l]; x24r:=max(x,.5[x25r,x24]); +(x',y26r)=whatever[z27l,z26l]; x26r:=max(x',.5[x25r,x26]); +filldraw stroke z23e{up}...pulled_arc.e(24,25) + & pulled_arc.e(25,26)...{up}z27e; % bowl +y20=ypart(((edge,h)--(edge,0))intersectionpoint(z23l{up}...{left}z24l)); +pickup tiny.nib; bot y22=.33x_height; +filldraw stroke z21e--z20'e--z20e--z22e; % stem +if serifs: sloped_serif.l(21,20',a,1/3,jut,serif_drop); fi % upper serif +h:=x_height; % yogh +yogh_stroke(x20l,.15,x20l-.5u,true,false); +if serifs: pickup tiny.nib; pos40(vair,0); + x40=x40'=x22l; y40'=.2bar_height; y40=.5[y22,y40']; + filldraw stroke z22e--z40e; % joint + pickup fine.nib; pos40'(vair,180); pos12'(vair,180); z12'=z3; + filldraw stroke z12'e{z3-z5}...{z40'-z22}z40'e; % joint + penlabels(40',12'); +else: pickup tiny.nib; pos40(stem/cosd30,30); + x40=x22; y40=.3[0,y22]; + filldraw stroke z22e--z40e; fi % joint +penlabels(1,2,3,4,5,6,7,8,9,10,12,20,21,22,23,24,25,26,27,40); endchar; + +cmchar "Right-hook schwa"; +beginchar(oct"304",CT(11.5u#,12u#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.75u#; +adjust_fit(if monospace:.25u#,0u# else: 0,0 fi); +numeric ow,left_curve,diagbar; +ow=w; w:=if Times_Compat: 8.88u else: 8u fi -.25curve; +left_curve=curve if not serifs: -3stem_corr fi; +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +diagbar=if serifs: if monospace: hair else: 1.2hair fi + else: min(1.1hair,stem) fi; +pickup tiny.nib; pos1(diagbar,180); +pos2(vair,-90); pos3(left_curve,0); +y1=good.y (.33h); bot y2r=-vround 1.5oo; y0l=top y1; +lft x1r=hround min(.5u,1.5u-.5diagbar); +rt x3r=hround max(w-.5u,w-1.25u+.5left_curve); x2=.5w-.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; top y4r=h+oo; x4=x2-.25u; +if serifs: pos4(vair',90); pos5(hair,180); + y5=min(good.y(h-(.5bar_height-.9)),y4l-vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=max(x,x4l-.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,90); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,90); z4=z4'; + pos5(.5[vair,flare],95); lft x5r=hround(.6u); + y5r=good.y(h-(-y5r+1/3bar_height+y5)); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,left,1,4); fi % terminal +w:=ow; pickup tiny.nib; +if serifs: if monospace: + pos10(diagbar,0); pos11(diagbar,0); pos11'(hair,0); pos12(hair,0); + else: pos10(1.5hair,0); pos11(1.5hair,0); pos11'(1.5hair,0); + pos12(1.5hair,0); fi + pos13(vair,90); pos14(hair,180); +else: pos10(diagbar,0); pos11(diagbar,0); + pos11'(thin_hair,0); pos12(thin_hair,0); + pos13(vair,90); pos14(thin_hair,180); fi +lft x10l=lft x1r; top y10l=top y1; top y11l=h+oo; +rt x11r=rt x12r=hround(x3+.5curve+2.25u-.25hair); +y11'=y11; x11'r=x11r; +x13=.5[x11,x14]; y12=y14=.33[y13,x_height]; +bot y13l=.55h-.5vair; rt x14l=w; +filldraw stroke z10e--z11e; % diagonal crossbar +filldraw stroke z11'e--z12e{down}...{right}z13e...{up}z14e; % hook +penlabels(1,2,3,4,5,10,11,12,13,14); endchar; + +cmchar "Closed epsilon"; +beginchar(oct"305",CT(9u#,10u#),x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +pickup fine.nib; pos5'(thin_hair,0); +rt x5'r=hround(w-.5u); top y5'l=vround(.45h+.5vair); +epsilon_stroke(false,4u); +filldraw stroke z8e{right}..{up}z5'e..{left}z2e; +penlabels(2,3,4,5,6,7,8,5'); endchar; + +cmchar "Closed reversed epsilon"; +beginchar(oct"306",CT(9u#,10u#),x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +pickup fine.nib; pos5'(thin_hair,180); +lft x5'r=hround.5u; top y5'l=vround(.45h+.5vair); +epsilon_stroke(true,4u); +filldraw stroke z8e{left}..{up}z5'e..{right}z2e; +penlabels(2,3,4,5,6,7,8,5'); endchar; + +cmchar "Right-hook reversed epsilon"; +beginchar(oct"307",CT(11.5u#,12u#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5u#; +adjust_fit(0,0); +ow:=w; w:=w-3u; +epsilon_stroke(true,3.5u); +w:=ow; +if serifs: numeric bulb_diam; + bulb_diam=max(flare-.75(cap_stem-stem),stem); + pos0(bulb_diam,180); pos1(hair,180); + lft x0r=hround u; y0=min(.9h-.5bulb_diam,.75h+.5bulb_diam); + bulb(2,1,0); % upper bulb + pos9(bot_thickness,angle(-2u,-h)); +else: pos1(.47[vair',flare],100); lft x1r = 1u; top y1r = .9h; + filldraw stroke term.e(2,1,left,1,4); + pos9(.6[vair',flare],-100); fi +lft x9r=hround .75u; top y9=vround .25h-o; +y9r:=good.y y9r-eps; x9l:=good.x x9l; +filldraw stroke term.e(8,9,left,1,4); % lower terminal +if serifs: if monospace: pos3'(hair,0); pos11(hair,0);pos12(hair,0); + else: pos3'(1.5hair,0); pos11(1.5hair,0);pos12(1.5hair,0); fi + pos13(vair,90); pos14(hair,180); +else: pos3'(.6hair,0); pos11(.6hair,0);pos12(.6hair,0); + pos13(vair,90); pos14(.6hair,180); fi +z3'=z3; lft x11l=lft x12l=hround(x3+.5curve+1.5u); top y11l=h+oo; +x13=.5[x11,x14]; y12=y14=.3[y13,x_height]; +bot y13l=.5h; x14=w; +filldraw stroke z3'e--z11e; % hook +filldraw stroke z11e--z12e{down}...{right}z13e...{up}z14e; +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +cmchar "Baby gamma"; +beginchar(oct"310",CT(if serifs: 9.5u# else:9u# fi,10u#),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,raise; +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; +raise=if serifs: .45h; else: .5h; fi +x2-x1=x4-x3; x2l+apex_corr=x3l; y2=y3=raise; +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+raise: y0:=notch_cut+raise; + 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 +pickup penrazor; +penpos5(alpha*left_stem,0); penpos7(vair,-90); penpos9(alpha*right_stem,180); +y5=y9=y0; z5=whatever[z1,z2]; z9=whatever[z4,z3]; +y6=y8=.4[y7,y5] if not serifs:+.5vair fi; +z6=whatever[z1,z2]; z8=whatever[z4,z3]; +bot y7r=-o; x7=.5w+.2(left_stem-right_stem); +numeric stem_jut[], y_shift, circle_gap; +circle_gap=(x6-.5left_stem)-(x8+.5right_stem); +stem_jut1=if circle_gap<.5u: .4 else: .1 fi left_stem; +stem_jut2=if circle_gap<.5u: .4 else: .1 fi right_stem; +y_shift=if (left_stem-1.2right_stem)>0: .1[y7,y5] else: 0 fi; +x6:=x6+stem_jut1; x8:=x8-stem_jut2; y8:=y8+y_shift; +penpos6(left_stem,0); penpos8(right_stem,180); +fill stroke z5e{z2-z1}..z6e..{left}z7e..z8e..{z4-z3}z9e; % bottom loop +if not serifs: % minor adjustments + pos5'(alpha*left_stem,0);pos9'(alpha*right_stem,180); + y5'=y9'=1.2[y0,y3]; z5'l=whatever[z1l,z2l]; z9'l=whatever[z4r,z3r]; + filldraw z5l--z5'l--z5'--z5--cycle; + filldraw z9l--z9'l--z9'--z9--cycle; fi +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "Hooktop heng"; +beginchar(oct"312",10u#,asc_height#,desc_depth#); +italcorr .7[x_height#,asc_height#]*slant-serif_fit#+.5stem#-u#; +adjust_fit(serif_fit#+stem_shift#,-stem_shift#-.5u#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos1'(stem',0); pos2'(stem',0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=.25[x_height,h]; bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +h_stroke(2,a,3,4); % arch and right stem +if serifs: numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); fi % lower left serif +hooktop(1,9,10,11,stem',rt x3r,h,.8,.55,.2); +left_tail(4,5,6,7,stem,rt x2r); +penlabels(1,2,3,4,5,6,7,9,10,11); endchar; + +cmchar "Iota"; +beginchar(oct"314",CT(5u#,5.56u#),x_height#,0); l_width#:=4u#; +adjust_fit(if monospace:2u#,2u# else: u#,0 fi); pickup fine.nib; +pickup tiny.nib; pos1(stem,0); pos2'(stem,0); z2'=z2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; +x2-.5stem=hround(1.5u-.5stem); x4=hround(w-1u+.25hair); +hook_out(2,3,4); % closing hook +x1=x2; filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop); fi % serif +penlabels(1,2,3,4); endchar; + +cmchar "Barred dotless J (an old version)"; +beginchar(oct"315",CT(5.5u#,6.66u#),x_height#,desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-.5u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+1.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; bot y2=-1/3d; +filldraw stroke z1e--z2e; % stem +if serifs: dish_serif(1,2,b,1/3,1.25jut,c,1/3,jut); % 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 +hbar(8,9,lft x1l - hround(1.75u),rt x1r + hround(1.5u),.1x_height); +penlabels(1,2,5,6,7); endchar; + +cmchar "Hooktop K"; +beginchar(oct"316",CT(9.5u#,10u#),asc_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(serif_fit#,serif_fit#); pickup tiny.nib; +numeric right_jut,stem[],alpha[]; +stem1=max(tiny.breadth,hround(fudged.stem-stem_corr)); +stem2=max(tiny.breadth,hround(fudged.stem-2stem_corr)); +stem3=max(tiny.breadth,hround(fudged.hair if hefty:-\\4stem_corr fi)); +stem4=max(tiny.breadth,hround(fudged.stem-3stem_corr)); +if serifs: right_jut=.6jut; else: right_jut=.4tiny; fi +pos1(stem1,0); pos2(stem2,0); top y1=.25[x_height,h]; bot y2=0; +lft x1l=lft x2l=hround(side_gap-.5stem1); + top y3=x_height; rt x3r=hround(r-letter_fit-.7u-right_jut)+eps; +bot y6=0; rt x6r=hround(r-letter_fit-.3u-right_jut)+eps; +x4=x11=x1; y4=.7bar_height; y11=y3; +alpha1=diag_ratio(1,.5(stem3-tiny),y3-y4,x3r-x4); +alpha2=diag_ratio(1,.5(stem4-tiny),y11-y6,x6r-x1); +penpos3(alpha1*(stem3-tiny),0); penpos4(whatever,-90); +z5=.5[z5l,z5r]; penpos6(alpha2*(stem4-tiny),0); +forsuffixes $=l,r: y3'$=x_height; y6'$=0; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z11-z6)=whatever[z3,z4]; endfor +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 z11-z6 of currentpen+whatever*(z11-z6); +z6'l=z6l+penoffset z6-z11 of currentpen+whatever*(z11-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 +pos0(stem1,0); pos0'(stem2,0); y0=y0'; x0=x1; x0'=x2; +rt z0r=whatever[z3,z4]; filldraw stroke z1e..z0e--z0'e..z2e; % stem +if serifs: numeric inner_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+inner_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(2,0',b,1/3,jut,c,1/3,inner_jut); % lower stem serif + dish_serif(3,4,d,2/3,1.4jut,e,1/2,right_jut)(dark); % upperDiagonal serif + dish_serif(6,5,f,1/2,inner_jut,g,1/3,right_jut)(dark);fi % lowerDiagonal serif +hooktop(1,7,8,9,stem1,rt x3r,h,.8,.55,.2); +penlabels(0,1,2,3,4,5,6,7,8,9,11); endchar; + +cmchar "L-Yogh ligature"; +beginchar(oct"320",10u#,asc_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(serif_fit#+stem_shift#,.5serif_fit#); +pickup tiny.nib; pos21(stem',0); pos22(stem',0); % l +lft x21l=hround(side_gap-.5stem'); x21=x22; top y21=h; bot y22=0; +filldraw stroke z21e--z22e; % stem +if serifs: sloped_serif.l(21,22,e,1/3,jut,serif_drop); % upper serif + dish_serif(22,21,f,1/3,jut,g,1/3,jut); fi % lower serif +h:=x_height; % yogh +yogh_stroke(x21,.28,x21l+.25u,true,false); +penlabels(1,2,3,4,5,6,7,8,9,10,12,21,22); endchar; + +cmchar "Closed omega"; +beginchar(oct"321",CT(11u#,12u#),x_height#,0); % 2003/03/16 +italcorr .7x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +pos2(curve,-180); lft x2r=hround.5u; y2=y8=.45x_height; +y4=y6=vround.6h; y1r=h+oo; x1=.5w; pos1(vair,90); +pos3(vair,-90); pos4(hair,0); pos5(vair,90); +pos6(hair,180); pos7(vair,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 x4l<x6l: x4l:=x6l:=x5; fi +filldraw circ_stroke z1e{left}...z2e{down}...z3e{right} + ...{up}z4e...{left}z5e; % left arc +filldraw stroke z5e{left}...z6e{down}...z7e{right}...{up}z8e...z1e{left}; +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "Hooktop P"; +beginchar(oct"322",10u#+serif_fit#,asc_height#,desc_depth#); +italcorr .7[x_height#,asc_height#]*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#-.5u#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); pos2'(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2=x2'; bot y2'=-d; +lft x1l=hround(side_gap-.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--z2'e; % 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: dish_serif(2',0,b,1/3,jut,c,1/3,jut); fi +hooktop(1,9,10,11,stem',rt x5r,h,.8,.55,.2); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,2'); endchar; + +cmchar "Hooktop Q"; +beginchar(oct"323",10u#+serif_fit#,.9asc_height#,desc_depth#); +italcorr .9asc_height#*slant+1.75u#; +adjust_fit(0,0); +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-side_gap+.5stem'); +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),2/3[lft x2,edge]); y3=bar_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; y7=min(y3,y6+y4-y3+.6vair); +lft x7l=min(lft x7l-(rt x7r-tiny.rt x2r),1/3[lft x2,edge]); +(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}...{left}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{right}...{up}z7e; % bowl +y1=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{left}z4l)); +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z6l{right}...{up}z7l)); +pickup tiny.nib; bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; +if serifs: dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +hooktop(1,9,10,11,stem',hround(w+1.5u),h,.9,.6,.5); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "Long-leg R"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar(oct"324",CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + x_height#,desc_depth#); +italcorr x_height#*slant if not serifs: +.25u# fi; +adjust_fit(serif_fit#,0); +pickup fine.nib; top y4r=h+oo; +if serifs: pos4(vair,90); pos5(hair,0); + x4=w-max(if Times_Compat: 1.6 else: 1.75 fi u,.25u+r_flare); + rt x5r=hround(w-if Times_Compat: .1u else: .5u fi +.5); + y5+.5r_flare=.9[bar_height,h]+oo; + pos6(r_flare,0); bulb(4,5,6); % bulb +else: pos4(r_flare,90); rt x4=hround(w-.25u); fi +pos3(thin_join,180); rt x3l=hround(side_gap-.5stem')+stem'; top y3=bar_height; +filldraw stroke z3e{up}...{right}z4e; % arc +pickup tiny.nib; pos0(stem',0); pos2(stem',0); +pos1(hround(stem-3stem_corr),0); top y1=h+min(oo,serif_drop); +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1l=x0l=x0'l=x2l; +lft x1l=hround(side_gap-.5stem'); bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,1.25jut); fi % lower serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Turned Long-leg R"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar(oct"325",CT(if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,6.66u#), + x_height#+desc_depth#,0); +italcorr (x_height#+desc_depth#)*slant if not serifs: -.5u# fi; +adjust_fit(0,serif_fit#); +pickup fine.nib; bot y4r=-oo; +if serifs: pos4(vair,-90); pos5(hair,-180); + x4=max(if Times_Compat: 1.6 else: 1.75 fi u,.25u+r_flare); + lft x5r=hround(if Times_Compat: .1u else: .5u fi -.5); + y5-.5r_flare=x_height-.9[bar_height,x_height]-oo; + pos6(r_flare,-180); bulb(4,5,6); % bulb +else: pos4(r_flare,-90); lft x4=hround(.25u); fi +pos3(thin_join,0); lft x3l=hround(w-side_gap+.5stem')-stem'; +bot y3=x_height-bar_height; +filldraw stroke z3e{down}...{left}z4e; % arc +pickup tiny.nib; pos0(stem',0); pos2(stem',0); +pos1(hround(stem-3stem_corr),0); top y2=h; +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1r=x0r=x0'r=x2r; +rt x1r=hround(w-side_gap+.5stem'); bot y1=-min(oo,serif_drop); +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.r(1,0',a,1/3,jut,serif_drop); % lower serif + dish_serif(2,0,b,1/3,1.25jut,c,1/3,jut); fi % upper serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Hooktop T"; +beginchar(oct"326",CT(6u#+max(u#,.5stem#),5.56u#), + if not monospace:.9 fi asc_height#,0); +italcorr x_height#*slant if serifs: -.25u# else: +.25u# fi; +adjust_fit(0,if serifs: .5u# else: 0u# fi); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,180);pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); +y2=y8; y3=max(.5bar_height,2vair); +pickup crisp.nib; pos8(bar,90); +rt x8=hround(w- if Times_Compat: .4u else: 1.3u fi); +top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +pos7(bar,90); filldraw stroke z7e--z8e; % crossbar +pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=.75h; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +hooktop(1,9,10,11,hround(shaved_stem-stem_corr), + hround(w if Times_Compat:+.5u else: -.5u fi),h,.88,.5,.2); +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround(w- if Times_Compat: 0 fi u); +if serifs: pos5(hair,0); x4l=.5[x3l,x5l]; + y5= if Times_Compat: .5 else: 1 fi [0,y3]; + (x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); + filldraw stroke z2e..super_arc.e(3,4)...{up}z5e; % stem and hook + if Times_Compat: else: + pickup crisp.nib; pos6(hair,0); pos5'(hair,0); + x6=x5=x5'; top y6=max(vround .75bar_height,top y5); y5=y5'; + filldraw stroke z5'e--z6e; fi % terminal +else: pos5(vair,-75); top y5l=vround .2[top y4l,bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l+.2vair; + filldraw stroke z2e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{right}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)<0) or (xpart(z5r-postcontrol 2 of p)<0): + filldraw stroke z4e{right}...{up}z5e; + else: filldraw p; fi fi; +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +cmchar "Turned T"; +beginchar(oct"330",CT(6u#+max(u#,.5stem#),5.56u#),x_height#, + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#)-x_height#); +italcorr .7x_height#*slant -.5u#; +adjust_fit(if serifs: 0 else: -.5u# fi,0); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,0);pos3(shaved_stem,0); +rt x2r=rt x3r=hround(w-(2.5u-.5shaved_stem)); +y2=y8; y3=min(h-.5bar_height,h-2vair); +pickup crisp.nib; pos8(bar,270); +lft x8=hround(if Times_Compat: .4u else: 1.3u fi); +bot y8r=0; rt x7=hround(w-1/3u); y7l=y8l; +if hefty: pos7(bar,270); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),180); + lft x1r=fine.lft x2l; bot y1=-d; + penpos2'(x1l-x1r,180); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,270); pos1(hair,180); + lft x1r=fine.lft x2l; bot y1=-d; + filldraw z1l{up}...{right}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',90); top y4r=h+oo; lft x5r=hround(if Times_Compat: 0 fi u); +if serifs: pos5(hair,180); x4l=.5[x3l,x5l]; + y5=if Times_Compat: .5 else: 1 fi [h,y3]; + (x,y4r)=whatever[z4l,z5l]; x4r:=min(x,.5[x3r,x4]); + filldraw stroke z2e..super_arc.e(3,4)...{down}z5e; % stem and hook + if Times_Compat: else: + pickup crisp.nib; pos6(hair,180); pos5'(hair,180); + x6=x5=x5'; bot y6=min(vround (h-.75bar_height),bot y5); y5=y5'; + filldraw stroke z5'e--z6e; fi % terminal +else: pos5(vair,105); bot y5l=vround .2[bot y4l,h-bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l-.2vair; + filldraw stroke z2e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{left}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)>=0) or (xpart(z5r-postcontrol 2 of p)>=0): + filldraw stroke z4e{left}...{down}z5e; + else: filldraw p; fi fi; +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "T-Esh ligature"; +beginchar(oct"331",CT(9.5u#,10u#),asc_height#,desc_depth#); +italcorr asc_height#*slant+.5u#; +adjust_fit(0,if serifs: .5u# else: 0 fi); +numeric H,D; H:=vround 10/7x_height; D:=0; % t +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,180);pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); +y2=y8; y3=max(.5bar_height,2vair); +pickup crisp.nib; pos8(bar,90); +rt x8=hround6u; top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +if hefty: pos7(bar,90); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=H; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,90); pos1(hair,0); + rt x1r=fine.rt x2l; top y1=H; + filldraw z1l{down}...{left}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; x4l=.5[x3l,x5l]; +lft x5l=hround x8; y5=if serifs: .35bar_height; else: .6bar_height; fi +pos5(if serifs: hair else: stem' fi,0); +(x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); +filldraw stroke z2e..super_arc.e(3,4); % stem +filldraw stroke z4e{right}...{up}z5e; +pos11(stem',0); pos12(stem',0); % Esh +lft x11l=hround x8; x12=x11; y12=0; h-y11=d; +filldraw stroke z11e--z12e; % stem +left_tail(12,13,14,15,stem',hround(lft x11l-2.8u)); +hooktop(11,16,17,18,stem',hround(rt x11r+2.8u),h,.9,.5,1/3); +penlabels(1,2,3,4,5,6,7,8,11,12,13,14,15,16,17,18); endchar; + +cmchar "Inverted glottal stop"; +beginchar(oct"333",CT(9u#,10u#),asc_height#,0); +italcorr .5x_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos2(vair,-90); pos3(curve,0); +pos4(vair,90); pos5(stem,0); pos6(stem,0); +x5=x6; x2=.5w; x4=x5l; rt x3r=hround(w-u); +lft x6l=hround(.42w-.5stem); top y6=h; +bot y2r=-oo; y3=.5[y2,y4]; y4r=.9x_height; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{up}...{(-10,-1)}z4e; + filldraw stroke z5e--z6e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=.3[y3,y2]; bulb(2,1,0); % bulb +else: pickup fine.nib; pos2'(vair,-90); z2'=z2; + pos1(vround 5/7[vair,flare],-110); + lft x1r=hround u; bot y1r=vround .1[bot y2r,y6]; + filldraw stroke term.e(2',1,left,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Barred glottal stop"; +beginchar(oct"334",CT(9u#,10u#),asc_height#,0); +italcorr .7asc_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos7(stem,0); bot y7=0; x7=.47w; +pos2(vair,90); pos3(curve,0); +pos4(vair,-90); pos5(stem,0); pos6(stem,0); +x2=x5=x6=x7; x4=x5l; +rt x3r=hround(w-u); bot y6=.3x_height; +top y2r=h+oo; y3=.5[y2,y4]; y4r=.5y2; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{down}...{(-10,-1)}z4e; + filldraw stroke z5e--z7e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=.3[y3,y2]; bulb(2,1,0); % bulb + dish_serif(7,5,e,1/3,jut,f,1/3,jut); %serif +else: pickup fine.nib; pos2'(vair,90); z2'=z2; + 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 +hbar(8,9,lft x5l - hround(side_gap),rt x5r + hround(side_gap),.55x_height); +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Barred reversed glottal stop"; +beginchar(oct"335",CT(9u#,10u#),asc_height#,0); +italcorr .7asc_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos7(stem,0); bot y7=0; x7=.53w; +pos2(vair,90); pos3(curve,180); +pos4(vair,-90); pos5(stem,0); pos6(stem,0); +x2=x5=x6=x7; x4=x5r; +lft x3r=hround(u); bot y6=.3x_height; +top y2r=h+oo; y3=.5[y2,y4]; y4r=.5y2; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{down}...{(10,-1)}z4e; + filldraw stroke z5e--z7e\\}}; % arc and stem +if serifs: pos1(hair,0); pos0(flare,0); + rt x1r=hround (w-u); y1=.3[y3,y2]; bulb(2,1,0); % bulb + dish_serif(7,5,e,1/3,-jut,f,1/3,-jut); %serif +else: pickup fine.nib; pos2'(vair,90); z2'=z2; + pos1(vround 5/7[vair,flare],70); + rt x1r=hround (w-u); top y1r=vround .9[y6,top y2r]; + filldraw stroke term.e(2',1,right,1,4); fi % terminal +hbar(8,9,lft x5l - hround(side_gap),rt x5r + hround(side_gap),.55x_height); +penlabels(0,1,2,3,4,5,6,7); endchar; + +% end of tipasym2.mf diff --git a/fonts/tipa/tipa/mf/tipasym4.mf b/fonts/tipa/tipa/mf/tipasym4.mf new file mode 100644 index 0000000000..ad0fd59429 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipasym4.mf @@ -0,0 +1,670 @@ +% tipasym4.mf: TIPA phonetic symbols (4) non-IPA, old IPA symbols +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This font is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +cmchar "Crossed B"; +beginchar(oct"240",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(side_gap-.5stem'); top y1=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: sloped_serif.l(1,0',a,1/3,jut,serif_drop); fi % upper serif +pickup if serifs: tiny.nib else: fine.nib fi; +hbar(9,10,lft x0l-hround(1.8u+serif_fit),rt x0r+hround(side_gap), + x_height+.5(h-x_height)); +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "Crossed D"; +beginchar(oct"241",10u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-.5u#; +adjust_fit(0,serif_fit#); +d_stroke(true,true,0); +pickup if serifs: tiny.nib else: fine.nib fi; +hbar(8,9,lft x0l-hround 2.5u,rt x0r+hround(1.8u+serif_fit), + x_height + .5(h-x_height)); +penlabels(0,1,2,3,4,5,6,7); endchar; + +cmchar "Curly-tail D"; +beginchar(oct"242",10u#+serif_fit#,asc_height#,desc_depth#); +italcorr asc_height#*slant-serif_fit#+.5stem#-2.25u#; +adjust_fit(0,serif_fit#+u#); +d_stroke(true,false,.45bar_height); +if serifs: pickup tiny.nib; else: pickup fine.nib; fi +pos2'(stem,0); z2'=z2; numeric curlytail[]; +curlytail1=if serifs: vair; else: vair; fi +curlytail2=if serifs: hair; else: .8hair; fi +curlytail3=if serifs: vair; else: vair; fi +pos10(curlytail1,90); x10=.4[x2r,x11]; bot y10l=if serifs: -oo; else: -o; fi +pos11(curlytail2,180); rt x11=w+.5u; y11=.3bar_height; +pos12(curlytail3,280); x12=x2r+.5u; y12=2y11; +pos13(hair,360); x13=.4w; y13=-.75desc_depth; +filldraw stroke z2'e{down}..z10e..{up}z11e... + {(-3,-1)}z12e...{(-1,-2)}z13e; % tail +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "Hooktop right-tail D"; +beginchar(oct"243",10u#+serif_fit#,asc_height#,desc_depth#); +italcorr asc_height#*slant+.5u#; +adjust_fit(0,serif_fit#+1.75u#); +d_stroke(false,false,0); +hooktop(0,9,10,11,stem,hround(w+1.5u),h,.9,.6,.5); +if serifs: right_tail(2,12,13,14,stem,hround(w+1u),.88,.5,1/3); +else: right_tail(2,12,13,14,stem,hround(w+1u),.833,.5,1/3); fi +penlabels(0,1,2',3,4,5,6,7,9,10,11,12,13,14); endchar; + +cmchar "The letter g"; +beginchar(oct"245",CT(9u#,10u#),x_height#,desc_depth#); +italcorr x_height#*slant+.25u#; +adjust_fit(0,0); +numeric light_vair,light_curve,loop_top,loop_side; +light_vair=Vround(.5[thin_join,vair]+vair_corr); +light_curve=max(fine.breadth,hround(curve-3stem_corr)); +loop_top=Vround .77[vair,fudged.stem]; +loop_side=hround .64[vair,fudged.stem]; +pickup fine.nib; pos1(light_vair,90); +pos2(light_curve,180); pos3(light_vair,270); +pos4(light_curve,360); pos11(loop_top,90); +y11r=good.y(y11r+.15bar_height-y11); x1=x3=.5[x2,x4]; y2=y4=.5[y1,y3]; +lft x2r=hround(1.75u-.5light_curve); rt x4r=hround(w-2.75u+.5light_curve); +top y1r=h+oo; y3r=good.y(y3r+.27[top y11r,bot y1l]-y3); +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3); % left half of bowl +filldraw stroke pulled_arc.e(3,4) & pulled_arc.e(4,1); % right half of bowl +x0=superness[x1r,x4r]; y0=superness[y4r,y1r]; % NE point on the super bowl +x8'=superness[x3r,x2r]; y8'=superness[y2r,y3r]; % SW point on the super bowl +x8''=superness[x3,x2]; y8''=superness[y2,y3]; +pos0(thin_join,angle(z0-z8')+90); +pos8(thin_join,angle(z0-z8')-90); z8=.618[z8',z8'']; +if serifs: pos5(vair,90); + pos6(hair,0); pos7(.5[hair,flare],0); x5=.75[x0,x6]; top y5r=h+o; + rt x6r=hround(w-.25u); y6+(.5[hair,flare])/2=.95[bar_height,h]+oo; + filldraw stroke z0e..{right}z5e; bulb(5,6,7); % ear +else: pos5(vair',100); top y5r=h+oo; + rt x5l=hround(w-.25u); y5l:=good.y y5l; + filldraw z0l{z5-z0}..z5l--z5r{left}..{curl 1}z0r--cycle; fi % ear +pos10(loop_top,90); x10=x8+.75u; y10=y11; +pos12(loop_side,0); pos13(light_vair,-90); +pos14(loop_side,-180); pos10'(.5[thin_join,vair],-270); +rt x12r=hround max(w-1.25u+.5loop_side,w-.5u); y12=y14=.5[y11,y13]; +x11=x13=max(.5w,x10+eps); bot y13r=-d-oo-1; x14=w-x12; z10'l=z10l; +filldraw stroke z8e{z8-z0}..z10e---z11e; % link +filldraw stroke {{interim superness:=hein_super; super_arc.e(11,12)}} + & super_arc.e(12,13) & super_arc.e(13,14) & super_arc.e(14,10'); % loop +penlabels(0,1,2,3,4,5,6,7,8,10,11,12,13,14); labels(8',8''); endchar; + +cmchar "Left-hooktop Long I"; +beginchar(oct"246",CT(6u#,6.66u#),x_height#,desc_depth#); +italcorr x_height#*slant-2u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos3(stem,0); x2=x3; bot y3=-d; +x0=.75u; lft x2l = hround(.5w+.5u-.5stem); hook_in(0,1,2); +filldraw stroke z2e--z3e; +dish_serif(3,2,a,1/3,jut,b,1/3,jut); +penlabels(0,1,2,3); endchar; + +cmchar "Viby I"; +beginchar(oct"247",CT(7.1u#,7.78u#),x_height#,desc_depth#); +italcorr x_height#*slant-2u#; +adjust_fit(if monospace:.5u#,.5u# else:0,-.5u# fi); +pickup tiny.nib; x0=.75u; +lft x2l = hround(.5w-.5stem); x3=x2; x5=w-.75u; +hook_in(0,1,2); hook_out_bot(3,4,5); +filldraw stroke z2e--z3e; +penlabels(0,1,2,3,4,5); endchar; + +cmchar "Turned K"; +beginchar(oct"251",CT(9.5u#,10u#),x_height#,desc_depth#); +italcorr x_height#*slant; +adjust_fit(serif_fit#,serif_fit#); pickup tiny.nib; +numeric right_jut,stem[],alpha[]; +stem1=max(tiny.breadth,hround(fudged.stem-stem_corr)); +stem2=max(tiny.breadth,hround(fudged.stem-2stem_corr)); +stem3=max(tiny.breadth,hround(fudged.hair if hefty:-\\4stem_corr fi)); +stem4=max(tiny.breadth,hround(fudged.stem-3stem_corr)); +if serifs: right_jut=.6jut; else: right_jut=.4tiny; fi +pos1(stem1,0); pos2(stem2,0); top y1=x_height+d+min(oo,serif_drop); bot y2=0; +lft x1l=lft x2l=hround(side_gap-.5stem1); +top y3=x_height; rt x3r=hround(r-letter_fit-.7u-right_jut)+eps; +bot y6=0; rt x6r=hround(r-letter_fit-.3u-right_jut)+eps; +x4=x11=x1; y4=.7bar_height; y11=y3; +alpha1=diag_ratio(1,.5(stem3-tiny),y3-y4,x3r-x4); +alpha2=diag_ratio(1,.5(stem4-tiny),y11-y6,x6r-x1); +penpos3(alpha1*(stem3-tiny),0); penpos4(whatever,-90); +z5=.5[z5l,z5r]; penpos6(alpha2*(stem4-tiny),0); +forsuffixes $=l,r: y3'$=x_height; y6'$=0; z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z11-z6)=whatever[z3,z4]; endfor +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 z11-z6 of currentpen+whatever*(z11-z6); +z6'l=z6l+penoffset z6-z11 of currentpen+whatever*(z11-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 +pos0(stem1,0); pos0'(stem2,0); y0=y0'; x0=x1; x0'=x2; +rt z0r=whatever[z3,z4]; filldraw stroke z1e..z0e--z0'e..z2e; % stem +if serifs: numeric inner_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+inner_jut+.5u+1=lft x6l-inner_jut; fi + sloped_serif.l(1,0,a,1/3,jut,serif_drop); % upper stem serif + dish_serif(2,0',b,1/3,jut,c,1/3,inner_jut); % lower stem serif + dish_serif(3,4,d,2/3,1.4jut,e,1/2,right_jut)(dark); % upper diagonal serif + dish_serif(6,5,f,1/2,inner_jut,g,1/3,right_jut)(dark);fi % lower diagonal serif +turn_picture_lower; penlabels(0,1,2,3,4,5,6,11); endchar; + +cmchar "Barred L"; +beginchar(oct"252",7u#,asc_height#,0); +italcorr asc_height#*slant-1u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +hbar(3,4,lft x1l - hround(2u),rt x2r + hround(2u), .82x_height+.5bar); +penlabels(1,2); endchar; + +cmchar "Lambda"; +beginchar(oct"253",CT(9.5u#,10u#),asc_height#,0); +adjust_fit(0,0); pickup fine.nib; +pos1(vair,90); lft x1=hround .1u; top y1r=h; +x2=x1+2u; y2=.7[x_height,h]; x3=w-2u; bot y4=-oo; y3=max(.07h,y4+eps); +z4-(.25u,0)=whatever[z2,z3]; numeric theta; theta=angle(z2-z3)-90; +pos2(stem,theta); pos3(stem,theta); pos4(stem,0); +filldraw circ_stroke z1e{right}...z2e---z3e + ...{2(x4e-x3e),y4e-y3e}z4e; % long diagonal +y5=.5[bar_height,x_height]; z5=whatever[z2,z3]; +x6=1.5u; y6-.5stem=-oo; pos5(hair,theta-90); pos6(stem,angle(z5-z6)-90); +filldraw circ_stroke z6e--z5e; % short diagonal +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Crossed lambda"; +beginchar(oct"254",CT(9.5u#,10u#),asc_height#,0); +adjust_fit(0,0); pickup fine.nib; +pos1(vair,90); lft x1=hround .1u; top y1r=h; +x2=x1+2u; y2=.7[x_height,h]; x3=w-2u; bot y4=-oo; y3=max(.07h,y4+eps); +z4-(.25u,0)=whatever[z2,z3]; numeric theta; theta=angle(z2-z3)-90; +pos2(stem,theta); pos3(stem,theta); pos4(stem,0); +filldraw circ_stroke z1e{right}...z2e---z3e + ...{2(x4e-x3e),y4e-y3e}z4e; % long diagonal +y5=.5[bar_height,x_height]; z5=whatever[z2,z3]; +x6=1.5u; y6-.5stem=-oo; pos5(hair,theta-90); pos6(stem,angle(z5-z6)-90); +filldraw circ_stroke z6e--z5e; % short diagonal +z7=whatever[z2,z3]; y7=1/3[y5,y2]; pos7(stem,theta+90); +z8=z7+whatever*dir theta; x8=1.5u-.25stem; +z9=z7+whatever*dir theta; x9-x7=x7-x8; +pos8(.6[vair,stem],theta+90); pos9(.6[vair,stem],theta+90); +filldraw stroke z8e--z9e; +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Old L-Yogh Ligature"; +beginchar(oct"255",CT(9.5u#,10u#),asc_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-u#; +adjust_fit(serif_fit#+stem_shift#,.5serif_fit#); +pickup fine.nib; +pos1(if serifs: vair else: stem' fi,180); +lft x1r=hround(side_gap-.5stem'); y1=.68x_height; +pos2(.3[hair,stem],90); x2=.5w+u; top y2r=x_height+o; +pos3(stem,0); x3=x7-.5u; y3=.4[bar_height,x_height]; +pos5(.7[hair,curve],0); x5r=.7[x2,x3]; y5=.7bar_height; +pos6(.8[hair,curve],30); x6=.5[x5l,x7r]; y6=.45[y5,y7]; +pos7(curve,0); rt x7r=hround(w-.75u); y7=0; +filldraw stroke z1e{up}...{right}z2e...{down}z3e...{down}z5e + ...z6e...{down}z7e; % bowl +if serifs: pickup tiny.nib; + x8=x7; bot y8=-.16d; pos8(curve,0); + pos9(vair,-90); pos10(hair,-180); pos10'(flare,-180); + x9=.5[x8,x10r]; bot y9r=-d-oo; y10-.5flare=-.7d; + z10r=z10'r; lft x10'r=hround 2u; + numeric xx; + (xx,y9r)=whatever[z9l,z8l]; x9r:=max(xx,.5[x10r,x9]); + filldraw stroke z7e--z8e{down}...z9e{left}; bulb(9,10,10'); % arc and bulb +else: pickup fine.nib; + x8=x7; bot y8=-.16d; pos8(curve,0); + pos9(vair,-90); x9=.5[x8,x10r]; bot y9r=-d-o; + pos10(.7[vair,flare],-130); lft x10r=hround 2u; + y10r=good.y -.7d; y10l:=good.y y10l; + filldraw stroke z7e--z8e & super_arc.e(8,9) + & term.e(9,10,left,.9,4); fi +pickup tiny.nib; pos51(stem',0); pos52(stem',0); % l +if odd(w-stem'): change_width; fi +lft x51l=hround(side_gap-.5stem'); x51=x52; top y51=h; bot y52=0; +filldraw stroke z51e--z52e; % stem +if serifs: sloped_serif.l(51,52,e,1/3,jut,serif_drop); % upper serif + dish_serif(52,51,f,1/3,jut,g,1/3,jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9,10,12,13,51,52); endchar; + +cmchar "Curly-tail N"; +beginchar(oct"256",10u#,x_height#,desc_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#+u#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(side_gap-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=0; y1=y1'; y2=y2'; +filldraw stroke z1'e--z2'e; % left stem +raised_h_stroke(2,a,3,4); % arch and right stem +if serifs: sloped_serif.l(1',2',b,1/3,jut,serif_drop); % upper left serif + numeric inner_jut; pickup tiny.nib; + if rt x2r+jut+.5u+1<=lft x4l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x4l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,jut); fi % lower left serif +if serifs: pickup tiny.nib; else: pickup fine.nib; fi +pos4'(stem,0); z4'=z4; numeric curlytail[]; +curlytail1=if serifs: vair; else: vair; fi +curlytail2=if serifs: hair; else: .8hair; fi +curlytail3=if serifs: vair; else: vair; fi +pos10(curlytail1,90); x10=.4[x4r,x11]; bot y10l=if serifs: -oo; else: -o; fi +pos11(curlytail2,180); rt x11=w+.5u; y11=.3bar_height; +pos12(curlytail3,280); x12=x4r+.5u; y12=2y11; +pos13(hair,360); x13=.45w; y13=-.75desc_depth; +filldraw stroke z4'e{down} % stem + ..z10e..{up}z11e...{(-3,-1)}z12e...{(-1,-2)}z13e; % tail +penlabels(1,2,3,4,10,11,12,13); endchar; + +cmchar "Open O-E Ligature"; +beginchar(oct"257",13u#,x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(0,0); +numeric left_curve,right_curve; +if monospace: right_curve=left_curve=fudged.stem; +else: left_curve=max(fine.breadth,hround(curve-2stem_corr)); + right_curve=max(tiny.breadth,hround(curve-if serifs:6 else:8 fi\\stem_corr));fi +pickup tiny.nib; pos11(right_curve,0); +pos12(vair,90); pos13(mfudged.stem,180); +y11=good.y bar_height; top y12r=h+vround 1.5oo; y10l=bot y11; +rt x11r=hround min(w-.5u,w-u+.5right_curve); +lft x13r=hround (.5(w)-.5mfudged.stem); x12=.55[x13,x11]; +{{interim superness:=more_super; + filldraw stroke super_arc.e(11,12)}}; % right bowl of e +y13=.5[y12,y14]; bot y14r=-oo; x14=x12+.25u; +if serifs: pos14(vair',270); pos15(mfudged.hair,360); + y15=max(good.y(.5bar_height-.9),y14l+vair); x15r=x11r; + (x,y14l)=whatever[z14r,z15]; x14l:=min(x,x14l+.5u); + filldraw stroke pulled_arc.e(12,13) + & pulled_super_arc.e(13,14)(.8superpull) + ...{x15-x14,5(y15-y14)}z15e; % left bowl, arc, and terminal of e +else: pos14(vair,270); + filldraw stroke super_arc.e(12,13) + & super_arc.e(13,14); % left bowl and arc of e + pickup fine.nib; pos14'(vair,270); z14=z14'; + pos15(.5[vair,flare],275); rt x15r=hround(w-.6u); + y15r=good.y(y15r+1/3bar_height-y15); y15l:=good.y y15l; x15l:=good.x x15l; + filldraw stroke term.e(14',15,right,1,4); fi % terminal +y11'r=y10r=y10l+.6[thin_join,vair]; y11'l=y10l; x11'l=x11'r=x11; x10l=x10r=x13; +fill stroke z10e--z11'e; % crossbar +numeric BH; BH=if Times_Compat:.5613h else: bar_height fi; % Open O +pickup fine.nib; pos2(vair',-90); pos4(vair',90); +pos3(mfudged.stem,0); z3=z13; +x2=x4=.5[.5u,x3]; bot y2r=vround(-1.5oo); top y4r=h+oo; +if serifs: pos1(hair,-180); pos0(flare,-180); + y1=max(h-BH-.5flare-2vair'-2,h-.9[BH,h]+.5flare); + lft x1r=hround(.7u); bulb(2,1,0); % bulb + pos5(hair,-180); lft x5r=hround(.5u); + y5=min(h-good.y(.5BH-.9),y4l-vair'); +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],-100); + lft x1r=hround(.6u); bot y1r=h-vround .82[BH,top y4r]; + filldraw stroke term.e(2,1,left,.8,4); % upper terminal + pos5(.6[vair',flare],95); lft x5r=hround(.5u); + y5r=good.y(h+y5r-1/3BH-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 +penlabels(1,2,3,4,10,11,12,13,14,15); endchar; + +cmchar "Omega"; +beginchar(oct"260",CT(11u#,12u#),x_height#,0); % 2003/03/16 +italcorr .5x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +pos2(curve,-180); lft x2r=hround.5u; y2=y8=.45x_height; +y4=y6=vround.6h; y1r=h+oo; x1=x5=.5w; pos1(vair,90); +pos3(vair,-90); pos4(hair,0); pos5(vair,90); +pos6(hair,180); pos7(vair,270); pos8(curve,360); +bot y3r=bot y7r=-oo; top y5r=vround(.1[y4,h]+.5vair); +x3=.5[x2,x4]; x7=.5[x6,x8]; rt x8r=hround(w-.5u); +x5=.5[x4,x6]; rt x4r-lft x6r=min(stem,2hair)+2eps; +if x4l<x6l: x4l:=x6l:=x5; fi +pos9(vair,110);pos10(vair,70); +y9r=y10r=h; x9=w-x10=x2+1/2(x1-x2); +filldraw stroke z9e{dir210}...z2e{down}...z3e{right} + ...{up}z4e...{left}z5e; % left arc +filldraw stroke z5e{left}...z6e{down}...z7e{right} + ...{up}z8e...z10e{dir150}; +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "Curly-tail Esh"; +beginchar(oct"262",CT(5u#,5.56u#),asc_height#,desc_depth#); +italcorr asc_height#*slant+1.5u#; +adjust_fit(.5u# if monospace:+1.5u# fi,.5u# if monospace:+1.5u# fi); +pickup fine.nib; pos1(stem',0); pos2(stem',0); +lft x1l=hround(.5w-.5stem'); x2=x1; y2=0; h-y1=d; +filldraw stroke z1e--z2e; % stem +hooktop(1,3,4,5,stem',w+1u,h,.9,.5,1/3); +if serifs: pickup tiny.nib; else: pickup fine.nib; fi +pos2'(stem,0); z2'=z2; numeric curlytail[]; +curlytail1=if serifs: vair; else: vair; fi +curlytail2=if serifs: hair; else: .8hair; fi +curlytail3=if serifs: vair; else: vair; fi +pos7(curlytail1,-90); pos8(curlytail2,-180); +pos9(curlytail3,-270); pos10(hair,0); +bot y7r=-d-o; x7=.45[x8,x2]; lft x8r=hround -1u; y8=-.7d; +z9=(.5w,-.2d); rt x10r=w+.25hair; y10=-d-apex_o; +filldraw stroke z2e{down}...{left}z7e...z8e + ...z9e...{down}z10e; % lower stem +penlabels(1,2,3,4,5,7,8,9,10); endchar; + +cmchar "Left-hook T"; +beginchar(oct"263",CT(6u#+max(u#,.5stem#),5.56u#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),desc_depth#); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: .5u# else: 0u# fi); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,180);pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); +y2=y8; y3=max(.5bar_height,2vair); +pickup crisp.nib; pos8(bar,90); +rt x8=hround(w- if Times_Compat: .4u else: 1.3u fi); +top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +if hefty: pos7(bar,90); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=h; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,90); pos1(hair,0); + rt x1r=fine.rt x2l; top y1=h; + filldraw z1l{down}...{left}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround(w- if Times_Compat: 0 fi u); +if serifs: pos5(hair,0); x4l=.5[x3l,x5l]; + y5= if Times_Compat: .5 else: 1 fi [0,y3]; + (x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); + filldraw stroke z2e..super_arc.e(3,4)...{up}z5e; % stem and hook + if Times_Compat: else: + pickup crisp.nib; pos6(hair,0); pos5'(hair,0); + x6=x5=x5'; top y6=max(vround .75bar_height,top y5); y5=y5'; + filldraw stroke z5'e--z6e; fi % terminal + left_tail(5,10,11,12,hair,hround(.5[x3r,x3])); +else: pos5(vair,-75); top y5l=vround .2[top y4l,bar_height]; + x5l:=good.x x5l; x4l=1/3[x3l,x5l]; x4r:=1/3[x3r,x5r]; y3l:=y3l+.2vair; + filldraw stroke z2e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{right}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)<0) or (xpart(z5r-postcontrol 2 of p)<0): + filldraw stroke z4e{right}...{up}z5e; + else: filldraw p; fi; + pos9(.8hair,0); x9r=x5r; y9=y5r; + left_tail(9,10,11,12,.8hair,hround(.5[x3r,x3])); fi +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +cmchar "Curly-tail T"; +beginchar(oct"264",6u#+max(u#,.5stem#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),0); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: 0 else: -.5u# fi); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); +pickup fine.nib; pos2(shaved_stem,180);pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); y2=y8; +y3=if serifs: max(.5bar_height,2vair); else: max(.3bar_height,1.5vair); fi +pickup crisp.nib; pos8(bar,90); +rt x8=hround(w-1.3u); top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +if hefty: pos7(bar,90); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=h; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,90); pos1(hair,0); + rt x1r=fine.rt x2l; top y1=h; + filldraw z1l{down}...{left}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=if serifs: -oo; else: -o; fi +rt x5r=hround(w-u+.25hair); x4l=.6[x3,x5]; +pos5(if serifs:hair else: .8hair fi,0); +y5=if serifs: .35bar_height; else: .8[0,y3]; fi +(x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); +pos11(if serifs: hair else: vair' fi,110); x11=x4-.5u; top y11r=2y5; +pos12(hair,180); x12=0; y12=-.75desc_depth; +filldraw stroke z2e..super_arc.e(3,4)...{up}z5e % stem and hook + ...{(-3,-1)}z11e...{(-1,-4)}z12e; +penlabels(1,2,3,4,5,6,7,8,10,11,12); endchar; + +cmchar "T-S Ligature"; +beginchar(oct"265",12u#,10/7x_height#,0); +italcorr x_height#*slant if serifs: -.75u# else: -.25u# fi; +adjust_fit(0,if serifs: 0 else: -.5u# fi); +numeric shaved_stem; shaved_stem=hround(stem if hefty:-\\2stem_corr fi); % t +pickup fine.nib; pos2(shaved_stem,180);pos3(shaved_stem,180); +lft x2r=lft x3r=hround(side_gap-.5shaved_stem); +y2=y8; y3=max(.5bar_height,2vair); +pickup crisp.nib; pos8(bar,90); +rt x8=hround5u; top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +if hefty: pos7(bar,90); + filldraw stroke z7e--z8e; % crossbar + pickup tiny.nib; pos1(hround(shaved_stem-stem_corr),0); + rt x1r=fine.rt x2l; top y1=h; + penpos2'(x1r-x1l,0); x2'=x1; y2'=y2; + filldraw stroke z1e--z2'e; % upper terminal +else: pos7(vair,90); pos1(hair,0); + rt x1r=fine.rt x2l; top y1=h; + filldraw z1l{down}...{left}z7r--z7l--z8l + --z8r--(x1r,y8r)--z1r--cycle; fi % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround7u; +pos5(hair,0); y5=.35bar_height; x4l=.5[x3l,x5l]; +(x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); +filldraw stroke z2e..super_arc.e(3,4); % stem +numeric x_org, theta; x_org=5u; % s + theta=90-angle(40u,x_height); slope:=-x_height/40u; % angle at middle +numeric s_slab; s_slab=if serifs:vair else:Vround .1[vair,stem] fi; +numeric ess'; ess'=max(fine.breadth,ess); +pickup fine.nib; pos12(max(fine.breadth,s_slab-vround vair_corr),-100); +pos10(ess',theta); pos17(vair',-90); x12l=x10=x17=x_org+.5(w-x_org); +top y12l=x_height+vround 1.5oo; bot y17r=-oo; +y10-.5ess'=y17l+if serifs:.54 else: .52 fi\\(y12r-y17l-ess'); +lft x13l=hround(x_org+.6u); rt x16r=hround(w-.6u); +x13r-x13l=x16r-x16l=hround .5[s_slab,ess']-fine; +ellipse_set(12l,13l,14l,10l); ellipse_set(12r,13r,14r,10r); y13=y13r; +ellipse_set(17l,16l,15l,10l); ellipse_set(17r,16r,15r,10r); y16=y16r; +interim superness:=more_super; +filldraw stroke super_arc.e(12,13) & z13e{down} + ..z14e---z15e..z16e{down} & super_arc.e(16,17)..z4e; % main stroke +if serifs: pos11(hair,180); rt x11l=hround(w-1.05u); + bot y11=min(bot y12r,vround 1/5[top y15r,x_height]); + filldraw stroke z11e{up}....{left}z12e; % upper arc + path upper_arc; upper_arc=z11{up}....{left}z12; + pos20(.3[fine.breadth,cap_hair],0); + x20r=x11l; top y20=top y12l; x11l-x11'=1.6cap_curve-fine; y11'=y11; + numeric t; t=xpart(upper_arc intersectiontimes(z20l--z11')); + filldraw z11l--z20r--z20l--subpath(t,0) of upper_arc--cycle; % upper barb +else: pos11(4/7[s_slab,flare],-100); + x11l=good.x(x11l+w-u-rt x11); top y11l=vround(.93x_height+1.5oo); + filldraw stroke term.e(12,11,right,.9,4); fi % upper arc and terminal +penlabels(1,2,3,4,5,6,7,8); +penlabels(10,11,11',12,13,14,15,16,20); endchar; + +cmchar "Long Viby Y"; +beginchar(oct"266",10u#,x_height#,desc_depth#); +italcorr x_height#*slant-.25u#; +adjust_fit(0,0); interim superness:=more_super; +pickup fine.nib; +lft x0=hround .25u; lft x2l=hround(2.75u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pickup tiny.nib; pos2'(stem,-180); z2'=z2; x3=x2; pos3(stem,-180); +lft x8l=hround(w-side_gap-.5stem); bot y8=-d; +pos4(vair,-90); pos5(hair,0); pos6(stem,0); pos8(stem,0); +x4=.5[x3,x5]; bot y4r=-oo; y3=.7[y4,y5]; +x5=x6=x8; y5=.57h; top y6=h; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw stroke z6e--z8e; +if serifs: dish_serif(6,8,a,1/3,jut,b,1/3,jut); + dish_serif(8,6,c,1/3,jut,d,1/3,jut); fi +penlabels(0,1,2,3,4,5,6,8); endchar; + +cmchar "Viby Y"; +beginchar(oct"267",10u#,x_height#,desc_depth#); +italcorr x_height#*slant-.25u#; +adjust_fit(0,0); interim superness:=more_super; +pickup fine.nib; +rt x10=hround(w+.25u); lft x8l=hround(w-side_gap-.5stem); +hook_out_bot(8,9,10); +lft x0=hround .25u; lft x2l=hround(2.75u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pickup tiny.nib; pos2'(stem,-180); pos8'(stem,0); +z2'=z2; z8'=z8; x3=x2; pos3(stem,-180); +pos4(vair,-90); pos5(hair,0); pos6(stem,0); +x4=.5[x3,x5]; bot y4r=-oo; y3=.7[y4,y5]; +x5=x6=x8; y5=.57h; top y6=h; +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw stroke z6e--z8'e; +if serifs: dish_serif(6,8,a,1/3,jut,b,1/3,jut); fi +penlabels(0,1,2,3,4,5,6,8,9,10); endchar; + +cmchar "Curly-tail Yogh"; +beginchar(oct"270",CT(8u#,8.88u#),x_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,.5serif_fit#); +yogh_stroke(.5u,.3,.75u,false,true); % yogh +pos9(vair,-180); pos21(vair,-270); +if serifs: pos22(hair,0); else: pos22(hair,0); fi +x21=.5(w-u); y21=0; rt x22r=w; y22=-d-apex_o; x9=u; y9=.5[y8,y21]; +filldraw stroke z8e{left}...{up}z9e...{right}z21e..{(2,-10)}z22e; % curly-tail +penlabels(1,2,3,4,5,6,7,8,9,12,21,22); endchar; + +%%%%% not yet good; to be corrected!!! +cmchar "Reversed Yogh"; +beginchar(oct"271",CT(8u#,8.88u#),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_thickness1<tiny.breadth: arm_thickness1:=tiny.breadth; fi +pickup tiny.nib; lft x1r=lft x2r=hround(.8u); +rt x3l=rt x4l=hround.7[.8u, w-.5u]; +top y1=h; y2=min(y1,h-2/3arm_thickness1); +bot y3=.3[0,h]; +numeric alpha; alpha=diag_ratio(1,z_stem-tiny,y2-y3,x3l-x2r-slant*(y2-y3)); +penpos1(alpha*(z_stem-tiny),-180); penpos2(alpha*(z_stem-tiny),-180); +penpos3(alpha*(z_stem-tiny),-180); penpos4(alpha*(z_stem-tiny),-180); +filldraw stroke z1e--z2e--z3e; +pickup crisp.nib; pos5(arm_thickness1,90); pos6(hair,0); +top y5r=h; x5=x1; rt x6r=w-hround .75u; y6=good.y(y5l-beak/1.8)-eps; +arm(5,6,a,beak_darkness,.4beak_jut); % upper arm and beak +pickup fine.nib; +pos12(stem,angle(z2-z3)); z12l=z3r; +pos7(curve,180); pos8(vair,270); +lft x7r=hround(.75u); y7=.5[bot y12l,top y8l]; +x8=w-hround .5[.5u, w-.8u]; bot y8r=-d-oo; +filldraw stroke pulled_arc.e(12,7) & pulled_arc.e(7,8); % bowl +if serifs: numeric bulb_diam[]; + bulb_diam2=flare; %+cap_stem-stem; + pos10(bulb_diam2,0); pos9(cap_hair,0); + rt x10r=w-hround .75u; y10=-.35d; + bulb(8,9,10); % lower bulb +else: pos9(.6[vair',flare],-80); + rt x9r=w-hround .75u; top y9l=vround -.3d; + y9r:=good.y y9r-eps; x9l:=good.x x9l; + filldraw stroke term.e(8,9,right,1,3); fi % lower terminal +penlabels(1,2,3,4,5,6,7,8,9,10,12); endchar; + +cmchar "Soft Sign"; +beginchar(oct"272",CT(8.5u#+serif_fit#,8.88u#),x_height#,0); +italcorr .5x_height#*slant-1u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(side_gap-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pos3(vair,90); pos5(curve,0); pos7(vair,-90); +top y3r=vround(.6x_height+.5vair); y5=.45[y7,y3]; +bot y7r=bot y2; rt x5r=hround(w-1.5u+.5curve); x3=x7=x1; +filldraw stroke z3e{right}...z5e...{left}z7e; % lobe +if serifs: nodish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper serif + nodish_serif(2,1,c,1/3,jut,d,1/3,0jut); fi % lower serif +penlabels(1,2,3,5,6,7); endchar; + +cmchar "Hard Sign"; +beginchar(oct"273",10u#+serif_fit#,x_height#,0); +italcorr .5x_height#*slant-1u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(4u-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pos3(vair,90); pos5(curve,0); pos7(vair,-90); +top y3r=vround(.6x_height+.5vair); y5=.45[y7,y3]; +bot y7r=bot y2; rt x5r=hround(w-1.5u+.5curve); x3=x7=x1; +filldraw stroke z3e{right}...z5e...{left}z7e; % lobe +if serifs: nodish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper serif + nodish_serif(2,1,c,1/3,jut,d,1/3,0jut); fi % lower serif +pickup crisp.nib; pos8(slab,90);pos9(hair,180); +top y8r = h; x8 = x1; +lft x9r = hround .75u; y9 = good.y(y8l-beak/1.8) - eps; +arm(8,9,e,beak_darkness, -.4beak_jut); +penlabels(1,2,3,5,6,7,8,9); endchar; + +cmchar "Raised Glottal Stop"; +beginchar(oct"274",CT(8u#,8.88u#),body_height#,0); +italcorr .8asc_height#*slant; +adjust_fit(0,0); pickup tiny.nib; +pos2(vair,90); pos3(curve,0); +pos4(vair,-90); pos5(stem,0); pos6(stem,0); +lft x6l=hround(.47w-.5stem); +x2=x5=x6; x4=x5l; +rt x3r=hround(w-u); bot y6=.8x_height; +top y2r=h+oo; y3=.5[y2,y4]; y4r=.25[y6,y2]; y5=y4l; +{{interim superness:=more_super; + filldraw stroke pulled_super_arc.e(2,3)(superpull) + & z3e{down}...{(-10,-1)}z4e; + filldraw stroke z5e--z6e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=.3[y3,y2]; bulb(2,1,0); % bulb +else: pickup fine.nib; pos2'(vair,90); z2'=z2; + 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); endchar; + +% end of tipasym3.mf diff --git a/fonts/tipa/tipa/mf/tipatone.mf b/fonts/tipa/tipa/mf/tipatone.mf new file mode 100644 index 0000000000..d5dcaf8f2d --- /dev/null +++ b/fonts/tipa/tipa/mf/tipatone.mf @@ -0,0 +1,311 @@ +% tipatone.mf: TIPA symbols for tone letters and other suprasegmentals +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% + +def tone_bar(suffix $, $$)(expr start_y, end_y) = + adjust_fit(0,0); pickup if serifs: rule.nib; else: hair_rule.nib; fi + x$ = 0; x$$ = w; % lft, rt are not used for adjusting tone letters. + y$ = start_y; y$$ = end_y; % same thing for not using top, bot. + draw z$--z$$; + penlabels($,$$); enddef; + +def long_width = 6u enddef; +def short_width = 4u enddef; + +numeric ipacode; +ipacode := 127; + +cmchar "Tone letter: long level tone"; +beginchar(incr ipacode,long_width#,0,0); +tone_bar(1,2,0,0); endchar; + +cmchar "Tone letter: long falling tone (1)"; +beginchar(incr ipacode,long_width#,1/4asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: long falling tone (2)"; +beginchar(incr ipacode,long_width#,2/4asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: long falling tone (3)"; +beginchar(incr ipacode,long_width#,3/4asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: long falling tone (4)"; +beginchar(incr ipacode,long_width#,asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: long rising tone (1)"; +beginchar(incr ipacode,long_width#,1/4asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Tone letter: long rising tone (2)"; +beginchar(incr ipacode,long_width#,2/4asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Tone letter: long rising tone (3)"; +beginchar(incr ipacode,long_width#,3/4asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Tone letter: long rising tone (4)"; +beginchar(incr ipacode,long_width#,asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Tone letter: short level tone"; +beginchar(incr ipacode,short_width#,0,0); +tone_bar(1,2,0,0); endchar; + +cmchar "Tone letter: short falling tone (1)"; +beginchar(incr ipacode,short_width#,1/4asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: short falling tone (2)"; +beginchar(incr ipacode,short_width#,2/4asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: short falling tone (3)"; +beginchar(incr ipacode,short_width#,3/4asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: short falling tone (4)"; +beginchar(incr ipacode,short_width#,asc_height#,0); +tone_bar(1,2,h,0); endchar; + +cmchar "Tone letter: short rising tone (1)"; +beginchar(incr ipacode,short_width#,1/4asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Tone letter: short rising tone (2)"; +beginchar(incr ipacode,short_width#,2/4asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Tone letter: short rising tone (3)"; +beginchar(incr ipacode,short_width#,3/4asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Tone letter: short rising tone (4)"; +beginchar(incr ipacode,short_width#,asc_height#,0); +tone_bar(1,2,0,h); endchar; + +cmchar "Vertical line (minor group)"; +beginchar(incr ipacode,CT(5u#,5.56u#),body_height#,paren_depth#); +italcorr body_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); +numeric thickness; thickness=hround.6[hair,stem]; +pickup tiny.nib; pos1(thickness,0); pos2(thickness,0); +lft x1l = lft x2l = hround(.5w-.5thickness); +top y1=h+eps; bot y2=-d-eps; +filldraw stroke z1e--z2e; +penlabels(1,2); endchar; + +cmchar "Double vertical line (Major group)"; +beginchar(incr ipacode,CT(9u#,10u#),body_height#,paren_depth#); +italcorr body_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); +numeric thickness; thickness=hround(.6[hair,stem]-2stem_corr); +pickup tiny.nib; pos1(thickness,0); pos2(thickness,0); +pos3(thickness,0); pos4(thickness,0); +x1=x2; x3=x4=w-x1; lft x1l = hround((w-3.5u-thickness)/2); +top y1=top y3=h+eps; bot y2=bot y4=-d-eps; +filldraw stroke z1e--z2e; filldraw stroke z3e--z4e; +penlabels(1,2,3,4); endchar; + +cmchar "Down arrow (Downstep)"; +beginchar(incr ipacode,8u#,body_height#,0); +italcorr .76body_height#*slant+.5crisp#-u#; +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,0); pos2(rule_thickness,0); +pos3(rule_thickness,90); pos4(rule_thickness,90); +lft x1l=hround(.5w-.5rule_thickness); y1+.5rule_thickness=h; +x0=x1=x2; bot y0=bar_height; x0-x3=x4-x0=if monospace:2.5u else:2.5u fi+eps; +y3=y4=y0+if monospace:.24 else:.27 fi asc_height+eps; +pos5(rule_thickness,angle(z4-z0)); z5l=z0; +pos6(rule_thickness,angle(z3-z0)); z6l=z0; +z9=.2[.5[z3,z4],z0]; +numeric t; path p; p=z4r{z9-z4}..z6r; +t=xpart(p intersectiontimes((x2r,-d)--(x2r,h))); y2=ypart point t of p; +filldraw z0..{z4-z9}z4l--subpath (0,t) of\\(z4r{z9-z4}..z6r) + --z2r---z1r..z1l---z2l--subpath (t,0) of\\(z3r{z9-z3}..z5r) + --z3l{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "Up arrow (Upstep)"; +beginchar(incr ipacode,8u#,body_height#,0); +italcorr .76body_height#*slant+.5crisp#-u#; +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,0); pos2(rule_thickness,0); +pos3(rule_thickness,90); pos4(rule_thickness,90); +lft x1l=hround(.5w-.5rule_thickness); y1-.5rule_thickness=bar_height; +x0=x1=x2; top y0=h; x0-x3=x4-x0=if monospace:2.5u else:2.5u fi+eps; +y3=y4=y0-if monospace:.24 else:.27 fi asc_height-eps; +pos5(rule_thickness,angle(z4-z0)); z5l=z0; +pos6(rule_thickness,angle(z3-z0)); z6l=z0; +z9=.2[.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--subpath (t,0) of\\(z3l{z9-z3}..z5r) + --z3r{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "Northeast arrow (Global rise)"; +beginchar(incr ipacode,14u#,asc_height#,0); +adjust_fit(0,0); pickup crisp.nib; +x1-.5rule_thickness=hround u; rt x0=hround(w-u); +y1-.5rule_thickness=-d; top y0=h; +numeric theta; theta=angle(z0-z1); +pos1(rule_thickness,90+theta); pos2(rule_thickness,90+theta); +pos3(rule_thickness,theta); pos4(rule_thickness,theta); +z3-z0=(-3u,.27asc_height) rotated theta; +z4-z0=(-3u,-.27asc_height) rotated theta; +pos5(rule_thickness,-90); z5l=z0; pos6(rule_thickness,-180); z6l=z0; +z9=.2[.5[z3,z4],z0]; +numeric t; path p; p=z4l{z9-z4}..z6r; +t=xpart(p intersectiontimes (z1l--(z1l+2(z0-z1)))); z2l=point t of p; +filldraw z0..{z4-z9}z4r--subpath (0,t) of\\(z4l{z9-z4}..z6r) + --z2l---z1l..z1r---z2r--subpath (t,0) of\\(z3l{z9-z3}..z5r) + --z3r{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "Southeast arrow (global fall)"; +beginchar(incr ipacode,14u#,asc_height#,0); +adjust_fit(0,0); pickup crisp.nib; +x1-.5rule_thickness=hround u; rt x0=hround(w-u); +y1+.5rule_thickness=h; bot y0=-d; +numeric theta; theta=angle(z0-z1); +pos1(rule_thickness,90+theta); pos2(rule_thickness,90+theta); +pos3(rule_thickness,theta); pos4(rule_thickness,theta); +z3-z0=(-3u,.27asc_height) rotated theta; +z4-z0=(-3u,-.27asc_height) rotated theta; +pos5(rule_thickness,180); z5l=z0; pos6(rule_thickness,90); z6l=z0; +z9=.2[.5[z3,z4],z0]; +numeric t; path p; p=z4l{z9-z4}..z6r; +t=xpart(p intersectiontimes (z1l--(z1l+2(z0-z1)))); z2l=point t of p; +filldraw z0..{z4-z9}z4r + --subpath (0,t) of\\(z4l{z9-z4}..z6r) + --z2l---z1l..z1r---z2r + --subpath (t,0) of\\(z3l{z9-z3}..z5r) + --z3r{z9-z3}..z0 & cycle; % arrowhead and stem +penlabels(0,1,2,3,4,5,6,9); endchar; + +cmchar "Mid acute accent"; +beginchar(oct"230",9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); pickup tiny.nib; +numeric accent.stem, accent.hair; +accent.stem = max(.8stem,hair); +accent.hair = max(.6stem,hair); +y1 = y2; x1 = hround(1.5u+.5accent.stem); x2 = x4; +pos1(accent.hair,-90); pos2(accent.hair,-90); +if serifs: pickup tiny.nib; + x3+.5accent.stem=hround(w-1.5u); x3-x4=1.8u; y2 = y4; + y3+.5accent.stem=h; top y4'l=vround(.4[x_height,asc_height])+o; + y4=y4'; pos4'(accent.hair,-90); + numeric theta; theta=angle(z4-z3)+90; + pos3(accent.stem,theta); pos4(accent.hair,theta); + filldraw stroke z1e--z2e; % bar + filldraw circ_stroke z3e--z4e; % right diagonal +else: pickup fine.nib; + pos3(stem,0); pos4(accent.hair,0); bot y2r = bot y4; + rt x3r=hround(w-1.5u); rt x4r=hround(rt x3r-1.8u); + top y3=h; top y2l=vround(.4[x_height,asc_height])+o; + filldraw stroke z1e--z2e; % bar + filldraw stroke z3e--z4e; fi % right diagonal +penlabels(1,2,3,4); endchar; + +cmchar "Grave mid accent"; +beginchar(oct"231",9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); pickup tiny.nib; +numeric accent.stem, accent.hair; +accent.stem = max(.8stem,hair); +accent.hair = max(.6stem,hair); +y1 = y2; x1 = hround(w-1.5u-.5accent.stem); x2 = x4; +pos1(accent.hair,-90); pos2(accent.hair,-90); +if serifs: pickup tiny.nib; + x3-.5accent.stem=hround(1.5u); x4-x3=1.8u; y2 = y4; + y3+.5accent.stem=h; top y4'r=vround(.4[x_height,asc_height])+o; + y4=y4'; pos4'(accent.hair,90); + numeric theta; theta=angle(z4-z3)+90; + pos3(accent.stem,theta); pos4(accent.hair,theta); + filldraw stroke z1e--z2e; % bar + filldraw circ_stroke z3e--z4e; % right diagonal +else: pickup fine.nib; + pos3(stem,0); pos4(accent.hair,0); bot y2r = bot y4; + lft x3l=hround(1.5u); lft x4l=hround(lft x3l+1.8u); + top y3=h; top y2l = vround(.4[x_height,asc_height])+o; + filldraw stroke z1e--z2e; % bar + filldraw stroke z3e--z4e; fi % right diagonal +penlabels(1,2,3,4); endchar; + +cmchar "Rising-falling accent"; +beginchar(oct"232",9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); pickup tiny.nib; +numeric accent.stem, accent.hair; +accent.stem = max(.8stem,hair); +accent.hair = max(.5stem,hair); +if serifs: pickup tiny.nib; + x2-x1=x6-x5=2.2u; x2=x4; x3=x5; x1=1.2u; x6=w-1.2u; + y1=y3=y5=h-.5accent.stem; + y2=y4=y6=vround(max(2/3[h,x_height],x_height+o+hair)); + numeric theta; theta=angle(z1-z2)+90; + pos1(accent.stem,theta); pos2(accent.hair,theta); + pos3(accent.stem,180-theta); pos4(accent.hair,180-theta); + pos5(accent.stem,theta); pos6(accent.hair,theta); + full_circ_stroke(1,2); + full_circ_stroke(3,4); + full_circ_stroke(5,6); +else: pickup fine.nib; + x2-x1=x6-x5=2.2u; x2=x4; x3=x5; x1=1.2u; x6=w-1.2u; + top y1=top y3=top y5=h; bot y2=bot y4=bot y6=vround 2/3[h,x_height]; + pos1(stem,0); pos2(accent.hair,0); + pos3(stem,0); pos4(accent.hair,0); + pos5(stem,0); pos6(accent.hair,0); + filldraw stroke z1e--z2e; + filldraw stroke z3e--z4e; + filldraw stroke z5e--z6e; fi +penlabels(1,2,3,4,5,6); endchar; + +cmchar "Falling-rising accent"; +beginchar(oct"233",9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); pickup tiny.nib; +numeric accent.stem, accent.hair; +accent.stem = max(.8stem,hair); +accent.hair = max(.5stem,hair); +if serifs: pickup tiny.nib; + x1-x2=x5-x6=2.2u; x1=x3; x4=x6; x2=1.2u; x5=w-1.2u; + y1=y3=y5=h-.5accent.stem; + y2=y4=y6=vround(max(2/3[h,x_height],x_height+o+hair)); + numeric theta; theta=angle(z1-z2)+90; + pos1(accent.stem,theta); pos2(accent.hair,theta); + pos3(accent.stem,180-theta); pos4(accent.hair,180-theta); + pos5(accent.stem,theta); pos6(accent.hair,theta); + full_circ_stroke(1,2); + full_circ_stroke(3,4); + full_circ_stroke(5,6); +else: pickup fine.nib; + x1-x2=x5-x6=2.2u; x1=x3; x4=x6; x2=1.2u; x5=w-1.2u; + top y1=top y3=top y5=h; bot y2=bot y4=bot y6=vround 2/3[h,x_height]; + pos1(stem,0); pos2(accent.hair,0); + pos3(stem,0); pos4(accent.hair,0); + pos5(stem,0); pos6(accent.hair,0); + filldraw stroke z1e--z2e; + filldraw stroke z3e--z4e; + filldraw stroke z5e--z6e; fi +penlabels(1,2,3,4,5,6); endchar; + +% end of tipatone.mf diff --git a/fonts/tipa/tipa/mf/tipatr.mf b/fonts/tipa/tipa/mf/tipatr.mf new file mode 100644 index 0000000000..b57c662e8e --- /dev/null +++ b/fonts/tipa/tipa/mf/tipatr.mf @@ -0,0 +1,31 @@ +% tipatr.mf -- correction for Times Roman compatible fonts +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% + +def bulb(suffix $,$$,$$$) = + z$$$r=z$$r; + numeric theta; theta=angle(0,y$r-y$$r); + filldraw z$r{x$$r-x$r,0}...{0,y$$r-y$r}z$$r...{dir theta}z$$$l... + {x$r-x$$r,0}z$l--cycle; + enddef; + +def bulbvar(suffix $,$$,$$$) = + z$$$r=z$$r; + numeric theta; theta=angle(x$r-x$$r,0); + filldraw z$r{0,y$$r-y$r}...{x$$r-x$r,0}z$$r...{dir theta}z$$$l... + {0,y$r-y$$r}z$l--cycle; + enddef; + +endinput diff --git a/fonts/tipa/tipa/mf/tipats10.mf b/fonts/tipa/tipa/mf/tipats10.mf new file mode 100644 index 0000000000..a645a56776 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipats10.mf @@ -0,0 +1,92 @@ +% tipats10.mf: TIPA Typewriter Text Slanted 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPATS"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=21/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=250/36pt#; +asc_height#:=220/36pt#; +cap_height#:=220/36pt#; +fig_height#:=220/36pt#; +x_height#:=155/36pt#; +math_axis#:=110/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=80/36pt#; +crisp#:=22/36pt#; +tiny#:=22/36pt#; +fine#:=21/36pt#; +thin_join#:=21/36pt#; +hair#:=25/36pt#; +stem#:=25/36pt#; +curve#:=25/36pt#; +ess#:=22/36pt#; +flare#:=32/36pt#; +dot_size#:=36/36pt#; +cap_hair#:=25/36pt#; +cap_stem#:=25/36pt#; +cap_curve#:=25/36pt#; +cap_ess#:=25/36pt#; +rule_thickness#:=25/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=34/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=0pt#; +beak#:=34/36pt#; +vair#:=22/36pt#; +notch_cut#:=25/36pt#; +bar#:=22/36pt#; +slab#:=22/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=22/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=10/36pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=1/6; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=21/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipatt10.mf b/fonts/tipa/tipa/mf/tipatt10.mf new file mode 100644 index 0000000000..ece73bfb77 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipatt10.mf @@ -0,0 +1,92 @@ +% tipatt10.mf: TIPA Typewriter Text 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPATT"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=21/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=250/36pt#; +asc_height#:=220/36pt#; +cap_height#:=220/36pt#; +fig_height#:=220/36pt#; +x_height#:=155/36pt#; +math_axis#:=110/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=80/36pt#; +crisp#:=22/36pt#; +tiny#:=22/36pt#; +fine#:=21/36pt#; +thin_join#:=21/36pt#; +hair#:=25/36pt#; +stem#:=25/36pt#; +curve#:=25/36pt#; +ess#:=22/36pt#; +flare#:=32/36pt#; +dot_size#:=36/36pt#; +cap_hair#:=25/36pt#; +cap_stem#:=25/36pt#; +cap_curve#:=25/36pt#; +cap_ess#:=25/36pt#; +rule_thickness#:=25/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=34/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=0pt#; +beak#:=34/36pt#; +vair#:=22/36pt#; +notch_cut#:=25/36pt#; +bar#:=22/36pt#; +slab#:=22/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=22/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=10/36pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=21/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipatt12.mf b/fonts/tipa/tipa/mf/tipatt12.mf new file mode 100644 index 0000000000..ca20d29923 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipatt12.mf @@ -0,0 +1,92 @@ +% tipatt12.mf: TIPA Typewriter Text 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPATT"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=24.7/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=300/36pt#; +asc_height#:=264/36pt#; +cap_height#:=264/36pt#; +fig_height#:=264/36pt#; +x_height#:=186/36pt#; +math_axis#:=132/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=60/36pt#; +desc_depth#:=96/36pt#; +crisp#:=25/36pt#; +tiny#:=25/36pt#; +fine#:=22/36pt#; +thin_join#:=22/36pt#; +hair#:=28/36pt#; +stem#:=28/36pt#; +curve#:=28/36pt#; +ess#:=25/36pt#; +flare#:=35/36pt#; +dot_size#:=39/36pt#; +cap_hair#:=28/36pt#; +cap_stem#:=28/36pt#; +cap_curve#:=28/36pt#; +cap_ess#:=28/36pt#; +rule_thickness#:=28/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=39/36pt#; +cap_jut#:=39/36pt#; +beak_jut#:=0pt#; +beak#:=39/36pt#; +vair#:=25/36pt#; +notch_cut#:=28/36pt#; +bar#:=25/36pt#; +slab#:=25/36pt#; +cap_bar#:=25/36pt#; +cap_band#:=25/36pt#; +cap_notch_cut#:=28/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=11/36pt#; +o#:=5/36pt#; +apex_o#:=4/36pt#; +slant:=0; +fudge:=0.86; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=24.7/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipatt8.mf b/fonts/tipa/tipa/mf/tipatt8.mf new file mode 100644 index 0000000000..12877a6091 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipatt8.mf @@ -0,0 +1,92 @@ +% tipatt8.mf: TIPA Typewriter Text 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPATT"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=200/36pt#; +asc_height#:=176/36pt#; +cap_height#:=176/36pt#; +fig_height#:=176/36pt#; +x_height#:=124/36pt#; +math_axis#:=88/36pt#; +bar_height#:=63/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=64/36pt#; +crisp#:=19/36pt#; +tiny#:=19/36pt#; +fine#:=18/36pt#; +thin_join#:=18/36pt#; +hair#:=22/36pt#; +stem#:=22/36pt#; +curve#:=22/36pt#; +ess#:=19/36pt#; +flare#:=28/36pt#; +dot_size#:=31/36pt#; +cap_hair#:=22/36pt#; +cap_stem#:=22/36pt#; +cap_curve#:=22/36pt#; +cap_ess#:=22/36pt#; +rule_thickness#:=22/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=27/36pt#; +cap_jut#:=27/36pt#; +beak_jut#:=0pt#; +beak#:=27/36pt#; +vair#:=19/36pt#; +notch_cut#:=22/36pt#; +bar#:=19/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=22/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=8/36pt#; +o#:=3/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=17/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipatt9.mf b/fonts/tipa/tipa/mf/tipatt9.mf new file mode 100644 index 0000000000..b6a60cada7 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipatt9.mf @@ -0,0 +1,92 @@ +% tipatt9.mf: TIPA Typewriter Text 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPATT"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.9/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=225/36pt#; +asc_height#:=198/36pt#; +cap_height#:=198/36pt#; +fig_height#:=198/36pt#; +x_height#:=139.5/36pt#; +math_axis#:=99/36pt#; +bar_height#:=71/36pt#; +comma_depth#:=45/36pt#; +desc_depth#:=72/36pt#; +crisp#:=21/36pt#; +tiny#:=21/36pt#; +fine#:=20/36pt#; +thin_join#:=20/36pt#; +hair#:=24/36pt#; +stem#:=24/36pt#; +curve#:=24/36pt#; +ess#:=21/36pt#; +flare#:=30/36pt#; +dot_size#:=33/36pt#; +cap_hair#:=24/36pt#; +cap_stem#:=24/36pt#; +cap_curve#:=24/36pt#; +cap_ess#:=24/36pt#; +rule_thickness#:=24/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=31/36pt#; +cap_jut#:=31/36pt#; +beak_jut#:=0pt#; +beak#:=31/36pt#; +vair#:=21/36pt#; +notch_cut#:=24/36pt#; +bar#:=21/36pt#; +slab#:=21/36pt#; +cap_bar#:=21/36pt#; +cap_band#:=21/36pt#; +cap_notch_cut#:=24/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=9/36pt#; +o#:=3.5/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=18.9/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipx.mf b/fonts/tipa/tipa/mf/tipx.mf new file mode 100644 index 0000000000..85ee787adc --- /dev/null +++ b/fonts/tipa/tipa/mf/tipx.mf @@ -0,0 +1,55 @@ +% tipx.mf: TIPA Extra Symbols driver file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +font_coding_scheme:="TeX IPA"; + +mode_setup; +font_setup; + +input tipanew % new materials for testing +input tipaextr % tipx symbols + +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 + +% ligatures made by ligtables + +% no ligatures available. + +% kernings (need to modify) + +numeric itc#; % modified italic correction on `f' +itc#=if serifs: max(0,flare#-.25u#) else: 1.25u# fi; + +k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + +% no ligtable prepared. + +bye. diff --git a/fonts/tipa/tipa/mf/tipx10.mf b/fonts/tipa/tipa/mf/tipx10.mf new file mode 100644 index 0000000000..efc3312de8 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipx10.mf @@ -0,0 +1,92 @@ +% tipx10.mf: TIPX Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPX"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=246/36pt#; +fig_height#:=232/36pt#; +x_height#:=155/36pt#; +math_axis#:=90/36pt#; +bar_height#:=87/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=25/36pt#; +curve#:=30/36pt#; +ess#:=27/36pt#; +flare#:=33/36pt#; +dot_size#:=38/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=37/36pt#; +cap_ess#:=35/36pt#; +rule_thickness#:=.4pt#; +dish#:=1/36pt#; +bracket#:=20/36pt#; +jut#:=28/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=8/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=11/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=4/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=8/36pt#; +apex_o#:=8/36pt#; +slant:=0; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipx12.mf b/fonts/tipa/tipa/mf/tipx12.mf new file mode 100644 index 0000000000..1dfbadd391 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipx12.mf @@ -0,0 +1,92 @@ +% tipx12.mf: TIPX Roman 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPX"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5.8/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=295.2/36pt#; +fig_height#:=278.4/36pt#; +x_height#:=186/36pt#; +math_axis#:=108/36pt#; +bar_height#:=104.4/36pt#; +comma_depth#:=84/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7.5/36pt#; +hair#:=9.5/36pt#; +stem#:=28/36pt#; +curve#:=33/36pt#; +ess#:=30/36pt#; +flare#:=36/36pt#; +dot_size#:=42/36pt#; +cap_hair#:=11.5/36pt#; +cap_stem#:=35/36pt#; +cap_curve#:=40/36pt#; +cap_ess#:=38/36pt#; +rule_thickness#:=.44pt#; +dish#:=1/36pt#; +bracket#:=24/36pt#; +jut#:=33/36pt#; +cap_jut#:=41/36pt#; +beak_jut#:=11.4/36pt#; +beak#:=84/36pt#; +vair#:=8.5/36pt#; +notch_cut#:=12pt#; +bar#:=12.5/36pt#; +slab#:=12.5/36pt#; +cap_bar#:=12.5/36pt#; +cap_band#:=12.5/36pt#; +cap_notch_cut#:=12pt#; +serif_drop#:=4.8/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=9/36pt#; +apex_o#:=9/36pt#; +slant:=0; +fudge:=1; +math_spread:=-0.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.45/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipx17.mf b/fonts/tipa/tipa/mf/tipx17.mf new file mode 100644 index 0000000000..a3b4947326 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipx17.mf @@ -0,0 +1,92 @@ +% tipx17.mf: TIPX Roman 17.28 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPX"; font_size 17.28pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=32.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=8/36pt#; +letter_fit#:=-0.1/36pt#; +body_height#:=466/36pt#; +asc_height#:=432/36pt#; +cap_height#:=425/36pt#; +fig_height#:=401/36pt#; +x_height#:=267.8/36pt#; +math_axis#:=155.5/36pt#; +bar_height#:=150/36pt#; +comma_depth#:=121/36pt#; +desc_depth#:=121/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=9/36pt#; +hair#:=11/36pt#; +stem#:=33/36pt#; +curve#:=40/36pt#; +ess#:=35/36pt#; +flare#:=45/36pt#; +dot_size#:=51/36pt#; +cap_hair#:=13/36pt#; +cap_stem#:=41/36pt#; +cap_curve#:=47/36pt#; +cap_ess#:=43/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=34/36pt#; +jut#:=42/36pt#; +cap_jut#:=50/36pt#; +beak_jut#:=15/36pt#; +beak#:=121/36pt#; +vair#:=10/36pt#; +notch_cut#:=17pt#; +bar#:=16/36pt#; +slab#:=16/36pt#; +cap_bar#:=16/36pt#; +cap_band#:=16/36pt#; +cap_notch_cut#:=17pt#; +serif_drop#:=7/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=10/36pt#; +apex_o#:=10/36pt#; +slant:=0; +fudge:=1; +math_spread:=-0.4; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=22.75/36pt#; +sc.letter_fit#:=2.2/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipx8.mf b/fonts/tipa/tipa/mf/tipx8.mf new file mode 100644 index 0000000000..bc97c5ebc6 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipx8.mf @@ -0,0 +1,92 @@ +% tipx8.mf: TIPX Roman 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPX"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.1/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=196.8/36pt#; +fig_height#:=185.6/36pt#; +x_height#:=124/36pt#; +math_axis#:=72/36pt#; +bar_height#:=69.6/36pt#; +comma_depth#:=56/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=22/36pt#; +curve#:=25.5/36pt#; +ess#:=23/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=9.5/36pt#; +cap_stem#:=26.5/36pt#; +cap_curve#:=30/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.36pt#; +dish#:=1/36pt#; +bracket#:=16/36pt#; +jut#:=22/36pt#; +cap_jut#:=29/36pt#; +beak_jut#:=8.4/36pt#; +beak#:=56/36pt#; +vair#:=8/36pt#; +notch_cut#:=8pt#; +bar#:=9.5/36pt#; +slab#:=9.5/36pt#; +cap_bar#:=9.5/36pt#; +cap_band#:=9.5/36pt#; +cap_notch_cut#:=8pt#; +serif_drop#:=3.2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=0; +fudge:=1; +math_spread:=.4; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipx9.mf b/fonts/tipa/tipa/mf/tipx9.mf new file mode 100644 index 0000000000..a2edadb1cd --- /dev/null +++ b/fonts/tipa/tipa/mf/tipx9.mf @@ -0,0 +1,92 @@ +% tipx9.mf: TIPX Roman 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPX"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.6/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=221.4/36pt#; +fig_height#:=208.8/36pt#; +x_height#:=139.5/36pt#; +math_axis#:=81/36pt#; +bar_height#:=78.3/36pt#; +comma_depth#:=63/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=24/36pt#; +curve#:=28/36pt#; +ess#:=25/36pt#; +flare#:=30/36pt#; +dot_size#:=35/36pt#; +cap_hair#:=10/36pt#; +cap_stem#:=29/36pt#; +cap_curve#:=33/36pt#; +cap_ess#:=31/36pt#; +rule_thickness#:=.38pt#; +dish#:=1/36pt#; +bracket#:=18/36pt#; +jut#:=25/36pt#; +cap_jut#:=33/36pt#; +beak_jut#:=9.2/36pt#; +beak#:=63/36pt#; +vair#:=8/36pt#; +notch_cut#:=9pt#; +bar#:=10/36pt#; +slab#:=10/36pt#; +cap_bar#:=10/36pt#; +cap_band#:=10/36pt#; +cap_notch_cut#:=9pt#; +serif_drop#:=3.6/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=7/36pt#; +apex_o#:=7/36pt#; +slant:=0; +fudge:=1; +math_spread:=.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12.95/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxb10.mf b/fonts/tipa/tipa/mf/tipxb10.mf new file mode 100644 index 0000000000..b7bf56b475 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxb10.mf @@ -0,0 +1,92 @@ +% tipxb10.mf: TIPX Bold Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXB"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=10/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=247/36pt#; +fig_height#:=232/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=41/36pt#; +curve#:=46/36pt#; +ess#:=38/36pt#; +flare#:=45/36pt#; +dot_size#:=56/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=51/36pt#; +cap_curve#:=55/36pt#; +cap_ess#:=53/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=10/36pt#; +jut#:=25/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=17/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=3/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxbs10.mf b/fonts/tipa/tipa/mf/tipxbs10.mf new file mode 100644 index 0000000000..7d551a2dda --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxbs10.mf @@ -0,0 +1,92 @@ +% tipxbs10.mf: TIPX Bold Extended Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXBS"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23/36pt#; +width_adj#:=11/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=7/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=247/36pt#; +fig_height#:=232/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=41/36pt#; +curve#:=46/36pt#; +ess#:=38/36pt#; +flare#:=45/36pt#; +dot_size#:=56/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=51/36pt#; +cap_curve#:=55/36pt#; +cap_ess#:=53/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=10/36pt#; +jut#:=25/36pt#; +cap_jut#:=39/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=17/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=3/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=18/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxbx10.mf b/fonts/tipa/tipa/mf/tipxbx10.mf new file mode 100644 index 0000000000..2808f0ee74 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxbx10.mf @@ -0,0 +1,92 @@ +% tipxbx10.mf: TIPX Bold Extended Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXBX"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23/36pt#; +width_adj#:=11/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=7/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=247/36pt#; +fig_height#:=232/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=41/36pt#; +curve#:=46/36pt#; +ess#:=38/36pt#; +flare#:=45/36pt#; +dot_size#:=56/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=51/36pt#; +cap_curve#:=55/36pt#; +cap_ess#:=53/36pt#; +rule_thickness#:=.6pt#; +dish#:=1/36pt#; +bracket#:=10/36pt#; +jut#:=25/36pt#; +cap_jut#:=39/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=17/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=3/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=18/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxbx12.mf b/fonts/tipa/tipa/mf/tipxbx12.mf new file mode 100644 index 0000000000..ed767f2b11 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxbx12.mf @@ -0,0 +1,92 @@ +% tipxbx12.mf: TIPX Bold Extended Roman 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXBX"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=27/36pt#; +width_adj#:=13/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=8/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=296.4/36pt#; +fig_height#:=278.4/36pt#; +x_height#:=192/36pt#; +math_axis#:=108/36pt#; +bar_height#:=102/36pt#; +comma_depth#:=84/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10.5/36pt#; +hair#:=18.3/36pt#; +stem#:=47/36pt#; +curve#:=52/36pt#; +ess#:=44/36pt#; +flare#:=51/36pt#; +dot_size#:=62/36pt#; +cap_hair#:=20/36pt#; +cap_stem#:=57/36pt#; +cap_curve#:=61/36pt#; +cap_ess#:=59/36pt#; +rule_thickness#:=.66pt#; +dish#:=1/36pt#; +bracket#:=12/36pt#; +jut#:=30/36pt#; +cap_jut#:=46/36pt#; +beak_jut#:=12.4/36pt#; +beak#:=84/36pt#; +vair#:=14.3/36pt#; +notch_cut#:=12pt#; +bar#:=18.5/36pt#; +slab#:=18.5/36pt#; +cap_bar#:=18.5/36pt#; +cap_band#:=18.5/36pt#; +cap_notch_cut#:=12pt#; +serif_drop#:=3.6/36pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=5/36pt#; +apex_o#:=4/36pt#; +slant:=0; +fudge:=1; +math_spread:=.4; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=21.13/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxbx8.mf b/fonts/tipa/tipa/mf/tipxbx8.mf new file mode 100644 index 0000000000..b638b6f168 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxbx8.mf @@ -0,0 +1,92 @@ +% tipxbx8.mf: TIPX Bold Extended Roman 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXBX"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=19.6/36pt#; +width_adj#:=9.4/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5.4/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197.6/36pt#; +fig_height#:=185.6/36pt#; +x_height#:=128/36pt#; +math_axis#:=72/36pt#; +bar_height#:=67/36pt#; +comma_depth#:=56/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=12/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=16.2/36pt#; +stem#:=35/36pt#; +curve#:=39/36pt#; +ess#:=32/36pt#; +flare#:=39/36pt#; +dot_size#:=46/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=43/36pt#; +cap_curve#:=46/36pt#; +cap_ess#:=43/36pt#; +rule_thickness#:=.54pt#; +dish#:=1/36pt#; +bracket#:=8/36pt#; +jut#:=19/36pt#; +cap_jut#:=31/36pt#; +beak_jut#:=9.4/36pt#; +beak#:=55/36pt#; +vair#:=12/36pt#; +notch_cut#:=8pt#; +bar#:=15/36pt#; +slab#:=15/36pt#; +cap_bar#:=15/36pt#; +cap_band#:=15/36pt#; +cap_notch_cut#:=8pt#; +serif_drop#:=2.4/36pt#; +stem_corr#:=1.8/36pt#; +vair_corr#:=1.3/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.9; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.34/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxbx9.mf b/fonts/tipa/tipa/mf/tipxbx9.mf new file mode 100644 index 0000000000..e8ab6c8a6e --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxbx9.mf @@ -0,0 +1,92 @@ +% tipxbx9.mf: TIPX Bold Extended Roman 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXBX"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=21.3/36pt#; +width_adj#:=10.2/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6.2/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=222.3/36pt#; +fig_height#:=208.8/36pt#; +x_height#:=144/36pt#; +math_axis#:=81/36pt#; +bar_height#:=76/36pt#; +comma_depth#:=63/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=16.6/36pt#; +stem#:=38/36pt#; +curve#:=43/36pt#; +ess#:=35/36pt#; +flare#:=42/36pt#; +dot_size#:=51/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=47/36pt#; +cap_curve#:=51/36pt#; +cap_ess#:=48/36pt#; +rule_thickness#:=.57pt#; +dish#:=1/36pt#; +bracket#:=9/36pt#; +jut#:=22/36pt#; +cap_jut#:=35/36pt#; +beak_jut#:=10.2/36pt#; +beak#:=63/36pt#; +vair#:=12.5/36pt#; +notch_cut#:=9pt#; +bar#:=16/36pt#; +slab#:=16/36pt#; +cap_bar#:=16/36pt#; +cap_band#:=16/36pt#; +cap_notch_cut#:=9pt#; +serif_drop#:=2.7/36pt#; +stem_corr#:=1.9/36pt#; +vair_corr#:=1.4/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.7; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.67/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxsb10.mf b/fonts/tipa/tipa/mf/tipxsb10.mf new file mode 100644 index 0000000000..02025d75b4 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxsb10.mf @@ -0,0 +1,92 @@ +% tipxsb10.mf: TIPX Sans Serif Bold Extended 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSB"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=22/36pt#; +width_adj#:=22/36pt#; +serif_fit#:=-9/36pt#; +cap_serif_fit#:=-11/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=250/36pt#; +fig_height#:=250/36pt#; +x_height#:=165/36pt#; +math_axis#:=90/36pt#; +bar_height#:=90/36pt#; +comma_depth#:=38/36pt#; +desc_depth#:=70/36pt#; +crisp#:=26/36pt#; +tiny#:=26/36pt#; +fine#:=9/36pt#; +thin_join#:=9/36pt#; +hair#:=49/36pt#; +stem#:=49/36pt#; +curve#:=49/36pt#; +ess#:=43/36pt#; +flare#:=40/36pt#; +dot_size#:=47/36pt#; +cap_hair#:=49/36pt#; +cap_stem#:=53/36pt#; +cap_curve#:=53/36pt#; +cap_ess#:=51/36pt#; +rule_thickness#:=30/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=1.5/36pt#; +vair#:=26/36pt#; +notch_cut#:=49/36pt#; +bar#:=26/36pt#; +slab#:=36/36pt#; +cap_bar#:=34/36pt#; +cap_band#:=31/36pt#; +cap_notch_cut#:=45/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=2/36pt#; +apex_corr#:=18/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.88; +math_spread:=.5; +superness:=3/4; +superpull:=1/18; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=17.21/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxsi10.mf b/fonts/tipa/tipa/mf/tipxsi10.mf new file mode 100644 index 0000000000..c9b1490bf0 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxsi10.mf @@ -0,0 +1,92 @@ +% tipxsi10.mf: TIPX Sans Serif Slanted 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSI"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=250/36pt#; +fig_height#:=236/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=45/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=28/36pt#; +stem#:=28/36pt#; +curve#:=28/36pt#; +ess#:=28/36pt#; +flare#:=25/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=28/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=23/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=sind 12/cosd 12; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxsl10.mf b/fonts/tipa/tipa/mf/tipxsl10.mf new file mode 100644 index 0000000000..b701afc711 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxsl10.mf @@ -0,0 +1,92 @@ +% tipxsl10.mf: TIPX Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSL"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=246/36pt#; +fig_height#:=232/36pt#; +x_height#:=155/36pt#; +math_axis#:=90/36pt#; +bar_height#:=87/36pt#; +comma_depth#:=70/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=25/36pt#; +curve#:=30/36pt#; +ess#:=27/36pt#; +flare#:=33/36pt#; +dot_size#:=38/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=37/36pt#; +cap_ess#:=35/36pt#; +rule_thickness#:=.4pt#; +dish#:=1/36pt#; +bracket#:=20/36pt#; +jut#:=28/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=8/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=11/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=4/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=8/36pt#; +apex_o#:=8/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxsl12.mf b/fonts/tipa/tipa/mf/tipxsl12.mf new file mode 100644 index 0000000000..6eb11e1269 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxsl12.mf @@ -0,0 +1,92 @@ +% tipxsl12.mf: TIPX Slanted Roman 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSL"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5.8/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=295.2/36pt#; +fig_height#:=278.4/36pt#; +x_height#:=186/36pt#; +math_axis#:=108/36pt#; +bar_height#:=104.4/36pt#; +comma_depth#:=84/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7.5/36pt#; +hair#:=9.5/36pt#; +stem#:=28/36pt#; +curve#:=33/36pt#; +ess#:=30/36pt#; +flare#:=36/36pt#; +dot_size#:=42/36pt#; +cap_hair#:=11.5/36pt#; +cap_stem#:=35/36pt#; +cap_curve#:=40/36pt#; +cap_ess#:=38/36pt#; +rule_thickness#:=.44pt#; +dish#:=1/36pt#; +bracket#:=24/36pt#; +jut#:=33/36pt#; +cap_jut#:=41/36pt#; +beak_jut#:=11.4/36pt#; +beak#:=84/36pt#; +vair#:=8.5/36pt#; +notch_cut#:=12pt#; +bar#:=12.5/36pt#; +slab#:=12.5/36pt#; +cap_bar#:=12.5/36pt#; +cap_band#:=12.5/36pt#; +cap_notch_cut#:=12pt#; +serif_drop#:=4.8/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=9/36pt#; +apex_o#:=9/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=-0.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.45/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxsl8.mf b/fonts/tipa/tipa/mf/tipxsl8.mf new file mode 100644 index 0000000000..4970230805 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxsl8.mf @@ -0,0 +1,92 @@ +% tipxsl8.mf: TIPX Slanted Roman 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSL"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.1/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=196.8/36pt#; +fig_height#:=185.6/36pt#; +x_height#:=124/36pt#; +math_axis#:=72/36pt#; +bar_height#:=69.6/36pt#; +comma_depth#:=56/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=22/36pt#; +curve#:=25.5/36pt#; +ess#:=23/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=9.5/36pt#; +cap_stem#:=26.5/36pt#; +cap_curve#:=30/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.36pt#; +dish#:=1/36pt#; +bracket#:=16/36pt#; +jut#:=22/36pt#; +cap_jut#:=29/36pt#; +beak_jut#:=8.4/36pt#; +beak#:=56/36pt#; +vair#:=8/36pt#; +notch_cut#:=8pt#; +bar#:=9.5/36pt#; +slab#:=9.5/36pt#; +cap_bar#:=9.5/36pt#; +cap_band#:=9.5/36pt#; +cap_notch_cut#:=8pt#; +serif_drop#:=3.2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.4; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxsl9.mf b/fonts/tipa/tipa/mf/tipxsl9.mf new file mode 100644 index 0000000000..5946487ff7 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxsl9.mf @@ -0,0 +1,92 @@ +% tipxsl9.mf: TIPX Slanted Roman 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSL"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.5/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=4.6/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=221.4/36pt#; +fig_height#:=208.8/36pt#; +x_height#:=139.5/36pt#; +math_axis#:=81/36pt#; +bar_height#:=78.3/36pt#; +comma_depth#:=63/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=7/36pt#; +hair#:=9/36pt#; +stem#:=24/36pt#; +curve#:=28/36pt#; +ess#:=25/36pt#; +flare#:=30/36pt#; +dot_size#:=35/36pt#; +cap_hair#:=10/36pt#; +cap_stem#:=29/36pt#; +cap_curve#:=33/36pt#; +cap_ess#:=31/36pt#; +rule_thickness#:=.38pt#; +dish#:=1/36pt#; +bracket#:=18/36pt#; +jut#:=25/36pt#; +cap_jut#:=33/36pt#; +beak_jut#:=9.2/36pt#; +beak#:=63/36pt#; +vair#:=8/36pt#; +notch_cut#:=9pt#; +bar#:=10/36pt#; +slab#:=10/36pt#; +cap_bar#:=10/36pt#; +cap_band#:=10/36pt#; +cap_notch_cut#:=9pt#; +serif_drop#:=3.6/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=7/36pt#; +apex_o#:=7/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.2; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12.95/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxss10.mf b/fonts/tipa/tipa/mf/tipxss10.mf new file mode 100644 index 0000000000..705b3e965e --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxss10.mf @@ -0,0 +1,92 @@ +% tipxss10.mf: TIPX Sans Serif 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSS"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=250/36pt#; +fig_height#:=236/36pt#; +x_height#:=160/36pt#; +math_axis#:=90/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=45/36pt#; +desc_depth#:=70/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=28/36pt#; +stem#:=28/36pt#; +curve#:=28/36pt#; +ess#:=28/36pt#; +flare#:=25/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=28/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=23/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxss12.mf b/fonts/tipa/tipa/mf/tipxss12.mf new file mode 100644 index 0000000000..d4626c72f9 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxss12.mf @@ -0,0 +1,92 @@ +% tipxss12.mf: TIPX Sans Serif 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSS"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=23.5/36pt#; +width_adj#:=17/36pt#; +serif_fit#:=-9/36pt#; +cap_serif_fit#:=-13/36pt#; +letter_fit#:=0pt#; +body_height#:=324/36pt#; +asc_height#:=300/36pt#; +cap_height#:=300/36pt#; +fig_height#:=283/36pt#; +x_height#:=192/36pt#; +math_axis#:=108/36pt#; +bar_height#:=97/36pt#; +comma_depth#:=54/36pt#; +desc_depth#:=84/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=20/36pt#; +hair#:=33/36pt#; +stem#:=33/36pt#; +curve#:=33/36pt#; +ess#:=33/36pt#; +flare#:=30/36pt#; +dot_size#:=35/36pt#; +cap_hair#:=33/36pt#; +cap_stem#:=37/36pt#; +cap_curve#:=37/36pt#; +cap_ess#:=37/36pt#; +rule_thickness#:=.44pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.6/36pt#; +vair#:=26/36pt#; +notch_cut#:=22/36pt#; +bar#:=25/36pt#; +slab#:=27/36pt#; +cap_bar#:=26/36pt#; +cap_band#:=24/36pt#; +cap_notch_cut#:=31/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=6/36pt#; +o#:=9/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.98; +math_spread:=-0.2; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=16.45/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxss17.mf b/fonts/tipa/tipa/mf/tipxss17.mf new file mode 100644 index 0000000000..0810d66436 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxss17.mf @@ -0,0 +1,92 @@ +% tipxss17.mf: TIPX Sans Serif 17.28 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSS"; font_size 17.28pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=32.5/36pt#; +width_adj#:=24/36pt#; +serif_fit#:=-12/36pt#; +cap_serif_fit#:=-17/36pt#; +letter_fit#:=0pt#; +body_height#:=466/36pt#; +asc_height#:=432/36pt#; +cap_height#:=432/36pt#; +fig_height#:=408/36pt#; +x_height#:=267.8/36pt#; +math_axis#:=155.5/36pt#; +bar_height#:=136/36pt#; +comma_depth#:=78/36pt#; +desc_depth#:=121/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=28/36pt#; +hair#:=47/36pt#; +stem#:=47/36pt#; +curve#:=47/36pt#; +ess#:=47/36pt#; +flare#:=42/36pt#; +dot_size#:=50/36pt#; +cap_hair#:=47/36pt#; +cap_stem#:=52/36pt#; +cap_curve#:=52/36pt#; +cap_ess#:=52/36pt#; +rule_thickness#:=.6pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.8/36pt#; +vair#:=38/36pt#; +notch_cut#:=32/36pt#; +bar#:=36/36pt#; +slab#:=40/36pt#; +cap_bar#:=38/36pt#; +cap_band#:=35/36pt#; +cap_notch_cut#:=46/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=7/36pt#; +o#:=10/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=1; +math_spread:=-0.4; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=22.75/36pt#; +sc.letter_fit#:=2.2/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxss8.mf b/fonts/tipa/tipa/mf/tipxss8.mf new file mode 100644 index 0000000000..289f97ce6e --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxss8.mf @@ -0,0 +1,92 @@ +% tipxss8.mf: TIPX Sans Serif 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSS"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=12/36pt#; +serif_fit#:=-6/36pt#; +cap_serif_fit#:=-8.5/36pt#; +letter_fit#:=0pt#; +body_height#:=216/36pt#; +asc_height#:=200/36pt#; +cap_height#:=200/36pt#; +fig_height#:=189/36pt#; +x_height#:=128/36pt#; +math_axis#:=72/36pt#; +bar_height#:=63/36pt#; +comma_depth#:=37/36pt#; +desc_depth#:=56/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=15/36pt#; +hair#:=25/36pt#; +stem#:=25/36pt#; +curve#:=25/36pt#; +ess#:=25/36pt#; +flare#:=22/36pt#; +dot_size#:=26/36pt#; +cap_hair#:=25/36pt#; +cap_stem#:=29/36pt#; +cap_curve#:=29/36pt#; +cap_ess#:=28/36pt#; +rule_thickness#:=.36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.4/36pt#; +vair#:=19/36pt#; +notch_cut#:=16/36pt#; +bar#:=18/36pt#; +slab#:=20/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=22/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.93; +math_spread:=.4; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxss9.mf b/fonts/tipa/tipa/mf/tipxss9.mf new file mode 100644 index 0000000000..6af7f0dcda --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxss9.mf @@ -0,0 +1,92 @@ +% tipxss9.mf: TIPX Sans Serif 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXSS"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.5/36pt#; +width_adj#:=13/36pt#; +serif_fit#:=-6.5/36pt#; +cap_serif_fit#:=-9/36pt#; +letter_fit#:=0pt#; +body_height#:=243/36pt#; +asc_height#:=225/36pt#; +cap_height#:=225/36pt#; +fig_height#:=212/36pt#; +x_height#:=144/36pt#; +math_axis#:=81/36pt#; +bar_height#:=71/36pt#; +comma_depth#:=41/36pt#; +desc_depth#:=63/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=16/36pt#; +hair#:=27/36pt#; +stem#:=27/36pt#; +curve#:=27/36pt#; +ess#:=27/36pt#; +flare#:=24/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=27/36pt#; +cap_stem#:=31/36pt#; +cap_curve#:=31/36pt#; +cap_ess#:=31/36pt#; +rule_thickness#:=.38pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=21/36pt#; +notch_cut#:=17/36pt#; +bar#:=20/36pt#; +slab#:=22/36pt#; +cap_bar#:=21/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=24/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=4.5/36pt#; +o#:=7/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.95; +math_spread:=.2; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=12.95/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxts10.mf b/fonts/tipa/tipa/mf/tipxts10.mf new file mode 100644 index 0000000000..987d819aca --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxts10.mf @@ -0,0 +1,92 @@ +% tipxts10.mf: TIPX Typewriter Text Slanted 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXTS"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=21/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=250/36pt#; +asc_height#:=220/36pt#; +cap_height#:=220/36pt#; +fig_height#:=220/36pt#; +x_height#:=155/36pt#; +math_axis#:=110/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=80/36pt#; +crisp#:=22/36pt#; +tiny#:=22/36pt#; +fine#:=21/36pt#; +thin_join#:=21/36pt#; +hair#:=25/36pt#; +stem#:=25/36pt#; +curve#:=25/36pt#; +ess#:=22/36pt#; +flare#:=32/36pt#; +dot_size#:=36/36pt#; +cap_hair#:=25/36pt#; +cap_stem#:=25/36pt#; +cap_curve#:=25/36pt#; +cap_ess#:=25/36pt#; +rule_thickness#:=25/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=34/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=0pt#; +beak#:=34/36pt#; +vair#:=22/36pt#; +notch_cut#:=25/36pt#; +bar#:=22/36pt#; +slab#:=22/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=22/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=10/36pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=1/6; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=21/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxtt10.mf b/fonts/tipa/tipa/mf/tipxtt10.mf new file mode 100644 index 0000000000..6a2751b9fc --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxtt10.mf @@ -0,0 +1,92 @@ +% tipxtt10.mf: TIPX Typewriter Text 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXTT"; font_size 10pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=21/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=250/36pt#; +asc_height#:=220/36pt#; +cap_height#:=220/36pt#; +fig_height#:=220/36pt#; +x_height#:=155/36pt#; +math_axis#:=110/36pt#; +bar_height#:=79/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=80/36pt#; +crisp#:=22/36pt#; +tiny#:=22/36pt#; +fine#:=21/36pt#; +thin_join#:=21/36pt#; +hair#:=25/36pt#; +stem#:=25/36pt#; +curve#:=25/36pt#; +ess#:=22/36pt#; +flare#:=32/36pt#; +dot_size#:=36/36pt#; +cap_hair#:=25/36pt#; +cap_stem#:=25/36pt#; +cap_curve#:=25/36pt#; +cap_ess#:=25/36pt#; +rule_thickness#:=25/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=34/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=0pt#; +beak#:=34/36pt#; +vair#:=22/36pt#; +notch_cut#:=25/36pt#; +bar#:=22/36pt#; +slab#:=22/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=22/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=10/36pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=21/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxtt12.mf b/fonts/tipa/tipa/mf/tipxtt12.mf new file mode 100644 index 0000000000..edc13aaf97 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxtt12.mf @@ -0,0 +1,92 @@ +% tipxtt12.mf: TIPX Typewriter Text 12 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXTT"; font_size 12pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=24.7/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=300/36pt#; +asc_height#:=264/36pt#; +cap_height#:=264/36pt#; +fig_height#:=264/36pt#; +x_height#:=186/36pt#; +math_axis#:=132/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=60/36pt#; +desc_depth#:=96/36pt#; +crisp#:=25/36pt#; +tiny#:=25/36pt#; +fine#:=22/36pt#; +thin_join#:=22/36pt#; +hair#:=28/36pt#; +stem#:=28/36pt#; +curve#:=28/36pt#; +ess#:=25/36pt#; +flare#:=35/36pt#; +dot_size#:=39/36pt#; +cap_hair#:=28/36pt#; +cap_stem#:=28/36pt#; +cap_curve#:=28/36pt#; +cap_ess#:=28/36pt#; +rule_thickness#:=28/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=39/36pt#; +cap_jut#:=39/36pt#; +beak_jut#:=0pt#; +beak#:=39/36pt#; +vair#:=25/36pt#; +notch_cut#:=28/36pt#; +bar#:=25/36pt#; +slab#:=25/36pt#; +cap_bar#:=25/36pt#; +cap_band#:=25/36pt#; +cap_notch_cut#:=28/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=11/36pt#; +o#:=5/36pt#; +apex_o#:=4/36pt#; +slant:=0; +fudge:=0.86; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=24.7/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxtt8.mf b/fonts/tipa/tipa/mf/tipxtt8.mf new file mode 100644 index 0000000000..fe66e1b3b1 --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxtt8.mf @@ -0,0 +1,92 @@ +% tipxtt8.mf: TIPX Typewriter Text 8 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXTT"; font_size 8pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=17/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=200/36pt#; +asc_height#:=176/36pt#; +cap_height#:=176/36pt#; +fig_height#:=176/36pt#; +x_height#:=124/36pt#; +math_axis#:=88/36pt#; +bar_height#:=63/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=64/36pt#; +crisp#:=19/36pt#; +tiny#:=19/36pt#; +fine#:=18/36pt#; +thin_join#:=18/36pt#; +hair#:=22/36pt#; +stem#:=22/36pt#; +curve#:=22/36pt#; +ess#:=19/36pt#; +flare#:=28/36pt#; +dot_size#:=31/36pt#; +cap_hair#:=22/36pt#; +cap_stem#:=22/36pt#; +cap_curve#:=22/36pt#; +cap_ess#:=22/36pt#; +rule_thickness#:=22/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=27/36pt#; +cap_jut#:=27/36pt#; +beak_jut#:=0pt#; +beak#:=27/36pt#; +vair#:=19/36pt#; +notch_cut#:=22/36pt#; +bar#:=19/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=22/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=8/36pt#; +o#:=3/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=17/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/tipxtt9.mf b/fonts/tipa/tipa/mf/tipxtt9.mf new file mode 100644 index 0000000000..c1e7f9e5cb --- /dev/null +++ b/fonts/tipa/tipa/mf/tipxtt9.mf @@ -0,0 +1,92 @@ +% tipxtt9.mf: TIPX Typewriter Text 9 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="TIPXTT"; font_size 9pt#; + +Times_Compat:=false; +if Times_Compat: input tipatr fi + +u#:=18.9/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=0pt#; +letter_fit#:=0pt#; +body_height#:=225/36pt#; +asc_height#:=198/36pt#; +cap_height#:=198/36pt#; +fig_height#:=198/36pt#; +x_height#:=139.5/36pt#; +math_axis#:=99/36pt#; +bar_height#:=71/36pt#; +comma_depth#:=45/36pt#; +desc_depth#:=72/36pt#; +crisp#:=21/36pt#; +tiny#:=21/36pt#; +fine#:=20/36pt#; +thin_join#:=20/36pt#; +hair#:=24/36pt#; +stem#:=24/36pt#; +curve#:=24/36pt#; +ess#:=21/36pt#; +flare#:=30/36pt#; +dot_size#:=33/36pt#; +cap_hair#:=24/36pt#; +cap_stem#:=24/36pt#; +cap_curve#:=24/36pt#; +cap_ess#:=24/36pt#; +rule_thickness#:=24/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=31/36pt#; +cap_jut#:=31/36pt#; +beak_jut#:=0pt#; +beak#:=31/36pt#; +vair#:=21/36pt#; +notch_cut#:=24/36pt#; +bar#:=21/36pt#; +slab#:=21/36pt#; +cap_bar#:=21/36pt#; +cap_band#:=21/36pt#; +cap_notch_cut#:=24/36pt#; +serif_drop#:=0pt#; +stem_corr#:=0pt#; +vair_corr#:=0pt#; +apex_corr#:=9/36pt#; +o#:=3.5/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=0.81; +math_spread:=-1; +superness:=1/sqrt2; +superpull:=0; +beak_darkness:=0; +ligs:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +low_asterisk:=true; +math_fitting:=false; +sc.u#:=18.9/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipa10.mf b/fonts/tipa/tipa/mf/xipa10.mf new file mode 100644 index 0000000000..04a7f18f71 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipa10.mf @@ -0,0 +1,92 @@ +% xipa10.mf: XIPA Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPA"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=18/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=240.5/36pt#; +fig_height#:=232/36pt#; +x_height#:=162/36pt#; +math_axis#:=90/36pt#; +bar_height#:=106/36pt#; +comma_depth#:=50.7/36pt#; +desc_depth#:=77.9/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=8/36pt#; +hair#:=9/36pt#; +stem#:=30/36pt#; +curve#:=34/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=36/36pt#; +cap_curve#:=42/36pt#; +cap_ess#:=39/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=26/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=9/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=1.5/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=15/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=0; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipab10.mf b/fonts/tipa/tipa/mf/xipab10.mf new file mode 100644 index 0000000000..4986336e63 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipab10.mf @@ -0,0 +1,92 @@ +% xipab10.mf: XIPA Bold Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPAB"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=10/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=242.1/36pt#; +fig_height#:=232/36pt#; +x_height#:=165.96/36pt#; +math_axis#:=90/36pt#; +bar_height#:=97.73/36pt#; +comma_depth#:=51/36pt#; +desc_depth#:=73.26/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=47/36pt#; +curve#:=52/36pt#; +ess#:=49/36pt#; +flare#:=39/36pt#; +dot_size#:=52/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=57/36pt#; +cap_curve#:=61/36pt#; +cap_ess#:=58/36pt#; +rule_thickness#:=.6pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=25/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=2.2/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=0pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipabs10.mf b/fonts/tipa/tipa/mf/xipabs10.mf new file mode 100644 index 0000000000..5d027973b2 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipabs10.mf @@ -0,0 +1,92 @@ +% xipabs10.mf: XIPA Bold Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPABS"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=10/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=242.1/36pt#; +fig_height#:=232/36pt#; +x_height#:=165.96/36pt#; +math_axis#:=90/36pt#; +bar_height#:=97.73/36pt#; +comma_depth#:=51/36pt#; +desc_depth#:=73.26/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=47/36pt#; +curve#:=52/36pt#; +ess#:=49/36pt#; +flare#:=39/36pt#; +dot_size#:=52/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=57/36pt#; +cap_curve#:=61/36pt#; +cap_ess#:=58/36pt#; +rule_thickness#:=.6pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=25/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=2.2/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=0pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipaprm.def b/fonts/tipa/tipa/mf/xipaprm.def new file mode 100644 index 0000000000..1372f49a1a --- /dev/null +++ b/fonts/tipa/tipa/mf/xipaprm.def @@ -0,0 +1,80 @@ +# xipaprm.def --- parameters for XIPA font families. +# +# 1996/06/24 first version +# 2001/12/29 Values modified esp. for xipa10. +# bs10 (Bold Slanted), sb10 (Sans Serif Bold), +# si10 (Sans Serif Slanted) added. +# 2003/01/01 values of stem and jut modified. +# +# The basic idea of this file is borrowed from dc fonts. But this file +# is processed by awk, not by a Metafont macro. +# +# NB: The parameter `variant_g' is omitted, and sc.u, sc.letter_fit added. +# For TT family of fonts, sc.u# shuold be equal to u# !!! +# p: x/36pt#, P: xpt#, n: x, SC12: sind 12 / cosd 12, SQ2: sqrt 2 +# +# 10 sl10 b10 bs10 ss10 si10 sb10 +# +p u 18 18 20 20 20 20 22 +p width_adj 0 0 10 10 15 15 15 +p serif_fit 0 0 0 0 -7 -7 -9 +p cap_serif_fit 5 5 6 6 -10 -10 -11 +p letter_fit 0 0 0 0 0 0 0 +p body_height 270 270 270 270 270 270 270 +p asc_height 245.5 245.5 245.5 245.5 260 260 260 +p cap_height 240.5 240.5 242.1 242.1 260 260 260 +p fig_height 232 232 232 232 236 236 236 +p x_height 162 162 165.96 165.96 188.28 188.28 191.52 +p math_axis 90 90 90 90 90 90 90 +p bar_height 106 106 97.73 97.73 95 95 95 +p comma_depth 50.7 50.7 51 51 50 50 50 +p desc_depth 77.9 77.9 73.26 73.26 75.8 75.8 75.8 +p crisp 0 0 0 0 0 0 0 +p tiny 8 8 13 13 0 0 0 +p fine 7 7 10 10 0 0 0 +p thin_join 8 8 10 10 17 17 20 +p hair 9 9 17 17 30 30 49 +p stem 30 30 47 47 30 30 49 +p curve 34 34 52 52 30 30 49 +p ess 30 30 49 49 30 30 43 +p flare 27 27 39 39 27 27 40 +p dot_size 32 32 52 52 30 30 47 +p cap_hair 11 11 19 19 30 30 49 +p cap_stem 36 36 57 57 32 32 53 +p cap_curve 42 42 61 61 32 32 53 +p cap_ess 39 39 58 58 32 32 51 +P rule_thickness .4 .4 .6 .6 .4 .4 30/36 +p dish 0 0 0 0 0 0 0 +p bracket 22 22 22 22 0 0 0 +p jut 26 26 25 25 0 0 0 +p cap_jut 37 37 34 34 0 0 0 +p beak_jut 10 10 11 11 0 0 0 +p beak 70 70 70 70 .5 .5 1.5 +p vair 9 9 13 13 22 22 26 +P notch_cut 10 10 10 10 18/36 18/36 49/36 +p bar 11 11 17 17 21 21 26 +p slab 1.5 1.5 2.2 2.2 21 21 36 +p cap_bar 11 11 17 17 22 22 34 +p cap_band 11 11 17 17 20 20 31 +P cap_notch_cut 10 10 10 10 25/36 25/36 45/36 +p serif_drop 15 15 0 0 2 2 0 +p stem_corr 1 1 2 2 1 1 1 +p vair_corr 1 1 1.5 1.5 1 1 2 +p apex_corr 0 0 0 0 5 5 18 +p o 6 6 4 4 6 6 8 +p apex_o 6 6 3 3 0 0 0 +n slant 0 1/6 0 1/6 0 1/6 0 +n fudge 1 1 1 1 .96 .96 .88 +n math_spread 0 0 .5 .5 0 0 .5 +n superness 1/SQ2 1/SQ2 8/11 8/11 1/SQ2 1/SQ2 .75 +n superpull 1/6 1/6 1/8 1/8 1/20 1/20 1/18 +n beak_darkness 11/30 11/30 .4 .4 0 0 0 +n ligs 2 2 2 2 2 2 2 +n square_dots false false false false true true true +n hefty false false false false true true true +n serifs true true true true false false false +n monospace false false false false false false false +n low_asterisk false false false false false false false +n math_fitting false false false false false false false +p sc.u 14 14 15.56 15.56 15.56 15.56 17.11 +p sc.letter_fit 2.4 2.4 2.4 2.4 2.4 2.4 2.4 diff --git a/fonts/tipa/tipa/mf/xipasb10.mf b/fonts/tipa/tipa/mf/xipasb10.mf new file mode 100644 index 0000000000..3f2e5c81fc --- /dev/null +++ b/fonts/tipa/tipa/mf/xipasb10.mf @@ -0,0 +1,92 @@ +% xipasb10.mf: XIPA Sans Serif Bold 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPASB"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=22/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-9/36pt#; +cap_serif_fit#:=-11/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=260/36pt#; +cap_height#:=260/36pt#; +fig_height#:=236/36pt#; +x_height#:=191.52/36pt#; +math_axis#:=90/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=75.8/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=20/36pt#; +hair#:=49/36pt#; +stem#:=49/36pt#; +curve#:=49/36pt#; +ess#:=43/36pt#; +flare#:=40/36pt#; +dot_size#:=47/36pt#; +cap_hair#:=49/36pt#; +cap_stem#:=53/36pt#; +cap_curve#:=53/36pt#; +cap_ess#:=51/36pt#; +rule_thickness#:=30/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=1.5/36pt#; +vair#:=26/36pt#; +notch_cut#:=49/36pt#; +bar#:=26/36pt#; +slab#:=36/36pt#; +cap_bar#:=34/36pt#; +cap_band#:=31/36pt#; +cap_notch_cut#:=45/36pt#; +serif_drop#:=0pt#; +stem_corr#:=1/36pt#; +vair_corr#:=2/36pt#; +apex_corr#:=18/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.88; +math_spread:=.5; +superness:=.75; +superpull:=1/18; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=17.11/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipasi10.mf b/fonts/tipa/tipa/mf/xipasi10.mf new file mode 100644 index 0000000000..842d0f1aa3 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipasi10.mf @@ -0,0 +1,92 @@ +% xipasi10.mf: XIPA Sans Serif Slanted 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPASI"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=260/36pt#; +cap_height#:=260/36pt#; +fig_height#:=236/36pt#; +x_height#:=188.28/36pt#; +math_axis#:=90/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=75.8/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=30/36pt#; +stem#:=30/36pt#; +curve#:=30/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=30/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=21/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=6/36pt#; +apex_o#:=0pt#; +slant:=1/6; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipasl10.mf b/fonts/tipa/tipa/mf/xipasl10.mf new file mode 100644 index 0000000000..43146921eb --- /dev/null +++ b/fonts/tipa/tipa/mf/xipasl10.mf @@ -0,0 +1,92 @@ +% xipasl10.mf: XIPA Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPASL"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=18/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=240.5/36pt#; +fig_height#:=232/36pt#; +x_height#:=162/36pt#; +math_axis#:=90/36pt#; +bar_height#:=106/36pt#; +comma_depth#:=50.7/36pt#; +desc_depth#:=77.9/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=8/36pt#; +hair#:=9/36pt#; +stem#:=30/36pt#; +curve#:=34/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=36/36pt#; +cap_curve#:=42/36pt#; +cap_ess#:=39/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=26/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=9/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=1.5/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=15/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipass10.mf b/fonts/tipa/tipa/mf/xipass10.mf new file mode 100644 index 0000000000..3fe6a9a16b --- /dev/null +++ b/fonts/tipa/tipa/mf/xipass10.mf @@ -0,0 +1,92 @@ +% xipass10.mf: XIPA Sans Serif 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 FUKUI Rei +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPASS"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=260/36pt#; +cap_height#:=260/36pt#; +fig_height#:=236/36pt#; +x_height#:=188.28/36pt#; +math_axis#:=90/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=75.8/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=30/36pt#; +stem#:=30/36pt#; +curve#:=30/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=30/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=21/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=6/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipa % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipx10.mf b/fonts/tipa/tipa/mf/xipx10.mf new file mode 100644 index 0000000000..b4ec2e938f --- /dev/null +++ b/fonts/tipa/tipa/mf/xipx10.mf @@ -0,0 +1,92 @@ +% xipx10.mf: XIPX Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPX"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=18/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=240.5/36pt#; +fig_height#:=232/36pt#; +x_height#:=162/36pt#; +math_axis#:=90/36pt#; +bar_height#:=106/36pt#; +comma_depth#:=50.7/36pt#; +desc_depth#:=77.9/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=8/36pt#; +hair#:=9/36pt#; +stem#:=30/36pt#; +curve#:=34/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=36/36pt#; +cap_curve#:=42/36pt#; +cap_ess#:=39/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=26/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=9/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=1.5/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=15/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=0; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipxb10.mf b/fonts/tipa/tipa/mf/xipxb10.mf new file mode 100644 index 0000000000..5248e83041 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipxb10.mf @@ -0,0 +1,92 @@ +% xipxb10.mf: XIPX Bold Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPXB"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=10/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=242.1/36pt#; +fig_height#:=232/36pt#; +x_height#:=165.96/36pt#; +math_axis#:=90/36pt#; +bar_height#:=97.73/36pt#; +comma_depth#:=51/36pt#; +desc_depth#:=73.26/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=47/36pt#; +curve#:=52/36pt#; +ess#:=49/36pt#; +flare#:=39/36pt#; +dot_size#:=52/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=57/36pt#; +cap_curve#:=61/36pt#; +cap_ess#:=58/36pt#; +rule_thickness#:=.6pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=25/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=2.2/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=0pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=0; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipxbs10.mf b/fonts/tipa/tipa/mf/xipxbs10.mf new file mode 100644 index 0000000000..6bd05d9985 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipxbs10.mf @@ -0,0 +1,92 @@ +% xipxbs10.mf: XIPX Bold Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPXBS"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=10/36pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=6/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=242.1/36pt#; +fig_height#:=232/36pt#; +x_height#:=165.96/36pt#; +math_axis#:=90/36pt#; +bar_height#:=97.73/36pt#; +comma_depth#:=51/36pt#; +desc_depth#:=73.26/36pt#; +crisp#:=0pt#; +tiny#:=13/36pt#; +fine#:=10/36pt#; +thin_join#:=10/36pt#; +hair#:=17/36pt#; +stem#:=47/36pt#; +curve#:=52/36pt#; +ess#:=49/36pt#; +flare#:=39/36pt#; +dot_size#:=52/36pt#; +cap_hair#:=19/36pt#; +cap_stem#:=57/36pt#; +cap_curve#:=61/36pt#; +cap_ess#:=58/36pt#; +rule_thickness#:=.6pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=25/36pt#; +cap_jut#:=34/36pt#; +beak_jut#:=11/36pt#; +beak#:=70/36pt#; +vair#:=13/36pt#; +notch_cut#:=10pt#; +bar#:=17/36pt#; +slab#:=2.2/36pt#; +cap_bar#:=17/36pt#; +cap_band#:=17/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=0pt#; +stem_corr#:=2/36pt#; +vair_corr#:=1.5/36pt#; +apex_corr#:=0pt#; +o#:=4/36pt#; +apex_o#:=3/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=.5; +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipxsb10.mf b/fonts/tipa/tipa/mf/xipxsb10.mf new file mode 100644 index 0000000000..7da1b518c4 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipxsb10.mf @@ -0,0 +1,92 @@ +% xipxsb10.mf: XIPX Sans Serif Bold 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPXSB"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=22/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-9/36pt#; +cap_serif_fit#:=-11/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=260/36pt#; +cap_height#:=260/36pt#; +fig_height#:=236/36pt#; +x_height#:=191.52/36pt#; +math_axis#:=90/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=75.8/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=20/36pt#; +hair#:=49/36pt#; +stem#:=49/36pt#; +curve#:=49/36pt#; +ess#:=43/36pt#; +flare#:=40/36pt#; +dot_size#:=47/36pt#; +cap_hair#:=49/36pt#; +cap_stem#:=53/36pt#; +cap_curve#:=53/36pt#; +cap_ess#:=51/36pt#; +rule_thickness#:=30/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=1.5/36pt#; +vair#:=26/36pt#; +notch_cut#:=49/36pt#; +bar#:=26/36pt#; +slab#:=36/36pt#; +cap_bar#:=34/36pt#; +cap_band#:=31/36pt#; +cap_notch_cut#:=45/36pt#; +serif_drop#:=0pt#; +stem_corr#:=1/36pt#; +vair_corr#:=2/36pt#; +apex_corr#:=18/36pt#; +o#:=8/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.88; +math_spread:=.5; +superness:=.75; +superpull:=1/18; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=17.11/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipxsi10.mf b/fonts/tipa/tipa/mf/xipxsi10.mf new file mode 100644 index 0000000000..2d5b0a0e7e --- /dev/null +++ b/fonts/tipa/tipa/mf/xipxsi10.mf @@ -0,0 +1,92 @@ +% xipxsi10.mf: XIPX Sans Serif Slanted 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPXSI"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=260/36pt#; +cap_height#:=260/36pt#; +fig_height#:=236/36pt#; +x_height#:=188.28/36pt#; +math_axis#:=90/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=75.8/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=30/36pt#; +stem#:=30/36pt#; +curve#:=30/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=30/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=21/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=6/36pt#; +apex_o#:=0pt#; +slant:=1/6; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipxsl10.mf b/fonts/tipa/tipa/mf/xipxsl10.mf new file mode 100644 index 0000000000..c03f4a6ecc --- /dev/null +++ b/fonts/tipa/tipa/mf/xipxsl10.mf @@ -0,0 +1,92 @@ +% xipxsl10.mf: XIPX Slanted Roman 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPXSL"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=18/36pt#; +width_adj#:=0pt#; +serif_fit#:=0pt#; +cap_serif_fit#:=5/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=245.5/36pt#; +cap_height#:=240.5/36pt#; +fig_height#:=232/36pt#; +x_height#:=162/36pt#; +math_axis#:=90/36pt#; +bar_height#:=106/36pt#; +comma_depth#:=50.7/36pt#; +desc_depth#:=77.9/36pt#; +crisp#:=0pt#; +tiny#:=8/36pt#; +fine#:=7/36pt#; +thin_join#:=8/36pt#; +hair#:=9/36pt#; +stem#:=30/36pt#; +curve#:=34/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=32/36pt#; +cap_hair#:=11/36pt#; +cap_stem#:=36/36pt#; +cap_curve#:=42/36pt#; +cap_ess#:=39/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=22/36pt#; +jut#:=26/36pt#; +cap_jut#:=37/36pt#; +beak_jut#:=10/36pt#; +beak#:=70/36pt#; +vair#:=9/36pt#; +notch_cut#:=10pt#; +bar#:=11/36pt#; +slab#:=1.5/36pt#; +cap_bar#:=11/36pt#; +cap_band#:=11/36pt#; +cap_notch_cut#:=10pt#; +serif_drop#:=15/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=0pt#; +o#:=6/36pt#; +apex_o#:=6/36pt#; +slant:=1/6; +fudge:=1; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/6; +beak_darkness:=11/30; +ligs:=2; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=14/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/mf/xipxss10.mf b/fonts/tipa/tipa/mf/xipxss10.mf new file mode 100644 index 0000000000..b92e259e26 --- /dev/null +++ b/fonts/tipa/tipa/mf/xipxss10.mf @@ -0,0 +1,92 @@ +% xipxss10.mf: XIPX Sans Serif 10 point parameter file +% Copyright 1996-2003 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.2 2003/01/01 +% +% This file is based on: +% Computer Modern font series by D. E. Knuth and +% TSIPA by KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. + +if unknown cmbase: input cmbase fi +if unknown tipabase: input tipabase fi + +font_identifier:="XIPXSS"; font_size 10pt#; + +Times_Compat:=true; +if Times_Compat: input tipatr fi + +u#:=20/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-7/36pt#; +cap_serif_fit#:=-10/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=260/36pt#; +cap_height#:=260/36pt#; +fig_height#:=236/36pt#; +x_height#:=188.28/36pt#; +math_axis#:=90/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=50/36pt#; +desc_depth#:=75.8/36pt#; +crisp#:=0pt#; +tiny#:=0pt#; +fine#:=0pt#; +thin_join#:=17/36pt#; +hair#:=30/36pt#; +stem#:=30/36pt#; +curve#:=30/36pt#; +ess#:=30/36pt#; +flare#:=27/36pt#; +dot_size#:=30/36pt#; +cap_hair#:=30/36pt#; +cap_stem#:=32/36pt#; +cap_curve#:=32/36pt#; +cap_ess#:=32/36pt#; +rule_thickness#:=.4pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=.5/36pt#; +vair#:=22/36pt#; +notch_cut#:=18/36pt#; +bar#:=21/36pt#; +slab#:=21/36pt#; +cap_bar#:=22/36pt#; +cap_band#:=20/36pt#; +cap_notch_cut#:=25/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=5/36pt#; +o#:=6/36pt#; +apex_o#:=0pt#; +slant:=0; +fudge:=.96; +math_spread:=0; +superness:=1/sqrt2; +superpull:=1/20; +beak_darkness:=0; +ligs:=2; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +low_asterisk:=false; +math_fitting:=false; +sc.u#:=15.56/36pt#; +sc.letter_fit#:=2.4/36pt#; + +generate tipx % switch to the driver file diff --git a/fonts/tipa/tipa/sty/exaccent.sty b/fonts/tipa/tipa/sty/exaccent.sty new file mode 100644 index 0000000000..980b4de308 --- /dev/null +++ b/fonts/tipa/tipa/sty/exaccent.sty @@ -0,0 +1,84 @@ +% exaccent.sty: for extended accent. +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 +% +% This file is based on `tsipa.sty' for TSIPA created by +% KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{exaccent}[1996/06/10 extended accent Version 1.0] + +{\slshape\xdef\@slshapename{\f@shape}} +{\itshape\xdef\@itshapename{\f@shape}} + +\newcommand\upperaccent{\@ifnextchar[{\upper@accent a\empty}% + {\upper@accent a\empty[\z@]}} +\newcommand\Upperaccent{\@ifnextchar[{\upper@accent b\empty}% + {\upper@accent b\empty[\z@]}} +\newcommand\loweraccent{\@ifnextchar[{\lower@accent a\empty}% + {\lower@accent a\empty[\z@]}} +\newcommand\Loweraccent{\@ifnextchar[{\lower@accent b\empty}% + {\lower@accent b\empty[\z@]}} + +\def\upper@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\@pshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vbox{\hsize\wd\z@\offinterlineskip + \hb@xt@\z@{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}\hss} + \kern#3 + \hbox{#5}}\fi}} + +\def\lower@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\s@bshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1.1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vtop{\hsize\wd\z@\offinterlineskip + \hbox{#5} + \kern#3 + \hbox{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}}}\fi}} + +\newcommand\@getaccshift{\def\@accshift##1{}% + \ifx\f@shape\@slshapename\let\@accshift\@accshiftsl\fi + \ifx\f@shape\@itshapename\let\@accshift\@accshiftsl\fi} + +\newcommand\@accshiftsl[1]{\c@lcshift{#1}\kern-.16667\dimen\@ne} + +\newcommand\@pshift[1]{% + \dimen\@ne-\ht\z@ % get height of the box to be accented + \advance\dimen\@ne -#1% % add margin between the letter and accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne 1ex\else + \ifdim\ht\@ne=\z@ + \advance\dimen\@ne -\dp\@ne\fi\fi} + +\newcommand\s@bshift[1]{% + \dimen\@ne\dp\z@ % get depth of the box to be accented + \ifdim\ht\@ne>\z@ + \advance\dimen\@ne \ht\@ne\fi % add ht of the accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne #1\fi} % add margin between the letter and accent + +\endinput diff --git a/fonts/tipa/tipa/sty/extraipa.sty b/fonts/tipa/tipa/sty/extraipa.sty new file mode 100644 index 0000000000..bb77fa0ddf --- /dev/null +++ b/fonts/tipa/tipa/sty/extraipa.sty @@ -0,0 +1,96 @@ +% extraipa.sty: TIPA optinal package for ExtIPA and VoQS +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 +% Version 1.1 2001/12/31 +% + +\RequirePackage{tipa}[2001/12/31 TIPA version 1.1] +\RequirePackage{tipx}[2001/12/31 TIPX version 1.1] + +% Labial Spreading +\newcommand\spreadlips[1]{\tipxloweraccent[.1ex]{10}{#1}} + +% Overbridge (Dentolabial) +\newcommand\overbridge[1]{\tipaupperaccent[.2ex]{17}{#1}} + +% Bi-bridge (Interdental/Bidental} +\newcommand\bibridge[1]{\tipaupperaccent[.2ex]{17}% + {\tipaloweraccent[0ex]{17}{#1}}} + +% Subscript Double Bar (Alveolar) +\newcommand\subdoublebar[1]{\tipaloweraccent[.05ex]{9}% + {\tipaloweraccent[.3ex]{9}{#1}}} + +% Subscript Double Vertical Line (Strong Articulation) +\newcommand\subdoublevert[1]{\tipaLoweraccent[.2ex]% + {\hbox{\tipaencoding\char34\kern-.06em\char34}}{#1}} + +% Subscript Corner (Weak Articulation) +\newcommand\subcorner[1]{\tipaloweraccent[.2ex]{94}{#1}} + +% Whistled Articulation +\newcommand\whistle[1]{\tipaLoweraccent[.1ex]% + {\nrsuper{\nrsuper{\tipaencoding \textupstep}}}{#1}} + +% Sliding Articulation +\newcommand\sliding[1]{\tipxloweraccent[.1ex]{9}{#1}} + +% Crossed tilde (Denasal) +\newcommand\crtilde[1]{\tipaupperaccent[-.5ex]{143}% + {\tipaupperaccent[.1ex]{3}{#1}}} + +% Dotted Tilde (Nasal Escape) +\newcommand\dottedtilde[1]{\tipaUpperaccent[-.55ex]% + {\hbox{.\kern-.12em\raise.66ex\hbox{.}}}% + {\tipaupperaccent[.12ex]{3}{#1}}} + +% Double Tilde (Velopharyngeal Friction) +\newcommand\doubletilde[1]{\tipaupperaccent[-.2ex]{3}% + {\tipaupperaccent{3}{#1}}} + +% Partial Voiceless +\newcommand\partvoiceless[1]{\tipaloweraccent[-.4ex]{6}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em\char20}}{#1}}} + +% Initial Partial Voiceless +\newcommand\inipartvoiceless[1]{\tipaloweraccent[-.4ex]{6}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em + \setbox\tw@\hbox{\char20}\kern\wd\tw@}}{#1}}} + +% final Partial Voiceless +\newcommand\finpartvoiceless[1]{\tipaloweraccent[-.4ex]{6}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding + \setbox\tw@\hbox{\char21}\kern\wd\tw@\kern.2em\char20}}{#1}}} + +% Partial Voicing +\newcommand\partvoice[1]{\tipaloweraccent[-.4ex]{7}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em\char20}}{#1}}} + +% Initial Partial Voicing +\newcommand\inipartvoice[1]{\tipaloweraccent[-.4ex]{7}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em + \setbox\tw@\hbox{\char20}\kern\wd\tw@}}{#1}}} + +% Final Partial Voicing +\newcommand\finpartvoice[1]{\tipaloweraccent[-.4ex]{7}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding + \setbox\tw@\hbox{\char21}\kern\wd\tw@\kern.2em\char20}}{#1}}} + +% Subscript Left Pointer (Right Offset Jaw Voice) +\newcommand\sublptr[1]{\tipaloweraccent[.2ex]{189}{#1}} + +% Subscript Right Pointer (left Offset Jaw Voice) +\newcommand\subrptr[1]{\tipaloweraccent[.2ex]{190}{#1}} + +\endinput diff --git a/fonts/tipa/tipa/sty/t3cmr.fd b/fonts/tipa/tipa/sty/t3cmr.fd new file mode 100644 index 0000000000..ca4f6a08f7 --- /dev/null +++ b/fonts/tipa/tipa/sty/t3cmr.fd @@ -0,0 +1,47 @@ +% t3cmr.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3cmr.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{cmr}{} +\DeclareFontShape{T3}{cmr}{m}{n}{% + <5> <6> <7> <8> tipa8 + <9> tipa9 + <10> <10.95> tipa10 + <12> <14.4> tipa12 + <17.28> <20.74> <24.88> tipa17 +}{} +\DeclareFontShape{T3}{cmr}{bx}{n}{% + <5> <6> <7> <8> tipabx8 + <9> tipabx9 + <10> <10.95> tipabx10 + <12> <14.4> <17.28> <20.74> <24.88> tipabx12 +}{} +\DeclareFontShape{T3}{cmr}{b}{n}{% + <-> tipab10 +}{} +\DeclareFontShape{T3}{cmr}{bx}{sl}{% + <-> tipabs10 +}{} +\DeclareFontShape{T3}{cmr}{m}{sl}{% + <5> <6> <7> <8> tipasl8 + <9> tipasl9 + <10> <10.95> tipasl10 + <12> <14.4> <17.28> <20.74> <24.88> tipasl12 +}{} +\DeclareFontShape{T3}{cmr}{m}{it}{% + <-> sub * cmr/m/sl +}{} +\DeclareFontShape{T3}{cmr}{bx}{it}{% + <-> sub * cmr/bx/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/t3cmss.fd b/fonts/tipa/tipa/sty/t3cmss.fd new file mode 100644 index 0000000000..25c64768a4 --- /dev/null +++ b/fonts/tipa/tipa/sty/t3cmss.fd @@ -0,0 +1,32 @@ +% t3cmss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3cmss.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{cmss}{} +\DeclareFontShape{T3}{cmss}{m}{n}{% + <5> <6> <7> <8> tipass8 + <9> tipass9 + <10> <10.95> tipass10 + <12> <14.4> tipass12 + <17.28> <20.74> <24.88> tipass17 +}{} +\DeclareFontShape{T3}{cmss}{bx}{n}{% + <-> tipasb10 +}{} +\DeclareFontShape{T3}{cmss}{m}{sl}{% + <-> tipasi10 +}{} +\DeclareFontShape{T3}{cmss}{m}{it}{% + <-> sub * cmss/m/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/t3cmtt.fd b/fonts/tipa/tipa/sty/t3cmtt.fd new file mode 100644 index 0000000000..15aa104cb9 --- /dev/null +++ b/fonts/tipa/tipa/sty/t3cmtt.fd @@ -0,0 +1,37 @@ +% t3cmtt.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3cmtt.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{cmtt}{} +\DeclareFontShape{T3}{cmtt}{m}{n}{% + <5> <6> <7> <8> tipatt8 + <9> tipatt9 + <10> <10.95> tipatt10 + <12> <14.4> <17.28> <20.74> <24.88> tipatt12 +}{} +\DeclareFontShape{T3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{T3}{cmtt}{m}{sl}{% + <-> tipats10 +}{} +\DeclareFontShape{T3}{cmtt}{m}{it}{% + <-> sub * cmtt/m/sl +}{} +\DeclareFontShape{T3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{T3}{cmtt}{b}{n}{% + <-> sub * cmtt/m/n +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/t3enc.def b/fonts/tipa/tipa/sty/t3enc.def new file mode 100644 index 0000000000..3f34b86214 --- /dev/null +++ b/fonts/tipa/tipa/sty/t3enc.def @@ -0,0 +1,562 @@ +% t3enc.def --- version 1.1 +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% 2001/10/12: The following bugs have been fixed: +% \textsubgrave, \textsubacute, \textsubcircum corrected (Peter Zimmermann) +% modified to be reloadable (Dominique Unruh) +% +% 2001/12/31: Encoding and font shapes modified: +% \textlhti (\char'245), \textnrleg (\char'256) moved to tipx. +% \textcrlambda (\char'253), \textlhtlongy (\char'266) added. +% The above change affects the encoding for the characters with +% code nos. '245--'266. Macro \textcrlambda deleted. +% \textgravemacron added. +% \textscq (\char'261), \textrectangle (\char'277) moved to tipx. +% \texthtrtaild (\char'243), the tone letter stem (\char'277) added. +% +% Symbol shapes changed for \textpipe, \textdoublepipe, \textdoublebarpipe +% (changed to a descender; old versions moved to tipx), \textdownstep, +% \textupstep (changed to a kind of superscript symbols; old versions +% move to tipx with new names \textdownfullarrow, \textupfullarrows), +% \textbullseye (updated; old version moved to tipx), +% \texthtbardotlessj (updated; old version moved to tipx). +% +% 2002/08/05: The following four commands added: +% \texthighrise, \textlowrise, \textrisefall, \textfallrise +% +% 2004/03/30: \textdotbreve corrected (defined twice; thanks to W. Lemberg). +% +% Fukui Rei +% +\ProvidesFile{t3enc.def}[2001/12/31 T3 encoding] +\DeclareFontEncoding{T3}{}{} +\DeclareFontSubstitution{T3}{cmr}{m}{n} + +% Symbols assigned to the area of numerals. + +\DeclareTextSymbol\textbaru{T3}{48} % Barred U +\DeclareTextSymbol\textbari{T3}{49} % Barred I +\DeclareTextSymbol\textturnv{T3}{50} % Turned V +\DeclareTextSymbol\textrevepsilon{T3}{51} % Reversed Epsilon +\DeclareTextSymbol\textturnh{T3}{52} % Turned H +\DeclareTextSymbol\textturna{T3}{53} % Turned A +\DeclareTextSymbol\textturnscripta{T3}{54} % Turned Script A +\DeclareTextSymbol\textramshorns{T3}{55} % Ram's Horns +\DeclareTextSymbol\textbaro{T3}{56} % Barred O +\DeclareTextSymbol\textreve{T3}{57} % Reversed E + +% Symbol assigned to `@' + +\DeclareTextSymbol\textschwa{T3}{64} % Schwa + +% Symbols assigned to the area of uppercase letters. + +\DeclareTextSymbol\textscripta{T3}{65} % Script A +\DeclareTextSymbol\textbeta{T3}{66} % Beta +\DeclareTextSymbol\textctc{T3}{67} % Curly-tail C +% Eth(68) is defined as \dh, not as \texteth. +\DeclareTextSymbol\textepsilon{T3}{69} % Epsilon +\DeclareTextSymbol\textphi{T3}{70} % Phi +\DeclareTextSymbol\textgamma{T3}{71} % Gamma +\DeclareTextSymbol\texthth{T3}{72} % Hooktop H +\DeclareTextSymbol\textsci{T3}{73} % Small Capital I +\DeclareTextSymbol\textctj{T3}{74} % Curly-tail J +\DeclareTextSymbol\textinvscr{T3}{75} % Inverted Small Capital R +\DeclareTextSymbol\textturny{T3}{76} % Turned Y +\DeclareTextSymbol\textltailm{T3}{77} % Left-tail M (at right) +% Eng(78) is defined as \ng, not as \texteng. +\DeclareTextSymbol\textopeno{T3}{79} % Open O +\DeclareTextSymbol\textglotstop{T3}{80} % Glottal Stop +\DeclareTextSymbol\textrevglotstop{T3}{81} % Reversed Glottal Stop +\DeclareTextSymbol\textfishhookr{T3}{82} % Fish-hook R +\DeclareTextSymbol\textesh{T3}{83} % Esh +\DeclareTextSymbol\texttheta{T3}{84} % Theta +\DeclareTextSymbol\textupsilon{T3}{85} % Upsilon +\DeclareTextSymbol\textscriptv{T3}{86} % Script V +\DeclareTextSymbol\textturnm{T3}{87} % Turned M +\DeclareTextSymbol\textchi{T3}{88} % Chi +\DeclareTextSymbol\textscy{T3}{89} % Small Capital Y +\DeclareTextSymbol\textyogh{T3}{90} % Yogh + +% Symbols assigned to the area of lowercase letters. + +\DeclareTextSymbol\textscriptg{T3}{103} + +% Symbol assigned to " + +\DeclareTextSymbol\textprimstress{T3}{34} % Vertical Stroke (Superior) + +% Symbols assigned to : and ; + +\DeclareTextSymbol\textlengthmark{T3}{58} % Length Mark +\DeclareTextSymbol\texthalflength{T3}{59} % Half-length Mark + +% Symbol assigned to | + +\DeclareTextSymbol\textpipe{T3}{124} % Pipe + +% Symbols assigned to 224 through 255 (octal '340 -- '377) + +\DeclareTextSymbol\textscb{T3}{224} % Small Capital B +\DeclareTextSymbol\texthtb{T3}{225} % Hooktop B +\DeclareTextSymbol\texthtd{T3}{226} % Hooktop D +\DeclareTextSymbol\textrtaild{T3}{227} % Right-tail D +\DeclareTextSymbol\texthtg{T3}{228} % Hooktop G +\DeclareTextSymbol\textscg{T3}{229} % Small Capital G +\DeclareTextSymbol\textcrh{T3}{232} % Crossed H +\DeclareTextSymbol\textbardotlessj{T3}{233} % Barred Dotless J +\DeclareTextSymbol\texthtbardotlessj{T3}{234} % Hooktop Barred Dotless J +\DeclareTextSymbol\textltilde{T3}{235} % L with Tilde +\DeclareTextSymbol\textbeltl{T3}{236} % Belted L +\DeclareTextSymbol\textrtaill{T3}{237} % Right-tail L +\DeclareTextSymbol\textturnmrleg{T3}{238} % Turned M, Right Leg +\DeclareTextSymbol\textrtailn{T3}{239} % Right-tail N +\DeclareTextSymbol\textscn{T3}{240} % Small Capital N +\DeclareTextSymbol\textltailn{T3}{241} % Left-tail N (at left) +\DeclareTextSymbol\textbullseye{T3}{242} % Bull's Eye +\DeclareTextSymbol\textrtailr{T3}{243} % Right-tail R +\DeclareTextSymbol\textturnr{T3}{244} % Turned R +\DeclareTextSymbol\textturnrrtail{T3}{245} % Turned R, Right Tail +\DeclareTextSymbol\textscr{T3}{246} % Small Capital R +\DeclareTextSymbol\textrtails{T3}{249} % Right-tail S (at left) +\DeclareTextSymbol\textrtailt{T3}{250} % Right-tail T +\DeclareTextSymbol\textturnw{T3}{251} % Turned W +\DeclareTextSymbol\textrtailz{T3}{252} % Right-tail Z +\DeclareTextSymbol\textctz{T3}{253} % Curly-tail Z +\DeclareTextSymbol\textthorn{T3}{254} % Thorn +\DeclareTextSymbol\texthvlig{T3}{255} % H-V Ligature + +% Symbols assigned to 192 through 223 (octal '300 -- '337) + +\DeclareTextSymbol\textsca{T3}{192} % Small Capital A +\DeclareTextSymbol\texthtc{T3}{193} % Hooktop C +\DeclareTextSymbol\textstretchc{T3}{194} % Stretched C +\DeclareTextSymbol\textdyoghlig{T3}{195} % D-Yogh Ligature +\DeclareTextSymbol\textrhookschwa{T3}{196} % Right-hook Schwa +\DeclareTextSymbol\textcloseepsilon{T3}{197} % Closed Epsilon +\DeclareTextSymbol\textcloserevepsilon{T3}{198} % Closed Reversed Epsilon +\DeclareTextSymbol\textrhookrevepsilon{T3}{199} % Right-hook Reversed Epsilon +\DeclareTextSymbol\textbabygamma{T3}{200} % Baby Gamma +\DeclareTextSymbol\texthtscg{T3}{201} % Hooktop Small Capital G +\DeclareTextSymbol\texththeng{T3}{202} % Hooktop Heng +\DeclareTextSymbol\textsch{T3}{203} % Small Capital H +\DeclareTextSymbol\textiota{T3}{204} % Iota +\DeclareTextSymbol\textObardotlessj{T3}{205} % Old Barred Dotless J +\DeclareTextSymbol\texthtk{T3}{206} % Hooktop K +\DeclareTextSymbol\textscl{T3}{207} % Small Capital L +\DeclareTextSymbol\textlyoghlig{T3}{208} % L-Yogh Ligature +\DeclareTextSymbol\textcloseomega{T3}{209} % Closed Omega +\DeclareTextSymbol\texthtp{T3}{210} % Hooktop P +\DeclareTextSymbol\texthtq{T3}{211} % Hooktop Q +\DeclareTextSymbol\textlonglegr{T3}{212} % Long-leg R +\DeclareTextSymbol\textturnlonglegr{T3}{213} % Turned Long-leg R +\DeclareTextSymbol\texthtt{T3}{214} % Hooktop T +\DeclareTextSymbol\textscoelig{T3}{215} % Small Capital O-E Ligature +\DeclareTextSymbol\textturnt{T3}{216} % Turned T +\DeclareTextSymbol\textteshlig{T3}{217} % T-Esh Ligature +\DeclareTextSymbol\textscu{T3}{218} % Small Capital U +\DeclareTextSymbol\textinvglotstop{T3}{219} % Inverted Glottal Stop +\DeclareTextSymbol\textbarglotstop{T3}{220} % Barred Glottal Stop +\DeclareTextSymbol\textbarrevglotstop{T3}{221} % Barred Reversed Glottal Stop +\DeclareTextSymbol\textcommatailz{T3}{222} % Comma-tail Z +\DeclareTextSymbol\textwynn{T3}{223} % Wynn + +% Symbols assigned to 160 through 191 (octal '240 -- '277) + +\DeclareTextSymbol\textcrb{T3}{160} % Crossed B +\DeclareTextSymbol\textcrd{T3}{161} % Crossed D +\DeclareTextSymbol\textctd{T3}{162} % Curly-tail D +\DeclareTextSymbol\texthtrtaild{T3}{163} % Hooktop right-tail D +\DeclareTextSymbol\textsce{T3}{164} % Small Capital E +\DeclareTextSymbol\textg{T3}{165} % Text G +\DeclareTextSymbol\textlhtlongi{T3}{166} % Left-hooktop Long I +\DeclareTextSymbol\textvibyi{T3}{167} % Viby I +\DeclareTextSymbol\textscj{T3}{168} % Small Capital J +\DeclareTextSymbol\textturnk{T3}{169} % Turned K +\DeclareTextSymbol\textbarl{T3}{170} % Barred L +\DeclareTextSymbol\textlambda{T3}{171} % Lambda +\DeclareTextSymbol\textcrlambda{T3}{172} % Crossed Lambda %%ADD +\DeclareTextSymbol\textOlyoghlig{T3}{173} % Old L-Yogh Ligature +\DeclareTextSymbol\textctn{T3}{174} % Curly-tail N +\DeclareTextSymbol\textturncelig{T3}{175} % Turned C-E Ligature +\DeclareTextSymbol\textomega{T3}{176} % Omega +\DeclareTextSymbol\textscomega{T3}{177} % Small Capital Omega +\DeclareTextSymbol\textctesh{T3}{178} % Curly-tail Esh +\DeclareTextSymbol\textlhookt{T3}{179} % Left-hook T +\DeclareTextSymbol\textctt{T3}{180} % Curly-tail T +\DeclareTextSymbol\texttslig{T3}{181} % T-S Ligature +\DeclareTextSymbol\textlhtlongy{T3}{182} % Left-hooktop Long Y %%ADD +\DeclareTextSymbol\textvibyy{T3}{183} % Viby Y +\DeclareTextSymbol\textctyogh{T3}{184} % Curly-tail Yogh +\DeclareTextSymbol\textrevyogh{T3}{185} % Reversed Yogh +\DeclareTextSymbol\textsoftsign{T3}{186} % Soft Sign +\DeclareTextSymbol\texthardsign{T3}{187} % Hard Sign +\DeclareTextSymbol\textraiseglotstop{T3}{188} % Raised Glottal Stop +\DeclareTextSymbol\textlptr{T3}{189} % Left Pointer +\DeclareTextSymbol\textrptr{T3}{190} % Right Pointer +\DeclareTextSymbol\texttoneletterstem{T3}{191} % Tone letter stem + +% Symbols assigned to 32, 35, 36, 37 (octal '040, '043, '044, '045) + +\DeclareTextSymbol\textceltpal{T3}{32} % Celtic Palatalization Mark +\DeclareTextSymbol\texthooktop{T3}{35} % Hooktop +\DeclareTextSymbol\textrthook{T3}{36} % Right Hook +\DeclareTextSymbol\textpalhook{T3}{37} % Palatalization Hook + +% Symbols assigned to 92, 94, 95 (octal '134, '136, '137) + +\DeclareTextSymbol\textrevapostrophe{T3}{92} % Reversed Apostrophe +\DeclareTextSymbol\textcorner{T3}{94} % Corner +\DeclareTextSymbol\textopencorner{T3}{95} % Open Corner + +% Symbols assigned to 123, 125, 126, 127 (octal '173, '175, '176, '177) + +\DeclareTextSymbol\textdoublepipe{T3}{123} % Double Pipe +\DeclareTextSymbol\textdoublebarpipe{T3}{125} % Double-barred Pipe +\DeclareTextSymbol\textrhoticity{T3}{126} % Rhoticity +\DeclareTextSymbol\textsecstress{T3}{127} % Vertical Stroke (Inferior) + +% Symbols assigned to 146 through 151 (octal '222 -- '227) + +\DeclareTextSymbol\textvertline{T3}{146} % Vertical Line +\DeclareTextSymbol\textdoublevertline{T3}{147} % Double Vertical Line +\DeclareTextSymbol\textdownstep{T3}{148} % Down Arrow (Downstep) +\DeclareTextSymbol\textupstep{T3}{149} % Up Arrow (Upstep) +\DeclareTextSymbol\textglobrise{T3}{150} % Upward Diagonal Arrow +\DeclareTextSymbol\textglobfall{T3}{151} % Downward Diagonal Arrow + +% The following definitions are common to the T1 encoding. + +\DeclareTextSymbol{\i}{T3}{25} +\DeclareTextSymbol{\j}{T3}{26} +\DeclareTextSymbol{\dh}{T3}{68} +\DeclareTextSymbol{\ng}{T3}{78} +\DeclareTextSymbol{\OE}{T3}{215} +\DeclareTextSymbol{\ae}{T3}{230} +\DeclareTextSymbol{\oe}{T3}{247} +\DeclareTextSymbol{\o}{T3}{248} +\DeclareTextSymbol{\th}{T3}{254} + +% Accnets and diacritics + +\providecommand{\tipaencoding}{\fontencoding{T3}\selectfont} + +\@ifundefined{upperaccent}{% +% The following commands are same as the ones in `exaccent.sty'. +{\slshape\xdef\@slshapename{\f@shape}} +{\itshape\xdef\@itshapename{\f@shape}} + +\providecommand\upperaccent{\@ifnextchar[{\upper@accent a\empty}% + {\upper@accent a\empty[\z@]}} +\providecommand\Upperaccent{\@ifnextchar[{\upper@accent b\empty}% + {\upper@accent b\empty[\z@]}} +\providecommand\loweraccent{\@ifnextchar[{\lower@accent a\empty}% + {\lower@accent a\empty[\z@]}} +\providecommand\Loweraccent{\@ifnextchar[{\lower@accent b\empty}% + {\lower@accent b\empty[\z@]}} + +\def\upper@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\@pshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vbox{\hsize\wd\z@\offinterlineskip + \hb@xt@\z@{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}\hss} + \kern#3 + \hbox{#5}}\fi}} + +\def\lower@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\s@bshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1.1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vtop{\hsize\wd\z@\offinterlineskip + \hbox{#5} + \kern#3 + \hbox{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}}}\fi}} + +\providecommand\@getaccshift{\def\@accshift##1{}% + \ifx\f@shape\@slshapename\let\@accshift\@accshiftsl\fi + \ifx\f@shape\@itshapename\let\@accshift\@accshiftsl\fi} + +\providecommand\@accshiftsl[1]{\c@lcshift{#1}\kern-.16667\dimen\@ne} + +\providecommand\@pshift[1]{% + \dimen\@ne-\ht\z@ % get height of the box to be accented + \advance\dimen\@ne -#1% % add margin between the letter and accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne 1ex\else + \ifdim\ht\@ne=\z@ + \advance\dimen\@ne -\dp\@ne\fi\fi} + +\providecommand\s@bshift[1]{% + \dimen\@ne\dp\z@ % get depth of the box to be accented + \ifdim\ht\@ne>\z@ + \advance\dimen\@ne \ht\@ne\fi % add ht of the accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne #1\fi} % add margin between the letter and accent +}{} + +\providecommand\tipaupperaccent{\@ifnextchar[{\upper@accent a\tipaencoding}% + {\upper@accent a\tipaencoding[\z@]}} +\providecommand\tipaUpperaccent{\@ifnextchar[{\upper@accent b\tipaencoding}% + {\upper@accent b\tipaencoding[\z@]}} +\providecommand\tipaloweraccent{\@ifnextchar[{\lower@accent a\tipaencoding}% + {\lower@accent a\tipaencoding[\z@]}} +\providecommand\tipaLoweraccent{\@ifnextchar[{\lower@accent b\tipaencoding}% + {\lower@accent b\tipaencoding[\z@]}} + +% +% Macros for combining glyphs +% +\providecommand\ipaclap[2]{{\setbox\z@\hbox{#1}\dimen\z@\wd\z@ + \setbox\z@\hbox{#2}\ifdim\wd\z@>\dimen\z@ \dimen\z@\wd\z@ \fi + \leavevmode \hb@xt@\dimen\z@{% + \hb@xt@\dimen\z@{\hss#1\hss}\hss\hb@xt@\dimen\z@{\hss#2\hss}}}} + +% +% \ipabar +% #1 character to be barred +% #2 height of bar position (dimen) +% #3 bar width (scaling factor to the width of #1) +% #4 left kern added to the bar (scaling factor to the width of #1) +% #5 right kern added to the bar (scaling factor to the width of #1) +% +\providecommand\ipabar[5]{{\setbox\z@\hbox{#1}% + \@getaccshift \let\c@lcshift\b@rshift + \ifx\f@series\@bfseriesname\let\@halfbar\@bfhalfbar\else + \ifx\f@family\@sffamilyname\let\@halfbar\@sfhalfbar\fi\fi + \ooalign{\hidewidth#1\hidewidth\crcr + \raise#2\hbox{% + \@accshift{-#2}% + \kern\@sidegap + \ifx\empty#4\empty\else\kern#4\wd\z@\fi + \vrule \@height\@halfbar \@depth\@halfbar \@width #3\wd\z@ + \ifx\empty#5\empty\else\kern#5\wd\z@\fi + \kern\@sidegap}}}} + +{\bfseries\xdef\@bfseriesname{\f@series}} +{\sffamily\xdef\@sffamilyname{\f@family}} + +\providecommand\b@rshift[1]{\dimen\@ne#1} +\providecommand\@halfbar{.0355ex} % 1/2 bar breadth (1/2bar# of cmr10) +\providecommand\@bfhalfbar{.053125ex} % 1/2 bar breadth (1/2bar# of cmbx10) +\providecommand\@sfhalfbar{.065625ex} % 1/2 bar breadth (1/2bar# of cmss10) +\providecommand\@sidegap{.027778em} + +% +% Accents and diacritics +% +\DeclareTextCommand\textpolhook{T3}[1]% + {\tipaloweraccent{12}{#1}} % Polish Hook +\DeclareTextCommand\textdoublegrave{T3}[1]% + {\tipaupperaccent{13}{#1}} % Double Grave Accent +\DeclareTextCommand\textroundcap{T3}[1]% + {\tipaupperaccent{16}{#1}} % Round Cap +\DeclareTextCommand\textvbaraccent{T3}[1]% + {\tipaupperaccent{156}{#1}} % Vertical Bar Accent +\DeclareTextCommand\textdoublevbaraccent{T3}[1]% + {\tipaupperaccent{157}{#1}} % Double Vertical Bar Accent + +\DeclareTextCommand\textsubgrave{T3}[1]% + {\loweraccent[.2ex]{14}{#1}} % Subscript Grave Accent +\DeclareTextCommand\textsubacute{T3}[1]% + {\loweraccent[.2ex]{15}{#1}} % Subscript Acute Accent +\DeclareTextCommand\textsubcircum{T3}[1]% + {\loweraccent[.2ex]{2}{#1}} % Subscript Circumflex +\DeclareTextCommand\textsubtilde{T3}[1]% + {\loweraccent[.3ex]{3}{#1}} % Subscript Tilde +\DeclareTextCommand\textsubumlaut{T3}[1]% + {\loweraccent[.3ex]{4}{#1}} % Subscript Umlaut +\DeclareTextCommand\textsubring{T3}[1]% + {\loweraccent[.3ex]{6}{#1}} % Subscript Ring +\DeclareTextCommand\textsubwedge{T3}[1]% + {\loweraccent[.3ex]{7}{#1}} % Subscript Wedge +\DeclareTextCommand\textsubbar{T3}[1]% + {\loweraccent[.3ex]{9}{#1}} % Subscript Bar +\DeclareTextCommand\textsubdot{T3}[1]% + {\loweraccent[.3ex]{10}{#1}} % Subscript Dot + +\DeclareTextCommand\textsubbridge{T3}[1]% + {\tipaloweraccent{17}{#1}} % Subscript Bridge +\DeclareTextCommand\textinvsubbridge{T3}[1]% + {\tipaloweraccent{18}{#1}} % Inverted Subscript Bridge +\DeclareTextCommand\textsubsquare{T3}[1]% + {\tipaloweraccent{19}{#1}} % Subscript Square +\DeclareTextCommand\textsubrhalfring{T3}[1]% + {\tipaloweraccent[.2ex]{20}{#1}} % Subscript Right Half-ring +\DeclareTextCommand\textsublhalfring{T3}[1]% + {\tipaloweraccent[.2ex]{21}{#1}} % Subscript Left Half-ring +\DeclareTextCommand\textsubw{T3}[1]% + {\tipaloweraccent{22}{#1}} % Subscript W +\DeclareTextCommand\textoverw{T3}[1]% + {\tipaupperaccent[.2ex]{22}{#1}} % Over-W +\DeclareTextCommand\textseagull{T3}[1]% + {\tipaloweraccent{23}{#1}} % Seagull +\DeclareTextCommand\textovercross{T3}[1]% + {\tipaupperaccent{24}{#1}} % Over-cross +\DeclareTextCommand\textsubplus{T3}[1]% + {\tipaloweraccent[.2ex]{27}{#1}} % Subscript Plus +\DeclareTextCommand\textraising{T3}[1]% + {\tipaloweraccent[.2ex]{28}{#1}} % Raising Sign +\DeclareTextCommand\textlowering{T3}[1]% + {\tipaloweraccent[.25ex]{29}{#1}} % Lowering Sign +\DeclareTextCommand\textadvancing{T3}[1]% + {\tipaloweraccent[.2ex]{30}{#1}} % Advancing Sign +\DeclareTextCommand\textretracting{T3}[1]% + {\tipaloweraccent[.2ex]{31}{#1}} % Retracting Sign + +\DeclareTextCommand\textsubarch{T3}[1]% + {\tipaloweraccent[.2ex]{16}{#1}} % Subscript Arch +\DeclareTextCommand\textsyllabic{T3}[1]% + {\tipaloweraccent[.15ex]{34}{#1}} % Syllabicity Mark +\DeclareTextCommand\textsuperimposetilde{T3}[1]% + {\ipaclap{#1}{\lower1ex\hbox{\tipaencoding\char38}}} % Superimposed Tilde + +\DeclareTextCommand\textmidacute{T3}[1]% + {\tipaupperaccent{152}{#1}} % Macron-Acute Ligature +\DeclareTextCommand\textgravemid{T3}[1]% + {\tipaupperaccent{153}{#1}} % Grave-Macron Ligature +\DeclareTextCommand\textgravecircum{T3}[1]% + {\tipaupperaccent{154}{#1}} % Grave-Wedge Ligature +\DeclareTextCommand\textcircumacute{T3}[1]% + {\tipaupperaccent{155}{#1}} % Circumflex-Acute Ligature + +\DeclareTextCommand\textbottomtiebar{T3}[1]% + {\loweraccent[.3ex]{60}{#1}} % Bottom Tie Bar +\DeclareTextCommand\texttoptiebar{T3}[1]% + {\upperaccent[-.1ex]{62}{#1}} % Top Tie Bar + +\DeclareTextCommand\textgravedot{T3}[1]% + {\tipaupperaccent{158}{#1}} % Grave Dot Accent +\DeclareTextCommand\textdotacute{T3}[1]% + {\tipaupperaccent{159}{#1}} % Dot Acute Accent +\DeclareTextCommand\textdotbreve{T3}[1]% + {\tipaupperaccent[-.3ex]{10}% + {\tipaupperaccent[-.03ex]{8}{#1}}} % Dot Breve Accent +\DeclareTextCommand\textacutemacron{T3}[1]% + {\tipaupperaccent[-.15ex]{1}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Acute Macron Accent +\DeclareTextCommand\textgravemacron{T3}[1]% + {\tipaupperaccent[-.15ex]{0}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Grave Macron Accent +\DeclareTextCommand\textacutewedge{T3}[1]% + {\tipaupperaccent[-.2ex]{1}% + {\tipaupperaccent[-.03ex]{7}{#1}}} % Acute Wedge Accent +\DeclareTextCommand\textcircumdot{T3}[1]% + {\tipaupperaccent[-.2ex]{2}% + {\tipaupperaccent[-.1ex]{10}{#1}}} % Circnumflex Dot Accent +\DeclareTextCommand\texttildedot{T3}[1]% + {\tipaupperaccent[-.15ex]{3}% + {\tipaupperaccent[-.1ex]{10}{#1}}} % Tilde Dot Accent +\DeclareTextCommand\textringmacron{T3}[1]% + {\tipaupperaccent[-.05ex]{6}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Ring Macron Accent +\DeclareTextCommand\textbrevemacron{T3}[1]% + {\tipaupperaccent[-.05ex]{8}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Breve Macron Accent + +% +% Added on 2002/08/05 (the following four commands) +% +\DeclareTextCommand\texthighrise{T3}[1]{\tipaupperaccent{'230}{#1}} +\DeclareTextCommand\textlowrise{T3}[1]{\tipaupperaccent{'231}{#1}} +\DeclareTextCommand\textrisefall{T3}[1]{\tipaupperaccent{'232}{#1}} +\DeclareTextCommand\textfallrise{T3}[1]{\tipaupperaccent{'233}{#1}} + +\providecommand{\@ifacute}[1]{\@ifnextchar'{\@firstoftwo#1}} +\providecommand{\@ifmacron}[1]{\@ifnextchar={\@firstoftwo#1}} +\providecommand{\@ifdot}[1]{\@ifnextchar.{\@firstoftwo#1}} + +\DeclareTextCommand{\`}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{14}}% + {\@ifdot{\textgravedot}{\tipaupperaccent{0}}}} +\DeclareTextCommand{\'}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{15}}% + {\@ifmacron{\textacutemacron}{\tipaupperaccent{1}}}} +\DeclareTextCommand{\^}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{2}}% + {\@ifdot{\textcircumdot}{\tipaupperaccent{2}}}} +\DeclareTextCommand{\~}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{3}}% + {\@ifdot{\texttildedot}{\tipaupperaccent{3}}}} +\DeclareTextCommand{\"}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{4}}% + {\tipaupperaccent{4}}} +\DeclareTextCommand{\H}{T3}[0]{\@ifstar{\textdoublegrave}% + {\tipaupperaccent{5}}} +\DeclareTextCommand{\r}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{6}}% + {\@ifmacron{\textringmacron}{\tipaupperaccent{6}}}} +\DeclareTextCommand{\v}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{7}}% + {\@ifacute{\textacutewedge}{\tipaupperaccent{7}}}} +\DeclareTextCommand{\u}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{16}}% + {\@ifmacron{\textbrevemacron}{\tipaupperaccent{8}}}} +\DeclareTextCommand{\=}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{9}}% + {\tipaupperaccent{9}}} +\DeclareTextCommand{\.}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{10}}% + {\@ifacute{\textdotacute}{\tipaupperaccent{10}}}} +\DeclareTextCommand{\b}{T3}[0]{\tipaloweraccent[.3ex]{9}} +\DeclareTextCommand{\c}{T3}[1]{\tipaloweraccent{11}{#1}} +\DeclareTextCommand{\d}{T3}[0]{\tipaloweraccent[.3ex]{10}} +\DeclareTextCommand{\t}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{60}}% + {\tipaupperaccent[-.1ex]{62}}} +\DeclareTextCommand{\k}{T3}[0]{\textpolhook} + +\DeclareTextComposite{\c}{T3}{c}{231} + +% +% Symbols made up by TeX macro +% +\DeclareTextCommand\textbarb{T3}[0]{% + \ipabar{{\tipaencoding b}}{.5ex}{1.1}{}{}} % Barred B +\DeclareTextCommand\textbarc{T3}[0]{% + \ipabar{{\tipaencoding c}}{.5ex}{.55}{}{.55}} % Barred C +\DeclareTextCommand\textbard{T3}[0]{% + \ipabar{{\tipaencoding d}}{.5ex}{1.1}{}{.05}} % Barred D +\DeclareTextCommand\textbarg{T3}[0]{% + \ipabar{{\tipaencoding g}}{.5ex}{1.1}{}{}} % Barred G +\DeclareTextCommand\textcrg{T3}[0]{% + \ipabar{{\tipaencoding g}}{-.2ex}{.6}{.4}{}} % Crossed G +\DeclareTextCommand\textdoublebaresh{T3}[0]{% + {\setbox\z@\hbox{\textesh}% + \ipabar{\hb@xt@ \wd\z@{\hss\ipabar{{\textesh}}% + {.3ex}{1.1}{}{}\hss}}{.75ex}{1.1}{}{}}} % Double-barred Esh +\DeclareTextCommand\textcrtwo{T3}[0]{% + {\fontencoding{\encodingdefault}\selectfont + \ipabar{2}{.6ex}{1.1}{}{}}} % Crossed Two +\DeclareTextCommand\textcrinvglotstop{T3}[0]{% + \ipabar{\textinvglotstop}{1.2ex}{.6}{.2}{.3}} % Crossed Inv. Glottal Stop +\DeclareTextCommand\textdoublebarslash{T3}[0]{% + {\tipaencoding\ipaclap{=}{/}}} % Double-barred Slash +\DeclareTextCommand\textraisevibyi{T3}[0]{% + {\leavevmode + \setbox\z@\hbox{\textvibyi}\raise\dp\z@\box\z@}} % Raised Viby I + +% +% Ligatures made by two symbols combined with an appropriate kerning +% +\DeclareTextCommand\textdzlig{T3}[0]{{% + \tipaencoding d\kern-.19em z}} % D-Z Ligature +\DeclareTextCommand\textdctzlig{T3}[0]{{% + \tipaencoding d\kern-.19em\textctz}} % D-Curly-tail Z Ligature +\DeclareTextCommand\textctdctzlig{T3}[0]{{% + \tipaencoding\textctd\kern-.14em\textctz}} % Curly-tail D-Curly-tail Z Lig. +\DeclareTextCommand\texttctclig{T3}[0]{{% + \tipaencoding t\kern-.17em\textctc}} % T-Curly-tail C Ligature +\DeclareTextCommand\textcttctclig{T3}[0]{{% + \tipaencoding\textctt\kern-.16em\textctc}} % Curly-tail T-Curly-tail C Lig. + +\endinput diff --git a/fonts/tipa/tipa/sty/t3phv.fd b/fonts/tipa/tipa/sty/t3phv.fd new file mode 100644 index 0000000000..98f0f994c5 --- /dev/null +++ b/fonts/tipa/tipa/sty/t3phv.fd @@ -0,0 +1,38 @@ +% t3phv.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% This file is based on a suggestion by Walter Schmidt. +% +\ProvidesFile{t3phv.fd}[2001/12/31 scalable TIPA font definitions] +\expandafter\ifx\csname Hv@scale\endcsname\relax + \let\Hv@@scale\@empty +\else + \edef\Hv@@scale{s*[\csname Hv@scale\endcsname]}% +\fi +\DeclareFontFamily{T3}{phv}{} +\DeclareFontShape{T3}{phv}{m}{n}{% + <-> \Hv@@scale xipass10 +}{} +\DeclareFontShape{T3}{phv}{b}{n}{% + <-> \Hv@@scale xipasb10 +}{} +\DeclareFontShape{T3}{phv}{bx}{n}{% + <-> \Hv@@scale xipasb10 +}{} +\DeclareFontShape{T3}{phv}{m}{sl}{% + <-> \Hv@@scale xipasi10 +}{} +\DeclareFontShape{T3}{phv}{m}{it}{% + <-> \Hv@@scale xipasi10 +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/t3ptm.fd b/fonts/tipa/tipa/sty/t3ptm.fd new file mode 100644 index 0000000000..4dec9e5984 --- /dev/null +++ b/fonts/tipa/tipa/sty/t3ptm.fd @@ -0,0 +1,37 @@ +% t3ptm.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3ptm.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{ptm}{} +\DeclareFontShape{T3}{ptm}{m}{n}{% + <-> xipa10 +}{} +\DeclareFontShape{T3}{ptm}{bx}{n}{% + <-> xipab10 +}{} +\DeclareFontShape{T3}{ptm}{b}{n}{% + <-> xipab10 +}{} +\DeclareFontShape{T3}{ptm}{m}{sl}{% + <-> xipasl10 +}{} +\DeclareFontShape{T3}{ptm}{b}{sl}{% + <-> xipabs10 +}{} +\DeclareFontShape{T3}{ptm}{bx}{sl}{% + <-> xipabs10 +}{} +\DeclareFontShape{T3}{ptm}{m}{it}{% + <-> sub * ptm/m/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/tipa.sty b/fonts/tipa/tipa/sty/tipa.sty new file mode 100644 index 0000000000..8b5639ae6e --- /dev/null +++ b/fonts/tipa/tipa/sty/tipa.sty @@ -0,0 +1,480 @@ +% tipa.sty: Macro definitions for TIPA +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 first LaTeX2e version +% Version 1.1 2001-2002: Encoding modified: see t3enc.def. +% +% This file is based on `tsipa.sty' for TSIPA created by +% KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{tipa}[2002/08/08 TIPA version 1.1] +\DeclareOption{extra}{\AtEndOfPackage{\input{extraipa.sty}}} +\DeclareOption{tone}{\AtEndOfPackage{\input{tone.sty}}} +\newif\if@ipasafe \global\@ipasafefalse +\DeclareOption{safe}{\global\@ipasafetrue} +% +% Options for selecting normal text encoding. +% +% default: the default text encoding +% executes \usepackage[T3,\f@encoding]{fontenc} +% T1: T1 +% executes \usepackage[T3,T1]{fontenc} +% noenc: not specified. +% `fontenc' should be explicitly specified by a user. +% +% Changed by Rafael Labossiere <rafael@icp.inpg.fr> +% on Tue Oct 20 10:10:01 CEST 1998 +% \RequirePackage is used instead of \usepackage to increase +% compatibility with Latex2e +% +% Modified to be reloadable by Dominique Unruh. +% + +% The following code fixes a bug that was causing T3enc.def to be read in +% twic. This is due to the most recent update to LaTeX (Dec. 1998) +\newif\if@loadfontenc +\@loadfontenctrue +\newcommand\@defaultenc{\f@encoding} +\DeclareOption{T1}{\renewcommand\@defaultenc{T1}} +\DeclareOption{noenc}{\@loadfontencfalse\renewcommand\@defaultenc{}} +\ProcessOptions +\ifx\empty\@defaultenc\empty\else + \if@loadfontenc + \RequirePackage[T3,\@defaultenc]{fontenc} + \fi +\fi +%\newcommand\@defaultenc{\f@encoding} +%\DeclareOption{T1}{\renewcommand\@defaultenc{T1}} +%\DeclareOption{noenc}{\renewcommand\@defaultenc{}} +%\ProcessOptions +%\ifx\empty\@defaultenc\empty\else +% \RequirePackage[T3,\@defaultenc]{fontenc} +%\fi + +% +% TSIPA, TIPA logos +% +\newcommand\tsipa{\textsf{TSIPA}\@} +\newcommand\tipa{\textsf{TIPA}\@} +\newcommand\tipx{\textsf{TIPX}\@} + +% +% Macros for font selection and IPA environment +% +\newcommand\textipa[1]{{\tipaencoding #1}} +\newenvironment{IPA}{\tipaencoding}{} + +\let\super\textsuperscript +\newcommand\nrsuper[1]{\leavevmode + \lower.8ex\hbox{\textsuperscript{#1}}} + +% +% Default definition of text symbols (see T3enc.def for details) +% + +% Symbols assigned to the area of numerals. + +\DeclareTextSymbolDefault\textbaru{T3} % Barred U +\DeclareTextSymbolDefault\textbari{T3} % Barred I +\DeclareTextSymbolDefault\textturnv{T3} % Turned V +\DeclareTextSymbolDefault\textrevepsilon{T3} % Reversed Epsilon +\DeclareTextSymbolDefault\textturnh{T3} % Turned H +\DeclareTextSymbolDefault\textturna{T3} % Turned A +\DeclareTextSymbolDefault\textturnscripta{T3} % Turned Script A +\DeclareTextSymbolDefault\textramshorns{T3} % Ram's Horns +\DeclareTextSymbolDefault\textbaro{T3} % Barred O +\DeclareTextSymbolDefault\textreve{T3} % Reversed E + +% Symbol assigned to `@' + +\DeclareTextSymbolDefault\textschwa{T3} % Schwa + +% Symbols assigned to the area of uppercase letters. + +\DeclareTextSymbolDefault\textscripta{T3} % Script A +\DeclareTextSymbolDefault\textbeta{T3} % Beta +\DeclareTextSymbolDefault\textctc{T3} % Curly-tail C +% Eth is defined as \dh, not as \texteth. +\DeclareTextSymbolDefault\textepsilon{T3} % Epsilon +\DeclareTextSymbolDefault\textphi{T3} % Phi +\DeclareTextSymbolDefault\textgamma{T3} % Gamma +\DeclareTextSymbolDefault\texthth{T3} % Hooktop H +\DeclareTextSymbolDefault\textsci{T3} % Small Capital I +\DeclareTextSymbolDefault\textctj{T3} % Curly-tail J +\DeclareTextSymbolDefault\textinvscr{T3} % Inverted Small Capital R +\DeclareTextSymbolDefault\textturny{T3} % Turned Y +\DeclareTextSymbolDefault\textltailm{T3} % Left-tail M (at right) +% Eng is defined as \ng, not as \texteng. +\DeclareTextSymbolDefault\textopeno{T3} % Open O +\DeclareTextSymbolDefault\textglotstop{T3} % Glottal Stop +\DeclareTextSymbolDefault\textrevglotstop{T3} % Reversed Glottal Stop +\DeclareTextSymbolDefault\textfishhookr{T3} % Fish-hook R +\DeclareTextSymbolDefault\textesh{T3} % Esh +\DeclareTextSymbolDefault\texttheta{T3} % Theta +\DeclareTextSymbolDefault\textupsilon{T3} % Upsilon +\DeclareTextSymbolDefault\textscriptv{T3} % Script V +\DeclareTextSymbolDefault\textturnm{T3} % Turned M +\DeclareTextSymbolDefault\textchi{T3} % Chi +\DeclareTextSymbolDefault\textscy{T3} % Small Capital Y +\DeclareTextSymbolDefault\textyogh{T3} % Yogh + +% Symbols assigned to the area of lowercase letters. + +\DeclareTextSymbolDefault\textscriptg{T3} + +% Symbol assigned to " + +\DeclareTextSymbolDefault\textprimstress{T3} % Vertical Stroke (Superior) + +% Symbols assigned to : and ; + +\DeclareTextSymbolDefault\textlengthmark{T3} % Length Mark +\DeclareTextSymbolDefault\texthalflength{T3} % Half-length Mark + +% Symbol assigned to | + +\DeclareTextSymbolDefault\textpipe{T3} % Pipe + +% Symbols assigned to 224 through 255 (octal '340 -- '377) + +\DeclareTextSymbolDefault\textscb{T3} % Small Capital B +\DeclareTextSymbolDefault\texthtb{T3} % Hooktop B +\DeclareTextSymbolDefault\texthtd{T3} % Hooktop D +\DeclareTextSymbolDefault\textrtaild{T3} % Right-tail D +\DeclareTextSymbolDefault\texthtg{T3} % Hooktop G +\DeclareTextSymbolDefault\textscg{T3} % Small Capital G +\DeclareTextSymbolDefault\textcrh{T3} % Crossed H +\DeclareTextSymbolDefault\textbardotlessj{T3} % Barred Dotless J +\DeclareTextSymbolDefault\texthtbardotlessj{T3} % Hooktop Barred Dotless J +\DeclareTextSymbolDefault\textltilde{T3} % L with Tilde +\DeclareTextSymbolDefault\textbeltl{T3} % Belted L +\DeclareTextSymbolDefault\textrtaill{T3} % Right-tail L +\DeclareTextSymbolDefault\textturnmrleg{T3} % Turned M, Right Leg +\DeclareTextSymbolDefault\textrtailn{T3} % Right-tail N +\DeclareTextSymbolDefault\textscn{T3} % Small Capital N +\DeclareTextSymbolDefault\textltailn{T3} % Left-tail N (at left) +\DeclareTextSymbolDefault\textbullseye{T3} % Bull's Eye +\DeclareTextSymbolDefault\textrtailr{T3} % Right-tail R +\DeclareTextSymbolDefault\textturnr{T3} % Turned R +\DeclareTextSymbolDefault\textturnrrtail{T3} % Turned R, Right Tail +\DeclareTextSymbolDefault\textscr{T3} % Small Capital R +\DeclareTextSymbolDefault\textrtails{T3} % Right-tail S (at left) +\DeclareTextSymbolDefault\textrtailt{T3} % Right-tail T +\DeclareTextSymbolDefault\textturnw{T3} % Turned W +\DeclareTextSymbolDefault\textrtailz{T3} % Right-tail Z +\DeclareTextSymbolDefault\textctz{T3} % Curly-tail Z +\DeclareTextSymbolDefault\textthorn{T3} % Thorn +\DeclareTextSymbolDefault\texthvlig{T3} % H-V Ligature + +% Symbols assigned to 192 through 223 (octal '300 -- '337) + +\DeclareTextSymbolDefault\textsca{T3} % Small Capital A +\DeclareTextSymbolDefault\texthtc{T3} % Hooktop C +\DeclareTextSymbolDefault\textstretchc{T3} % Stretched C +\DeclareTextSymbolDefault\textdyoghlig{T3} % D-Yogh Ligature +\DeclareTextSymbolDefault\textrhookschwa{T3} % Right-hook Schwa +\DeclareTextSymbolDefault\textcloseepsilon{T3} % Closed Epsilon +\DeclareTextSymbolDefault\textcloserevepsilon{T3}% Closed Reversed Epsilon +\DeclareTextSymbolDefault\textrhookrevepsilon{T3}% Right-hook Reversed Epsilon +\DeclareTextSymbolDefault\textbabygamma{T3} % Baby Gamma +\DeclareTextSymbolDefault\texthtscg{T3} % Hooktop Small Capital G +\DeclareTextSymbolDefault\texththeng{T3} % Hooktop Heng +\DeclareTextSymbolDefault\textsch{T3} % Small Capital H +\DeclareTextSymbolDefault\textiota{T3} % Iota +\DeclareTextSymbolDefault\textObardotlessj{T3} % Old Barred Dotless J +\DeclareTextSymbolDefault\texthtk{T3} % Hooktop K +\DeclareTextSymbolDefault\textscl{T3} % Small Capital L +\DeclareTextSymbolDefault\textlyoghlig{T3} % L-Yogh Ligature +\DeclareTextSymbolDefault\textcloseomega{T3} % Closed Omega +\DeclareTextSymbolDefault\texthtp{T3} % Hooktop P +\DeclareTextSymbolDefault\texthtq{T3} % Hooktop Q +\DeclareTextSymbolDefault\textlonglegr{T3} % Long-leg R +\DeclareTextSymbolDefault\textturnlonglegr{T3} % Turned Long-leg R +\DeclareTextSymbolDefault\texthtt{T3} % Hooktop T +\DeclareTextSymbolDefault\textscoelig{T3} % Small Capital O-E Ligature +\DeclareTextSymbolDefault\textturnt{T3} % Turned T +\DeclareTextSymbolDefault\textteshlig{T3} % T-Esh Ligature +\DeclareTextSymbolDefault\textscu{T3} % Small Capital U +\DeclareTextSymbolDefault\textinvglotstop{T3} % Inverted Glottal Stop +\DeclareTextSymbolDefault\textbarglotstop{T3} % Barred Glottal Stop +\DeclareTextSymbolDefault\textbarrevglotstop{T3} % Barred Reversed Glottal Stop +\DeclareTextSymbolDefault\textcommatailz{T3} % Comma-tail Z +\DeclareTextSymbolDefault\textwynn{T3} % Wynn + +% Symbols assigned to 160 through 191 (octal '240 -- '277) + +\DeclareTextSymbolDefault\textcrb{T3} % Crossed B +\DeclareTextSymbolDefault\textcrd{T3} % Crossed D +\DeclareTextSymbolDefault\textctd{T3} % Curly-tail D +\DeclareTextSymbolDefault\texthtrtaild{T3} % Hooktop right-tail D +\DeclareTextSymbolDefault\textsce{T3} % Small Capital E +\DeclareTextSymbolDefault\textg{T3} % Text G +\DeclareTextSymbolDefault\textlhtlongi{T3} % Left-hooktop Long I +\DeclareTextSymbolDefault\textvibyi{T3} % Viby I +\DeclareTextSymbolDefault\textscj{T3} % Small Capital J +\DeclareTextSymbolDefault\textturnk{T3} % Turned K +\DeclareTextSymbolDefault\textbarl{T3} % Barred L +\DeclareTextSymbolDefault\textlambda{T3} % Lambda +\DeclareTextSymbolDefault\textcrlambda{T3} % Crossed Lambda %%ADD +\DeclareTextSymbolDefault\textOlyoghlig{T3} % Old L-Yogh Ligature +\DeclareTextSymbolDefault\textctn{T3} % Curly-tail N +\DeclareTextSymbolDefault\textturncelig{T3} % Turned C-E Ligature +\DeclareTextSymbolDefault\textomega{T3} % Omega +\DeclareTextSymbolDefault\textscomega{T3} % Small Capital Omega +\DeclareTextSymbolDefault\textctesh{T3} % Curly-tail Esh +\DeclareTextSymbolDefault\textlhookt{T3} % Left-hook T +\DeclareTextSymbolDefault\textctt{T3} % Curly-tail T +\DeclareTextSymbolDefault\texttslig{T3} % T-S Ligature +\DeclareTextSymbolDefault\textlhtlongy{T3} % Left-hooktop Long Y %%ADD +%% Changes (2001/11/24) end + +\DeclareTextSymbolDefault\textvibyy{T3} % Viby Y +\DeclareTextSymbolDefault\textctyogh{T3} % Curly-tail Yogh +\DeclareTextSymbolDefault\textrevyogh{T3} % Reversed Yogh +\DeclareTextSymbolDefault\textsoftsign{T3} % Soft Sign +\DeclareTextSymbolDefault\texthardsign{T3} % Hard Sign +\DeclareTextSymbolDefault\textraiseglotstop{T3} % Raised Glottal Stop +\DeclareTextSymbolDefault\textlptr{T3} % Left Pointer +\DeclareTextSymbolDefault\textrptr{T3} % Right Pointer +\DeclareTextSymbolDefault\texttoneletterstem{T3} % Tone letter stem + +% Symbols assigned to 32, 35, 36, 37 (octal '040, '043, '044, '045) + +\DeclareTextSymbolDefault\textceltpal{T3} % Celtic Palatalization Mark +\DeclareTextSymbolDefault\texthooktop{T3} % Hooktop +\DeclareTextSymbolDefault\textrthook{T3} % Right Hook +\DeclareTextSymbolDefault\textpalhook{T3} % Palatalization Hook + +% Symbols assigned to 92, 94, 95 (octal '134, '136, '137) + +\DeclareTextSymbolDefault\textrevapostrophe{T3} % Reversed Apostrophe +\DeclareTextSymbolDefault\textcorner{T3} % Corner +\DeclareTextSymbolDefault\textopencorner{T3} % Open Corner + +% Symbols assigned to 123, 125, 126, 127 (octal '173, '175, '176, '177) + +\DeclareTextSymbolDefault\textdoublepipe{T3} % Double Pipe +\DeclareTextSymbolDefault\textdoublebarpipe{T3} % Double-barred Pipe +\DeclareTextSymbolDefault\textrhoticity{T3} % Rhoticity +\DeclareTextSymbolDefault\textsecstress{T3} % Vertical Stroke (Inferior) + +% Symbols assigned to 146 through 151 (octal '222 -- '227) + +\DeclareTextSymbolDefault\textvertline{T3} % Vertical Line +\DeclareTextSymbolDefault\textdoublevertline{T3} % Double Vertical Line +\DeclareTextSymbolDefault\textdownstep{T3} % Down Arrow (Downstep) +\DeclareTextSymbolDefault\textupstep{T3} % Up Arrow (Upstep) +\DeclareTextSymbolDefault\textglobrise{T3} % Upward Diagonal Arrow +\DeclareTextSymbolDefault\textglobfall{T3} % Downward Diagonal Arrow + +% Default definition of accents and diacritics + +\DeclareTextAccentDefault\textpolhook{T3} % Polish Hook +\DeclareTextAccentDefault\textdoublegrave{T3} % Double Grave Accent +\DeclareTextAccentDefault\textroundcap{T3} % Round Cap +\DeclareTextAccentDefault\textvbaraccent{T3} % Vertical Bar Accent +\DeclareTextAccentDefault\textdoublevbaraccent{T3}% Double Vertical Bar Accent + +\DeclareTextAccentDefault\textsubgrave{T3} % Subscript Grave Accent +\DeclareTextAccentDefault\textsubacute{T3} % Subscript Acute Accent +\DeclareTextAccentDefault\textsubcircum{T3} % Subscript Circumflex +\DeclareTextAccentDefault\textsubtilde{T3} % Subscript Tilde +\DeclareTextAccentDefault\textsubumlaut{T3} % Subscript Umlaut +\DeclareTextAccentDefault\textsubring{T3} % Subscript Ring +\DeclareTextAccentDefault\textsubwedge{T3} % Subscript Wedge +\DeclareTextAccentDefault\textsubbar{T3} % Subscript Bar +\DeclareTextAccentDefault\textsubdot{T3} % Subscript Dot + +\DeclareTextAccentDefault\textsubbridge{T3} % Subscript Bridge +\DeclareTextAccentDefault\textinvsubbridge{T3} % Inverted Subscript Bridge +\DeclareTextAccentDefault\textsubsquare{T3} % Subscript Square +\DeclareTextAccentDefault\textsubrhalfring{T3} % Subscript Right Half-ring +\DeclareTextAccentDefault\textsublhalfring{T3} % Subscript Left Half-ring +\DeclareTextAccentDefault\textsubw{T3} % Subscript W +\DeclareTextAccentDefault\textoverw{T3} % Over-W +\DeclareTextAccentDefault\textseagull{T3} % Seagull +\DeclareTextAccentDefault\textovercross{T3} % Over-cross +\DeclareTextAccentDefault\textsubplus{T3} % Subscript Plus +\DeclareTextAccentDefault\textraising{T3} % Raising Sign +\DeclareTextAccentDefault\textlowering{T3} % Lowering Sign +\DeclareTextAccentDefault\textadvancing{T3} % Advancing Sign +\DeclareTextAccentDefault\textretracting{T3} % Retracting Sign + +\DeclareTextAccentDefault\textsubarch{T3} % Subscript Arch +\DeclareTextAccentDefault\textsyllabic{T3} % Syllabicity Mark +\DeclareTextAccentDefault\textsuperimposetilde{T3}% Superimposed Tilde + +\DeclareTextAccentDefault\textmidacute{T3} % Macron-Acute Ligature +\DeclareTextAccentDefault\textgravemid{T3} % Grave-Macron Ligature +\DeclareTextAccentDefault\textgravecircum{T3} % Grave-Wedge Ligature +\DeclareTextAccentDefault\textcircumacute{T3} % Circumflex-Acute Ligature + +\DeclareTextAccentDefault\textbottomtiebar{T3} % Bottom Tie Bar +\DeclareTextAccentDefault\texttoptiebar{T3} % Top Tie Bar + +\DeclareTextAccentDefault\textgravedot{T3} % Grave Dot Accent +\DeclareTextAccentDefault\textdotacute{T3} % Dot Acute Accent +\DeclareTextAccentDefault\textdotbreve{T3} % Dot Breve Accent +\DeclareTextAccentDefault\textacutemacron{T3} % Acute Macron Accent +\DeclareTextAccentDefault\textgravemacron{T3} % Grave Macron Accent +\DeclareTextAccentDefault\textacutewedge{T3} % Acute Wedge Accent +\DeclareTextAccentDefault\textcircumdot{T3} % Circnumflex Dot Accent +\DeclareTextAccentDefault\texttildedot{T3} % Tilde Dot Accent +\DeclareTextAccentDefault\textringmacron{T3} % Ring Macron Accent +\DeclareTextAccentDefault\textbrevemacron{T3} % Breve Macron Accent +\DeclareTextAccentDefault\textdotbreve{T3} % Dot Breve Accent + +% +% Added on 2002/08/05 (the following four commands) +% +\DeclareTextAccentDefault\texthighrise{T3} +\DeclareTextAccentDefault\textlowrise{T3} +\DeclareTextAccentDefault\textrisefall{T3} +\DeclareTextAccentDefault\textfallrise{T3} + +% +% Symbols made up by TeX macro +% +\DeclareTextSymbolDefault\textbarb{T3} % Barred B +\DeclareTextSymbolDefault\textbarc{T3} % Barred C +\DeclareTextSymbolDefault\textbard{T3} % Barred D +\DeclareTextSymbolDefault\textbarg{T3} % Barred G +\DeclareTextSymbolDefault\textcrg{T3} % Crossed G +\DeclareTextSymbolDefault\textdoublebaresh{T3} % Double-barred Esh +\DeclareTextSymbolDefault\textcrtwo{T3} % Crossed Two +\DeclareTextSymbolDefault\textcrinvglotstop{T3} % Crossed Inv. Glottal Stop +\DeclareTextSymbolDefault\textdoublebarslash{T3}% Double-barred Slash +\DeclareTextSymbolDefault\textraisevibyi{T3} % Raised Viby I + +% +% Ligatures made by two symbols combined with an appropriate kerning +% +\DeclareTextSymbolDefault\textdzlig{T3} % D-Z Ligature +\DeclareTextSymbolDefault\textdctzlig{T3} % D-Curly-tail Z Ligature +\DeclareTextSymbolDefault\textctdctzlig{T3} % Curly-tail D-Curly-tail Z Lig. +\DeclareTextSymbolDefault\texttctclig{T3} % T-Curly-tail C Ligature +\DeclareTextSymbolDefault\textcttctclig{T3} % Curly-tail T-Curly-tail C Lig. + +% +% TIPA additional commands. These commands may be `dangerous' in that +% having very short names or overriding existing commands. For example: +% \* has been defined in plain TeX. +% \| has been defined in LaTeX's math mode for the symbol `||' +% \:, \; and \! have been defined in LaTeX's math mode for various spacing. +% +% Note that definition of these additional commands are suppressed if +% the option `safe' has been specified. +% +\if@ipasafe\else +% The following three lines added on 2002/08/06 + \let\tipamedspace\: + \let\tipathickspace\; + \let\tipanegthinspace\! + \let\tipasterisktmp\* + \let\tipapipetmp\| + + \DeclareTextCommand{\s}{T3}[1]{\tipaloweraccent[.15ex]{34}{#1}} + \DeclareTextAccentDefault{\s}{T3} + \DeclareTextCommand{\*}{T3}[1]{{\fontencoding{\encodingdefault}\selectfont#1}} + \DeclareTextAccentDefault{\*}{T3} + \DeclareTextCommand{\|}{T3}[2]{\@omniaccent{#1}{#2}} + \DeclareTextAccentDefault{\|}{T3} + + \DeclareTextCommand{\@omniaccent}{T3}[2]{% + \if #1[\textsubbridge{#2}\else + \if #1]\textinvsubbridge{#2}\else + \if #1(\textsublhalfring{#2}\else + \if #1)\textsubrhalfring{#2}\else + \if #1+\textsubplus{#2}\else + \if #1'\textraising{#2}\else + \if #1`\textlowering{#2}\else + \if #1<\textadvancing{#2}\else + \if #1>\textretracting{#2}\else + \if #1x\textovercross{#2}\else + \if #1w\textsubw{#2}\else + \if #1c\textroundcap{#2}\else + \if #1m\textseagull{#2}\else #1#2% + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + \DeclareTextAccentDefault{\@omniaccent}{T3} + % + % \* turned symbols (suggestted by J"org Knappen) + % + \DeclareTextComposite{\*}{T3}{k}{169} + \DeclareTextComposite{\*}{T3}{f}{205} + \DeclareTextComposite{\*}{T3}{t}{216} + \DeclareTextComposite{\*}{T3}{r}{244} + \DeclareTextComposite{\*}{T3}{w}{251} + % + % \* basic symbols that need some way to input easily + % + \DeclareTextComposite{\*}{T3}{j}{233} + \DeclareTextComposite{\*}{T3}{n}{241} + \DeclareTextComposite{\*}{T3}{h}{232} + \DeclareTextComposite{\*}{T3}{l}{236} + \DeclareTextComposite{\*}{T3}{z}{208} + % + % \; makes small capital symbols. + % + \DeclareTextCommand{\;}{T3}[1]{#1} + \DeclareTextAccentDefault{\;}{T3} + \DeclareTextComposite{\;}{T3}{E}{164} + \DeclareTextComposite{\;}{T3}{J}{168} + \DeclareTextComposite{\;}{T3}{A}{192} + \DeclareTextComposite{\;}{T3}{H}{203} + \DeclareTextComposite{\;}{T3}{L}{207} + \DeclareTextComposite{\;}{T3}{U}{218} + \DeclareTextComposite{\;}{T3}{B}{224} + \DeclareTextComposite{\;}{T3}{G}{229} + \DeclareTextComposite{\;}{T3}{N}{240} + \DeclareTextComposite{\;}{T3}{R}{246} + % + % \: makes retroflexes. + % + \DeclareTextCommand{\:}{T3}[1]{#1} + \DeclareTextAccentDefault{\:}{T3} + \DeclareTextComposite{\:}{T3}{d}{227} + \DeclareTextComposite{\:}{T3}{l}{237} + \DeclareTextComposite{\:}{T3}{n}{239} + \DeclareTextComposite{\:}{T3}{r}{243} + \DeclareTextComposite{\:}{T3}{R}{245} + \DeclareTextComposite{\:}{T3}{s}{249} + \DeclareTextComposite{\:}{T3}{t}{250} + \DeclareTextComposite{\:}{T3}{z}{252} + % + % \! for implosives and clicks. + % + \DeclareTextCommand{\!}{T3}[1]{#1} + \DeclareTextAccentDefault{\!}{T3} + \DeclareTextComposite{\!}{T3}{G}{201} + \DeclareTextComposite{\!}{T3}{b}{225} + \DeclareTextComposite{\!}{T3}{d}{226} + \DeclareTextComposite{\!}{T3}{g}{228} + \DeclareTextComposite{\!}{T3}{j}{234} + \DeclareTextComposite{\!}{T3}{o}{242} +\fi % end of \if@ipasafe\else + +% Added on 2002/08/08 +\newcommand{\tipasafemode}{% + \let\:\tipamedspace + \let\;\tipathickspace + \let\!\tipanegthinspace + \let\*\tipaasterisktmp + \let\|\tipapipetmp} + +% a command suggested by Christian Folini. + +\newcommand{\sups}[2]{\textipa{\tipaUpperaccent[.2ex]{% + \lower.8ex\hbox{\super{#2}}}{#1}}} + +\endinput diff --git a/fonts/tipa/tipa/sty/tipx.sty b/fonts/tipa/tipa/sty/tipx.sty new file mode 100644 index 0000000000..98bf82ed05 --- /dev/null +++ b/fonts/tipa/tipa/sty/tipx.sty @@ -0,0 +1,125 @@ +% tipx.sty: Additional Symbols for TIPA +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 2001/11/21 +% Version 1.1 2001/12/31 +% +\NeedsTeXFormat{LaTeX2e} +\RequirePackage{tipa} +\ProvidesPackage{tipx}[2003/01/01 TIPX version 1.2] + +% The next few commands are makeshifts; if TS3 can be used, they won't +% be necessary. + +\newcommand\@select@tipx{\fontencoding{U}\fontfamily{tipx}\selectfont} +\newcommand\@select@xipx{\fontencoding{U}\fontfamily{xipx}\selectfont} +\newcommand\@select@tipxss{\fontencoding{U}\fontfamily{tipxss}\selectfont} +\newcommand\@select@xipxss{\fontencoding{U}\fontfamily{xipxss}\selectfont} + +\let\@tipx\@select@tipx +\let\@tipxss\@select@tipxss + +\begingroup +\newcommand\@@ptm@@{ptm} +\ifx\rmdefault\@@ptm@@\global\let\@tipx\@select@xipx\fi +\newcommand\@@phv@@{phv} +\ifx\sfdefault\@@phv@@\global\let\@tipxss\@select@xipxss\fi +\endgroup + +\let\@sffamilyorg\sffamily +\renewcommand\sffamily{\let\@tipx\@tipxss\@sffamilyorg} + +\newcommand\tipxupperaccent{\@ifnextchar[{\upper@accent a\@tipx}% + {\upper@accent a\@tipx[\z@]}} +\newcommand\tipxloweraccent{\@ifnextchar[{\lower@accent a\@tipx}% + {\lower@accent a\@tipx[\z@]}} + +\newcommand\textrevpolhook[1]{% + \tipxloweraccent{0}{{\tipaencoding#1}}} % Reversed Polish Hook + +\newcommand\textrthooklong{{\@tipx\char1}} +\newcommand\textpalhooklong{{\@tipx\char2}} +\newcommand\textpalhookvar{{\@tipx\char3}} +\newcommand\textrectangle{{\@tipx\char4}} +\newcommand\textspleftarrow{{\@tipx\char5}} +\newcommand\textretractingvar{{\@tipx\char6}} +\newcommand\textdownfullarrow{{\@tipx\char7}} +\newcommand\textupfullarrow{{\@tipx\char8}} +\newcommand\textsubrightarrow{{\@tipx\char9}} +\newcommand\textsubdoublearrow{{\@tipx\char10}} + +\newcommand\textrhooka{{\@tipx\char32}} +\newcommand\textinvscripta{{\@tipx\char33}} +\newcommand\textaolig{{\@tipx\char34}} +\newcommand\textlhookfour{{\@tipx\char35}} +\newcommand\textstretchcvar{{\@tipx\char36}} +\newcommand\textctstretchc{{\@tipx\char37}} +\newcommand\textctstretchcvar{{\@tipx\char38}} +\newcommand\textfrhookd{{\@tipx\char39}} +\newcommand\textfrhookdvar{{\@tipx\char40}} +\newcommand\textdblig{{\@tipx\char41}} +\newcommand\textrhooke{{\@tipx\char42}} +\newcommand\textrhookepsilon{{\@tipx\char43}} +\newcommand\textgrgamma{{\@tipx\char44}} +\newcommand\textfrtailgamma{{\@tipx\char45}} +\newcommand\textbktailgamma{{\@tipx\char46}} +\newcommand\textrtailhth{{\@tipx\char47}} +\newcommand\textheng{{\@tipx\char48}} +\newcommand\textlhti{{\@tipx\char49}} +\newcommand\textctjvar{{\@tipx\char50}} +\newcommand\texthtbardotlessjvar{{\@tipx\char51}} +\newcommand\texthmlig{{\@tipx\char52}} +\newcommand\textfrbarn{{\@tipx\char53}} +\newcommand\textnrleg{{\@tipx\char54}} +\newcommand\textfemale{{\@tipx\char55}} +\newcommand\textuncrfemale{{\@tipx\char56}} +\newcommand\textObullseye{{\@tipx\char57}} +\newcommand\textrhookopeno{{\@tipx\char58}} +\newcommand\textinvomega{{\@tipx\char59}} +\newcommand\textlhookp{{\@tipx\char60}} +\newcommand\textqplig{{\@tipx\char61}} +\newcommand\textlooptoprevesh{{\@tipx\char62}} +\newcommand\textfrhookt{{\@tipx\char63}} +\newcommand\textctturnt{{\@tipx\char64}} +\newcommand\textturntwo{{\@tipx\char65}} +\newcommand\textbenttailyogh{{\@tipx\char66}} +\newcommand\textturnthree{{\@tipx\char67}} +\newcommand\textctinvglotstop{{\@tipx\char68}} +\newcommand\textturnglotstop{{\@tipx\char69}} +\newcommand\textpipevar{{\@tipx\char70}} +\newcommand\textdoublepipevar{{\@tipx\char71}} +\newcommand\textdoublebarpipevar{{\@tipx\char72}} +\newcommand\textlfishhookrlig{{\@tipx\char73}} + +\newcommand\textthornvari{{\@tipx\char80}} +\newcommand\textthornvarii{{\@tipx\char81}} +\newcommand\textthornvariii{{\@tipx\char82}} +\newcommand\textthornvariv{{\@tipx\char83}} +\newcommand\textglotstopvari{{\@tipx\char84}} +\newcommand\textglotstopvarii{{\@tipx\char85}} +\newcommand\textglotstopvariii{{\@tipx\char86}} + +\newcommand\textinvsca{{\@tipx\char112}} +\newcommand\textscaolig{{\@tipx\char113}} +\newcommand\textscdelta{{\@tipx\char114}} +\newcommand\textscf{{\@tipx\char115}} +\newcommand\textsck{{\@tipx\char116}} +\newcommand\textturnsck{{\@tipx\char117}} +\newcommand\textrevscl{{\@tipx\char118}} +\newcommand\textscm{{\@tipx\char119}} +\newcommand\textscp{{\@tipx\char120}} +\newcommand\textscq{{\@tipx\char121}} +\newcommand\textrevscr{{\@tipx\char122}} +\newcommand\textturnscu{{\@tipx\char123}} + +\endinput diff --git a/fonts/tipa/tipa/sty/tone.sty b/fonts/tipa/tipa/sty/tone.sty new file mode 100644 index 0000000000..c96c44c45f --- /dev/null +++ b/fonts/tipa/tipa/sty/tone.sty @@ -0,0 +1,76 @@ +% tone.sty -- TIPA optional package for displaying `tone letters'. +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% 1996/06/10 first version. +% 2001/11/07 \stone (for a short tone bar) added. +% 2001/12/32 \@tonestembar added (due to encoding change; +% \char'277 is now exclusively used for tone letter stem. +% +\RequirePackage{tipa}[2001/12/31 TIPA version 1.1] + +\newif\if@longtone +\newdimen\@tonebarhtunit +\newdimen\@tonebarhalfwd + +\newcommand\@tonestembar{\tipaencoding\char'277} + +\newcommand\tone[1]{\@inittone\leavevmode + \hbox{\kern\@sidegap\@tone#1\relax\kern-\@tonebarhalfwd{\@tonestembar}}} + +\newcommand\rtone[1]{\@inittone\leavevmode + \hbox{{\@tonestembar}\kern-\@tonebarhalfwd\@tone#1\relax\kern\@sidegap}} + +\newcommand\stone[1]{\@inittone\@longtonefalse\leavevmode + \hbox{\kern\@sidegap\@tone#1\relax\kern-\@tonebarhalfwd{\@tonestembar}}} + +\newcommand\@tone[1]{% + \ifx#1\relax + \ifx\pr@vpr@vtone\relax \@outputtone\pr@vtone\pr@vtone + \else \@outputtone\pr@vpr@vtone\pr@vtone\fi + \let\next\relax + \else + \ifx\pr@vpr@vtone\relax\else + \@longtonefalse\@outputtone\pr@vpr@vtone\pr@vtone\fi + \let\pr@vpr@vtone\pr@vtone\def\pr@vtone{#1}% + \let\next\@tone \fi + \next} + +\newcommand\@outputtone[2]{{% + \count\z@ #1\advance\count\z@ -#2\def\@mintone{#2}% + \ifnum\count\z@>0\count\@ne128\advance\count\@ne \count\z@ + \edef\@tonecode{\the\count\@ne}% falling tone + \else + \ifnum\count\z@<0\count\@ne132\advance\count\@ne -\count\z@ + \edef\@tonecode{\the\count\@ne}\def\@mintone{#1}% rising tone + \else + \def\@tonecode{128}\fi\fi % level tone + \if@longtone\else\count\z@\@tonecode + \advance\count\z@ 9 \def\@tonecode{\the\count\z@}\fi + \@longtonefalse + \count\@ne\@mintone \advance\count\@ne \m@ne + \dimen\z@\the\count\@ne\@tonebarhtunit + \raise\dimen\z@\hbox{% + \@accshift{-\dimen\z@}% + {\tipaencoding\char\@tonecode}% + \@accshift{\dimen\z@}}}} + +\newcommand\@toneshift[1]{\dimen\@ne#1} + +\newcommand\@inittone{% + \@getaccshift \let\c@lcshift\@toneshift + \let\pr@vtone\relax\let\pr@vpr@vtone\relax + \@longtonetrue{\setbox\z@\hbox{\@tonestembar}% + \global\@tonebarhtunit.25\ht\z@ + \global\@tonebarhalfwd.5\wd\z@}} + +\endinput diff --git a/fonts/tipa/tipa/sty/ts3cmr.fd b/fonts/tipa/tipa/sty/ts3cmr.fd new file mode 100644 index 0000000000..068d259874 --- /dev/null +++ b/fonts/tipa/tipa/sty/ts3cmr.fd @@ -0,0 +1,47 @@ +% ts3cmr.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3cmr.fd}[2001/12/31 TS3 font definitions] +\DeclareFontFamily{TS3}{cmr}{} +\DeclareFontShape{TS3}{cmr}{m}{n}{% + <5> <6> <7> <8> tipx8 + <9> tipx9 + <10> <10.95> tipx10 + <12> <14.4> tipx12 + <17.28> <20.74> <24.88> tipx17 +}{} +\DeclareFontShape{TS3}{cmr}{bx}{n}{% + <5> <6> <7> <8> tipxbx8 + <9> tipxbx9 + <10> <10.95> tipxbx10 + <12> <14.4> <17.28> <20.74> <24.88> tipxbx12 +}{} +\DeclareFontShape{TS3}{cmr}{b}{n}{% + <-> tipxb10 +}{} +\DeclareFontShape{TS3}{cmr}{bx}{sl}{% + <-> tipxbs10 +}{} +\DeclareFontShape{TS3}{cmr}{m}{sl}{% + <5> <6> <7> <8> tipxsl8 + <9> tipxsl9 + <10> <10.95> tipxsl10 + <12> <14.4> <17.28> <20.74> <24.88> tipxsl12 +}{} +\DeclareFontShape{TS3}{cmr}{m}{it}{% + <-> sub * cmr/m/sl +}{} +\DeclareFontShape{TS3}{cmr}{bx}{it}{% + <-> sub * cmr/bx/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/ts3cmss.fd b/fonts/tipa/tipa/sty/ts3cmss.fd new file mode 100644 index 0000000000..ba8f0c704d --- /dev/null +++ b/fonts/tipa/tipa/sty/ts3cmss.fd @@ -0,0 +1,32 @@ +% ts3cmss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3cmss.fd}[2001/12/31 TS3 font definitions] +\DeclareFontFamily{TS3}{cmss}{} +\DeclareFontShape{TS3}{cmss}{m}{n}{% + <5> <6> <7> <8> tipxss8 + <9> tipxss9 + <10> <10.95> tipxss10 + <12> <14.4> tipxss12 + <17.28> <20.74> <24.88> tipxss17 +}{} +\DeclareFontShape{TS3}{cmss}{bx}{n}{% + <-> tipxsb10 +}{} +\DeclareFontShape{TS3}{cmss}{m}{sl}{% + <-> tipxsi10 +}{} +\DeclareFontShape{TS3}{cmss}{m}{it}{% + <-> sub * cmss/m/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/ts3cmtt.fd b/fonts/tipa/tipa/sty/ts3cmtt.fd new file mode 100644 index 0000000000..3318fe1ea4 --- /dev/null +++ b/fonts/tipa/tipa/sty/ts3cmtt.fd @@ -0,0 +1,37 @@ +% ts3cmtt.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3cmtt.fd}[2001/12/31 TS3 font definitions] +\DeclareFontFamily{TS3}{cmtt}{} +\DeclareFontShape{TS3}{cmtt}{m}{n}{% + <5> <6> <7> <8> tipxtt8 + <9> tipxtt9 + <10> <10.95> tipxtt10 + <12> <14.4> <17.28> <20.74> <24.88> tipxtt12 +}{} +\DeclareFontShape{TS3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{TS3}{cmtt}{m}{sl}{% + <-> tipxts10 +}{} +\DeclareFontShape{TS3}{cmtt}{m}{it}{% + <-> sub * cmtt/m/sl +}{} +\DeclareFontShape{TS3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{TS3}{cmtt}{b}{n}{% + <-> sub * cmtt/m/n +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/ts3enc.def b/fonts/tipa/tipa/sty/ts3enc.def new file mode 100644 index 0000000000..2fcc1027c9 --- /dev/null +++ b/fonts/tipa/tipa/sty/ts3enc.def @@ -0,0 +1,94 @@ +% ts3enc.def: TIPA Additional symbols +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 2001/12/31 +% +\ProvidesFile{ts3enc.def}[2001/12/31 TS3 encoding] +\DeclareFontEncoding{TS3}{}{} + +\DeclareTextSymbol\textrthooklong{TS3}{1} +\DeclareTextSymbol\textpalhooklong{TS3}{2} +\DeclareTextSymbol\textpalhookvar{TS3}{3} +\DeclareTextSymbol\textrectangle{TS3}{4} +\DeclareTextSymbol\textspleftarrow{TS3}{5} +\DeclareTextSymbol\textretractingvar{TS3}{6} +\DeclareTextSymbol\textdownfullarrow{TS3}{7} +\DeclareTextSymbol\textupfullarrow{TS3}{8} +\DeclareTextSymbol\textsubrightarrow{TS3}{9} +\DeclareTextSymbol\textsubdoublearrow{TS3}{10} + +\DeclareTextSymbol\textrhooka{TS3}{32} +\DeclareTextSymbol\textinvscripta{TS3}{33} +\DeclareTextSymbol\textaolig{TS3}{34} +\DeclareTextSymbol\textlhookfour{TS3}{35} +\DeclareTextSymbol\textstretchcvar{TS3}{36} +\DeclareTextSymbol\textctstretchc{TS3}{37} +\DeclareTextSymbol\textctstretchcvar{TS3}{38} +\DeclareTextSymbol\textfrhookd{TS3}{39} +\DeclareTextSymbol\textfrhookdvar{TS3}{40} +\DeclareTextSymbol\textdblig{TS3}{41} +\DeclareTextSymbol\textrhooke{TS3}{42} +\DeclareTextSymbol\textrhookepsilon{TS3}{43} +\DeclareTextSymbol\textgrgamma{TS3}{44} +\DeclareTextSymbol\textfrtailgamma{TS3}{45} +\DeclareTextSymbol\textbktailgamma{TS3}{46} +\DeclareTextSymbol\textrtailhth{TS3}{47} +\DeclareTextSymbol\textheng{TS3}{48} +\DeclareTextSymbol\textlhti{TS3}{49} +\DeclareTextSymbol\textctjvar{TS3}{50} +\DeclareTextSymbol\texthtbardotlessjvar{TS3}{51} +\DeclareTextSymbol\texthmlig{TS3}{52} +\DeclareTextSymbol\textfrbarn{TS3}{53} +\DeclareTextSymbol\textnrleg{TS3}{54} +\DeclareTextSymbol\textfemale{TS3}{55} +\DeclareTextSymbol\textuncrfemale{TS3}{56} +\DeclareTextSymbol\textObullseye{TS3}{57} +\DeclareTextSymbol\textrhookopeno{TS3}{58} +\DeclareTextSymbol\textinvomega{TS3}{59} +\DeclareTextSymbol\textlhookp{TS3}{60} +\DeclareTextSymbol\textqplig{TS3}{61} +\DeclareTextSymbol\textlooptoprevesh{TS3}{62} +\DeclareTextSymbol\textfrhookt{TS3}{63} +\DeclareTextSymbol\textctturnt{TS3}{64} +\DeclareTextSymbol\textturntwo{TS3}{65} +\DeclareTextSymbol\textbenttailyogh{TS3}{66} +\DeclareTextSymbol\textturnthree{TS3}{67} +\DeclareTextSymbol\textctinvglotstop{TS3}{68} +\DeclareTextSymbol\textturnglotstop{TS3}{69} +\DeclareTextSymbol\textpipevar{TS3}{70} +\DeclareTextSymbol\textdoublepipevar{TS3}{71} +\DeclareTextSymbol\textdoublebarpipevar{TS3}{72} +\DeclareTextSymbol\textlfishhookrlig{TS3}{73} + +\DeclareTextSymbol\textthornvari{TS3}{80} +\DeclareTextSymbol\textthornvarii{TS3}{81} +\DeclareTextSymbol\textthornvariii{TS3}{82} +\DeclareTextSymbol\textthornvariv{TS3}{83} +\DeclareTextSymbol\textglotstopvari{TS3}{84} +\DeclareTextSymbol\textglotstopvarii{TS3}{85} +\DeclareTextSymbol\textglotstopvariii{TS3}{86} + +\DeclareTextSymbol\textinvsca{TS3}{112} +\DeclareTextSymbol\textscaolig{TS3}{113} +\DeclareTextSymbol\textscdelta{TS3}{114} +\DeclareTextSymbol\textscf{TS3}{115} +\DeclareTextSymbol\textsck{TS3}{116} +\DeclareTextSymbol\textturnsck{TS3}{117} +\DeclareTextSymbol\textrevscl{TS3}{118} +\DeclareTextSymbol\textscm{TS3}{119} +\DeclareTextSymbol\textscp{TS3}{120} +\DeclareTextSymbol\textscq{TS3}{121} +\DeclareTextSymbol\textrevscr{TS3}{122} +\DeclareTextSymbol\textturnscu{TS3}{123} + +\endinput diff --git a/fonts/tipa/tipa/sty/ts3phv.fd b/fonts/tipa/tipa/sty/ts3phv.fd new file mode 100644 index 0000000000..15dd90eecc --- /dev/null +++ b/fonts/tipa/tipa/sty/ts3phv.fd @@ -0,0 +1,38 @@ +% ts3phv.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% This file is based on a suggestion by Walter Schmidt. +% +\ProvidesFile{ts3phv.fd}[2001/12/31 scalable TS3 font definitions] +\expandafter\ifx\csname Hv@scale\endcsname\relax + \let\Hv@@scale\@empty +\else + \edef\Hv@@scale{s*[\csname Hv@scale\endcsname]}% +\fi +\DeclareFontFamily{TS3}{phv}{} +\DeclareFontShape{TS3}{phv}{m}{n}{% + <-> \Hv@@scale xipxss10 +}{} +\DeclareFontShape{TS3}{phv}{b}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{TS3}{phv}{bx}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{TS3}{phv}{m}{sl}{% + <-> \Hv@@scale xipxsi10 +}{} +\DeclareFontShape{TS3}{phv}{m}{it}{% + <-> \Hv@@scale xipxsi10 +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/ts3ptm.fd b/fonts/tipa/tipa/sty/ts3ptm.fd new file mode 100644 index 0000000000..bd1f5d1e5c --- /dev/null +++ b/fonts/tipa/tipa/sty/ts3ptm.fd @@ -0,0 +1,37 @@ +% ts3ptm.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3ptm.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{TS3}{ptm}{} +\DeclareFontShape{TS3}{ptm}{m}{n}{% + <-> xipx10 +}{} +\DeclareFontShape{TS3}{ptm}{bx}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{TS3}{ptm}{b}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{TS3}{ptm}{m}{sl}{% + <-> xipxsl10 +}{} +\DeclareFontShape{TS3}{ptm}{b}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{TS3}{ptm}{bx}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{TS3}{ptm}{m}{it}{% + <-> sub * ptm/m/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/utipx.fd b/fonts/tipa/tipa/sty/utipx.fd new file mode 100644 index 0000000000..9441ef67ce --- /dev/null +++ b/fonts/tipa/tipa/sty/utipx.fd @@ -0,0 +1,47 @@ +% utipx.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{utipx.fd}[2001/12/31 TIPX font definitions] +\DeclareFontFamily{U}{tipx}{} +\DeclareFontShape{U}{tipx}{m}{n}{% + <5> <6> <7> <8> tipx8 + <9> tipx9 + <10> <10.95> tipx10 + <12> <14.4> tipx12 + <17.28> <20.74> <24.88> tipx17 +}{} +\DeclareFontShape{U}{tipx}{bx}{n}{% + <5> <6> <7> <8> tipxbx8 + <9> tipxbx9 + <10> <10.95> tipxbx10 + <12> <14.4> <17.28> <20.74> <24.88> tipxbx12 +}{} +\DeclareFontShape{U}{tipx}{b}{n}{% + <-> tipxb10 +}{} +\DeclareFontShape{U}{tipx}{bx}{sl}{% + <-> tipxbs10 +}{} +\DeclareFontShape{U}{tipx}{m}{sl}{% + <5> <6> <7> <8> tipxsl8 + <9> tipxsl9 + <10> <10.95> tipxsl10 + <12> <14.4> <17.28> <20.74> <24.88> tipxsl12 +}{} +\DeclareFontShape{U}{tipx}{m}{it}{% + <-> sub * cmr/m/sl +}{} +\DeclareFontShape{U}{tipx}{bx}{it}{% + <-> sub * cmr/bx/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/utipxss.fd b/fonts/tipa/tipa/sty/utipxss.fd new file mode 100644 index 0000000000..04a8d2a369 --- /dev/null +++ b/fonts/tipa/tipa/sty/utipxss.fd @@ -0,0 +1,32 @@ +% utipxss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{utipxss.fd}[2001/12/31 TIPX font definitions] +\DeclareFontFamily{U}{tipxss}{} +\DeclareFontShape{U}{tipxss}{m}{n}{% + <5> <6> <7> <8> tipxss8 + <9> tipxss9 + <10> <10.95> tipxss10 + <12> <14.4> tipxss12 + <17.28> <20.74> <24.88> tipxss17 +}{} +\DeclareFontShape{U}{tipxss}{bx}{n}{% + <-> tipxsb10 +}{} +\DeclareFontShape{U}{tipxss}{m}{sl}{% + <-> tipxsi10 +}{} +\DeclareFontShape{U}{tipxss}{m}{it}{% + <-> sub * cmss/m/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/utipxtt.fd b/fonts/tipa/tipa/sty/utipxtt.fd new file mode 100644 index 0000000000..3e49f5eb18 --- /dev/null +++ b/fonts/tipa/tipa/sty/utipxtt.fd @@ -0,0 +1,37 @@ +% utipxtt.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{utipxtt.fd}[2001/12/31 TIPX font definitions] +\DeclareFontFamily{U}{tipxtt}{} +\DeclareFontShape{U}{tipxtt}{m}{n}{% + <5> <6> <7> <8> tipxtt8 + <9> tipxtt9 + <10> <10.95> tipxtt10 + <12> <14.4> <17.28> <20.74> <24.88> tipxtt12 +}{} +\DeclareFontShape{U}{tipxtt}{bx}{n}{% + <-> sub * tipxtt/m/n +}{} +\DeclareFontShape{U}{tipxtt}{m}{sl}{% + <-> tipxts10 +}{} +\DeclareFontShape{U}{tipxtt}{m}{it}{% + <-> sub * tipxtt/m/sl +}{} +\DeclareFontShape{U}{tipxtt}{bx}{n}{% + <-> sub * tipxtt/m/n +}{} +\DeclareFontShape{U}{tipxtt}{b}{n}{% + <-> sub * tipxtt/m/n +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/uxipx.fd b/fonts/tipa/tipa/sty/uxipx.fd new file mode 100644 index 0000000000..67d370d7af --- /dev/null +++ b/fonts/tipa/tipa/sty/uxipx.fd @@ -0,0 +1,37 @@ +% uxipx.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{uxipx.fd}[2001/12/31 XIPX font definitions] +\DeclareFontFamily{U}{xipx}{} +\DeclareFontShape{U}{xipx}{m}{n}{% + <-> xipx10 +}{} +\DeclareFontShape{U}{xipx}{bx}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{U}{xipx}{b}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{U}{xipx}{m}{sl}{% + <-> xipxsl10 +}{} +\DeclareFontShape{U}{xipx}{b}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{U}{xipx}{bx}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{U}{xipx}{m}{it}{% + <-> sub * xipx/m/sl +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/uxipxss.fd b/fonts/tipa/tipa/sty/uxipxss.fd new file mode 100644 index 0000000000..bb2e966cd5 --- /dev/null +++ b/fonts/tipa/tipa/sty/uxipxss.fd @@ -0,0 +1,38 @@ +% uxipxss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% This file is based on a suggestion by Walter Schmidt. +% +\ProvidesFile{uxipxss.fd}[2001/12/31 scalable XIPX font definitions] +\expandafter\ifx\csname Hv@scale\endcsname\relax + \let\Hv@@scale\@empty +\else + \edef\Hv@@scale{s*[\csname Hv@scale\endcsname]}% +\fi +\DeclareFontFamily{U}{xipxss}{} +\DeclareFontShape{U}{xipxss}{m}{n}{% + <-> \Hv@@scale xipxss10 +}{} +\DeclareFontShape{U}{xipxss}{b}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{U}{xipxss}{bx}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{U}{xipxss}{m}{sl}{% + <-> \Hv@@scale xipxsi10 +}{} +\DeclareFontShape{U}{xipxss}{m}{it}{% + <-> \Hv@@scale xipxsi10 +}{} +\endinput diff --git a/fonts/tipa/tipa/sty/vowel.sty b/fonts/tipa/tipa/sty/vowel.sty new file mode 100644 index 0000000000..17e3a0c72b --- /dev/null +++ b/fonts/tipa/tipa/sty/vowel.sty @@ -0,0 +1,530 @@ +% vowel.sty -- for drawing vowel diagrams. +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 +% Version 1.1 2002/08/08 +% +% This file is distributed with TIPA. +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{vowel}[2002/08/08 VOWEL Package version 1.1] + +% The following macros are defined in `tipa' so that they are defined +% only if `tipa' has not been loaded. + +\@ifundefined{super}{\let\super\textsuperscript}{} + +% The following parameters can be overrided by the user. +% -\p@ is used as the initial value instead of \z@ because a user can +% specify 0pt, for example, for \vowelsep. This initial value is later +% used to find out whether or not the user has modified it. + +\newdimen\vowelhunit \vowelhunit-\p@ +\newdimen\vowelvunit \vowelvunit-\p@ +\newdimen\vowelsep \vowelsep-\p@ +\newdimen\vowelline \vowelline.4pt +\newcommand\vowelsymbol{\lower.72ex\hbox{\textsuperscript{$\bullet$}}} +\newcommand\diagrate{.4} + +% Internal registers, etc. + +\newcount\@vwlcnt \@vwlcnt\@ne +\newdimen\@vwltopsep \@vwltopsep\z@ +\newdimen\@vwlbotsep \@vwlbotsep\z@ +\newdimen\@vwllftsep \@vwllftsep\z@ +\newdimen\@vwlrtsep \@vwlrtsep\z@ +\newif\if@notouch +\newif\if@tmpnoerase \@tmpnoerasefalse +\newif\if@vline \@vlinefalse + +% \@dgmtype 0:plain, 1:simple, 2:standard, 3:ipanew (default) +\newcount\@dgmtype \@dgmtype=3 +% \@dgmaligh 0: default(mid), 1: top, 2: bot +\newcount\@dgmalign \@dgmalign=0 +\newif\ifrectdgm \rectdgmfalse +\newif\iftriangledgm \triangledgmfalse +\newif\ifthreelevel \threelevelfalse +\newif\ifnoerase \noerasefalse + +\newcommand\incrz@{\advance\dimen\z@} +\newcommand\incr@ne{\advance\dimen\@ne} + +\def\@ipanewdgm{ipanew} +\def\@stddgm{standard} +\def\@simpledgm{simple} +\def\@plaindgm{plain} +\def\@threelevel{three} +\def\@rectdgm{rectangle} +\def\@triangledgm{triangle} +\def\@noerase{noerase} +\def\@dgmtopalign{t} +\def\@dgmbotalign{b} + +% Definition of the vowel environment. + +\newenvironment{vowel}{\@ifnextchar[{\@vowel}{\@vowel[]}}{\@@vowel} + +\def\@vowel[#1]{\leavevmode + \@for\@vwloption:=#1\do{% + \ifx\@vwloption\@ipanewdgm\else + \ifx\@vwloption\@stddgm \@dgmtype=2\else + \ifx\@vwloption\@simpledgm \@dgmtype=1\else + \ifx\@vwloption\@plaindgm \@dgmtype=0\else + \ifx\@vwloption\@rectdgm \rectdgmtrue\else + \ifx\@vwloption\@triangledgm \triangledgmtrue\else + \ifx\@vwloption\@threelevel \threeleveltrue\else + \ifx\@vwloption\@noerase \noerasetrue\else + \ifx\@vwloption\@dgmtopalign \@dgmalign=1\else + \ifx\@vwloption\@dgmbotalign \@dgmalign=2\else + \errmessage{vowel: no such option [\@vwloption]}% + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}\relax +% +% If \vowelhunit, \vowelvunit, and \vowelsep are not overrided by a user, +% use default values. +% + \ifdim\vowelhunit=-\p@ \vowelhunit2em\fi + \ifdim\vowelvunit=-\p@ \vowelvunit=\ifthreelevel1.5\fi\vowelhunit\fi + \ifdim\vowelsep=-\p@ \vowelsep.16em\fi + \dimen\@ne=4\vowelhunit + \edef\@vwldgmwd{\the\dimen\@ne}% + \edef\@vwldgmht{\ifthreelevel2\else3\fi\vowelvunit}% + \edef\c@rdhposii{\ifrectdgm\z@\else\ifthreelevel\else.667\fi\vowelhunit\fi}% + \edef\c@rdhposiii{\ifrectdgm\z@\else1.333\vowelhunit\fi}% + \edef\c@rdhposiv{\ifrectdgm\z@\else2\vowelhunit\fi}% + \edef\c@rdhposx{\ifrectdgm2\else2.333\fi\vowelhunit}% + \edef\c@rdhposxi{\ifrectdgm2\else2.5\fi\vowelhunit}% + \edef\c@rdhposxii{\ifrectdgm2\else2.667\fi\vowelhunit}% + \edef\c@rdhposxiii{\ifrectdgm\else1.25\fi\vowelhunit}% + \edef\c@rdhposxiv{\ifrectdgm3\else3.083\fi\vowelhunit}% + \edef\c@rdhposxv{\ifrectdgm2\else2.833\fi\vowelhunit}% + \edef\c@rdhposxvi{\ifrectdgm\z@\else1.667\vowelhunit\fi}% +} + +\newcommand\@vwldgmhline[2]{% + \kern-.5\vowelline + \dimen\z@\@vwldgmwd + \iftriangledgm \incrz@-#1\fi + \edef\@vwltmpi{\the\dimen\z@}% + \hb@xt@ \@vwldgmwd{\@bgline{#1}\@vwltmpi{#2}\relax\hss}% + \kern.5\vowelline +} + +% This is the main macro. +\newcommand\@@vowel{% + \ifcase\@dgmalign + \advance\@vwltopsep4pt \advance\@vwlbotsep4pt \or + \advance\@vwltopsep-1ex \advance\@vwlbotsep4pt \or + \advance\@vwltopsep4pt \fi + \def\@lasthpos{\z@}% + \dimen\z@\@vwldgmht + \incrz@ \vowelline + \incrz@ \@vwltopsep + \incrz@ \@vwlbotsep + \dimen\@ne\dimen\z@ + \ifcase\@dgmalign + \dimen\z@.5\dimen\z@ \dimen\@ne.5\dimen\@ne \or + \dimen\z@\z@ \or + \dimen\@ne\z@ \fi + \hbox{\kern\@vwllftsep + \vrule \@height\dimen\z@ \@depth\dimen\@ne \@width\z@ + \ifnum\@dgmalign=1\vtop\else\vbox\fi to\dimen\z@{% + \hsize\@vwldgmwd\offinterlineskip + \kern\@vwltopsep + \@drawvowel{\the\@vwlcnt}% +% + \vtop to\z@{\hb@xt@ \@vwldgmwd{% + {\@vlinetrue + \ifrectdgm \@bgline\z@\@vwldgmht\z@\relax + \else \@bgline\z@\@vwldgmht\z@\c@rdhposiv \fi +% + \ifnum \@dgmtype=3% ipanew + \ifrectdgm \@bgline\z@\@vwldgmht\c@rdhposx\relax + \else\iftriangledgm \@bgline\z@\@vwldgmht\c@rdhposiv\relax + \else \@bgline\z@\@vwldgmht\c@rdhposiv{3\vowelhunit}\fi\fi + \else \ifnum\@dgmtype=2% standard + \@bgline\z@{2.5\vowelvunit}{1.167\vowelhunit}\c@rdhposxv + \@bgline\z@{2.5\vowelvunit}\c@rdhposiv\c@rdhposxv + \@bgline\z@{2.5\vowelvunit}\c@rdhposxv\relax + \fi\fi +% + \iftriangledgm + \@bgline\z@\@vwldgmht\@vwldgmwd\c@rdhposiv + \else + \@bgline\z@\@vwldgmht\@vwldgmwd\relax \fi + }\hss}\vss}% +% + \@vwldgmhline\z@\z@ + \kern\vowelvunit + \ifnum\@dgmtype>0\kern-\vowelline + \@vwldgmhline\c@rdhposii\vowelvunit\fi + \kern\vowelvunit + \ifthreelevel\else + \ifnum\@dgmtype>0\kern-\vowelline + \@vwldgmhline\c@rdhposiii{2\vowelvunit}\fi + \kern\vowelvunit\fi + \kern-\vowelline + \@vwldgmhline\c@rdhposiv\@vwldgmht + \kern\@vwlbotsep + \vss}% + \kern\@vwlrtsep}% +} + +% Commands for placing vowels on the vowel diagram. + +\newcommand\putvowel{\@ifnextchar[{\@putdotvowel}{\@putvowel}} + +% Put a vowel on a specified point. +\newcommand\@putvowel[3]{% + \setbox\z@\hbox{#1\global\dimen4=.5ex}% + \setbox\z@\hbox{#1}\dimen\@ne\wd\z@\incr@ne 2\vowelsep +% + \dimen\z@#2\incrz@ -.5\dimen\@ne + \expandafter\xdef\csname vwlxi\the\@vwlcnt\endcsname{\the\dimen\z@}% + \ifdim\dimen\z@<\z@ \dimen\z@-\dimen\z@ + \ifdim\dimen\z@>\@vwllftsep \@vwllftsep\dimen\z@\fi\fi +% + \dimen\z@#2\incrz@ .5\dimen\@ne + \expandafter\xdef\csname vwlxii\the\@vwlcnt\endcsname{\the\dimen\z@}% + \dimen\@ne\@vwldgmwd \incr@ne-\dimen\z@ + \ifdim\dimen\@ne<\z@ \dimen\@ne-\dimen\@ne + \ifdim\dimen\@ne>\@vwlrtsep \@vwlrtsep\dimen\@ne\fi\fi +% + \dimen\z@#3\dimen\tw@=\ht\z@\advance\dimen\tw@ -\dimen4%.5ex% + \incrz@ -\dimen\tw@ \incrz@ -\vowelsep + \expandafter\xdef\csname vwlyi\the\@vwlcnt\endcsname{\the\dimen\z@}% + \ifdim\dimen\tw@>\@vwltopsep \@vwltopsep\dimen\tw@\fi +% + \dimen\z@#3\dimen\tw@=\dp\z@\advance\dimen\tw@ \dimen4%.5ex% + \incrz@ \dimen\tw@ \incrz@ \vowelsep + \expandafter\xdef\csname vwlyii\the\@vwlcnt\endcsname{\the\dimen\z@}% + \ifdim\dimen\tw@>\@vwlbotsep \@vwlbotsep\dimen\tw@\fi +% + \expandafter\gdef\csname vwlsym\the\@vwlcnt\endcsname{#1}% + \expandafter\xdef\csname tmpnoerase\the\@vwlcnt\endcsname{% + \if@tmpnoerase1\else0\fi}% + \advance\@vwlcnt \@ne + \ignorespaces} + +\def\@putdotvowel[#1]#2#3#4{% + \if x#1\@putvowel{#2}{#3}{#4}\else + \@tmpnoerasetrue\@putvowel\vowelsymbol{#3}{#4}\@tmpnoerasefalse + \setbox\z@\hbox{#2}\setbox\@ne\hbox{\vowelsymbol}% + \dimen\z@=#3\dimen\@ne=#4\dimen\tw@=.5\wd\z@ + \advance\dimen\tw@.5\wd\@ne \advance\dimen\tw@.5\vowelsep +% + \if l#1% + \incrz@-\dimen\tw@ + \else + \if r#1\incrz@\dimen\tw@ + \else \errmessage{put(c)vowel: no such option [#1]}% + \fi + \fi +% + \edef\@vwltmpi{\the\dimen\z@}% + \@putvowel{#2}\@vwltmpi{#4}\fi} + +% Put a vowel on a cardinal position +\newcommand\putcvowel{\@ifnextchar[{\@putcvowel}{\@putcvowel[x]}} + +\def\@putcvowel[#1]#2#3{% + \ifcase#3\or + \@putdotvowel[#1]{#2}\z@\z@\or + \@putdotvowel[#1]{#2}\c@rdhposii\vowelvunit\or + \@putdotvowel[#1]{#2}\c@rdhposiii{2\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposiv\@vwldgmht\or + \@putdotvowel[#1]{#2}\@vwldgmwd\@vwldgmht\or + \@putdotvowel[#1]{#2}\@vwldgmwd{2\vowelvunit}\or + \@putdotvowel[#1]{#2}\@vwldgmwd\vowelvunit\or + \@putdotvowel[#1]{#2}\@vwldgmwd\z@\or + \@putdotvowel[#1]{#2}{2\vowelhunit}\z@\or + \@putdotvowel[#1]{#2}\c@rdhposx\vowelvunit\or + \@putdotvowel[#1]{#2}\c@rdhposxi{1.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxii{2\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxiii{.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxiv{.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxv{2.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxvi{2.5\vowelvunit}\else\fi +} + +\newcommand\@getvwldim[1]{% + \edef\@vwlyi{\csname vwlyi\the#1\endcsname}% + \edef\@vwlyii{\csname vwlyii\the#1\endcsname}% + \edef\@vwlxi{\csname vwlxi\the#1\endcsname}% + \edef\@vwlxii{\csname vwlxii\the#1\endcsname}% + \edef\@tmpnoerase{\csname tmpnoerase\the#1\endcsname}% + \if@vline + \let\@lineposi\@vwlxi \let\@lineposii\@vwlxii + \let\@vwlposi\@vwlyi \let\@vwlposii\@vwlyii + \else + \let\@lineposi\@vwlyi \let\@lineposii\@vwlyii + \let\@vwlposi\@vwlxi \let\@vwlposii\@vwlxii + \fi +} + +\newcommand\@drawvowel[1]{{% + \@vwlcnt#1\relax + \loop + \advance\@vwlcnt\m@ne + \ifnum \@vwlcnt>\z@ + \@getvwldim\@vwlcnt + \dimen\z@\@vwlxi \incrz@\vowelsep + \incrz@ .5\vowelline + \vtop to \z@{% + \kern\@vwlyi + \kern\vowelsep + \hb@xt@\z@{\kern\dimen\z@\csname vwlsym\the\@vwlcnt\endcsname\hss}% + \vss}% + \repeat +}} + +{\catcode`\p=12\catcode`\t=12\gdef\@chreal#1.#2pt{#1}} + +\newcount\@x@ \newcount\@y@ \newcount\@z@ + +\newcommand\@dimdivide[2]{{% + \dimen\z@#1\dimen\@ne#2\def\@sign{}% + \ifdim\dimen\z@<\z@ \dimen\z@-\dimen\z@ + \ifdim\dimen\@ne<\z@ \dimen\@ne-\dimen\@ne \else \def\@sign{-}\fi + \else + \ifdim\dimen\@ne<\z@ \dimen\@ne-\dimen\@ne \def\@sign{-}\fi + \fi + \ifdim\dimen\z@>100pt\def\@enl@rge{10}\else + \ifdim\dimen\@ne>100pt\def\@enl@rge{10}\else + \ifdim\dimen\z@>10pt\def\@enl@rge{100}\else + \ifdim\dimen\@ne>10pt\def\@enl@rge{100}\else + \def\@enl@rge{\@m}\fi\fi\fi\fi + \dimen\z@=\@enl@rge\dimen\z@ \dimen\@ne\@enl@rge\dimen\@ne + \@x@=\expandafter\@chreal\the\dimen\z@ + \@y@=\expandafter\@chreal\the\dimen\@ne + \divide\@x@ \@y@ \edef\@dimrate{\the\@x@.}% + \@z@=\@x@ \multiply\@z@ \@y@ + \@x@=\expandafter\@chreal\the\dimen\z@ \advance\@x@ -\@z@ + \multiply\@x@ 10 \edef\@vwltmpi{\the\@x@}% + \divide\@x@ \@y@ \edef\@dimrate{\@dimrate\the\@x@}% + \@@dimdivide\@@dimdivide\@@dimdivide + \xdef\@dimrate{\@sign\@dimrate}% +}} + +\newcommand\@@dimdivide{% + \@z@=\@x@ \multiply\@z@ \@y@ + \@x@=\@vwltmpi \advance\@x@ -\@z@ + \multiply\@x@ 10 \edef\@vwltmpi{\the\@x@}% + \divide\@x@ \@y@ \edef\@dimrate{\@dimrate\the\@x@}} + +\newcommand\@drawhline[3]{{% + \dimen\z@#1\dimen\@ne#2\incr@ne-\dimen\z@ + \hb@xt@\z@{% + \kern\dimen\z@ + \kern.5\vowelline + \vrule \@height\vowelline \@depth\z@ \@width\dimen\@ne \hss}% +}} + +\newcommand\@drawvline[3]{{% + \dimen\z@#1\dimen\@ne#2\dimen\tw@#3% + \incr@ne -\dimen\z@ + \hb@xt@ \z@{\kern\dimen\tw@\vtop to\z@{% + \kern\dimen\z@ + \hrule \@height\dimen\@ne \@depth\z@ \@width\vowelline \vss}\hss}% +}} + +\newcommand\@drawdiagline[4]{{% + \dimen\z@#1\dimen\@ne#2% + \incr@ne -\dimen\z@ + \dimen\tw@#3\dimen\thr@@#4% + \ifdim\dimen\tw@>\dimen\thr@@ + \dimen\tw@#4\dimen\thr@@#3% + \advance\dimen\thr@@ -\dimen\tw@ + \dimen\thr@@-\dimen\thr@@ + \else + \advance\dimen\thr@@ -\dimen\tw@ + \fi + \hb@xt@ \z@{\kern\dimen\tw@\vtop to\z@{% + \kern\dimen\z@ + \diagline{\the\dimen\@ne}{\the\dimen\thr@@}% + \vss}\hss}% +}} + +% This is the memory-eater. + +\newcommand\diagline[2]{% + \@dimdivide{#1}{#2}\dimen\@ne=\diagrate\vowelline + \ifdim\dimen\@ne>.4pt\dimen\@ne=.4pt\fi + \dimen4=-\@dimrate\dimen\@ne \dimen\z@=\z@ + \dimen\tw@=#2\relax \ifdim\dimen\tw@<\z@ \dimen\tw@-\dimen\tw@\fi + \advance\dimen\tw@ -.25\vowelline + \setbox\@ne\hbox{}% + \loop \setbox\z@\hbox{\unhcopy\@ne}% + \ifdim\wd\z@<\dimen\tw@ + \setbox\@ne\hbox{\unhbox\z@\raise\dimen\z@\hb@xt@ \z@{% + \vrule\@width\vowelline\@height\vowelline\hss}% + \kern\dimen\@ne}% + \global\incrz@ \dimen4 + \repeat + \box\@ne} + +% Macros for background lines: +% +% The next macros are the most interesting ones in this package. They +% are used to draw horizontal, vertical or diagonal lines, recursively +% checking the positions of all the \hboxes and if an \hbox is on the +% line, that part of the line is erased. +% +% `\@bgline' is simply an interface to the main macros, `\@@bgline' and +% `\@@bgdline'. The former is used to draw horizontal or vertical +% lines, and the latter diagonal lines. The main macros are defined +% without parameters, because a recursive macro with many parameters +% is likely to eat up TeX's parameter stack. (This annoyed the author +% indeed at the first stage of the development of this package. + +\newcommand\@bgline[4]{{% + \edef\@starti{#1}\edef\@endi{#2}% + \edef\@startii{#3}\edef\@endii{#4}% + \ifx#4\relax + \ifnoerase + \if@vline \@drawvline\@starti\@endi\@startii + \else \@drawhline\@starti\@endi\@startii\fi + \else \@@bgline\fi + \else + \@setupdiag + \ifnoerase \@drawdiagline\@starti\@endi\@startii\@endii + \else \@@bgdline\fi + \fi}} + +\newcommand\@@bgline{% + \@notouchfalse + \advance\@vwlcnt \m@ne + \ifnum \@vwlcnt < \@ne + \if@vline \@drawvline\@starti\@endi\@startii + \else \@drawhline\@starti\@endi\@startii\fi + \else + \@getvwldim\@vwlcnt + \ifnum\@tmpnoerase=0\relax + \ifdim \@lineposi<\@startii + \ifdim \@lineposii>\@startii + \ifdim \@vwlposii<\@starti\relax + \@notouchtrue + \else + \ifdim \@vwlposi>\@endi\relax + \@notouchtrue + \else + \ifdim \@vwlposi>\@starti + \ifdim \@vwlposii<\@endi + {\edef\@endi{\@vwlposi}\@@bgline}% split + {\edef\@starti{\@vwlposii}\@@bgline}% + \else + {\edef\@endi{\@vwlposi}\@@bgline}% + \fi + \else + \ifdim \@vwlposii<\@endi + {\edef\@starti{\@vwlposii}\@@bgline}\fi + \fi + \fi + \fi + \else + \@notouchtrue + \fi + \else + \@notouchtrue + \fi + \else + \@notouchtrue + \fi + \fi + \if@notouch \@@bgline\fi +} + +\newcommand\@setupdiag{% + \dimen\z@\@endii\dimen\@ne\@startii\incrz@-\dimen\@ne + \dimen\@ne\@endi\dimen\tw@\@starti\incr@ne-\dimen\tw@ + \edef\@vwltmpi{\the\dimen\z@}\edef\@vwltmpii{\the\dimen\@ne}% + \@dimdivide\@vwltmpi\@vwltmpii\edef\@xrate{\@dimrate}% + \@dimdivide\@vwltmpii\@vwltmpi\edef\@yrate{\@dimrate}% + \edef\@diagxoffset{\@startii}% +} + +\newcommand\@getx[2]{% + \dimen\z@#1\dimen\@ne\@xrate\dimen\z@ + \incr@ne\@diagxoffset + \edef#2{\the\dimen\@ne}} + +\newcommand\@gety[2]{% + \dimen\z@#1\incrz@-\@diagxoffset + \dimen\@ne\@yrate\dimen\z@ + \edef#2{\the\dimen\@ne}} + +\newcommand\@checktouch[4]{% + \dimen\tw@#2\dimen\thr@@#3\@getx{#1}#4% + \ifdim \dimen\@ne<\dimen\tw@ \def#4{}\fi + \ifdim \dimen\@ne>\dimen\thr@@ \def#4{}\fi +} + +\newcommand\@dimswap[2]{% + \ifdim \@xrate pt<\z@ + \edef\@vwltmpi{#1}\edef#1{#2}\edef#2{\@vwltmpi}\fi} + +\newcommand\@@bgdline{% + \dimen\z@\@endi \dimen\@ne\@starti \incrz@-\dimen\@ne + \ifdim \dimen\z@<\vowelsep\else % ignore short line + \@notouchfalse + \advance\@vwlcnt \m@ne + \ifnum \@vwlcnt < \@ne + \@drawdiagline\@starti\@endi\@startii\@endii + \else + \@getvwldim\@vwlcnt + \ifnum\@tmpnoerase=0\relax + \@dimswap\@startii\@endii + \ifdim \@lineposi<\@endii + \ifdim \@lineposii>\@startii + \else \@notouchtrue \fi + \else \@notouchtrue \fi + \@dimswap\@startii\@endii + \ifdim \@vwlposi>\@endi\relax \@notouchtrue \fi + \ifdim \@vwlposii<\@starti\relax \@notouchtrue \fi +% + \if@notouch\else + \@checktouch\@vwlposi\@lineposi\@lineposii\@topx + \@checktouch\@vwlposii\@lineposi\@lineposii\@botx + \@dimswap\@lineposi\@lineposii + \ifx\empty\@topx\empty + \ifx\empty\@botx\empty \@notouchtrue + \else \@gety\@lineposi\@vwlposi \edef\@topx{\@lineposi}\fi + \else + \ifx\empty\@botx\empty + \@gety\@lineposii\@vwlposii \edef\@botx{\@lineposii}\fi + \fi + \fi +% + \dimen\z@\@vwlposii \dimen\@ne\@vwlposi \incrz@-\dimen\@ne + \ifdim \dimen\z@<2\vowelsep \@notouchtrue \fi % ignore tiny line break +% + \if@notouch\else + \ifdim \@vwlposi>\@starti + \ifdim \@vwlposii<\@endi + {\edef\@endi{\@vwlposi}\edef\@endii{\@topx}\@@bgdline}% split + {\edef\@starti{\@vwlposii}\edef\@startii{\@botx}\@@bgdline}% + \else + {\edef\@endi{\@vwlposi}\edef\@endii{\@topx}\@@bgdline}% + \fi + \else + \ifdim \@vwlposii<\@endi + {\edef\@starti{\@vwlposii}\edef\@startii{\@botx}\@@bgdline}\fi + \fi\fi +% + \else \@notouchtrue + \fi + \fi + \if@notouch \@@bgdline\fi + \fi +} + +\endinput diff --git a/fonts/tipa/tipa/tfm/tipa10.tfm b/fonts/tipa/tipa/tfm/tipa10.tfm Binary files differnew file mode 100644 index 0000000000..971668fb26 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipa10.tfm diff --git a/fonts/tipa/tipa/tfm/tipa12.tfm b/fonts/tipa/tipa/tfm/tipa12.tfm Binary files differnew file mode 100644 index 0000000000..188ca2f044 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipa12.tfm diff --git a/fonts/tipa/tipa/tfm/tipa17.tfm b/fonts/tipa/tipa/tfm/tipa17.tfm Binary files differnew file mode 100644 index 0000000000..658c4425b2 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipa17.tfm diff --git a/fonts/tipa/tipa/tfm/tipa8.tfm b/fonts/tipa/tipa/tfm/tipa8.tfm Binary files differnew file mode 100644 index 0000000000..b3b5960d10 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipa8.tfm diff --git a/fonts/tipa/tipa/tfm/tipa9.tfm b/fonts/tipa/tipa/tfm/tipa9.tfm Binary files differnew file mode 100644 index 0000000000..ceff1b60e9 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipa9.tfm diff --git a/fonts/tipa/tipa/tfm/tipab10.tfm b/fonts/tipa/tipa/tfm/tipab10.tfm Binary files differnew file mode 100644 index 0000000000..9bf0b56768 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipab10.tfm diff --git a/fonts/tipa/tipa/tfm/tipabs10.tfm b/fonts/tipa/tipa/tfm/tipabs10.tfm Binary files differnew file mode 100644 index 0000000000..9e0b73036e --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipabs10.tfm diff --git a/fonts/tipa/tipa/tfm/tipabx10.tfm b/fonts/tipa/tipa/tfm/tipabx10.tfm Binary files differnew file mode 100644 index 0000000000..9e17e963f8 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipabx10.tfm diff --git a/fonts/tipa/tipa/tfm/tipabx12.tfm b/fonts/tipa/tipa/tfm/tipabx12.tfm Binary files differnew file mode 100644 index 0000000000..789f08dcac --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipabx12.tfm diff --git a/fonts/tipa/tipa/tfm/tipabx8.tfm b/fonts/tipa/tipa/tfm/tipabx8.tfm Binary files differnew file mode 100644 index 0000000000..2b9684abca --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipabx8.tfm diff --git a/fonts/tipa/tipa/tfm/tipabx9.tfm b/fonts/tipa/tipa/tfm/tipabx9.tfm Binary files differnew file mode 100644 index 0000000000..46e1ad6983 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipabx9.tfm diff --git a/fonts/tipa/tipa/tfm/tipasb10.tfm b/fonts/tipa/tipa/tfm/tipasb10.tfm Binary files differnew file mode 100644 index 0000000000..3f54532187 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipasb10.tfm diff --git a/fonts/tipa/tipa/tfm/tipasi10.tfm b/fonts/tipa/tipa/tfm/tipasi10.tfm Binary files differnew file mode 100644 index 0000000000..1aca1849a2 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipasi10.tfm diff --git a/fonts/tipa/tipa/tfm/tipasl10.tfm b/fonts/tipa/tipa/tfm/tipasl10.tfm Binary files differnew file mode 100644 index 0000000000..e70801f4a9 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipasl10.tfm diff --git a/fonts/tipa/tipa/tfm/tipasl12.tfm b/fonts/tipa/tipa/tfm/tipasl12.tfm Binary files differnew file mode 100644 index 0000000000..ce4f89ae4c --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipasl12.tfm diff --git a/fonts/tipa/tipa/tfm/tipasl8.tfm b/fonts/tipa/tipa/tfm/tipasl8.tfm Binary files differnew file mode 100644 index 0000000000..f4338daf70 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipasl8.tfm diff --git a/fonts/tipa/tipa/tfm/tipasl9.tfm b/fonts/tipa/tipa/tfm/tipasl9.tfm Binary files differnew file mode 100644 index 0000000000..fdcca244c6 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipasl9.tfm diff --git a/fonts/tipa/tipa/tfm/tipass10.tfm b/fonts/tipa/tipa/tfm/tipass10.tfm Binary files differnew file mode 100644 index 0000000000..b1c11b2f7c --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipass10.tfm diff --git a/fonts/tipa/tipa/tfm/tipass12.tfm b/fonts/tipa/tipa/tfm/tipass12.tfm Binary files differnew file mode 100644 index 0000000000..5c85ca99d3 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipass12.tfm diff --git a/fonts/tipa/tipa/tfm/tipass17.tfm b/fonts/tipa/tipa/tfm/tipass17.tfm Binary files differnew file mode 100644 index 0000000000..77397ccae3 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipass17.tfm diff --git a/fonts/tipa/tipa/tfm/tipass8.tfm b/fonts/tipa/tipa/tfm/tipass8.tfm Binary files differnew file mode 100644 index 0000000000..f6a9916c9d --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipass8.tfm diff --git a/fonts/tipa/tipa/tfm/tipass9.tfm b/fonts/tipa/tipa/tfm/tipass9.tfm Binary files differnew file mode 100644 index 0000000000..cf93309237 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipass9.tfm diff --git a/fonts/tipa/tipa/tfm/tipats10.tfm b/fonts/tipa/tipa/tfm/tipats10.tfm Binary files differnew file mode 100644 index 0000000000..ccd3e0cddb --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipats10.tfm diff --git a/fonts/tipa/tipa/tfm/tipatt10.tfm b/fonts/tipa/tipa/tfm/tipatt10.tfm Binary files differnew file mode 100644 index 0000000000..5f2728e7c5 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipatt10.tfm diff --git a/fonts/tipa/tipa/tfm/tipatt12.tfm b/fonts/tipa/tipa/tfm/tipatt12.tfm Binary files differnew file mode 100644 index 0000000000..e86be3456d --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipatt12.tfm diff --git a/fonts/tipa/tipa/tfm/tipatt8.tfm b/fonts/tipa/tipa/tfm/tipatt8.tfm Binary files differnew file mode 100644 index 0000000000..5b3f482c7f --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipatt8.tfm diff --git a/fonts/tipa/tipa/tfm/tipatt9.tfm b/fonts/tipa/tipa/tfm/tipatt9.tfm Binary files differnew file mode 100644 index 0000000000..97f5c12eab --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipatt9.tfm diff --git a/fonts/tipa/tipa/tfm/tipx10.tfm b/fonts/tipa/tipa/tfm/tipx10.tfm Binary files differnew file mode 100644 index 0000000000..e5d48a49c7 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipx10.tfm diff --git a/fonts/tipa/tipa/tfm/tipx12.tfm b/fonts/tipa/tipa/tfm/tipx12.tfm Binary files differnew file mode 100644 index 0000000000..345766d3eb --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipx12.tfm diff --git a/fonts/tipa/tipa/tfm/tipx17.tfm b/fonts/tipa/tipa/tfm/tipx17.tfm Binary files differnew file mode 100644 index 0000000000..c9c47ea0f0 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipx17.tfm diff --git a/fonts/tipa/tipa/tfm/tipx8.tfm b/fonts/tipa/tipa/tfm/tipx8.tfm Binary files differnew file mode 100644 index 0000000000..b836df582f --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipx8.tfm diff --git a/fonts/tipa/tipa/tfm/tipx9.tfm b/fonts/tipa/tipa/tfm/tipx9.tfm Binary files differnew file mode 100644 index 0000000000..a0500defc9 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipx9.tfm diff --git a/fonts/tipa/tipa/tfm/tipxb10.tfm b/fonts/tipa/tipa/tfm/tipxb10.tfm Binary files differnew file mode 100644 index 0000000000..c40b9235cd --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxb10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxbs10.tfm b/fonts/tipa/tipa/tfm/tipxbs10.tfm Binary files differnew file mode 100644 index 0000000000..ca5114cae7 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxbs10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxbx10.tfm b/fonts/tipa/tipa/tfm/tipxbx10.tfm Binary files differnew file mode 100644 index 0000000000..bf4761ec5d --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxbx10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxbx12.tfm b/fonts/tipa/tipa/tfm/tipxbx12.tfm Binary files differnew file mode 100644 index 0000000000..c7a2dbbb4d --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxbx12.tfm diff --git a/fonts/tipa/tipa/tfm/tipxbx8.tfm b/fonts/tipa/tipa/tfm/tipxbx8.tfm Binary files differnew file mode 100644 index 0000000000..3fe1ea4986 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxbx8.tfm diff --git a/fonts/tipa/tipa/tfm/tipxbx9.tfm b/fonts/tipa/tipa/tfm/tipxbx9.tfm Binary files differnew file mode 100644 index 0000000000..464a10e6e9 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxbx9.tfm diff --git a/fonts/tipa/tipa/tfm/tipxsb10.tfm b/fonts/tipa/tipa/tfm/tipxsb10.tfm Binary files differnew file mode 100644 index 0000000000..92f5d82fb6 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxsb10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxsi10.tfm b/fonts/tipa/tipa/tfm/tipxsi10.tfm Binary files differnew file mode 100644 index 0000000000..514f168ef4 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxsi10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxsl10.tfm b/fonts/tipa/tipa/tfm/tipxsl10.tfm Binary files differnew file mode 100644 index 0000000000..fa1550c29d --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxsl10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxsl12.tfm b/fonts/tipa/tipa/tfm/tipxsl12.tfm Binary files differnew file mode 100644 index 0000000000..422100f731 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxsl12.tfm diff --git a/fonts/tipa/tipa/tfm/tipxsl8.tfm b/fonts/tipa/tipa/tfm/tipxsl8.tfm Binary files differnew file mode 100644 index 0000000000..3c859a4793 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxsl8.tfm diff --git a/fonts/tipa/tipa/tfm/tipxsl9.tfm b/fonts/tipa/tipa/tfm/tipxsl9.tfm Binary files differnew file mode 100644 index 0000000000..999ce64400 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxsl9.tfm diff --git a/fonts/tipa/tipa/tfm/tipxss10.tfm b/fonts/tipa/tipa/tfm/tipxss10.tfm Binary files differnew file mode 100644 index 0000000000..03dfe6a494 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxss10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxss12.tfm b/fonts/tipa/tipa/tfm/tipxss12.tfm Binary files differnew file mode 100644 index 0000000000..342560de95 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxss12.tfm diff --git a/fonts/tipa/tipa/tfm/tipxss17.tfm b/fonts/tipa/tipa/tfm/tipxss17.tfm Binary files differnew file mode 100644 index 0000000000..560c2aa0f8 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxss17.tfm diff --git a/fonts/tipa/tipa/tfm/tipxss8.tfm b/fonts/tipa/tipa/tfm/tipxss8.tfm Binary files differnew file mode 100644 index 0000000000..2b9501bea5 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxss8.tfm diff --git a/fonts/tipa/tipa/tfm/tipxss9.tfm b/fonts/tipa/tipa/tfm/tipxss9.tfm Binary files differnew file mode 100644 index 0000000000..7daea70b74 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxss9.tfm diff --git a/fonts/tipa/tipa/tfm/tipxts10.tfm b/fonts/tipa/tipa/tfm/tipxts10.tfm Binary files differnew file mode 100644 index 0000000000..fcbb8e064b --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxts10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxtt10.tfm b/fonts/tipa/tipa/tfm/tipxtt10.tfm Binary files differnew file mode 100644 index 0000000000..09d12a1de8 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxtt10.tfm diff --git a/fonts/tipa/tipa/tfm/tipxtt12.tfm b/fonts/tipa/tipa/tfm/tipxtt12.tfm Binary files differnew file mode 100644 index 0000000000..040c3f36c1 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxtt12.tfm diff --git a/fonts/tipa/tipa/tfm/tipxtt8.tfm b/fonts/tipa/tipa/tfm/tipxtt8.tfm Binary files differnew file mode 100644 index 0000000000..0893016463 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxtt8.tfm diff --git a/fonts/tipa/tipa/tfm/tipxtt9.tfm b/fonts/tipa/tipa/tfm/tipxtt9.tfm Binary files differnew file mode 100644 index 0000000000..09158ae939 --- /dev/null +++ b/fonts/tipa/tipa/tfm/tipxtt9.tfm diff --git a/fonts/tipa/tipa/tfm/xipa10.tfm b/fonts/tipa/tipa/tfm/xipa10.tfm Binary files differnew file mode 100644 index 0000000000..ce92c8c79b --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipa10.tfm diff --git a/fonts/tipa/tipa/tfm/xipab10.tfm b/fonts/tipa/tipa/tfm/xipab10.tfm Binary files differnew file mode 100644 index 0000000000..02c54e40f3 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipab10.tfm diff --git a/fonts/tipa/tipa/tfm/xipabs10.tfm b/fonts/tipa/tipa/tfm/xipabs10.tfm Binary files differnew file mode 100644 index 0000000000..c330744b38 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipabs10.tfm diff --git a/fonts/tipa/tipa/tfm/xipasb10.tfm b/fonts/tipa/tipa/tfm/xipasb10.tfm Binary files differnew file mode 100644 index 0000000000..dbcc3d7799 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipasb10.tfm diff --git a/fonts/tipa/tipa/tfm/xipasi10.tfm b/fonts/tipa/tipa/tfm/xipasi10.tfm Binary files differnew file mode 100644 index 0000000000..f3b336ba25 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipasi10.tfm diff --git a/fonts/tipa/tipa/tfm/xipasl10.tfm b/fonts/tipa/tipa/tfm/xipasl10.tfm Binary files differnew file mode 100644 index 0000000000..7e38971183 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipasl10.tfm diff --git a/fonts/tipa/tipa/tfm/xipass10.tfm b/fonts/tipa/tipa/tfm/xipass10.tfm Binary files differnew file mode 100644 index 0000000000..b46b8c7db2 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipass10.tfm diff --git a/fonts/tipa/tipa/tfm/xipx10.tfm b/fonts/tipa/tipa/tfm/xipx10.tfm Binary files differnew file mode 100644 index 0000000000..82e2fcc0ee --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipx10.tfm diff --git a/fonts/tipa/tipa/tfm/xipxb10.tfm b/fonts/tipa/tipa/tfm/xipxb10.tfm Binary files differnew file mode 100644 index 0000000000..16f5e22443 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipxb10.tfm diff --git a/fonts/tipa/tipa/tfm/xipxbs10.tfm b/fonts/tipa/tipa/tfm/xipxbs10.tfm Binary files differnew file mode 100644 index 0000000000..e63c393988 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipxbs10.tfm diff --git a/fonts/tipa/tipa/tfm/xipxsb10.tfm b/fonts/tipa/tipa/tfm/xipxsb10.tfm Binary files differnew file mode 100644 index 0000000000..29aa752143 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipxsb10.tfm diff --git a/fonts/tipa/tipa/tfm/xipxsi10.tfm b/fonts/tipa/tipa/tfm/xipxsi10.tfm Binary files differnew file mode 100644 index 0000000000..ee2f10058d --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipxsi10.tfm diff --git a/fonts/tipa/tipa/tfm/xipxsl10.tfm b/fonts/tipa/tipa/tfm/xipxsl10.tfm Binary files differnew file mode 100644 index 0000000000..ec1028804a --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipxsl10.tfm diff --git a/fonts/tipa/tipa/tfm/xipxss10.tfm b/fonts/tipa/tipa/tfm/xipxss10.tfm Binary files differnew file mode 100644 index 0000000000..968df3d459 --- /dev/null +++ b/fonts/tipa/tipa/tfm/xipxss10.tfm diff --git a/fonts/tipa/tipa/type1/tipa10.pfb b/fonts/tipa/tipa/type1/tipa10.pfb Binary files differnew file mode 100644 index 0000000000..e1a83f924b --- /dev/null +++ b/fonts/tipa/tipa/type1/tipa10.pfb diff --git a/fonts/tipa/tipa/type1/tipa12.pfb b/fonts/tipa/tipa/type1/tipa12.pfb Binary files differnew file mode 100644 index 0000000000..37998d92e9 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipa12.pfb diff --git a/fonts/tipa/tipa/type1/tipa17.pfb b/fonts/tipa/tipa/type1/tipa17.pfb Binary files differnew file mode 100644 index 0000000000..ff1f24a9d6 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipa17.pfb diff --git a/fonts/tipa/tipa/type1/tipa8.pfb b/fonts/tipa/tipa/type1/tipa8.pfb Binary files differnew file mode 100644 index 0000000000..402657c4bb --- /dev/null +++ b/fonts/tipa/tipa/type1/tipa8.pfb diff --git a/fonts/tipa/tipa/type1/tipa9.pfb b/fonts/tipa/tipa/type1/tipa9.pfb Binary files differnew file mode 100644 index 0000000000..09b608caa0 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipa9.pfb diff --git a/fonts/tipa/tipa/type1/tipab10.pfb b/fonts/tipa/tipa/type1/tipab10.pfb Binary files differnew file mode 100644 index 0000000000..954d1676cc --- /dev/null +++ b/fonts/tipa/tipa/type1/tipab10.pfb diff --git a/fonts/tipa/tipa/type1/tipabs10.pfb b/fonts/tipa/tipa/type1/tipabs10.pfb Binary files differnew file mode 100644 index 0000000000..61d7e5a862 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipabs10.pfb diff --git a/fonts/tipa/tipa/type1/tipabx10.pfb b/fonts/tipa/tipa/type1/tipabx10.pfb Binary files differnew file mode 100644 index 0000000000..dfc451fcc6 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipabx10.pfb diff --git a/fonts/tipa/tipa/type1/tipabx12.pfb b/fonts/tipa/tipa/type1/tipabx12.pfb Binary files differnew file mode 100644 index 0000000000..5901169d4f --- /dev/null +++ b/fonts/tipa/tipa/type1/tipabx12.pfb diff --git a/fonts/tipa/tipa/type1/tipabx8.pfb b/fonts/tipa/tipa/type1/tipabx8.pfb Binary files differnew file mode 100644 index 0000000000..e76e83f25f --- /dev/null +++ b/fonts/tipa/tipa/type1/tipabx8.pfb diff --git a/fonts/tipa/tipa/type1/tipabx9.pfb b/fonts/tipa/tipa/type1/tipabx9.pfb Binary files differnew file mode 100644 index 0000000000..73e68e94b4 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipabx9.pfb diff --git a/fonts/tipa/tipa/type1/tipasb10.pfb b/fonts/tipa/tipa/type1/tipasb10.pfb Binary files differnew file mode 100644 index 0000000000..5bc3f7362a --- /dev/null +++ b/fonts/tipa/tipa/type1/tipasb10.pfb diff --git a/fonts/tipa/tipa/type1/tipasi10.pfb b/fonts/tipa/tipa/type1/tipasi10.pfb Binary files differnew file mode 100644 index 0000000000..0035edc7a0 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipasi10.pfb diff --git a/fonts/tipa/tipa/type1/tipasl10.pfb b/fonts/tipa/tipa/type1/tipasl10.pfb Binary files differnew file mode 100644 index 0000000000..54ee984d44 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipasl10.pfb diff --git a/fonts/tipa/tipa/type1/tipasl12.pfb b/fonts/tipa/tipa/type1/tipasl12.pfb Binary files differnew file mode 100644 index 0000000000..d8c0731da8 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipasl12.pfb diff --git a/fonts/tipa/tipa/type1/tipasl8.pfb b/fonts/tipa/tipa/type1/tipasl8.pfb Binary files differnew file mode 100644 index 0000000000..8bf6414d82 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipasl8.pfb diff --git a/fonts/tipa/tipa/type1/tipasl9.pfb b/fonts/tipa/tipa/type1/tipasl9.pfb Binary files differnew file mode 100644 index 0000000000..b07f946eb8 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipasl9.pfb diff --git a/fonts/tipa/tipa/type1/tipass10.pfb b/fonts/tipa/tipa/type1/tipass10.pfb Binary files differnew file mode 100644 index 0000000000..7984def273 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipass10.pfb diff --git a/fonts/tipa/tipa/type1/tipass12.pfb b/fonts/tipa/tipa/type1/tipass12.pfb Binary files differnew file mode 100644 index 0000000000..b5a8481b44 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipass12.pfb diff --git a/fonts/tipa/tipa/type1/tipass17.pfb b/fonts/tipa/tipa/type1/tipass17.pfb Binary files differnew file mode 100644 index 0000000000..9dcde88d07 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipass17.pfb diff --git a/fonts/tipa/tipa/type1/tipass8.pfb b/fonts/tipa/tipa/type1/tipass8.pfb Binary files differnew file mode 100644 index 0000000000..13f2673c78 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipass8.pfb diff --git a/fonts/tipa/tipa/type1/tipass9.pfb b/fonts/tipa/tipa/type1/tipass9.pfb Binary files differnew file mode 100644 index 0000000000..18440ce0a6 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipass9.pfb diff --git a/fonts/tipa/tipa/type1/tipats10.pfb b/fonts/tipa/tipa/type1/tipats10.pfb Binary files differnew file mode 100644 index 0000000000..495ef15cb8 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipats10.pfb diff --git a/fonts/tipa/tipa/type1/tipatt10.pfb b/fonts/tipa/tipa/type1/tipatt10.pfb Binary files differnew file mode 100644 index 0000000000..8ffe5e8f4c --- /dev/null +++ b/fonts/tipa/tipa/type1/tipatt10.pfb diff --git a/fonts/tipa/tipa/type1/tipatt12.pfb b/fonts/tipa/tipa/type1/tipatt12.pfb Binary files differnew file mode 100644 index 0000000000..227c348ae1 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipatt12.pfb diff --git a/fonts/tipa/tipa/type1/tipatt8.pfb b/fonts/tipa/tipa/type1/tipatt8.pfb Binary files differnew file mode 100644 index 0000000000..3e849d22be --- /dev/null +++ b/fonts/tipa/tipa/type1/tipatt8.pfb diff --git a/fonts/tipa/tipa/type1/tipatt9.pfb b/fonts/tipa/tipa/type1/tipatt9.pfb Binary files differnew file mode 100644 index 0000000000..b9ae096246 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipatt9.pfb diff --git a/fonts/tipa/tipa/type1/tipx10.pfb b/fonts/tipa/tipa/type1/tipx10.pfb Binary files differnew file mode 100644 index 0000000000..39cc7c77cb --- /dev/null +++ b/fonts/tipa/tipa/type1/tipx10.pfb diff --git a/fonts/tipa/tipa/type1/tipx12.pfb b/fonts/tipa/tipa/type1/tipx12.pfb Binary files differnew file mode 100644 index 0000000000..d8a7eea88d --- /dev/null +++ b/fonts/tipa/tipa/type1/tipx12.pfb diff --git a/fonts/tipa/tipa/type1/tipx17.pfb b/fonts/tipa/tipa/type1/tipx17.pfb Binary files differnew file mode 100644 index 0000000000..be692acede --- /dev/null +++ b/fonts/tipa/tipa/type1/tipx17.pfb diff --git a/fonts/tipa/tipa/type1/tipx8.pfb b/fonts/tipa/tipa/type1/tipx8.pfb Binary files differnew file mode 100644 index 0000000000..b9e16843bc --- /dev/null +++ b/fonts/tipa/tipa/type1/tipx8.pfb diff --git a/fonts/tipa/tipa/type1/tipx9.pfb b/fonts/tipa/tipa/type1/tipx9.pfb Binary files differnew file mode 100644 index 0000000000..761313668e --- /dev/null +++ b/fonts/tipa/tipa/type1/tipx9.pfb diff --git a/fonts/tipa/tipa/type1/tipxb10.pfb b/fonts/tipa/tipa/type1/tipxb10.pfb Binary files differnew file mode 100644 index 0000000000..93a9363a68 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxb10.pfb diff --git a/fonts/tipa/tipa/type1/tipxbs10.pfb b/fonts/tipa/tipa/type1/tipxbs10.pfb Binary files differnew file mode 100644 index 0000000000..1e6c491152 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxbs10.pfb diff --git a/fonts/tipa/tipa/type1/tipxbx10.pfb b/fonts/tipa/tipa/type1/tipxbx10.pfb Binary files differnew file mode 100644 index 0000000000..df9ae48356 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxbx10.pfb diff --git a/fonts/tipa/tipa/type1/tipxbx12.pfb b/fonts/tipa/tipa/type1/tipxbx12.pfb Binary files differnew file mode 100644 index 0000000000..8018c4ea9a --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxbx12.pfb diff --git a/fonts/tipa/tipa/type1/tipxbx8.pfb b/fonts/tipa/tipa/type1/tipxbx8.pfb Binary files differnew file mode 100644 index 0000000000..f266f1a579 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxbx8.pfb diff --git a/fonts/tipa/tipa/type1/tipxbx9.pfb b/fonts/tipa/tipa/type1/tipxbx9.pfb Binary files differnew file mode 100644 index 0000000000..70d2d7d977 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxbx9.pfb diff --git a/fonts/tipa/tipa/type1/tipxsb10.pfb b/fonts/tipa/tipa/type1/tipxsb10.pfb Binary files differnew file mode 100644 index 0000000000..f386424578 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxsb10.pfb diff --git a/fonts/tipa/tipa/type1/tipxsi10.pfb b/fonts/tipa/tipa/type1/tipxsi10.pfb Binary files differnew file mode 100644 index 0000000000..d1a568ecc4 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxsi10.pfb diff --git a/fonts/tipa/tipa/type1/tipxsl10.pfb b/fonts/tipa/tipa/type1/tipxsl10.pfb Binary files differnew file mode 100644 index 0000000000..35bd486ffc --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxsl10.pfb diff --git a/fonts/tipa/tipa/type1/tipxsl12.pfb b/fonts/tipa/tipa/type1/tipxsl12.pfb Binary files differnew file mode 100644 index 0000000000..8138543232 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxsl12.pfb diff --git a/fonts/tipa/tipa/type1/tipxsl8.pfb b/fonts/tipa/tipa/type1/tipxsl8.pfb Binary files differnew file mode 100644 index 0000000000..2e3903eba4 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxsl8.pfb diff --git a/fonts/tipa/tipa/type1/tipxsl9.pfb b/fonts/tipa/tipa/type1/tipxsl9.pfb Binary files differnew file mode 100644 index 0000000000..088a803c99 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxsl9.pfb diff --git a/fonts/tipa/tipa/type1/tipxss10.pfb b/fonts/tipa/tipa/type1/tipxss10.pfb Binary files differnew file mode 100644 index 0000000000..dc87dadf08 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxss10.pfb diff --git a/fonts/tipa/tipa/type1/tipxss12.pfb b/fonts/tipa/tipa/type1/tipxss12.pfb Binary files differnew file mode 100644 index 0000000000..3244c6428c --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxss12.pfb diff --git a/fonts/tipa/tipa/type1/tipxss17.pfb b/fonts/tipa/tipa/type1/tipxss17.pfb Binary files differnew file mode 100644 index 0000000000..bb657c68db --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxss17.pfb diff --git a/fonts/tipa/tipa/type1/tipxss8.pfb b/fonts/tipa/tipa/type1/tipxss8.pfb Binary files differnew file mode 100644 index 0000000000..015bf75dd0 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxss8.pfb diff --git a/fonts/tipa/tipa/type1/tipxss9.pfb b/fonts/tipa/tipa/type1/tipxss9.pfb Binary files differnew file mode 100644 index 0000000000..8951968896 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxss9.pfb diff --git a/fonts/tipa/tipa/type1/tipxts10.pfb b/fonts/tipa/tipa/type1/tipxts10.pfb Binary files differnew file mode 100644 index 0000000000..3a545e9feb --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxts10.pfb diff --git a/fonts/tipa/tipa/type1/tipxtt10.pfb b/fonts/tipa/tipa/type1/tipxtt10.pfb Binary files differnew file mode 100644 index 0000000000..93c9031364 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxtt10.pfb diff --git a/fonts/tipa/tipa/type1/tipxtt12.pfb b/fonts/tipa/tipa/type1/tipxtt12.pfb Binary files differnew file mode 100644 index 0000000000..a53b23b696 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxtt12.pfb diff --git a/fonts/tipa/tipa/type1/tipxtt8.pfb b/fonts/tipa/tipa/type1/tipxtt8.pfb Binary files differnew file mode 100644 index 0000000000..4540f58db2 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxtt8.pfb diff --git a/fonts/tipa/tipa/type1/tipxtt9.pfb b/fonts/tipa/tipa/type1/tipxtt9.pfb Binary files differnew file mode 100644 index 0000000000..2ac1c0b6b3 --- /dev/null +++ b/fonts/tipa/tipa/type1/tipxtt9.pfb diff --git a/fonts/tipa/tipa/type1/xipa10.pfb b/fonts/tipa/tipa/type1/xipa10.pfb Binary files differnew file mode 100644 index 0000000000..a1365802b1 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipa10.pfb diff --git a/fonts/tipa/tipa/type1/xipab10.pfb b/fonts/tipa/tipa/type1/xipab10.pfb Binary files differnew file mode 100644 index 0000000000..01bbf9e76c --- /dev/null +++ b/fonts/tipa/tipa/type1/xipab10.pfb diff --git a/fonts/tipa/tipa/type1/xipabs10.pfb b/fonts/tipa/tipa/type1/xipabs10.pfb Binary files differnew file mode 100644 index 0000000000..596f1fe1fb --- /dev/null +++ b/fonts/tipa/tipa/type1/xipabs10.pfb diff --git a/fonts/tipa/tipa/type1/xipasb10.pfb b/fonts/tipa/tipa/type1/xipasb10.pfb Binary files differnew file mode 100644 index 0000000000..5938447761 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipasb10.pfb diff --git a/fonts/tipa/tipa/type1/xipasi10.pfb b/fonts/tipa/tipa/type1/xipasi10.pfb Binary files differnew file mode 100644 index 0000000000..f33b55de48 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipasi10.pfb diff --git a/fonts/tipa/tipa/type1/xipasl10.pfb b/fonts/tipa/tipa/type1/xipasl10.pfb Binary files differnew file mode 100644 index 0000000000..1d203888f8 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipasl10.pfb diff --git a/fonts/tipa/tipa/type1/xipass10.pfb b/fonts/tipa/tipa/type1/xipass10.pfb Binary files differnew file mode 100644 index 0000000000..6bb4c0df30 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipass10.pfb diff --git a/fonts/tipa/tipa/type1/xipx10.pfb b/fonts/tipa/tipa/type1/xipx10.pfb Binary files differnew file mode 100644 index 0000000000..8b8447f865 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipx10.pfb diff --git a/fonts/tipa/tipa/type1/xipxb10.pfb b/fonts/tipa/tipa/type1/xipxb10.pfb Binary files differnew file mode 100644 index 0000000000..4ec77b0bed --- /dev/null +++ b/fonts/tipa/tipa/type1/xipxb10.pfb diff --git a/fonts/tipa/tipa/type1/xipxbs10.pfb b/fonts/tipa/tipa/type1/xipxbs10.pfb Binary files differnew file mode 100644 index 0000000000..61460f23bf --- /dev/null +++ b/fonts/tipa/tipa/type1/xipxbs10.pfb diff --git a/fonts/tipa/tipa/type1/xipxsb10.pfb b/fonts/tipa/tipa/type1/xipxsb10.pfb Binary files differnew file mode 100644 index 0000000000..97c1efc855 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipxsb10.pfb diff --git a/fonts/tipa/tipa/type1/xipxsi10.pfb b/fonts/tipa/tipa/type1/xipxsi10.pfb Binary files differnew file mode 100644 index 0000000000..0bffbe9413 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipxsi10.pfb diff --git a/fonts/tipa/tipa/type1/xipxsl10.pfb b/fonts/tipa/tipa/type1/xipxsl10.pfb Binary files differnew file mode 100644 index 0000000000..7856781697 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipxsl10.pfb diff --git a/fonts/tipa/tipa/type1/xipxss10.pfb b/fonts/tipa/tipa/type1/xipxss10.pfb Binary files differnew file mode 100644 index 0000000000..c51ea20116 --- /dev/null +++ b/fonts/tipa/tipa/type1/xipxss10.pfb diff --git a/fonts/tipa/tipaface.pdf b/fonts/tipa/tipaface.pdf Binary files differnew file mode 100644 index 0000000000..21ca0bbeca --- /dev/null +++ b/fonts/tipa/tipaface.pdf diff --git a/fonts/tipa/tipaman.pdf b/fonts/tipa/tipaman.pdf new file mode 120000 index 0000000000..aca2a36f59 --- /dev/null +++ b/fonts/tipa/tipaman.pdf @@ -0,0 +1 @@ +tipa/doc/tipaman.pdf
\ No newline at end of file |