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/ec/src |
Initial commit
Diffstat (limited to 'fonts/ec/src')
121 files changed, 26638 insertions, 0 deletions
diff --git a/fonts/ec/src/00bugs.txt b/fonts/ec/src/00bugs.txt new file mode 100644 index 0000000000..2c69b68b32 --- /dev/null +++ b/fonts/ec/src/00bugs.txt @@ -0,0 +1,31 @@ +% 00bugs.txt +% List of `known' bugs in the ec-fonts version 1.0 as of 19-JAN-1997 + + +This file contains the known bugs in version 1.0 of the ec-fonts. The bugs +are given in no particular order. If you think you have found a bug in ec +fonts 1.0, please check this list, if it is already `known'. + + 1. With the following input files, some low resolution errors + occur frequently even for 300dpi modes (strange path, + Undefined x coordinate has been replaced by 0) + +ecit0800 +tcit0900 + +Two bugs reported by mitek@email.cz (not fixed yet, because I want to get out +the licence update really soon) + + 2. The 'Copyleft' in txsymbol.mf has a different shape of the upper + serif than (reversed) 'C'. I think that there must be + opposite sign in the equation for x1' (something like + x1l-x1'=-2cap_curve+fine). (The same bug is in + cmbright/ttsymbol.mf, but this is not visible due to char shape). + + 3. The 'Superscript numeral 3' in txrsuper.mf has its upper bulb + positioned too low. I think that there was ommited the replacement of + y0=min(.9h-.5bulb_diam1,.75[bot y8r,h]+.5bulb_diam1); + with + y0=min(.9[bot y8r,h]-.5bulb_diam1,.75[bot y8r,h]+.5bulb_diam1); + as is done in other equations and in 'Fraction three quarters'. + diff --git a/fonts/ec/src/00error.txt b/fonts/ec/src/00error.txt new file mode 100644 index 0000000000..7c8f3d0db8 --- /dev/null +++ b/fonts/ec/src/00error.txt @@ -0,0 +1,64 @@ +% 00error.txt +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in dcdoc.tex (needs LaTeX2e) +% + + How to report errors and bugs with the ec fonts + +To improve the quality of the ec fonts and to make them free of any errors +and bugs, your feedback is appreciated. + +Please make sure, that your report is concise, clear and reproduceable, also +make sure, that you are using the newest version of the ec fonts and that +your bug isn't fixed yet. + +The following information is needed: + +Which font produced the bug? + +Which mode do you use? + +What is the error message issued by METAFONT? + +Which character carries the error? Is the error visible in the output and +how can it be described? Always try to generate output and look at it +first, some errors may be invisible at all. + +Please include the .log file in your report. + +The fonts should work at resolutions from 200dpi upwards, and in a size +range from 5pt to 100pt. If your effective resolution lies below 200dpi +-- for non square pixels the lower resolution counts -- (screen modes +or fonts at reduced sizes), if the parameter blacker of your mode is +negative, or if you generate a font outside the given size range, problems +are to be expected and do not qualify as bugs. + +The funny fonts needn't work at all, they surely don't work at low sizes. +The typewriter fonts don't work below 8pt. + +The fractions and the superscript digits from the tc fonts don't work at +small sizes (below 10 pt) even for fair resolutions (about 300dpi). + +If you have a fix for your your problem, it is very appreaciated. + +Please report errors to +J"org Knappen AAA +joerg.knappen@uni-mainz.de <---- < new > + VVV + +In case, that you are not sure, whether a strange feature or error message +qualifies as a bug, you may want to ask a question on the metafont +mailing list. To subscribe send a mail to + +LISTSERV@ens.fr + +containing the one line + +subscribe metafont "Your Full Name" diff --git a/fonts/ec/src/00files.txt b/fonts/ec/src/00files.txt new file mode 100644 index 0000000000..c5779a36fd --- /dev/null +++ b/fonts/ec/src/00files.txt @@ -0,0 +1,136 @@ +% 00files.txt +% +% (c) Copyright 1995, 1996, 1997, 2012 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information + + + Length Date Name + ------ ---- ---- + 1253 02-05-97 00bugs.txt + 2180 02-05-97 00error.txt + 3934 05-01-12 00files.txt + 5015 02-05-97 00inst.txt + 1709 02-05-97 00readme.txt + 2918 05-01-12 copyrite.txt + 19368 02-05-97 dc-chg.txt + 23101 01-19-97 dcdoc.tex + 944 05-01-12 ec-chg.txt + 6445 01-19-97 ecbi.mf + 5836 01-19-97 ecbl.mf + 6254 01-19-97 ecbm.mf + 5823 01-19-97 ecbx.mf + 9095 01-19-97 eccc.mf + 4998 01-19-97 ecci.mf + 6259 01-19-97 ecdh.mf + 4757 01-19-97 ecfb.mf + 4543 01-19-97 ecff.mf + 4542 01-19-97 ecfi.mf + 4772 01-19-97 ecfs.mf + 4549 01-19-97 ecit.mf + 1764 01-19-97 eclb8.mf + 1832 01-19-97 ecli8.mf + 1786 01-19-97 eclo8.mf + 1809 01-19-97 eclq8.mf + 1821 01-19-97 ecltt8.mf + 9053 01-19-97 ecoc.mf + 1774 01-19-97 ecqi8.mf + 6047 01-19-97 ecrb.mf + 6359 01-19-97 ecrm.mf + 9058 01-19-97 ecsc.mf + 4978 01-19-97 ecsi.mf + 6361 01-19-97 ecsl.mf + 4770 01-19-97 ecso.mf + 1750 01-19-97 ecsq8.mf + 4953 01-19-97 ecss.mf + 1758 01-19-97 ecssdc10.mf + 4551 01-19-97 ecst.mf + 14009 01-19-97 ecstdedt.tex + 4749 01-19-97 ecsx.mf + 6555 01-19-97 ectc.mf + 4983 01-19-97 ecti.mf + 4539 01-19-97 ectt.mf + 6256 01-19-97 ecui.mf + 4498 01-07-97 ecvi.mf + 4529 01-19-97 ecvt.mf + 8977 01-19-97 ecxc.mf + 3752 01-19-97 exaccent.mf + 37536 01-19-97 exaccess.mf + 52157 01-19-97 exbase.mf + 9757 01-19-97 exbraces.mf + 7581 01-19-97 excligtb.mf + 3574 01-19-97 excsc.mf + 10630 01-19-97 excspl.mf + 12246 01-19-97 exidigit.mf + 29081 01-19-97 exileast.mf + 11579 01-19-97 exilig.mf + 7576 01-19-97 exiligtb.mf + 22489 01-19-97 exillett.mf + 29528 01-19-97 exilwest.mf + 2961 01-19-97 exisixts.mf + 4219 01-19-97 exitalp.mf + 952 01-19-97 exmligtb.mf + 3212 01-19-97 expseudo.mf + 11574 01-19-97 expunct.mf + 14974 01-19-97 exrdigit.mf + 52050 01-19-97 exrleast.mf + 9844 01-19-97 exrlig.mf + 10142 01-19-97 exrligtb.mf + 39732 01-19-97 exrllett.mf + 52110 01-19-97 exrlwest.mf + 2293 01-19-97 exroman.mf + 4622 01-19-97 exromp.mf + 44920 01-19-97 exrueast.mf + 36144 01-19-97 exrulett.mf + 44016 01-19-97 exruwest.mf + 10072 01-19-97 exsign.mf + 2954 01-19-97 exsixtst.mf + 2229 01-19-97 extextit.mf + 1822 01-19-97 ieclb8.mf + 1889 01-19-97 iecli8.mf + 1844 01-19-97 ieclo8.mf + 1866 01-19-97 ieclq8.mf + 1834 01-19-97 iecltt8.mf + 7284 02-05-97 tc-chg.txt + 6434 01-19-97 tcbi.mf + 5821 01-19-97 tcbl.mf + 6250 01-19-97 tcbm.mf + 5808 01-19-97 tcbx.mf + 4978 01-19-97 tcci.mf + 6279 01-19-97 tcdh.mf + 4748 01-19-97 tcfb.mf + 4526 01-19-97 tcff.mf + 4525 01-19-97 tcfi.mf + 4762 01-07-97 tcfs.mf + 4533 01-19-97 tcit.mf + 5850 01-19-97 tcrb.mf + 6239 01-19-97 tcrm.mf + 4963 01-19-97 tcsi.mf + 6242 01-19-97 tcsl.mf + 4753 01-19-97 tcso.mf + 4939 01-19-97 tcss.mf + 4519 01-19-97 tcst.mf + 12807 12-23-96 tcstdedt.tex + 4731 01-19-97 tcsx.mf + 4970 01-19-97 tcti.mf + 4524 01-19-97 tctt.mf + 6251 01-19-97 tcui.mf + 4533 01-19-97 tcvi.mf + 4523 01-19-97 tcvt.mf + 5344 01-19-97 txaccent.mf + 4286 01-19-97 txgen.mf + 5844 01-19-97 txifract.mf + 4771 01-19-97 txisuper.mf + 12634 01-19-97 txitlod.mf + 2164 01-19-97 txpseudo.mf + 8576 01-19-97 txrfract.mf + 15206 01-19-97 txromod.mf + 7814 01-19-97 txrsuper.mf + 2058 01-19-97 txsymb.mf + 93212 01-19-97 txsymbol.mf + ------- + 121 + diff --git a/fonts/ec/src/00inst.txt b/fonts/ec/src/00inst.txt new file mode 100644 index 0000000000..87678e531e --- /dev/null +++ b/fonts/ec/src/00inst.txt @@ -0,0 +1,148 @@ +% 00inst.txt +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in dcdoc.tex (needs LaTeX2e) +% + How to install the ec and tc fonts + + +To install the ec and tc fonts from the sources, take the following steps: + +1) Generate the driver files + +$ tex ecstdedt +$ tex tcstdedt + +There are no driver files distributed, instead they are generated by +running plain TeX on ecstdedt.tex and tcstdedt.tex. The unchanged version +of these files gives you a standard set of Fonts, if you want other sizes +you can add them by editing ecstdedt.tex and tcstdedt.tex. + +The driver files are very simple and look like: + + % This is ecrm1000.mf in text format as of January, 19, 1997 + if unknown exbase: input exbase fi; + gensize:=10; + generate ecrm + +Running TeX on ecstdedt and tcstdedt also generates a batch file in the +style of missfont.log. You may edit the line starting with \BatchFile +to get the appropriate result for your operating system. + +2) Run plain METAFONT on the driver files to generate the metric (tfm) files +and the generic font files (gf files). + +$ mf "\mode=localfont; input ecrm1000" + +Running METAFONT on the driver files produces you the metric file +(suffix .tfm) and the generic font file (suffix .%%%gf, where %%% is the +resolution of your device). Only the plain base is needed, the file exbase +will be loaded on demand. + +You should NOT use a METAFONT with cmbase preloaded, because of +incompatibility. In fact, using cmmf on the ec fonts will stop +with an error message generated. + +3) Pack the generic font files + +$ gftopk ecrm1000.%%%gf + +gftopk packs the generic font file to a packed font file, which is the +standard form accepted by all dvi drivers. Note, that you can't create +a .pxl file (obsolete as they are) from the ec fonts, since the pxl file +format is limited to 128 characters. + +4) Copy the tfm files to a place, where TeX and the dvi-drivers find them + +This place is traditionally given by the environment variable TEXFONTS +(or something similar, like TEX_FONTS). Within the proposed TeX Directory +Structure (TDS), the proper place is + +TEXMF/fonts/tfm/jknappen/ec/ + +5) Copy the pk files to a place where the dvi drivers find them + +This place is traditionally given by the environment variable TEXPK +(or something similar, like TEX_PKDIR). Within the proposed TeX Directory +Structure (TDS), the proper place is + +TEXMF/fonts/pk/<device>/jknappen/ec/<resolution>/ + +(Note: There was a long and engaged dispute over the latter place. It may +change, or local needs may enforce a different structure. Regard it as a +suggestion, not as a prescription) + +6) Put the .mf files (including the generated driver files) at a place, +where METAFONT finds them. + +The rationale of this step is to allow automatic font generation on demand, +e.g. by maketexpk or similar tools. + +This place is traditionally given by the environment variable MFINPUTS +(or something similar, like MF_INPUTS). Within the proposed TeX Directory +Structure (TDS), the proper place is + +TEXMF/fonts/source/jknappen/ec + +(I have to get used to such a path. Under my VMS installation, it is simply +TEX_ROOT:[MF.EC]) + +7) Delete unneeded files + +The following files are no longer needed and can be deleted: + +*.log (on VMS: *.lis) log files +*.*gf generic font files +ecstdedt.dvi +tcstdedt.dvi + +8) Hints and possible problems + +a) Problems with font generation + +You need an up-to-date installation of METAFONT (at least version 2.0, +current is 2.718), plain.mf (version 2.71 is required, 2.0 does not work) +modes.mf (3.0 is required, if you want to generate the ec fonts for a +write-white device) to generate the ec and tc fonts successfully. + +exbase checks for the most common errors and gives an error message. + + +b) Installation under LaTeX + +Note that the LaTeX format preloads some fonts. In order to use the +new fonts under LaTeX2e, you'll need to regenerate the LaTeX format after +installing the fonts. The ec fonts are supported beginning with +LaTeX2e from 1996/12/01. + +c) Write-white devices + +The handling of write-white devices with older modes (distributed in +modes.mf 2.*) was incompatible with exbase. Get modes.mf 3.0 if you +have a write-white device for which you want to generate the ec fonts. + +d) dc fonts + +It is strongly recommended that you delete all older versions of the dc +fonts after backing them up. + +The dc fonts have had several incompatible versions, which are now finally +replaced by the ec fonts. It is suggested that you regenerate your dvi +files from the LaTeX source files. + +There are now virtual dc fonts available, reconstructing the dc fonts as +virtual fonts from the ec fonts. They can be used in two ways: + +* To display and print dvi files containing the older dc fonts + +* To migrate older dvi files directly to the ec fonts, using the program +dvicopy on them. + + +--J"org Knappen diff --git a/fonts/ec/src/00readme.txt b/fonts/ec/src/00readme.txt new file mode 100644 index 0000000000..891f5ee2cf --- /dev/null +++ b/fonts/ec/src/00readme.txt @@ -0,0 +1,49 @@ +% 00readme.txt +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information + + European Computer Modern Fonts and Text Companion Fonts + +This is the first stable release of the European Computer Modern fonts. +They are intended to be as stable as the Computer Modern fonts from D. +Knuth are. This means, that there will be no changes to the following +features of the ec fonts: + +* There will be no changes to the font encoding + +* There will be no changes to the font metrics + +* The macros from exbase will not be removed, nor will their + arguments change meaning, even if they are by chance unused in the ec + fonts. + +For the tc fonts, the following features remain stable: + +* No characters will be removed from the tc fonts, nor will their + codepoints change + +* The metrics of the established symbols will not be changed. + +Note, that future releases of the tc fonts may contain more characters, +which will lead to different tfm files and checksum errors. However, those +errors can safely be ignored because the extensions will not spoil +backwards compatibility. + +The documentation is currently provisorial and I want to replace it +when I find the time to complete the real documentation of the ec fonts. + +Please read the copying conditions as given in the file copyrite.txt. + +For installation, please read the file 00inst.txt. + +If you find a problem or a bug, please read the file 00error.txt +before submitting a bug report. The address for submitting bug +reports is joerg.knappen@uni-mainz.de + +--J"org Knappen. diff --git a/fonts/ec/src/copyrite.txt b/fonts/ec/src/copyrite.txt new file mode 100644 index 0000000000..0eeda3df1a --- /dev/null +++ b/fonts/ec/src/copyrite.txt @@ -0,0 +1,81 @@ +% copyrite.txt +% +% (c) Copyright 2012 J"org Knappen +% +% This file is part of ecfonts version 1.0 + + + Copyright notice to the ec fonts + +(c) Copyright 1995, 1996, 1997, 2012 J"org Knappen, Mainz +(c) Copyright 1990, 1992 Norbert Schwarz, Ruhr-Universit"at Bochum + + +C O P Y R I G H T (2012) +------------------------ + +This distribution is copyright 1990--2012 Norbert Schwarz and Joerg Knappen. + + +WARRANTY + +There is NO WARRANTY for the ec fonts, to the extent permitted by +applicable law. Except when otherwise stated in writing, the authors +provides the program `as is' without warranty of any kind, either +expressed or implied, including, but not limited to, the implied +warranties of merchantability and fitness for a particular purpose. +The entire risk as to the quality and performance of the program is +with you. Should the program prove defective, you assume the cost of +all necessary servicing, repair or correction. + +In no event unless required by applicable law or agreed to in writing +will the authors be liable to you for damages, including any general, +special, incidental or consequential damages arising out of any use of the +program or out of inability to use the program (including but not +limited to loss of data or data being rendered inaccurate or losses +sustained by you or by third parties as a result of a failure of the +program to operate with any other programs), even if such holder or +other party has been advised of the possibility of such damages. + + +DISTRIBUTION + +Redistribution of unchanged files is allowed provided that all files +listed in the file 00files.txt are distributed, including this file. + +If you receive only some of these files from someone, complain! + +The distribution of changed versions of certain files included in +the ec fonts, and the re-use of code from those files, are allowed +under the following restrictions: + + * It is allowed only if the legal notice in the file does not + expressly forbid it. + + * You rename the file before you make any changes to it, unless the + file explicitly says that renaming is not required. Any such changed + files should be distributed under conditions that ensure that those + files, and any files derived from them, will never be redistributed + under the names used by the original files in the ec fonts. + + * The names of the modified fonts must not start with the two letters + `ec' or `tc'. + + * You change the `error report address' so that we do not get error + reports for files not maintained by us. + + * You acknowledge the source and authorship of the original version + in the modified file. + + + J\"org Knappen + Dieselstra{\ss}e 13 + 66123 Saarbr\"ucken + Federal Republic of Germany + + + Norbert Schwarz + Ruhr-Universitaet Bochum + Rechenzentrum + Universitaetsstrasse 150 + D-44801 Bochum diff --git a/fonts/ec/src/dc-chg.txt b/fonts/ec/src/dc-chg.txt new file mode 100644 index 0000000000..417352bbfb --- /dev/null +++ b/fonts/ec/src/dc-chg.txt @@ -0,0 +1,396 @@ +% dc-chg.txt +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% + +dc-chg.txt + +This file documents the changes on the dc-fonts since version 1.1. Most +recent changes are on top of this file. + + 1-FEB-1997 After the release of the ec fonts, this file is closed. + Further changes will be documented in ec-chg.txt. + +19-JAN-1997 Fought again with the |uc_hachek_accent| since it came out too + high (with white space above) in the metrics. Eliminated + |uc_acc_height#| from exrueast.mf and the driver files. + Fixed a bug in the single base quote (reported by Bernd Raichle) + Added anti-kernings to separate ```triple''' and + ````quadruple'''' quotes nicely + ectc: Call exmligtb for monospace ligatures + Did some finish to the ligtables (this is the last chance, in + fact, since changing the ligtables changes the metrics). + + 7-JAN-1997 Added ecfs (Fibonacci Slanted) as suggested by Ulrik Vieth + Changed |vair| for ecso from 13 to 15 (found by Ulrik Vieth) + Corrected Batch file generation in ecstdedt.tex + Deleted dxbase.ini_mf (suggested by Ulrik Vieth) + +23-DEC-1996 Made all fontnames 4 letters + 4 digits for the interpolating + fonts. Renamed ecr -> ecrm, ecb -> ecrb, ecu -> ecui. + +22-DEC-1996 Accents for small capital letters are now ``small capital + accents''. Moved information from exaccess to exbase. + Made capital tilde accent 9u# wide. Reincluded + |center_on| in exbase. Deleted all references to dcbase. + Consequently applied |hi.| in expseudo.mf. Improved the + |uc_hachek_accent| on small caps. + Added typewriter fonts (both visible and invisible) for + documentclass slides (former SliTeX), named [i]ecltt8. + ecltt8 is unfortunately different from ectt0800, because the + interpolation routines introduce some rounding errors on + the base points. + +21-DEC-1996 Deleted boolean variable |acute_sharp| from exbase, because + it was never used. Added switch |fancy_thorn| to choose + different thorn shapes. + +20-DEC-1996 Starting transition to ec: Renamed files, replaced + |dcchar| by |ecchar|, renamed |font_identifier|, changed + file headers, changed |version_check| to ask for (1,0). + +19-NOV-1996 Removed |big_...|-macros from dxbase. Added macro + |super_crescent| used in the Servicemark sign. + +18-NOV-1996 Adjusted parameters in dcbi (there was an awful bug + in |jut| causing no error messages but damaged + glyphs with dcbi0500) + +18-NOV-1996 Added more ligtable entries: Kv (Kvarner) Kw (Kwik), + V against consonants (russian transliteration) + + 4-NOV-1996 Adjusted the position of the circumflex in \^a. Also made + all lowercase circumflexes overshoot a little (oo). + +*********** Release of dc 1.3 Patchlevel 4 ************************************* + +25-AUG-1996 Aplied the parameter change also to dcso at 5 pt + +*********** Release of dc 1.3 Patchlevel 3 ************************************* + +23-AUG-1996 Changed Parameters for dcsx at 5 pt, adjusted + |lc_hachek_accent| + +23-AUG-1996 Added |zero_width| to the programme for the compound word + mark; without this statement the chardx value is wrong. + +*********** Release of dc 1.3 Patchlevel 2 ************************************* + + 3-JUL-1996 Added macro |clear_mode_guards|. This change makes modes like + |nechi| as defined in modes.mf 3.0 work. + Added missing |;| in the checking section + Corrected wording of one error message, hopefully + never to be seen by an end user. + All changes suggested by Andreas Schwab + + Added file 00bugs.txt with known bugs. + +*********** Release of dc 1.3 Patchlevel 1 ************************************* + +20-JUN-1996 Added |inner bye;| to dxbase before checking for + old versions. + +*********** Release of dc 1.3 ************************************************** +31-MAY-1996 Corrected |tiny| for dcsx..tcso at 5 pt + Renamed |clear_memory| to |clear_extra_memory| + Additional fontdimensions are now 8..16 + Changed dcvi font identifier to DCVTTI + Corrected |math_spread| for some fonts + Corrected |u#| for dcso at 5 pt + Set |true_mono| for dcst + Changed unit of |notch_cut#| for some fonts + Don't interpolate |slant| + Corrected slant for dcfi + (the latter 7 changes were suggested by Ulrik Vieth) + +17-MAY-1996 Added |penstroke| to the |killtext|ed macros + New macro |clear_memory| to free some memory + after parameter interpolation + Changed |version_check| macro + Did some finish (file headers etc.) + Went through the documentation + Added danish style italic \ae + +13-MAY-1996 Added many kernings for accented letters + (dxrligtb.mf and dxiligtb.mf) + +12-MAY-1996 Added dcsc.mf and dcoc.mf (slanted and oblique=bold + extenden slanted caps and small caps) + Adapted dcsdtedt.tex appropriately + Added 30pt size (2986) to dcstdedt.tex + Made parameters of dcsl the same as dcr.mf, except, + of course, slant (Reported by Ulrik Vieth) + Added dcvi (variable width italic typewriter) + Made En- and Em-dash equal to hyphen in monospaced + fonts + Added kernings for nanovolts and hektowatts + Gave the cwm |x_height#| + Made the typewriter fonts really monospaced + (including ffl and ffi ligatures) + Added kerning >>. and >>, (suggested by Thierry Bouche) + Made dcsx0500 more extended (noted by Walter Schmidt) + Added more kernings after capital A + Added the additional font dimensions 23--31 + Removed unneeded |lc_circle_height(#)| + Fixed lowercase hachek (dunhill!) + +11-MAY-1996 Tuned the |lower.cap_height#| of dccc1728 + +10-MAY-1996 Corrected |corrital| to use the canonical sharp mode + (dxaccess.mf/Reported by Bernd Raichle) +%% Added check against old |plain.mf| (suggeseted by Bernd Raichle) + Added check against |cmbase| + Added check against METAFONT 1.x + Applied patch from Andreas Schwab to |beginchar_twice|, + fixing the annoying `missing fi'-bug. + Changed def's in |dxpseudo.mf| to vardef's (found by + Andreas Schwab) + +24-APR-1996 Added |lower.dot_size#| to dctc.mf, removed + |lower.uu#| from the same file. + Changed the |basedef|-line for dcbi to contain unrounded + sizes (14.4 instead of 14 etc.) + Added bold slitex fonts (dclb8, dclo8, idclb8, idclo8) + Buildt in version consistency control + Moved some information from |dxaccess.mf| to |dxpseudo.mf| + +16-APR-1996 Added Bold Extended Small Caps (dcxc.mf) + Removed |ligs| from all parameter files, since + it is never used, removed it also from dxbase + Tuned some parameter in dccc + Introduced |lower.dot_size| as a new parameter + +15-APR-1996 Redid dxpseudo.mf; made many variables macros, + created macro pseudo_setup; + Inserted pseudo_setup at the appropriate places + Took provision for modes.mf in dxbase.mf + After some solid hacking the fonts compile again + Gone through the easern and western european letters, + did some clean up (character names, placement of \~N). + +14-APR-1996 Buildt in changes from plfonts 1.07 to fix resolution- + dependent metrics. This affects the following characters + and macros: + dxpunct.mf: French opening and closing quotes + dxruwest.mf/dxrueast.mf: All letters with acute, hungarian, + grave, and dot above; \L + dxrlwest, dxrleast, dxilwest, dxileast: All letters with acute, + hungarian, grave, and dot above; \L + dxaccess.mf: Corrections to |put_accent|, |put_dot|, |put_grave| + dxbase.mf: Included |beginchar_twice| and |repeat_once| + Introduced switch |true_mono| to get monospaced ligatures + Deleted macros for big mathematical operators from dxbase + +12-APR-1996 Applied suggestions of Daniel Taupin to dxrlwest and dxruwest + (Fine tuning of some accent positions) + dxrlwest.mf: Removed superfluos vround from lowercase edh + Played around with the shape of the sharp s: Made upper bowl + pos 4 lighter, moved pos 4 a bit leftwards. + Increased width of guillemets. Changed `guillemot' to + `guillemet' in order not to copy A*'s spelling error. + +28-FEB-1996 Applied fixes from cm85.bug + dxrulett.mf, letter J: pickup tiny.nib; bulb(3,4,5); % bulb + ditto for dxspl.mf and dxrueast.mf (IJ) + dxrllett.mf, dxrulett.mf letters w and W: + else: fill diag_end(6r,5r,1,1,5l,6l)--.9[z5l,z6l] + ..{z5-z6}.1[z5r,z6r]--cycle; % middle stem + dxrllett.mf, letter m: + lft x1l=hround(2.5u-.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 + dxrulett.mf, letter Q: Added penlabel No. 8 + dxrllett.mf, letter i: Care for rounder dots + dxbase.mf: Use adjust_fit routines from cmbase1992 + dxilwest.mf, dxrlwest.mf: Corrected italic correction of edh + +*********** Release of dc 1.2 Patchlevel 1 ************************************* +17-NOV-1995 Fixed bug #20: + Introduced ligature <hyphen> + <hyphenchar> ---> <hyphenchar> + Fixed bug #3: (Font identifier of dcci) + Fixed bug #14: Disappearing hairline of digit `8' + by applying fix to cm fonts of 1989. + From #15: Fix to italic l: + old: top y1=h; x1=x2; filldraw stroke z1e--z2e; % stem + new: top y1=h; x1=x2; filldraw stroke z1e--z2'e; % stem + Did the same to \l, \'l and \v l in dxleast.mf + Marked Fixed and partially fixed bugs in 00bugs.txt + + 6-NOV-1995 Released file 00bugs.txt with list of `known bugs' + +*********** Release of dc 1.2 ************************************************** +31-AUG-1995 Adjusted german scharfes s + Tuned spread for dcbx + Adjusted semicolon + Removed unused parameter uu# from parameter files and + from dxbase + Restored line | forsuffixes $=notch_cut,cap_notch_cut: if $<3: + $:=3; fi endfor| in dxbase from cmbase. + Did some finish: file headers, documentation files, + deletion of old files + +28-AUG-1995 Added kerning Wn and Vn (polish/russian proper names) + Kern italic "W" like "V" instead of "T" + +24-AUG-1995 Made dcsi and dcso conformant with dcss and dcsx + Made single size parameter files for dcssdc10.mf, + dcsq8.mf, dcqi8.mf, dclq8.mf, and dcli8.mf + Added invisible fonts idclq8.mf and idcli8.mf + Deleted old files dcssdc.mf, dcqi.mf and dcsq.mf + Made SliTeX-style `I' work + Added boolean parameter |one_serif| to control base + serif on digit `1' + Added parameters for dcfb0500 (Fibonacci font), corrected + basesizes to be Fibonacci numbers. + |notch_cut#| and |cap_notch_cut#| are measured in |pt#|, not + in |1/36pt#|. Corrected in several parameter files. + Tuned again the sans parameters, this time for small sizes; + dcsx0500 works now, but it is more condensed than dcss0500 + +17-AUG-1995 Changed positions 6, 7, and 6' of capital R from |vair| to + |.5[vair,cap_band]|, because |vair| looks too thin at 99.99pt + Undid the previous change again, since it causes more trouble + at low sizes than it saves a really large ones. + Changed |math_spread| in cmr to [-.2] for 17.28pt + Did the same for dcsl, dcss, and dcsi + Completely retuned the parameters for sans serif fonts. + dcsx is now always bolder then dcss, dcss much brighter + then in release 1.1 + Tuned height of acute accent again. + +16-AUG-1995 Added some sidebearings to the double quotes + Added kerning for kV, kW, mV, mW, eV, Vv (Vvedensky) + Added kerning for \'n, \v{n}, \eng, and \~n + Added kerning for ,,j, ,,g, and ,,y + Added kerning between boundarychar and quotes + Defined |lig_O_table| and |lig_C_table| + Added kerning between Av and Aw + Added some special kerning for \l and \k{a} + Added `, ``, and '' to the characters with special kerning + after f and ff + Corrected bugs in |lig_a_table| and |lig_o_table| for roman + fonts + Added kernings for boundarychar and quotes for italic fonts + Added \AE to |lig_A_table| for italic fonts + +22-JUL-1995 Included renovated section sign from txsymbol + Added missing penlabel (9) to italic \dj + Included new shape of sharp s from fc fonts, added boolean + switch |classic_sharp_s| to decide between old and new shape + +16-JUL-1995 Introduced |accent_gap| in Capital letter U with ring + Corrected height of uppercase hachek for sans serif case + Changed definition of uc_acc_height# + dxcsc now recalculates the pseudoparameters for the lowercase + settings, this fixes a problem with \sc{\^o} + Moved acute on `i' a little to the left + +11-JUL-1995 Deleted macro |pi_stroke| from dxbase + Renamed second argument of the circle accent macros to + |y_bottom| (was |y_center| bzw. |y_move|, which gives a + wrong impression of its function) + Deleted pens and macros needed for calligraphic letters only + from dxbase + Replaced the original cm accents in dxaccent.mf with the + lowercase version used in the precomposed letters + Made proviso for dot accent in dxaccess + Adjusted height of a and g with breve + Removed no longer needed accent macros from dxbase + Adjusted height of accent macros in dxbase + Introduced |accent_gap| into dxbase, it is a little dirty + at the moment, but I can be sure that it is known when needed (jk) + +10-JUL-1995 Minor fix to |put_dot| in dxaccess + + 3-JUL-1995 Corrected fudge in dcss.mf (the value for 17.28 is changed + from 1 to 0.965). This gives good results upto 99.99 pt + (Problem reported by Klaus Barthelmann, Mainz). + There is another problem with the parameters left, + causing the `=' sign to collapse at large sizes, ditto + with `#', `>', and `<'. (jk) + +19-JUN-1995 Corrected height of S with cedilla + Finally got the hachek on typewriter capitals looking okay + +18-JUN-1995 Made provision for tc blank symbol in dxaccess.mf + Added humanist design for blank space in serifed fonts + Changed the height of the blank space sign to reduce the + number of different heights in the font + Corrected height of T with cedilla + Made dotted capital I consistent with dotted capital Z (jk) + +17-JUN-1995 Made hyphenchar hanging iff not monospace (dxbraces.mf) + Adjusted height of lowercase umlaut (dxbase.mf, dxpseudo.mf) (jk) + +16-JUN-1995 Changed the naming scheme of dc fonts. Edited dcstdedt + appropriately, renamed the driver files + Zeroed depth of italic digit 7 (compare Knuth's remark at the + end of cm85.bug) + Changed the quotation marks to sit symetrically in their + boxen (dxpunct.mf) + Corrected boundary box of german opening quotes (dxpunct.mf) (jk) + +29-MAY-1995 Included fine tuning from polkap.mf (plfonts: driver for + caps'n'small caps) into dxcsc.mf + Replaced capital Eng with the one from the fc fonts and + deleted macro eng_stroke from dxbase.mf + Modelled grave after the acute accent (dxaccess.mf) + Changed all letters with grave accent (jk) + +19-MAY-1995 Completed preparations for sans typewriter + Changed acute accent to agree with plfonts + Changed all letters with acute to agree with plfonts + Removed comment in dxbraces (same slope as in the acute accent) + since the acute accent was changed + Deleted |uppercase_acute| from dxbase.mf + Changed the Hungarian long umlaut to be consistent with + the new acute accent (jk) + + 7-MAY-1995 Replaced all settings of dot_diam# and dot_diam in the dc + fonts by pseudoparameters. + Removed all initialisations of heavy_hair + Introduced pseudoparameter lc_trema_height# from csfonts + Introduced boolean variable slitex (controls serifs on + capital I) + Introduced preparations for sans serif typewriter shape + (Serifs on I, upper serif on i and l if monospace [not completed]) + Included some czech and slovak letter from csfonts + Included macros form csaccent.mf in dxaccess.mf (jk) + +22-APR-1995 Fixed more classic_serif bugs (dotless i and j) + Created dxpseudo.mf containing some pseudoparameters + Modified for test purposes the dot_height in dcr.mf (jk) + +21-APR-1995 Created dxaccess.mf from pl_dod.mf (plfonts) + Included polish special letters from plfonts + Included guillemets from plfonts + Modified the driver files to use dxaccess + Minor bug fix: Changed `enj' to `eng' in dxrleast and dxileast + Ditto: Changed `Italic letter d' to `... with hachek' in dxileast + Fixed some if classical_serif bugs (r with acute and hachek in + dxileast, i with circumflex in dxilwest) + Called italic classic serif fonts dcci* and added them to + dcstdedt.tex (jk) + +19-APR-1995 Edited off all Ctrl-Z's + Replaced lowercase edh with fixed version by Yannis + Replaced lowercase thorn with Knuth's version from cmman + Changed base serif to extend also to the right of the stem + Replaced dcb.mf with improved version by Tomas Vanhala + Applied bug fix to pounds sign + Fixed lig_a_table to contain oct"240" instead of oct"242" (\c c) + Added ligtables for monospaced fonts (dxmligtb.mf) (jk) + +Long ago: Edited stdedt.tex to produce all magstep sizes + Inserted endinput; to suppress Ctrl-Z + Fixed ?` and !` in the ligtable (jk) + +End. diff --git a/fonts/ec/src/dcdoc.tex b/fonts/ec/src/dcdoc.tex new file mode 100644 index 0000000000..f343e28553 --- /dev/null +++ b/fonts/ec/src/dcdoc.tex @@ -0,0 +1,632 @@ +% dcdoc.tex +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% It will be replaced by better documentation when I find the time +% to write it. +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in dcdoc.tex (needs LaTeX2e) +% +\NeedsTeXFormat{LaTeX2e} +\documentclass{article} +\usepackage{mflogo} +\usepackage[T1]{fontenc} +\defaulthyphenchar='0177 % use hanging hyphenation +\renewcommand{\-}{\discretionary{\char'0177 }{}{}} +\newcommand{\nicefrac}[2]{\leavevmode\kern.1em +\raise.5ex\hbox{\the\scriptfont0 #1}\kern-.1em +/\kern-.15em\lower.25ex\hbox{\the\scriptfont0 #2}} +\newcommand{\ordmale}{\raise1ex\hbox{\underbar{\scriptsize o}}} +\newcommand{\ordfemale}{\raise1ex\hbox{\underbar{\scriptsize a}}} +\newcommand{\cwm}{\char'027} +\title{The European Computer Modern Fonts\\ + --- Documentation ---} +\author{J\"org Knappen\\ + Barbarossaring 43\\ + 55118 Mainz\\ + email: \texttt{knappen@vkpmzd.kph.uni-mainz.de}} +\date{1--JUN--1996} +\begin{document} +\maketitle +\section{Introduction} +\subsection{The \textsf{dc} fonts} +In 1990 at the TUG meeting at Cork, Ireland, the european \TeX\ user groups +agreed on a 256 character incoding supporting many european languages with +latin writing. This encoding is both an \emph{internal encoding} for \TeX\ % +and a \emph{font encoding}. This double nature is a consequence of the fact, +that both kind of encodings cannot be entirely separated within \TeX. + +The design goals of the Cork encoding are to allow as many languages as +possible to be hyphenated correctly and to guarantee correct kerning for +those languages. Therefore it includes many ready-made accented letters. + +It also includes some innovative features, which have not become very +popular yet, though they deserve to become so. First to mention is a +special, zero width invisible character, the compound word mark (cwm). +Its design purpose is to assist correct hyphenation at morpheme boundaries, +which can occur in minimal pairs (e.\,g. german \emph{Wachs-tube} vs. +\emph{Wach-stube}), if the previous example is typeset in \emph{fraktur} +different styles of the letter `s' are needed. + +In the new version dc 1.3 I have given the cwm a height, namely x-height, +in order be function as a carrier of accents which are placed +between letters like in the german abbreviature \emph{-b\u\cwm g.} +(\emph{-burg}). + +The second innovative feature is the separation of the two characters +$<$hyphen$>$ and $<$hyphenchar$>$. The hyphenchar is designed as a +hanging hyphen, giving a smother text boundary. + +The final version of the Cork encoded fonts will be called \textsf{ec} +(European Computer Modern or Extended Computer Modern) fonts. The current +version, \textsf{dc 1.3}, is the last intermediate step towards the +final version. Note, that in the cause of bug fixes and improvements, the +metrics may change. After the renaming to \textsf{ec} the metrics will +remain stable, as the metrics of the \textsf{cm} fonts do. + +\subsection{The \textsf{tc}-fonts} +The need for a text companion font was first articulated in the discussion +of new 256 character mathematical fonts in 1993. In order to achieve a +better orthogonality between text and math, some text +symbols stored in the math fonts should be moved to the text companion +fonts\footnote{The archives of the +math-font-discuss mailing list are available for ftp on +\texttt{ftp.cogs.susx.ac.uk} in directory \texttt{pub/tex/mathfont}.}. +The text companion fonts are also the ideal place to store some new +characters, like currency symbols. + +There are now 108 characters in the \textsf{tc} fonts, including +special uppercase versions of the accents, oldstyle digits, +genealogical symbols, footnote symbols, currency symbols and +other custom characters. The selection is unique and superior +to most commercially available expert sets. + +\section{Supported languages} +The following languages are supported by the Cork encoding: +Afrikaans, Albanian, Breton, Croat, Czech, Danish, Dutch, English, Estonian, +Faroese, Fin\-nish, French, Frisian, Gaelic, Galician, German, Greenlandic, +Hungarian, Icelandic, Irish (modern orthography), Italian, Letzeburgish, +Lusatian (Sorbian), Norwegian, Polish, Portuguese, Rhaetian (Rumantsch), +Rumanian, Slovak, Slo\-ve\-ne, Spanish, Swedish, Turkish. Many non-european +languages using the standard latin alphabet (e.\,g. Bahasa Indonesia, +Suaheli) are also supported. + +In europe, the following languages aren't supported: Azeri, Basque, +Catalan, Esperanto, Irish (old orthography), Latvian, Lithuanian, Maltese, +Sami, Welsh. Of course, Greek and all languages with cyrillic writing are +outside the scope of the Cork encoding. + +\section{Standard Control Sequences} + +The following standard control sequences are assigned with \LaTeX's +\texttt{T1} encoding for the \textsf{dc} fonts:\\ +\texttt{\string\r} Ring accent (\texttt{\string\r\ u} gives \r{u})\\ +\texttt{\string\k} Ogonek (\texttt{\string\k\ e} gives \k{e})\\ +\texttt{\string\dh}, \texttt{\string\DH} Icelandic letter edh (\dh, \DH)\\ +\texttt{\string\dj}, \texttt{\string\DJ} Letter d with stroke (\dj, \DJ)\\ +\texttt{\string\ng}, \texttt{\string\NG} Letter eng (\ng, \NG)\\ +\texttt{\string\th}, \texttt{\string\TH} Icelandic letter thorn (\th, \TH).\\ + +To load the \textsf{tc} fonts, use the \texttt{textcomp}-package, which +provides control sequences for all the included symbols. + +\section{Ligatures} +In the proportional fonts, the following ligatures are implemented:\\ +\begin{tabbing} +\verb:---: \=--- (em dash) \kill +\verb:--: \>-- (en dash)\\ +\verb:---: \>--- (em dash)\\ +\verb:``: \>`` (english opening quotes, german closing quotes)\\ +\verb:'': \>'' (english and polish closing quotes)\\ +\verb:,,: \>,, (german and polish opening quotes)\\ +\verb:<<: \><< (french opening quotes)\\ +\verb:>>: \>>> (french closing quotes)\\ +\verb:!`: \>!` (spanish opening exclamation mark)\\ +\verb:?`: \>?` (spanish opening question mark)\\ +\verb:fi: \>fi\\ +\verb:ff: \>ff\\ +\verb:fl: \>fl\\ +\verb:ffi: \>ffi\\ +\verb:ffl: \>ffl +\end{tabbing} + +In the typewriter fonts, the following ligatures are implemented: +\begin{tabbing} +\verb:---: \=--- (em dash) \kill +\verb:--: \>\texttt{--} (en dash or number range dash)\\ +\verb:---: \>\texttt{---} (em dash)\\ +\verb:``: \>\texttt{``} (english opening quotes, german closing quotes)\\ +\verb:'': \>\texttt{''} (english and polish closing quotes)\\ +\verb:,,: \>\texttt{,,} (german and polish opening quotes)\\ +\verb:<<: \>\texttt{<<} (french opening quotes)\\ +\verb:>>: \>\texttt{>>} (french closing quotes)\\ +\verb:!`: \>\texttt{!`} (spanish opening exclamation mark)\\ +\verb:?`: \>\texttt{?`} (spanish opening question mark) +\end{tabbing} + +The convention on the dashes suites british usage for number range dashes +best and does not interfer with any other known usage. In verbatim mode, +all ligatures are switched off. + +\section{Hints on usage} + +The \textsf{dc} fonts are intended for text usage in european languages. +The Cork font encoding is selected with the command +\verb:\usepackage[T1]{fontenc}: in \LaTeXe. + +The \textsf{tc} fonts are a multi-purpose font. Suggested usages include +verbatim setting of latin-1 and latin-2 listings, avoiding the so-called +``hidden math'' in text mode (that's the reason, why there are footnote +symbols in), providing building blocks for virtual fonts (oldstyle digits +are included for this reason), or just providing otherwise unavailable +symbols (like the permille sign). + +Some characters are primarily intended for verbatim listings, in plain text +they may be replaced with macros. These characters include the raised digits, +the fractions, the trademark sign, and the ordinal indicators. + +For text fractions, the following macro is suggested (from the \TeX book, +exercise 11.6): +\begin{verbatim} +\newcommand{\nicefrac}[2]{\leavevmode\kern.1em +\raise.5ex\hbox{\the\scriptfont0 #1}\kern-.1em +/\kern-.15em\lower.25ex\hbox{\the\scriptfont0 #2}} +\end{verbatim} +It can produce arbitrary fractions and is not restricted to some simple +cases, the output looks \nicefrac12, \nicefrac54, \nicefrac{17}{42}. + +For the ordinal indicators (\ordmale\ and \ordfemale), +the following macros are suggested (from +spanish.ldf, \textsf{babel} bundle): +\begin{verbatim} +\newcommand{\ordmale}{\raise1ex\hbox{\underbar{\scriptsize o}}} +\newcommand{\ordfemale}{\raise1ex\hbox{\underbar{\scriptsize a}}} +\end{verbatim} + +\section{Naming of the font files} +Currently, the extended computer modern font have the prefix \textsf{dc}. +This prefix will changew to \textsf{ec} with the final release after +another round of bug fixing. I hope to make the transition from \textsf{dc} +to \textsf{ec} in about one year. The text companion fonts have the prefix +\textsf{tc}, which is not subject to change. However, later releases may +included more characters and therefore have different checksums. No +characters shall be removed from the \textsf{tc} fonts. + +Most of the \textsf{dc} fonts can be generated at any size one want in the +range from 5pt to 100pt. For each size, a unique name is needed. + +With the release 1.2 of the \textsf{dc} fonts, a new, more precise naming +scheme is in effect. Since there are widely used operating sytems limiting +the file name to 8 character (plus an extension of 3 characters) the +following scheme is used: + +\begin{itemize} +\item The first two letters (either \texttt{dc} or \texttt{tc} denote + the encoding and the general design of the font. +\item The one or two following letters denotes the family, shape, and + series attributes of the font. E.\,g. \texttt{r} for roman, + \texttt{bx} for bold extended, \texttt{ti} for text italic, or + \texttt{bi} for bold extended italic. A complete overview is given + at the end of this section. +\item The following four digits give the design size in \TeX's points + multiplied with 100. E.\,g \texttt{1000} denotes tex point, + \texttt{1440} denotes magstep 2, i.\,e. 14.4 point, and + \texttt{0500} denotes five point. +\end{itemize} + +Here are the implemented styles: + +\textbf{Roman family:} \texttt{r} roman, \texttt{b} bold, \texttt{bx} bold +extended, \texttt{sl} slanted, \texttt{bl} bold extended slanted, +\texttt{cc} caps and small caps, \texttt{xc} bold extended caps and small +caps, \texttt{sc} slanted caps and small caps, \texttt{oc} oblique +(bold extended slanted) caps and small caps, +\texttt{ti} (text) italic, \texttt{bi} bold extended italic, +\texttt{u} unslanted +italic, \texttt{ci} classical serif italic (new design). + +\textbf{Sans serif family:} \texttt{ss} sans serif, \texttt{si} sans serif +inclined (slanted), \texttt{sx} sans serif bold extended, +\texttt{so} sans serif bold extended oblique (slanted). + +\textbf{Typewriter family:} \texttt{tt} typewriter, \texttt{tc} typewriter +caps and small caps, \texttt{st} slanted typewriter, +\texttt{it} italic typewriter. + +\textbf{Variable width typewriter family} +\texttt{vt} variable width typewriter, +\texttt{vi} variable width italic typewriter. + +\textbf{Various other fonts:} \texttt{bm} variant bold roman, +\texttt{dh} dunhill, \texttt{fb} Fibonacci parameters, \texttt{ff} funny, +\texttt{fi} funny italic. Expect errors with the funny fonts, they aren't +really worked out. + + +Here are some examples:\\ +\begin{tabular}{ll} +\texttt{dcr1000} & European computer modern roman at 10pt\\ +\texttt{tcr1000} & Text companion symbols roman at 10pt\\ +\texttt{dcss1728} & European computer modern sans serif at 17.28pt\\ +\texttt{dcbx0900} & European computer modern roman bold extended at 9pt +\end{tabular}\\[18pt] +Some remaining fonts come at one size only, those are\\ +\begin{tabular}{ll} +\texttt{dcssdc10} & sans serif demi-bold condensed\\ +\texttt{dcsq8} & sans serif quotation\\ +\texttt{dcqi8} & sans serif quotation inclined\\ +\texttt{dclq8} & latex sans serif quotation \\ +\texttt{dcli8} & latex sans serif quotation inclined\\ +\texttt{dclb8} & latex sans serif quotation bold\\ +\texttt{dclo8} & latex sans serif quotation oblique (bold inclined)\\ +\texttt{idclq8} & invisible latex sans serif quotation \\ +\texttt{idcli8} & invisible latex sans serif quotation inclined\\ +\texttt{idclb8} & invisible latex sans serif quotation bold\\ +\texttt{idclo8} & invisible latex sans serif quotation oblique. +\end{tabular}\\ +The last eight fonts are for the \textsf{slides} document class, which +replaces old \textsc{Sli}\TeX. They contain a special version of the capital +letter `I'. + +\appendix + +\section{The Cork Encoding} +\begin{tabbing} +position \= base double straight quotes\kill +position \> description \\ +(octal) \> \\ +\rule{\linewidth}{.4pt}\>\\ +Accents for lowercase letters\>\\ +\rule{\linewidth}{.4pt}\>\\ +000 \> grave \\ +001 \> acute \\ +002 \> circumflex\\ +003 \> tilde \\ +004 \> umlaut\\ +005 \> hungarian \\ +006 \> ring \\ +007 \> hachek\\ +010 \> breve \\ +011 \> macron\\ +012 \> dot above \\ +013 \> cedilla \\ +014 \> ogonek\\ +\rule{\linewidth}{.4pt}\>\\ +Miscellaneous\>\\ +\rule{\linewidth}{.4pt}\>\\ +015 \> single base quote \\ +016 \> single opening guillemet \\ +017 \> single closing guillemet \\ +020 \> english opening quotes \\ +021 \> english closing quotes \\ +022 \> base quotes \\ +023 \> opening guillemets \\ +024 \> closing guillemets \\ +025 \> en dash \\ +026 \> em dash \\ +027 \> compound word mark (invisible)\\ +030 \> perthousandzero\\ +031 \> dotless i\\ +032 \> dotless j\\ +033 \> ligature ff\\ +034 \> ligature fi\\ +035 \> ligature fl\\ +036 \> ligature ffi\\ +037 \> ligature ffl\\ +040 \> visible space\\ +\rule{\linewidth}{.4pt}\>\\ +ASCII\>\\ +\rule{\linewidth}{.4pt}\>\\ +041 \> exclamation mark\\ +042 \> straight quotes\\ +043 \> hash mark\\ +044 \> dollar sign\\ +045 \> percent sign\\ +046 \> ampersand\\ +047 \> apostroph\\ +050 \> opening parentheses\\ +051 \> closing parentheses\\ +052 \> asterisk\\ +053 \> plus sign\\ +054 \> comma\\ +055 \> hyphen (note: not minus sign)\\ +056 \> full stop\\ +057 \> solidus\\ +060 \> digit 0\\ +\dots\> \\ +071 \> digit 9\\ +072 \> colon\\ +073 \> semicolon\\ +074 \> less than sign\\ +075 \> equals sign\\ +076 \> greater than sign\\ +077 \> question mark\\ +080 \> commercial at\\ +081 \> capital letter A\\ +\dots\>\\ +132 \> capital letter Z\\ +133 \> opening square bracket\\ +134 \> backslash\\ +135 \> closing square bracket\\ +136 \> ASCII circumflex\\ +137 \> underscore\\ +140 \> opening quote (not ASCII grave!)\\ +141 \> lowercase letter a\\ +\dots\>\\ +172 \> lowercase letter z\\ +173 \> opening curly brace\\ +174 \> vertical bar\\ +175 \> closing curly brace\\ +176 \> ASCII tilde\\ +177 \> hyphenchar (hanging)\\ +\rule{\linewidth}{.4pt}\>\\ +Letters for eastern european languages (from latin-2)\>\\ +\rule{\linewidth}{.4pt}\>\\ +200 \> capital letter A with breve\\ +201 \> capital letter A eith ogonek\\ +202 \> capital letter C with acute\\ +203 \> capital letter C with hachek\\ +204 \> capital letter D with hachek\\ +205 \> capital letter E with hachek\\ +206 \> capital letter E with ogonek\\ +207 \> capital letter G with breve\\ +210 \> capital letter L with acute\\ +211 \> capital letter L with hachek\\ +212 \> capital letter crossed L\\ +213 \> capital letter N with acute\\ +214 \> capital letter N with hachek\\ +215 \> capital letter Eng\\ +216 \> capital letter O with hungarian double acute\\ +217 \> capital letter R with acute\\ +220 \> capital letter R with hachek\\ +221 \> capital letter S with acute\\ +222 \> capital letter S with hachek\\ +223 \> capital letter S with cedilla\\ +224 \> capital letter T with hachek\\ +225 \> capital letter T with cedilla\\ +226 \> capital letter U with hungarian double acute\\ +227 \> capital letter U with ring\\ +230 \> capital letter Y with diaeresis\\ +231 \> capital letter Z with acute\\ +232 \> capital letter Z with hachek\\ +233 \> capital letter Z with dot\\ +234 \> capital letter IJ\\ +235 \> capital letter I with dot\\ +236 \> lowercase letter d with bar\\ +237 \> section sign\\ +240 \> lowercase letter a with breve\\ +241 \> lowercase letter a with ogonek\\ +242 \> lowercase letter c with acute\\ +243 \> lowercase letter c with hachek\\ +244 \> lowercase letter d with hachek\\ +245 \> lowercase letter e with hachek\\ +246 \> lowercase letter e with ogonek\\ +247 \> lowercase letter g with breve\\ +250 \> lowercase letter l with acute\\ +251 \> lowercase letter l with hachek\\ +252 \> lowercase letter crossed l\\ +253 \> lowercase letter n with acute\\ +254 \> lowercase letter n with hachek\\ +255 \> lowercase letter eng\\ +256 \> lowercase letter o with hungarian double acute\\ +257 \> lowercase letter r with acute\\ +260 \> lowercase letter r with hachek\\ +261 \> lowercase letter s with acute\\ +262 \> lowercase letter s with hachek\\ +263 \> lowercase letter s with cedilla\\ +264 \> lowercase letter t with hachek\\ +265 \> lowercase letter t with cedilla\\ +266 \> lowercase letter u with hungarain double acute\\ +267 \> lowercase letter u with ring\\ +270 \> lowercase letter y with diaeresis\\ +271 \> lowercase letter z with acute\\ +272 \> lowercase letter z with hachek\\ +273 \> lowercase letter z with dot\\ +274 \> lowercase letter ij\\ +275 \> spanish inverted exclamation mark\\ +276 \> spanish inverted question mark\\ +277 \> pound sign\\ +\rule{\linewidth}{.4pt}\>\\ +Letters for western european languages (from latin-1)\>\\ +\rule{\linewidth}{.4pt}\>\\ +300 \> capital letter A with grave\\ +301 \> capital letter A with acute\\ +302 \> capital letter A with circumflex\\ +303 \> capital letter A with tilde\\ +304 \> capital letter A with diaeresis\\ +305 \> capital letter A with ring\\ +306 \> capital letter AE\\ +307 \> capital letter C with cedilla\\ +310 \> capital letter E with grave\\ +311 \> capital letter E with acute\\ +312 \> capital letter E with circumflex\\ +313 \> capital letter E with diaeresis\\ +314 \> capital letter I with grave\\ +315 \> capital letter I with acute\\ +316 \> capital letter I with circumflex\\ +317 \> capital letter I with diaeresis\\ +320 \> capital letter Edh (D with bar)\\ +321 \> capital letter N with tilde\\ +322 \> capital letter O with grave\\ +323 \> capital letter O with acute\\ +324 \> capital letter O with circumflex\\ +325 \> capital letter O with tilde\\ +326 \> capital letter O with diaeresis\\ +327 \> capital letter OE\\ +330 \> capital letter O with slash\\ +331 \> capital letter U with grave\\ +332 \> capital letter U with acute\\ +333 \> capital letter U with circumflex\\ +334 \> capital letter U with diaeresis\\ +335 \> capital letter Y with acute\\ +336 \> capital letter Thorn\\ +337 \> capital letter Sharp S (deviating from latin-1)\\ +340 \> lowercase letter a with grave\\ +341 \> lowercase letter a with acute\\ +342 \> lowercase letter a with circumflex\\ +343 \> lowercase letter a with tilde\\ +344 \> lowercase letter a with diaeresis\\ +345 \> lowercase letter a with ring\\ +346 \> lowercase letter ae\\ +347 \> lowercase letter c with cedilla\\ +350 \> lowercase letter e with grave\\ +351 \> lowercase letter e with acute\\ +352 \> lowercase letter e with circumflex\\ +353 \> lowercase letter e with diaeresis\\ +354 \> lowercase letter i with grave\\ +355 \> lowercase letter i with acute\\ +356 \> lowercase letter i with circumflex\\ +357 \> lowercase letter i with diaeresis\\ +360 \> lowercase letter edh\\ +361 \> lowercase letter n with tilde\\ +362 \> lowercase letter o with grave\\ +363 \> lowercase letter o with acute\\ +364 \> lowercase letter o with circumflex\\ +365 \> lowercase letter o with tilde\\ +366 \> lowercase letter o with diaeresis\\ +367 \> lowercase letter oe\\ +370 \> lowercase letter o with slash\\ +371 \> lowercase letter u with grave\\ +372 \> lowercase letter u with acute\\ +373 \> lowercase letter u with circumflex\\ +374 \> lowercase letter u with diaeresis\\ +375 \> lowercase letter y with acute\\ +376 \> lowercase letter thorn\\ +377 \> lowercase letter sharp s (deviating from latin-1) +\end{tabbing} + +\section{The Text Companion Encoding} + +\begin{tabbing} +position \= base double straight quotes\kill +position \> description \\ +(octal) \> \\ +\rule{\linewidth}{.4pt}\>\\ +Accents for capital letters\>\\ +\rule{\linewidth}{.4pt}\>\\ +000 \> grave \\ +001 \> acute \\ +002 \> circumflex\\ +003 \> tilde \\ +004 \> umlaut\\ +005 \> hungarian \\ +006 \> ring \\ +007 \> hachek\\ +010 \> breve \\ +011 \> macron\\ +012 \> dot above \\ +013 \> cedilla \\ +014 \> ogonek\\ +\rule{\linewidth}{.4pt}\>\\ +Miscellaneous\>\\ +\rule{\linewidth}{.4pt}\>\\ +015 \> base single straight quote\\ +022 \> base double straight quotes\\ +025 \> twelve u dash \\ +026 \> three quarters emdash\\ +027 \> capital cwm\\ +030 \> left pointing arrow \\ +031 \> right pointing arrow \\ +032 \> tie accent (lowercase)\\ +033 \> tie accent (capital) \\ +040 \> blank symbol \\ +044 \> dollar sign\\ +047 \> straight quote \\ +052 \> centered star \\ +054 \> comma\\ +056 \> full stop\\ +057 \> fraction \\ +\rule{\linewidth}{.4pt}\>\\* +Oldstyle digits \>\\* +\rule{\linewidth}{.4pt}\>\\* +060 \> oldstyle digit 0 \\ +061 \> oldstyle digit 1 \\ +062 \> oldstyle digit 2 \\ +063 \> oldstyle digit 3 \\ +064 \> oldstyle digit 4 \\ +065 \> oldstyle digit 5 \\ +066 \> oldstyle digit 6 \\ +067 \> oldstyle digit 7 \\* +070 \> oldstyle digit 8 \\* +071 \> oldstyle digit 9 \\ +\rule{\linewidth}{.4pt}\>\\ +Miscellaneous\>\\ +\rule{\linewidth}{.4pt}\>\\ +115 \> mho sign \\ +117 \> big circle \\ +127 \> ohm sign \\ +136 \> arrow up \\ +137 \> arrow down \\ +140 \> backtick (ASCII grave) \\ +142 \> born \\ +144 \> died \\ +154 \> leaf \\ +155 \> married \\ +156 \> musical note\\ +176 \> low tilde \\ +177 \> short equals\\ +\rule{\linewidth}{.4pt}\>\\ +TS1-symbols \>\\ +\rule{\linewidth}{.4pt}\>\\ +200 \> ASCII-style breve \\ +201 \> ASCII-style hachek\\ +202 \> double tick (ASCII double acute) \\ +203 \> double backtick \\ +204 \> dagger \\ +205 \> ddager \\ +206 \> double vert \\ +207 \> perthousand\\ +210 \> bullet \\ +211 \> centigrade \\ +212 \> dollaroldstyle\\ +213 \> centoldstyle\\ +214 \> florin \\ +215 \> colon \\ +216 \> won \\ +217 \> naira \\ +220 \> guarani \\ +221 \> peso \\ +222 \> lira \\ +223 \> recipe \\ +224 \> interrobang \\ +225 \> gnaborretni \\ +226 \> dong sign \\ % vietnamese currency +227 \> trademark \\ +\rule{\linewidth}{.4pt}\>\\* +Symbols from ISO-8859-1 (latin-1)\>\\* +\rule{\linewidth}{.4pt}\>\\* +242 \> cent \\* +243 \> sterling \\ +244 \> currency sign \\ +245 \> yen \\ +246 \> broken vertical bar \\ +247 \> section sign \\ +250 \> high dieresis\\ +251 \> copyright \\ +252 \> feminine ordinal indicator \\ +254 \> logical not \\ +256 \> circled R \\ +257 \> macron\\ +260 \> degree sign \\ +261 \> plus-minus sign \\ +262 \> superscript 2 \\ +263 \> superscript 3 \\ +264 \> tick (ASCII-style acute) \\ +265 \> micro sign \\ +266 \> pilcrow sign \\ +267 \> centered dot \\ +271 \> superscript 1\\ +272 \> masculine ordinal indicator\\ +274 \> fraction one quarter\\ +275 \> fraction one half \\ +276 \> fraction three quarters\\ +326 \> multiplication sign (times) \\ % in fact misplaced +366 \> division sign \\ % in fact misplaced +\rule{\linewidth}{.4pt}\>\\ +\end{tabbing} + +\end{document} + diff --git a/fonts/ec/src/ec-chg.txt b/fonts/ec/src/ec-chg.txt new file mode 100644 index 0000000000..2d3566ff36 --- /dev/null +++ b/fonts/ec/src/ec-chg.txt @@ -0,0 +1,25 @@ +% ec-chg.txt +% +% (c) Copyright 1997, 2012 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) + +This file documents changes to the ec and tc fonts after 1-FEB-1997 + + 5-JAN-2012 Removed the condition that the original files have to + be distributed together with derived changed files + from the licence in copyrite.txt (On request from the Free + Software Foundation) + + 5-JAN-2012 On this occasion, I updated my address in copyrite.txt + All my old e-mail addresses are invalid now. A current + one is jknappen@web.de + + 1-FEB-1997 Opened this file. Made minor corrections to the readme files. + Note the new e-mail adress: joerg.knappen@uni-mainz.de + The old one will remain valid for some time. diff --git a/fonts/ec/src/ecbi.mf b/fonts/ec/src/ecbi.mf new file mode 100644 index 0000000000..d0d733a139 --- /dev/null +++ b/fonts/ec/src/ecbi.mf @@ -0,0 +1,92 @@ +% ecbi.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Bold Extended Text Italic +% +% +font_identifier:="ECBXTI"; +font_size gensize*pt#; +basedef ( 7, 8, 9, 10, 12, 14.40, 17.28, 24.88, 35.83); +gendef [1/36pt#]( u# )( 16, 18, 19.56, 21.2, 24.8, 28.9, 37.2, 49.59, 67.6); +gendef [1/36pt#]( width_adj# )( 8.6, 9.4, 10.2, 11, 13, 15, 19.5, 26, 35.45); +serif_fit# :=0pt#; +gendef [1/36pt#]( cap_serif_fit# )( 4.6, 5.4, 6.2, 7, 8, 9.3, 12, 16, 21.8); +gendef [1/36pt#]( letter_fit# )( 8.8, 9.5, 10.22, 11, 13, 15.12, 19.48, 25.98, 35.42); +gendef [1/36pt#]( body_height# )( 189, 216, 243, 270, 324, 378, 486, 648, 972); +gendef [1/36pt#]( asc_height# )( 175, 200, 225, 250, 300, 350, 450, 600, 900); +gendef [1/36pt#]( cap_height# )(172.2, 197.6, 222.3, 247, 296.4, 345.8, 444.6, 592.8, 889); +gendef [1/36pt#]( fig_height# )(162.4, 185.6, 208.8, 232, 278.4, 324.8, 417.6, 556.8, 835); +gendef [1/36pt#]( x_height# )( 112, 128, 144, 160, 192, 224, 288, 384, 576); +gendef [1/36pt#]( math_axis# )( 63, 72, 81, 90, 108, 126, 162, 216, 324); +gendef [1/36pt#]( bar_height# )( 60.9, 67, 76, 85, 102, 119, 153, 204, 306); +gendef [1/36pt#]( comma_depth# )( 49, 56, 63, 70, 84, 98, 126, 168, 252); +gendef [1/36pt#]( desc_depth# )( 49, 56, 63, 70, 84, 98, 126, 168, 252); +gendef [1/36pt#]( acc_height# )( 52.5, 60, 67.5, 75, 90, 105, 120, 150, 210); +gendef [1/36pt#]( dot_height# )( 52.5, 60, 67.5, 75, 90, 105, 120, 150, 210); +gendef [1/36pt#]( udot_height# )( 28.5, 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 12, 12, 13, 13, 13, 11, 13, 13, 13); +gendef [1/36pt#]( tiny# )( 12, 12, 13, 13, 13, 13, 13, 13, 13); +gendef [1/36pt#]( fine# )( 10, 10, 10, 10, 10, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 10, 10, 10, 10, 10.5, 12.25, 15.75, 21, 28); +gendef [1/36pt#]( hair# )( 18.6, 19, 19.4, 20, 21.5, 25, 32.22, 42.26, 57.5); +gendef [1/36pt#]( stem# )( 30, 32, 34.7, 38, 43, 50.08, 64.43, 85.9, 117); +gendef [1/36pt#]( curve# )( 33, 36, 39.6, 43, 48, 55.98, 72, 95, 130); +gendef [1/36pt#]( ess# )( 26, 29, 31.8, 35, 40, 46.6, 60, 80, 109); +gendef [1/36pt#]( flare# )( 34, 36, 38.6, 42, 47, 54.97, 70.45, 94, 128); +gendef [1/36pt#]( dot_size# )( 38, 43, 48, 53, 58, 67.6, 87, 116, 158); +gendef [1/36pt#]( cap_hair# )( 19, 20, 21, 22, 23, 26.79, 34.5, 46, 62.6); +gendef [1/36pt#]( cap_stem# )( 37, 41, 45, 49, 54.7, 63.77, 82, 109, 148.6); +gendef [1/36pt#]( cap_curve# )( 38, 43, 47.6, 52, 57, 66.4, 85, 114, 155); +gendef [1/36pt#]( cap_ess# )( 36, 40.4, 45.5, 50, 55.5, 64.67, 83, 111, 151); +gendef [pt#]( rule_thickness#)( .51, .54, .57, .6, .66, .77, .99, 1.3, 1.8); +gendef [1/36pt#]( dish# )( 1, 1, 1, 1, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 7, 8, 9, 10, 12, 14, 18, 24, 36); +gendef [1/36pt#]( jut# )( 17, 20, 23.3, 27, 32, 37, 47.7, 63.6, 95.4); +gendef [1/36pt#]( cap_jut# )( 27, 31, 35, 39, 46, 53.6, 69, 92, 125); +gendef [1/36pt#]( beak_jut# )( 7.3, 8.5, 9.29, 10, 11.3, 13.17, 17, 21.86, 30); +gendef [1/36pt#]( beak# )( 47, 55, 62, 70, 84, 98, 126, 168, 252); +gendef [1/36pt#]( vair# )( 11.5, 12, 12.5, 13, 14.3, 16.68, 21.45, 28, 39); +gendef [pt#]( notch_cut# )( 7, 8, 9, 10, 12, 14, 18, 24, 36); +gendef [1/36pt#]( bar# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [1/36pt#]( slab# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [1/36pt#]( cap_bar# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [1/36pt#]( cap_band# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [pt#]( cap_notch_cut# )( 7, 8, 9, 10, 12, 14, 18, 24, 36); +gendef [1/36pt#]( serif_drop# )( 2.1, 2.4, 2.7, 3, 3.6, 4.2, 5.4, 7.2, 10.8); +gendef [1/36pt#]( stem_corr# )( 1.7, 1.8, 1.9, 2, 2, 2, 2, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1.2, 1.3, 1.4, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 5, 6, 7, 8, 9, 9.5, 10, 12, 16.3); +gendef [1/36pt#]( apex_o# )( 3, 3.5, 4, 4.5, 5, 5.6, 6, 8, 10.9); +slant:=1/4; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.1, .9, .7, .5, .4, .46, .41, .31, .23); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate extextit + +endinput; diff --git a/fonts/ec/src/ecbl.mf b/fonts/ec/src/ecbl.mf new file mode 100644 index 0000000000..85ad7070a4 --- /dev/null +++ b/fonts/ec/src/ecbl.mf @@ -0,0 +1,92 @@ +% ecbl.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Bold Extended Slanted Roman +% +% +font_identifier:="ECBXSL"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.5, 16.2, 17.9, 19.6, 21.3, 23, 27); +gendef [1/36pt#]( width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8); +gendef [1/36pt#]( letter_fit# )( 3, 2, 1, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 19, 23, 27, 31, 35, 39, 46); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=1/6; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .5); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecbm.mf b/fonts/ec/src/ecbm.mf new file mode 100644 index 0000000000..f3b628f9ec --- /dev/null +++ b/fonts/ec/src/ecbm.mf @@ -0,0 +1,90 @@ +% ecbm.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% This is an experimental file, just for fun, +% + +if unknown exbase: input exbase fi + +font_identifier:="ECBOM"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 9.5, 11, 12.5, 14, 15.5, 17, 20.5, 29.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.5, 5.1, 5.6, 6, 6.8, 9); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, .1, .1, .1, .1, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 36.5, 45.2, 57.9, 62.6, 71.3, 80, 96.4, 143); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( .8, .9, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 29, 31, 33, 35, 37, 38, 41, 46); +gendef [1/36pt#]( curve# )( 28, 30.5, 33, 35.5, 38, 40, 43, 51); +gendef [1/36pt#]( ess# )( 22, 27, 31, 33, 35, 37, 34, 45); +gendef [1/36pt#]( flare# )( 28, 30, 33, 36, 39, 42, 45, 54); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 5, 5.5, 6, 6.5, 7, 8, 8.5, 10); +gendef [1/36pt#]( cap_stem# )( 21, 26, 30, 34, 38, 42, 45, 50); +gendef [1/36pt#]( cap_curve# )( 32, 35, 38, 41, 44, 48, 51, 59); +gendef [1/36pt#]( cap_ess# )( 21, 26, 30, 34, 38, 42, 45, 50); +gendef [pt#]( rule_thickness#)( .48, .51, .54, .56, .58, .6, .64, .8); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( .6, .68, .76, .84, .92, 1, 1.14, 1.5); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [1/36pt#]( slab# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [1/36pt#]( cap_bar# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [1/36pt#]( cap_band# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +superness:=.76; +superpull:=1/6; +beak_darkness:=15/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecbx.mf b/fonts/ec/src/ecbx.mf new file mode 100644 index 0000000000..2245281afd --- /dev/null +++ b/fonts/ec/src/ecbx.mf @@ -0,0 +1,92 @@ +% ecbx.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Bold Extend Roman +% +% +font_identifier:="ECBX"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.5, 16.2, 17.9, 19.6, 21.3, 23, 27); +gendef [1/36pt#]( width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8); +gendef [1/36pt#]( letter_fit# )( 3, 2, 1, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 19, 23, 27, 31, 35, 39, 46); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .5); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman; + +endinput; diff --git a/fonts/ec/src/eccc.mf b/fonts/ec/src/eccc.mf new file mode 100644 index 0000000000..46c8bb325d --- /dev/null +++ b/fonts/ec/src/eccc.mf @@ -0,0 +1,119 @@ +% eccc.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Caps and Small Caps +% +% +font_identifier:="ECCSC"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 13.5, 15, 16.5, 18, 19.5, 21, 24.5, 33.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 5, 5, 5, 5, 5, 5, 5); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 41); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 40); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 48); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +gendef [1/36pt#]( lower.u# )( 8.5, 10, 11.5, 13, 14.5, 16, 19.5, 28.5); +gendef [1/36pt#]( lower.width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( lower.cap_serif_fit# )( 1, 1.8, 2.5, 3.1, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( lower.letter_fit# )( 2.4, 2.4, 2.4, 2.4, 2.4, 2.4, 2.4, 2.4); +gendef [1/36pt#]( lower.body_height# )( 65, 92, 119, 146, 173, 200, 254, 396); +gendef [1/36pt#]( lower.cap_height# )( 94, 105, 121.2, 135.8, 160.4, 185, 226, 335); +gendef [1/36pt#]( lower.x_height# )( 38.5, 54, 69.5, 85, 100.5, 116, 147, 228.8); +gendef [1/36pt#]( lower.bar_height# )( 21.5, 30.2, 38.9, 47.6, 56.3, 65, 82.4, 128); +gendef [1/36pt#]( lower.comma_depth# )( 17, 24, 31, 38, 45, 52, 64, 103); +gendef [1/36pt#]( lower.flare# )( 11, 13, 16, 19, 22, 25, 28, 37); +gendef [1/36pt#]( lower.dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( lower.cap_hair# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 9.6, 11.1); +gendef [1/36pt#]( lower.stem# )( 12, 14, 16, 18, 20, 21, 24, 29); +gendef [1/36pt#]( lower.cap_stem# )( 13, 15.5, 18, 20.5, 23, 26, 29, 34); +gendef [1/36pt#]( lower.cap_curve# )( 15, 18, 21, 24, 27, 31, 34, 42); +gendef [1/36pt#]( lower.cap_ess# )( 7, 12, 16, 20, 24, 28, 31, 36); +gendef [1/36pt#]( lower.cap_jut# )( 9, 12, 15, 18, 22, 26, 30, 39); +gendef [1/36pt#]( lower.beak_jut# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8.4, 12); +gendef [1/36pt#]( lower.beak# )( 17, 24, 31, 38, 45, 52, 66, 103); +gendef [1/36pt#]( lower.slab# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 10.6, 14.1); +gendef [1/36pt#]( lower.cap_bar# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 10.6, 14.1); +gendef [1/36pt#]( lower.cap_band# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 10.6, 14.1); +gendef [pt#]( lower.cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( lower.o# )( 1, 1.5, 2, 3, 4, 5, 6, 7); +gendef [1/36pt#]( lower.apex_o# )( 0, .5, 1, 2, 3, 4, 5, 6); +gendef ( lower.fudge )( 1, 1, 1, 1, 1, 1, 1, 1); + +clear_extra_memory; + +generate excsc + +endinput; diff --git a/fonts/ec/src/ecci.mf b/fonts/ec/src/ecci.mf new file mode 100644 index 0000000000..4a5cbbd274 --- /dev/null +++ b/fonts/ec/src/ecci.mf @@ -0,0 +1,93 @@ +% ecci.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Text Classical Serif Italic +% +% +font_identifier:="ECCI"; +font_size (gensize*pt#); +basedef ( 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.8, 15.8, 17, 18.4, 21.6); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3.5, 4.1, 4.6, 5, 5.8); +gendef [1/36pt#]( letter_fit# )( 9.4, 7.9, 8.5, 9.2, 10.8); +gendef [1/36pt#]( body_height# )( 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 172.2, 196.8, 221.4, 246, 295.2); +gendef [1/36pt#]( fig_height# )( 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 108.5, 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 60.9, 69.6, 78.3, 87, 104.4); +gendef [1/36pt#]( comma_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( tiny# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 6, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 6, 7, 7, 7, 7.5); +gendef [1/36pt#]( hair# )( 10.5, 11, 11, 11, 12); +gendef [1/36pt#]( stem# )( 18.5, 20, 22, 23, 26); +gendef [1/36pt#]( curve# )( 21.5, 23.5, 26, 28, 31); +gendef [1/36pt#]( ess# )( 21, 23, 25, 27, 29); +gendef [1/36pt#]( flare# )( 21, 24, 26, 29, 32); +gendef [1/36pt#]( dot_size# )( 29, 32, 35, 38, 42); +gendef [1/36pt#]( cap_hair# )( 9, 9.5, 10, 11, 11.5); +gendef [1/36pt#]( cap_stem# )( 21.5, 23.5, 26, 29, 32); +gendef [1/36pt#]( cap_curve# )( 24.5, 27, 30, 34, 37); +gendef [1/36pt#]( cap_ess# )( 21, 24, 27, 31, 34); +gendef [pt#]( rule_thickness#)( .34, .36, .38, .4, .44); +gendef [1/36pt#]( dish# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 14, 16, 18, 20, 24); +gendef [1/36pt#]( jut# )( 21, 24, 27, 30, 35); +gendef [1/36pt#]( cap_jut# )( 24, 27, 30.5, 34, 38); +gendef [1/36pt#]( beak_jut# )( 7.4, 7.9, 8.5, 9, 10.4); +gendef [1/36pt#]( beak# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( vair# )( 7, 8, 8, 8, 8.5); +gendef [pt#]( notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( slab# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_band# )( 9, 9.5, 10, 11, 12.5); +gendef [pt#]( cap_notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 2.8, 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( stem_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 5, 6, 7, 8, 9); +gendef [1/36pt#]( apex_o# )( 5, 6, 7, 8, 9); +slant:=1/4; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )( .6, .4, .2, 0, [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +classic_serif:=true; + +clear_extra_memory; + +generate extextit + +endinput; diff --git a/fonts/ec/src/ecdh.mf b/fonts/ec/src/ecdh.mf new file mode 100644 index 0000000000..9c9a3ef4b3 --- /dev/null +++ b/fonts/ec/src/ecdh.mf @@ -0,0 +1,92 @@ +% ecdh.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Dunhill Roman +% +% +font_identifier:="ECDUNH"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, 0, 0, 0, 0, [-.1]); +gendef [1/36pt#]( body_height# )( 235, 262, 289, 316, 343, 370, 424, 566); +gendef [1/36pt#]( asc_height# )( 225, 250, 275, 300, 325, 350, 400, 532); +gendef [1/36pt#]( cap_height# )( 223, 247.6, 272.2, 296.8, 321.4, 346, 395.2, 525); +gendef [1/36pt#]( fig_height# )( 216, 239.2, 262.4, 285.6, 308.8, 332, 378.4, 501); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 41); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 40); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 48); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecfb.mf b/fonts/ec/src/ecfb.mf new file mode 100644 index 0000000000..6c3fb9767d --- /dev/null +++ b/fonts/ec/src/ecfb.mf @@ -0,0 +1,92 @@ +% ecfb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Fibonacci Font +% (Experimental) +% +font_identifier:="ECFIB"; +font_size (gensize*pt#); +basedef ( 5, 8, 13, 21, 34); +gendef [1/36pt#]( u# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( width_adj# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( letter_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( body_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( asc_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( cap_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( fig_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( x_height# )( 89, 144, 233, 377, 610); +gendef [1/36pt#]( math_axis# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( bar_height# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( comma_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( desc_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( acc_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( dot_height# )( 21, 55, 89, 144, 233); +gendef [1/36pt#]( udot_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( crisp# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( tiny# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( fine# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( thin_join# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( flare# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( dot_size# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( cap_ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( rule_thickness#)( 13, 21, 34, 55, 144); +gendef [1/36pt#]( dish# )( 1, 1, 1, 2, 5); +gendef [1/36pt#]( bracket# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( beak_jut# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( beak# )( 34, 55, 89, 144, 377); +gendef [1/36pt#]( vair# )( 8, 13, 21, 34, 89); +gendef [pt#]( notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( slab# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_band# )( 8, 13, 21, 34, 89); +gendef [pt#]( cap_notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( serif_drop# )( 2, 3, 5, 8, 21); +gendef [1/36pt#]( stem_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( vair_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( apex_corr# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( o# )( 5, 8, 13, 21, 55); +gendef [1/36pt#]( apex_o# )( 5, 8, 13, 21, 55); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )(.375, .375, .375, .375, .375); +superness:=1/sqrt 2; +superpull:=1/13; +beak_darkness:=5/13; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecff.mf b/fonts/ec/src/ecff.mf new file mode 100644 index 0000000000..09ed187cc8 --- /dev/null +++ b/fonts/ec/src/ecff.mf @@ -0,0 +1,92 @@ +% ecff.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Funny Roman +% (Experimental) +% +font_identifier:="ECFF"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 12, 13.9, 16, 19.7); + gendef [1/36pt#]( width_adj# )( [-16], [-16], [-16], [-16]); + gendef [1/36pt#]( serif_fit# )( [-3], [-3], [-3], [-3]); + gendef [1/36pt#]( cap_serif_fit# )( [-4], [-4], [-4], [-4]); + gendef [1/36pt#]( letter_fit# )( 2, 2, 2, 2); +gendef [1/36pt#]( body_height# )( 190, 215, 240, 290); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 181, 203, 225, 269); +gendef [1/36pt#]( fig_height# )( 166, 188, 210, 254); +gendef [1/36pt#]( x_height# )( 159, 174.5, 190, 221); +gendef [1/36pt#]( math_axis# )( 33, 44, 55, 77); +gendef [1/36pt#]( bar_height# )( 44, 52, 60, 76); +gendef [1/36pt#]( comma_depth# )( 54, 62, 70, 86); +gendef [1/36pt#]( desc_depth# )( 84, 92, 100, 116); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 8, 10, 11, 14); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 11, 13, 14, 15); +gendef [1/36pt#]( hair# )( 8, 10, 11, 14); +gendef [1/36pt#]( stem# )( 13, 15, 16, 19); +gendef [1/36pt#]( curve# )( 17, 19, 20, 23); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 20, 22, 24, 27); +gendef [1/36pt#]( dot_size# )( 21, 23, 26, 29); +gendef [1/36pt#]( cap_hair# )( 13, 15, 16, 19); +gendef [1/36pt#]( cap_stem# )( 21, 23, 24, 27); +gendef [1/36pt#]( cap_curve# )( 23, 25, 26, 29); +gendef [1/36pt#]( cap_ess# )( 25, 27, 28, 31); +gendef [pt#]( rule_thickness#)( .46, .48, .5, .54); +gendef [1/36pt#]( dish# )( 5, 5, 5, 5); +gendef [1/36pt#]( bracket# )( 20, 20, 20, 20); +gendef [1/36pt#]( jut# )( 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( cap_jut# )( 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( beak_jut# )( [-8], [-8], [-8], [-8]); +gendef [1/36pt#]( beak# )( 8, 9, 10, 12); +gendef [1/36pt#]( vair# )( 11, 13, 14, 17); +gendef [1/36pt#]( notch_cut# )( 2, 2, 2, 2); +gendef [1/36pt#]( bar# )( 14, 16, 17, 20); +gendef [1/36pt#]( slab# )( 17, 19, 20, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 14, 16, 17, 20); +gendef [1/36pt#]( cap_notch_cut# )( 3, 3, 3, 3); +gendef [1/36pt#]( serif_drop# )( [-10], [-10], [-10], [-10]); +gendef [1/36pt#]( stem_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( vair_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( apex_corr# )( 4, 5, 6, 7); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 9, 9, 9, 10); +gendef ( fudge )( 1, 1, 1, 1); +gendef ( math_spread )( .5, .5, .5, .5); +slant:=-.1; +superness:=2/3; +superpull:=-1/8; +beak_darkness:=.5; +square_dots:=true; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecfi.mf b/fonts/ec/src/ecfi.mf new file mode 100644 index 0000000000..48db03d414 --- /dev/null +++ b/fonts/ec/src/ecfi.mf @@ -0,0 +1,92 @@ +% ecfi.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Funny Italic +% (Experimental) +% +font_identifier:="ECFI"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( [-16], [-16], [-16], [-16]); + gendef [1/36pt#]( serif_fit# )( [-3], [-3], [-3], [-3]); + gendef [1/36pt#]( cap_serif_fit# )( [-4], [-4], [-4], [-4]); + gendef [1/36pt#]( letter_fit# )( 2, 2, 2, 2); +gendef [1/36pt#]( body_height# )( 190, 215, 240, 290); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 181, 203, 225, 269); +gendef [1/36pt#]( fig_height# )( 166, 188, 210, 254); +gendef [1/36pt#]( x_height# )( 159, 174.5, 190, 221); +gendef [1/36pt#]( math_axis# )( 33, 44, 55, 77); +gendef [1/36pt#]( bar_height# )( 44, 52, 60, 76); +gendef [1/36pt#]( comma_depth# )( 54, 62, 70, 86); +gendef [1/36pt#]( desc_depth# )( 84, 92, 100, 116); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 8, 10, 11, 14); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 11, 13, 14, 15); +gendef [1/36pt#]( hair# )( 8, 10, 11, 14); +gendef [1/36pt#]( stem# )( 14, 16, 17, 20); +gendef [1/36pt#]( curve# )( 18, 20, 21, 24); +gendef [1/36pt#]( ess# )( 20, 22, 23, 26); +gendef [1/36pt#]( flare# )( 21, 23, 25, 28); +gendef [1/36pt#]( dot_size# )( 21, 23, 26, 29); +gendef [1/36pt#]( cap_hair# )( 12, 14, 15, 18); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 24, 26, 27, 30); +gendef [1/36pt#]( cap_ess# )( 26, 28, 29, 32); +gendef [pt#]( rule_thickness#)( .46, .48, .5, .54); +gendef [1/36pt#]( dish# )( 5, 5, 5, 5); +gendef [1/36pt#]( bracket# )( 20, 20, 20, 20); +gendef [1/36pt#]( jut# )( 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( cap_jut# )( 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( beak_jut# )( [-8], [-8], [-8], [-8]); +gendef [1/36pt#]( beak# )( 8, 9, 10, 12); +gendef [1/36pt#]( vair# )( 12, 14, 15, 18); +gendef [1/36pt#]( notch_cut# )( 2, 2, 2, 2); +gendef [1/36pt#]( bar# )( 15, 17, 18, 21); +gendef [1/36pt#]( slab# )( 18, 20, 21, 26); +gendef [1/36pt#]( cap_bar# )( 20, 22, 23, 26); +gendef [1/36pt#]( cap_band# )( 15, 17, 18, 21); +gendef [1/36pt#]( cap_notch_cut# )( 3, 3, 3, 3); +gendef [1/36pt#]( serif_drop# )( [-10], [-10], [-10], [-10]); +gendef [1/36pt#]( stem_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( vair_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( apex_corr# )( 4, 5, 6, 7); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 9, 9, 9, 10); +gendef ( fudge )( 1, 1, 1, 1); +gendef ( math_spread )( .5, .5, .5, .5); +slant:=.1; +superness:=2/3; +superpull:=-1/8; +beak_darkness:=.5; +square_dots:=true; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate extextit + +endinput; diff --git a/fonts/ec/src/ecfs.mf b/fonts/ec/src/ecfs.mf new file mode 100644 index 0000000000..51170ee62f --- /dev/null +++ b/fonts/ec/src/ecfs.mf @@ -0,0 +1,92 @@ +% ecfs.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Fibonacci Slanted Font +% (Experimental) +% +font_identifier:="ECFIBS"; +font_size (gensize*pt#); +basedef ( 5, 8, 13, 21, 34); +gendef [1/36pt#]( u# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( width_adj# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( letter_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( body_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( asc_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( cap_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( fig_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( x_height# )( 89, 144, 233, 377, 610); +gendef [1/36pt#]( math_axis# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( bar_height# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( comma_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( desc_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( acc_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( dot_height# )( 21, 55, 89, 144, 233); +gendef [1/36pt#]( udot_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( crisp# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( tiny# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( fine# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( thin_join# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( flare# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( dot_size# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( cap_ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( rule_thickness#)( 13, 21, 34, 55, 144); +gendef [1/36pt#]( dish# )( 1, 1, 1, 2, 5); +gendef [1/36pt#]( bracket# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( beak_jut# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( beak# )( 34, 55, 89, 144, 377); +gendef [1/36pt#]( vair# )( 8, 13, 21, 34, 89); +gendef [pt#]( notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( slab# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_band# )( 8, 13, 21, 34, 89); +gendef [pt#]( cap_notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( serif_drop# )( 2, 3, 5, 8, 21); +gendef [1/36pt#]( stem_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( vair_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( apex_corr# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( o# )( 5, 8, 13, 21, 55); +gendef [1/36pt#]( apex_o# )( 5, 8, 13, 21, 55); +slant:=sqrt5-2; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )(.375, .375, .375, .375, .375); +superness:=1/sqrt 2; +superpull:=1/13; +beak_darkness:=5/13; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecit.mf b/fonts/ec/src/ecit.mf new file mode 100644 index 0000000000..2677480a7a --- /dev/null +++ b/fonts/ec/src/ecit.mf @@ -0,0 +1,93 @@ +% ecit.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Italic Typewriter Text +% +% +font_identifier:="ECITT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 15, 15, 15, 15); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 34, 42, 50, 66); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 33, 37, 40, 45); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +slant:=1/4; +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +true_mono:=true; +variant_g:=true; +low_asterisk:=true; +math_fitting:=false; + +clear_extra_memory; + +generate extextit + +endinput; diff --git a/fonts/ec/src/eclb8.mf b/fonts/ec/src/eclb8.mf new file mode 100644 index 0000000000..74f16ad850 --- /dev/null +++ b/fonts/ec/src/eclb8.mf @@ -0,0 +1,89 @@ +% eclb8.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% LaTeX European Computer Modern Sans Serif Quotation Bold +% (SliTeX font with special capital I) +% +if unknown exbase: input exbase fi + +font_identifier:="LECSSQB"; +font_size 8pt#; +u#:=22/36pt#; +width_adj#:=3/36pt#; +serif_fit#:= -12/36pt#; +cap_serif_fit#:= -15/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=200/36pt#; +x_height#:=155/36pt#; +math_axis#:=80/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=42/36pt#; +stem#:=42/36pt#; +curve#:=42/36pt#; +ess#:=40/36pt#; +flare#:=36/36pt#; +dot_size#:=41/36pt#; +cap_hair#:=42/36pt#; +cap_stem#:=46/36pt#; +cap_curve#:=46/36pt#; +cap_ess#:=46/36pt#; +rule_thickness#:=26/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=22/36pt#; +notch_cut#:=48/36pt#; +bar#:=22/36pt#; +slab#:=24/36pt#; +cap_bar#:=23/36pt#; +cap_band#:=30/36pt#; +cap_notch_cut#:=42/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=15/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=0; +fudge:=.85; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/9; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; +generate exroman; +endinput; diff --git a/fonts/ec/src/ecli8.mf b/fonts/ec/src/ecli8.mf new file mode 100644 index 0000000000..130beb2617 --- /dev/null +++ b/fonts/ec/src/ecli8.mf @@ -0,0 +1,90 @@ +% ecli8.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% LaTeX European Computer Modern Sans Serif Quotation Inclined +% (SliTeX font with special capital I) +% +if unknown exbase: input exbase fi + +font_identifier:="LECSSQI"; +font_size 8pt#; +u#:=20/36pt#; +width_adj#:=2/36pt#; +serif_fit#:= -10/36pt#; +cap_serif_fit#:= -14/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=190/36pt#; +x_height#:=150/36pt#; +math_axis#:=80/36pt#; +bar_height#:=80/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=23/36pt#; +stem#:=23/36pt#; +curve#:=23/36pt#; +ess#:=23/36pt#; +flare#:=21/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=23/36pt#; +cap_stem#:=27/36pt#; +cap_curve#:=27/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.55555pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=18/36pt#; +notch_cut#:=23/36pt#; +bar#:=18/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=23/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=.5/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=sind 12/cosd 12; +fudge:=.95; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/10; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; +generate exroman; +endinput; diff --git a/fonts/ec/src/eclo8.mf b/fonts/ec/src/eclo8.mf new file mode 100644 index 0000000000..3d6e231bdd --- /dev/null +++ b/fonts/ec/src/eclo8.mf @@ -0,0 +1,89 @@ +% eclo8.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% LaTeX European Computer Modern Sans Serif Quotation Bold Oblique +% (SliTeX font with special capital I) +% +if unknown exbase: input exbase fi + +font_identifier:="LECSSQBO"; +font_size 8pt#; +u#:=22/36pt#; +width_adj#:=3/36pt#; +serif_fit#:= -12/36pt#; +cap_serif_fit#:= -15/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=200/36pt#; +x_height#:=155/36pt#; +math_axis#:=80/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=42/36pt#; +stem#:=42/36pt#; +curve#:=42/36pt#; +ess#:=40/36pt#; +flare#:=36/36pt#; +dot_size#:=41/36pt#; +cap_hair#:=42/36pt#; +cap_stem#:=46/36pt#; +cap_curve#:=46/36pt#; +cap_ess#:=46/36pt#; +rule_thickness#:=26/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=22/36pt#; +notch_cut#:=48/36pt#; +bar#:=22/36pt#; +slab#:=24/36pt#; +cap_bar#:=23/36pt#; +cap_band#:=30/36pt#; +cap_notch_cut#:=42/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=15/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=sind 12/cosd 12; +fudge:=.85; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/9; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; +generate exroman; +endinput; diff --git a/fonts/ec/src/eclq8.mf b/fonts/ec/src/eclq8.mf new file mode 100644 index 0000000000..efdd60c8de --- /dev/null +++ b/fonts/ec/src/eclq8.mf @@ -0,0 +1,90 @@ +% eclq8.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% LaTeX European Computer Modern Sans Serif Quotation +% (SliTeX font with special capital I) +% +if unknown exbase: input exbase fi + +font_identifier:="LECSSQ"; +font_size 8pt#; +u#:=20/36pt#; +width_adj#:=2/36pt#; +serif_fit#:= -10/36pt#; +cap_serif_fit#:= -14/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=190/36pt#; +x_height#:=150/36pt#; +math_axis#:=80/36pt#; +bar_height#:=80/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=23/36pt#; +stem#:=23/36pt#; +curve#:=23/36pt#; +ess#:=23/36pt#; +flare#:=21/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=23/36pt#; +cap_stem#:=27/36pt#; +cap_curve#:=27/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.55555pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=18/36pt#; +notch_cut#:=23/36pt#; +bar#:=18/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=23/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=.5/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=0; +fudge:=.95; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/10; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; +generate exroman; +endinput; diff --git a/fonts/ec/src/ecltt8.mf b/fonts/ec/src/ecltt8.mf new file mode 100644 index 0000000000..adb05aeaeb --- /dev/null +++ b/fonts/ec/src/ecltt8.mf @@ -0,0 +1,94 @@ +% ecltt8.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% European Computer Modern LaTeX Typewriter +% Special font for the slides documentclass +% +if unknown exbase: input exbase fi + +font_identifier:="ECLTT"; +font_size 8pt#; + +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#; +acc_height# :=60/36pt#; +dot_height# :=60/36pt#; +udot_height# :=47.2/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/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +true_mono:=true; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; + +clear_extra_memory; + +generate exroman; +endinput; + diff --git a/fonts/ec/src/ecoc.mf b/fonts/ec/src/ecoc.mf new file mode 100644 index 0000000000..0dec4be712 --- /dev/null +++ b/fonts/ec/src/ecoc.mf @@ -0,0 +1,130 @@ +% ecoc.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% +% The parameters in this file were originally contributed by +% Lars Engebretsen <enge@nada.kth.se> and Caj E. Svenson +% <atocasv@ato.abb.se>. +% +% The two contributions were merged and retuned, if necessary. +% +% Content: +% +% Parameter for +% +% European Computer Modern Bold Extended Slanted Caps and Small Caps +% +% +font_identifier:="ECBXSLCSC"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 15, 16.5, 18.5, 20, 22, 24, 28); +gendef [1/36pt#]( width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8); +gendef [1/36pt#]( letter_fit# )( 5, 5, 5, 5, 5, 5, 5); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 19, 23, 27, 31, 35, 39, 46); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=1/6; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .5); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +gendef [1/36pt#]( lower.u# )( 11, 12, 14, 15.7, 17, 18.3, 21.3); +gendef [1/36pt#]( lower.width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( lower.cap_serif_fit# )( 2, 2.8, 3.6, 4.4, 5.2, 6, 7); +gendef [1/36pt#]( lower.letter_fit# )( 1.44, 1.44, 1.44, 1.44, 1.44, 1.44, 1.44); +gendef [1/36pt#]( lower.body_height# )( 65, 92, 119, 146, 173, 200, 254); +gendef [1/36pt#]( lower.cap_height# )( 96, 106, 122, 136, 161, 186, 226); +gendef [1/36pt#]( lower.x_height# )( 39.7, 55.7, 71.7, 87.7, 103.7, 119.7, 151.7); +gendef [1/36pt#]( lower.bar_height# )( 19.8, 28.4, 37, 45.8, 54.6, 63.5, 80.5); +gendef [1/36pt#]( lower.comma_depth# )( 17, 24, 31, 38, 45, 52, 64); +gendef [1/36pt#]( lower.flare# )( 17.7, 21.8, 25.8, 29.5, 31.8, 34.1, 38.6); +gendef [1/36pt#]( lower.dot_size# )( 21, 26, 31, 36, 41, 46, 52); +gendef [1/36pt#]( lower.cap_hair# )( 11, 12, 13, 14, 15, 15.7, 16.5); +gendef [1/36pt#]( lower.stem# )( 20, 23, 26, 29.4, 31.9, 34.4, 39.5); +gendef [1/36pt#]( lower.cap_stem# )( 21, 25, 29, 34, 38.2, 41.4, 46.3); +gendef [1/36pt#]( lower.cap_curve# )( 24, 28, 33, 38, 42.7, 46.1, 51.1); +gendef [1/36pt#]( lower.cap_ess# )( 15, 22, 29, 34, 38.4, 42.4, 47.2); +gendef [1/36pt#]( lower.cap_jut# )( 9, 11, 14, 18, 24, 27.4, 32.3); +gendef [1/36pt#]( lower.beak_jut# )( 4, 5, 6, 6.5, 7.1, 7.7, 8.68); +gendef [1/36pt#]( lower.beak# )( 17, 24, 31, 39, 46, 52, 62.4); +gendef [1/36pt#]( lower.slab# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [1/36pt#]( lower.cap_bar# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [1/36pt#]( lower.cap_band# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [pt#]( lower.cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( lower.o# )( 1.875, 1.875, 1.875, 2.5, 2.5, 2.5, 3.125); +gendef [1/36pt#]( lower.cap_bar# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [1/36pt#]( lower.cap_band# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [pt#]( lower.cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( lower.o# )( 1.875, 1.875, 1.875, 2.5, 2.5, 2.5, 3.125); +gendef [1/36pt#]( lower.apex_o# )( 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 2); +gendef ( lower.fudge )( 1, 1, 1, 1, 1, 1, 1); + +clear_extra_memory; + +generate excsc; + +endinput; + diff --git a/fonts/ec/src/ecqi8.mf b/fonts/ec/src/ecqi8.mf new file mode 100644 index 0000000000..9f80caa05a --- /dev/null +++ b/fonts/ec/src/ecqi8.mf @@ -0,0 +1,89 @@ +% ecqi8.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% European Computer Modern Sans Serif Quotation Inclined +% +% +if unknown exbase: input exbase fi + +font_identifier:="ECSSQI"; +font_size 8pt#; +u#:=20/36pt#; +width_adj#:=2/36pt#; +serif_fit#:= -10/36pt#; +cap_serif_fit#:= -14/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=190/36pt#; +x_height#:=150/36pt#; +math_axis#:=80/36pt#; +bar_height#:=80/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=23/36pt#; +stem#:=23/36pt#; +curve#:=23/36pt#; +ess#:=23/36pt#; +flare#:=21/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=23/36pt#; +cap_stem#:=27/36pt#; +cap_curve#:=27/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.55555pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=18/36pt#; +notch_cut#:=23/36pt#; +bar#:=18/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=23/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=.5/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=sind 12/cosd 12; +fudge:=.95; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/10; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +generate exroman; +endinput; diff --git a/fonts/ec/src/ecrb.mf b/fonts/ec/src/ecrb.mf new file mode 100644 index 0000000000..788431673d --- /dev/null +++ b/fonts/ec/src/ecrb.mf @@ -0,0 +1,98 @@ +% ecrb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% This file has been modified for local use by Tomas Vanhala +% (vanhala@cc.helsinki.fi). (7-NOV-1994) +% +% [ heavily borrowed from the Computer Modern Roman family of +% fonts by D. E. Knuth ] +% +% Content: +% +% Parameter for +% +% European Computer Modern Roman Bold (Non-Extended) +% +% +font_identifier:="ECRB"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5); +gendef [1/36pt#]( width_adj# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 12); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.5, 5.1, 5.6, 6, 6.8); +gendef [1/36pt#]( letter_fit# )( 3, 2, 1, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 14, 17, 22, 26, 30, 34, 41); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .4); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecrm.mf b/fonts/ec/src/ecrm.mf new file mode 100644 index 0000000000..385667806a --- /dev/null +++ b/fonts/ec/src/ecrm.mf @@ -0,0 +1,93 @@ +% ecrm.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Roman Medium +% +% +font_identifier:="ECRM"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, 0, 0, 0, 0, [-.1]); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +%gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( dot_height# )( 42, 46.6, 51.2, 56, 60.4, 66, 77.2, 100); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 40); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 41); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 47); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecsc.mf b/fonts/ec/src/ecsc.mf new file mode 100644 index 0000000000..de1fb6e14d --- /dev/null +++ b/fonts/ec/src/ecsc.mf @@ -0,0 +1,118 @@ +% ecsc.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Slanted Caps and Small Caps +% +% +font_identifier:="ECSLCSC"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 13.5, 15, 16.5, 18, 19.5, 21, 24.5, 33.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 5, 5, 5, 5, 5, 5, 5); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 41); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 40); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 48); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=1/6; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +gendef [1/36pt#]( lower.u# )( 8.5, 10, 11.5, 13, 14.5, 16, 19.5, 28.5); +gendef [1/36pt#]( lower.width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( lower.cap_serif_fit# )( 1, 1.8, 2.5, 3.1, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( lower.letter_fit# )( 2.4, 2.4, 2.4, 2.4, 2.4, 2.4, 2.4, 2.4); +gendef [1/36pt#]( lower.body_height# )( 65, 92, 119, 146, 173, 200, 254, 396); +gendef [1/36pt#]( lower.cap_height# )( 94, 105, 121.2, 135.8, 160.4, 185, 226, 335); +gendef [1/36pt#]( lower.x_height# )( 38.5, 54, 69.5, 85, 100.5, 116, 147, 228.8); +gendef [1/36pt#]( lower.bar_height# )( 21.5, 30.2, 38.9, 47.6, 56.3, 65, 82.4, 128); +gendef [1/36pt#]( lower.comma_depth# )( 17, 24, 31, 38, 45, 52, 64, 103); +gendef [1/36pt#]( lower.flare# )( 11, 13, 16, 19, 22, 25, 28, 37); +gendef [1/36pt#]( lower.dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( lower.cap_hair# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 9.6, 11.1); +gendef [1/36pt#]( lower.stem# )( 12, 14, 16, 18, 20, 21, 24, 29); +gendef [1/36pt#]( lower.cap_stem# )( 13, 15.5, 18, 20.5, 23, 26, 29, 34); +gendef [1/36pt#]( lower.cap_curve# )( 15, 18, 21, 24, 27, 31, 34, 42); +gendef [1/36pt#]( lower.cap_ess# )( 7, 12, 16, 20, 24, 28, 31, 36); +gendef [1/36pt#]( lower.cap_jut# )( 9, 12, 15, 18, 22, 26, 30, 39); +gendef [1/36pt#]( lower.beak_jut# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8.4, 12); +gendef [1/36pt#]( lower.beak# )( 17, 24, 31, 38, 45, 52, 66, 103); +gendef [1/36pt#]( lower.slab# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 10.6, 14.1); +gendef [1/36pt#]( lower.cap_bar# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 10.6, 14.1); +gendef [1/36pt#]( lower.cap_band# )( 6.1, 6.6, 7.1, 7.6, 8.1, 9.1, 10.6, 14.1); +gendef [pt#]( lower.cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( lower.o# )( 1, 1.5, 2, 3, 4, 5, 6, 7); +gendef [1/36pt#]( lower.apex_o# )( 0, .5, 1, 2, 3, 4, 5, 6); +gendef ( lower.fudge )( 1, 1, 1, 1, 1, 1, 1, 1); + +clear_extra_memory; + +generate excsc + +endinput; diff --git a/fonts/ec/src/ecsi.mf b/fonts/ec/src/ecsi.mf new file mode 100644 index 0000000000..c758e78ba5 --- /dev/null +++ b/fonts/ec/src/ecsi.mf @@ -0,0 +1,92 @@ +% ecsi.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Sans Serif Inclined +% +% +font_identifier:="ECSSI"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 12, 13, 15, 17, 24); +gendef [1/36pt#]( serif_fit# )( [-6], [-6.5], [-7], [-9], [-12]); +gendef [1/36pt#]( cap_serif_fit# )( [-8.5], [-9], [-10], [-13], [-17]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 205, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )( 200, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )( 189, 212, 236, 283, 408); +gendef [1/36pt#]( x_height# )( 128, 144, 160, 192, 267.8); +gendef [1/36pt#]( math_axis# )( 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 97, 136); +gendef [1/36pt#]( comma_depth# )( 37, 41, 45, 54, 78); +gendef [1/36pt#]( desc_depth# )( 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 60, 65, 70, 82, 110); +gendef [1/36pt#]( dot_height# )( 45.8, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 48.2, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 15, 16, 17, 20, 24); +gendef [1/36pt#]( hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( stem# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( curve# )( 25, 27, 28, 30, 33); +gendef [1/36pt#]( ess# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( flare# )( 22, 24, 25, 30, 33); +gendef [1/36pt#]( dot_size# )( 26, 28, 30, 35, 40); +gendef [1/36pt#]( cap_hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( cap_stem# )( 29, 31, 32, 33, 39); +gendef [1/36pt#]( cap_curve# )( 29, 31, 32, 37, 42); +gendef [1/36pt#]( cap_ess# )( 28, 31, 32, 37, 42); +gendef [pt#]( rule_thickness#)( .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( .4, .5, .5, .6, .8); +gendef [1/36pt#]( vair# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( notch_cut# )( 16, 17, 18, 22, 32); +gendef [1/36pt#]( bar# )( 18, 20, 21, 25, 30); +gendef [1/36pt#]( slab# )( 20, 22, 23, 27, 32); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( cap_band# )( 17, 19, 20, 24, 30); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 31, 36); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 4, 4.5, 5, 6, 7); +gendef [1/36pt#]( o# )( 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +gendef ( fudge )( .93, .95, .96, .98, .98); +gendef ( math_spread )( .4, .2, 0, [-.2], [-.2]); + +slant:=sind 12/cosd 12; +superness:=1/sqrt 2; +superpull:=1/20; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman +endinput; diff --git a/fonts/ec/src/ecsl.mf b/fonts/ec/src/ecsl.mf new file mode 100644 index 0000000000..9190c562b4 --- /dev/null +++ b/fonts/ec/src/ecsl.mf @@ -0,0 +1,93 @@ +% ecsl.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Roman Slanted +% +% +font_identifier:="ECSL"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, 0, 0, 0, 0, [-.1]); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +%gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( dot_height# )( 42, 46.6, 51.2, 56, 60.4, 66, 77.2, 100); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 40); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 41); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 47); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=1/6; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecso.mf b/fonts/ec/src/ecso.mf new file mode 100644 index 0000000000..54b9ff7be2 --- /dev/null +++ b/fonts/ec/src/ecso.mf @@ -0,0 +1,92 @@ +% ecso.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Sans Serif Bold Extended Oblique +% +% +font_identifier:="ECSSBXO"; +font_size gensize*pt#; +basedef ( 5, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12, 19, 22, 27, 40); +gendef [1/36pt#]( width_adj# )( 12, 19, 22, 19, 27); +gendef [1/36pt#]( serif_fit# )([-5], [-8], [-9], [-10], [-14]); +gendef [1/36pt#]( cap_serif_fit# )([-6], [-9], [-11], [-15], [-20]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )(135, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )(130, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )(125, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )(125, 212, 250, 283, 408); +gendef [1/36pt#]( x_height# )( 83, 149, 165, 198, 280); +gendef [1/36pt#]( math_axis# )( 45, 80, 90, 108, 150); +gendef [1/36pt#]( bar_height# )( 45, 80, 90, 95, 135); +gendef [1/36pt#]( comma_depth# )( 19, 34, 38, 54, 75); +gendef [1/36pt#]( desc_depth# )( 35, 62, 70, 84, 120); +gendef [1/36pt#]( acc_height# )( 45, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 38, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( udot_height# )( 30, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 12, 25, 26, 26, 26); +gendef [1/36pt#]( tiny# )( 12, 24, 26, 26, 26); +gendef [1/36pt#]( fine# )( 5, 7, 9, 9, 9); +gendef [1/36pt#]( thin_join# )( 11, 18, 19, 21, 25); +gendef [1/36pt#]( hair# )( 25, 40, 49, 50, 67); +gendef [1/36pt#]( stem# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( curve# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( ess# )( 22, 35, 43, 44, 60); +gendef [1/36pt#]( flare# )( 20, 39, 40, 41, 58); +gendef [1/36pt#]( dot_size# )( 24, 40, 47, 48, 65); +gendef [1/36pt#]( cap_hair# )( 24, 41, 48, 50, 67); +gendef [1/36pt#]( cap_stem# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_curve# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_ess# )( 26, 43, 51, 52, 68); +gendef [1/36pt#]( rule_thickness#)( 16, 29, 30, 31, 36); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )(.75, 1.1, 1.5, 1.8, 3.5); +gendef [1/36pt#]( vair# )( 15, 22, 26, 27, 35); +gendef [1/36pt#]( notch_cut# )( 25, 42, 49, 50, 57); +gendef [1/36pt#]( bar# )( 13, 26, 26, 27, 35); +gendef [1/36pt#]( slab# )( 18, 35, 36, 37, 45); +gendef [1/36pt#]( cap_bar# )( 17, 33, 34, 35, 42); +gendef [1/36pt#]( cap_band# )( 16, 30, 31, 32, 40); +gendef [1/36pt#]( cap_notch_cut# )( 23, 44, 45, 46, 53); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( apex_corr# )( 15, 17, 18, 19, 20); +gendef [1/36pt#]( o# )( 5, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +gendef ( fudge )(.88, .88, .88, .88, .88); +gendef ( math_spread )(.45, .45, .5, .5, .5); +slant:=sind 12/cosd 12; +superness:=3/4; +superpull:=1/18; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecsq8.mf b/fonts/ec/src/ecsq8.mf new file mode 100644 index 0000000000..76fd577aed --- /dev/null +++ b/fonts/ec/src/ecsq8.mf @@ -0,0 +1,89 @@ +% ecsq8.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% European Computer Modern Sans Serif Quotation +% +% +if unknown exbase: input exbase fi + +font_identifier:="ECSSQ"; +font_size 8pt#; +u#:=20/36pt#; +width_adj#:=2/36pt#; +serif_fit#:= -10/36pt#; +cap_serif_fit#:= -14/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=190/36pt#; +x_height#:=150/36pt#; +math_axis#:=80/36pt#; +bar_height#:=80/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=23/36pt#; +stem#:=23/36pt#; +curve#:=23/36pt#; +ess#:=23/36pt#; +flare#:=21/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=23/36pt#; +cap_stem#:=27/36pt#; +cap_curve#:=27/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.55555pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=18/36pt#; +notch_cut#:=23/36pt#; +bar#:=18/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=23/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=.5/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=0; +fudge:=.95; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/10; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +generate exroman; +endinput; diff --git a/fonts/ec/src/ecss.mf b/fonts/ec/src/ecss.mf new file mode 100644 index 0000000000..433224ede5 --- /dev/null +++ b/fonts/ec/src/ecss.mf @@ -0,0 +1,91 @@ +% ecss.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Sans Serif +% +% +font_identifier:="ECSS"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 12, 13, 15, 17, 24); +gendef [1/36pt#]( serif_fit# )( [-6], [-6.5], [-7], [-9], [-12]); +gendef [1/36pt#]( cap_serif_fit# )( [-8.5], [-9], [-10], [-13], [-17]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 205, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )( 200, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )( 189, 212, 236, 283, 408); +gendef [1/36pt#]( x_height# )( 128, 144, 160, 192, 267.8); +gendef [1/36pt#]( math_axis# )( 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 97, 136); +gendef [1/36pt#]( comma_depth# )( 37, 41, 45, 54, 78); +gendef [1/36pt#]( desc_depth# )( 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 60, 65, 70, 82, 110); +gendef [1/36pt#]( dot_height# )( 45.8, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 48.2, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 15, 16, 17, 20, 24); +gendef [1/36pt#]( hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( stem# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( curve# )( 25, 27, 28, 30, 33); +gendef [1/36pt#]( ess# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( flare# )( 22, 24, 25, 30, 33); +gendef [1/36pt#]( dot_size# )( 26, 28, 30, 35, 40); +gendef [1/36pt#]( cap_hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( cap_stem# )( 29, 31, 32, 33, 39); +gendef [1/36pt#]( cap_curve# )( 29, 31, 32, 37, 42); +gendef [1/36pt#]( cap_ess# )( 28, 31, 32, 37, 42); +gendef [pt#]( rule_thickness#)( .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( .4, .5, .5, .6, .8); +gendef [1/36pt#]( vair# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( notch_cut# )( 16, 17, 18, 22, 32); +gendef [1/36pt#]( bar# )( 18, 20, 21, 25, 30); +gendef [1/36pt#]( slab# )( 20, 22, 23, 27, 32); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( cap_band# )( 17, 19, 20, 24, 30); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 31, 36); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 4, 4.5, 5, 6, 7); +gendef [1/36pt#]( o# )( 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +slant:=0; +gendef ( fudge )( .93, .95, .96, .98, .98); +gendef ( math_spread )( .4, .2, 0, [-.2], [-.2]); +superness:=1/sqrt 2; +superpull:=1/20; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman +endinput; diff --git a/fonts/ec/src/ecssdc10.mf b/fonts/ec/src/ecssdc10.mf new file mode 100644 index 0000000000..54b4632768 --- /dev/null +++ b/fonts/ec/src/ecssdc10.mf @@ -0,0 +1,90 @@ +% ecssdc10.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% European Computer Modern Sans Serif Demi Condensed +% +% +if unknown exbase: input exbase fi + +font_identifier:="ECSSEC"; +font_size 10pt#; + +u#:=19/36pt#; +width_adj#:=15/36pt#; +serif_fit#:=-8/36pt#; +cap_serif_fit#:=-9/36pt#; +letter_fit#:=0pt#; +body_height#:=270/36pt#; +asc_height#:=250/36pt#; +cap_height#:=250/36pt#; +fig_height#:=250/36pt#; +x_height#:=170/36pt#; +math_axis#:=95/36pt#; +bar_height#:=95/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=60/36pt#; +acc_height#:=75/36pt#; +dot_height#:=60/36pt#; +udot_height#:=60/36pt#; +crisp#:=23/36pt#; +tiny#:=23/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=40/36pt#; +stem#:=40/36pt#; +curve#:=40/36pt#; +ess#:=37/36pt#; +flare#:=31/36pt#; +dot_size#:=38/36pt#; +cap_hair#:=40/36pt#; +cap_stem#:=44/36pt#; +cap_curve#:=44/36pt#; +cap_ess#:=42/36pt#; +rule_thickness#:=.69444pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=1.5/36pt#; +vair#:=23/36pt#; +notch_cut#:=40/36pt#; +bar#:=23/36pt#; +slab#:=31/36pt#; +cap_bar#:=29/36pt#; +cap_band#:=27/36pt#; +cap_notch_cut#:=37/36pt#; +serif_drop#:=2/36pt#; +stem_corr#:=1/36pt#; +vair_corr#:=2/36pt#; +apex_corr#:=14/36pt#; +o#:=7/36pt#; +apex_o#:=0/36pt#; +slant:=0; +fudge:=.91; +math_spread:=.3; +superness:=0.74; +superpull:=1/18; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +generate exroman; +endinput; diff --git a/fonts/ec/src/ecst.mf b/fonts/ec/src/ecst.mf new file mode 100644 index 0000000000..8a054a371f --- /dev/null +++ b/fonts/ec/src/ecst.mf @@ -0,0 +1,93 @@ +% ecst.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Slanted Typewriter Text +% +% +font_identifier:="ECSLTT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 40, 45, 50, 60); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +slant:=1/6; +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; +true_mono:=true; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecstdedt.tex b/fonts/ec/src/ecstdedt.tex new file mode 100644 index 0000000000..8a13d1bc94 --- /dev/null +++ b/fonts/ec/src/ecstdedt.tex @@ -0,0 +1,365 @@ +% ecstdedt.tex +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Generating MF-files for the EC fonts EC Version 1.0 / 19-JAN-1997 +% +% Running TeX with this file as an input results in a lot of +% Metafont font driver files (ecrm5.mf, ecrm6.mf, ..). The files +% which should be generated are marked in the following macro +% \FontsToBeGenerated. For each font there has to be an entry +% with the pt sizes the font should be generate with. Additionally +% in the heading \tablevalues all used pt sizes have to be mentioned, +% just to get an fine printout. +% +% Furthermore there is a batch file which can be customized for the +% Metafont batch run. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% please change only here: +% +\long\def\FontsToBeGenerated{ + + \tablevalues ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] + 29.86[2986] 35.83[3583]) + + \makefont ecrm ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecsl ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecbx ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecbl ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecrb ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecti ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecui ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecbi ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont eccc ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecxc ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecsc ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecoc ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecci ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ectt (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecit (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecvt (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecvi (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ectc (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecst (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecss ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecsi ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecsx ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont ecso ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) +% \makefont ecff ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] +% 10[1000] 10.95[1095] 12[1200] 14.4[1440] +% 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] +% 35.83[3583]) +% \makefont ecfi ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] +% 10[1000] 10.95[1095] 12[1200] 14.4[1440] +% 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] +% 35.83[3583]) +% \makefont ecfb ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] +% 10[1000] 10.95[1095] 12[1200] 14.4[1440] +% 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] +% 35.83[3583]) + \makefont ecdh ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) +} +% If a font with a fraction, e.g. "7.5", should be generated +% and the file name is not allowed to contain a period, an +% optional file name part can be specified. +% +% 7.5[0750] +% +% result in - may be - "dcr0750.mf" and an entry of "gensize:=7.5;" +% (The new value has to be specified in the \tablevalues-line too! +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% The Batch file entries ( #1 contains the fontname ) +% +% should be of the following form: +% +% \def\BatchOutput{\BatchLine{...}% +% ... +% \BatchLine{...}} +% +% +% preset value, change \BatchOutput if you like .... +% +\def\BatchOutput#1{ + \BatchLine{$ MF "\string\mode=localfont; input #1"} +} +% +% File naming conventions: +% +\def\BatchFileName{ecfonts.com} +% +% +\def\MetafontFileExtension{.mf} +% +\def\modedef{} % e.g. \def\modedef{\string\mode:=hplaser;} +% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% please n o changes from here, thanks ! +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% (Avoiding inspecting the macros (sigh!) +% +% Norbert Schwarz, Dezember 1990 +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\magnification\magstep1 +\overfullrule=0pt +%\tracingonline1 +%\tracingcommands=1 +%\tracingmacros=1 +% some token handling +\let\EA\expandafter +\def\JoinToks#1=(#2+#3){#1=\EA\EA\EA{\EA\the\EA#2\the#3}} +\def\UpToHere{\relax} +\def\IgnoreRest#1#2\UpToHere{#1} +\def\IgnoreFirst#1#2\relax\UpToHere{#2} +\def\First#1{\EA\IgnoreRest\the#1{}\UpToHere} +\def\FirstOf#1{\EA\EA\EA{\EA\IgnoreRest\the#1{}\UpToHere}} +\def\MoveFirst(#1to#2){#2\FirstOf#1} +\def\Rest#1{\EA\IgnoreFirst\the#1\relax\UpToHere} +\def\RestOf#1{\EA\EA\EA{\EA\IgnoreFirst\the#1\relax\UpToHere}} +\def\MoveRest(#1to#2){#2=\RestOf{#1}} +% borrowed from p. 132 in N.Schwarz, Introduction to TeX (some advertising ..) + +\newtoks\Basis +\newtoks\Table +\def\storetoks#1{\toks0={#1}\JoinToks\Table=(\Table+\toks0)} +\Table={} +% +\def\hash{##} +\newwrite \batchoutput +\newwrite \fontoutput +\def\today{\ifcase\month\or + January\or Februar\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi, + \number\day, + \space\number\year} + +\def\BatchLine#1{\immediate\write\batchoutput{#1}} +\immediate\openout\batchoutput=\BatchFileName + +\def\empty{} +\def\minus{-} +\def\blank{ } +\def\singlefont#1 {% + \def\fontsize{#1}%\message{<#1>}% + \ifx\fontsize\minus\let\next\relax + \else + \ifx\fontsize\empty\let\next\singlefont + \else + \ifx\fontsize\blank\let\next\singlefont + \else + \let\next\dofont + \fi\fi\fi + \next} + +\def\doentry{\MoveFirst(\Workbase to\Htok)% + \Workbase=\RestOf\Workbase + \edef\doou{\the\Htok}% + \ifx\doou\fontsize + \def\dooU{\storetoks{\hfill $\bullet$\hfill&}}% + \let\weiter\dooU + \else + \def\weiter{\storetoks{~\hfill&}\doentry}% + \fi\weiter} + + +\def\singletablevalue#1 {% + \def\fontsize{#1}% + \ifx\fontsize\blank\let\next\singletablevalue + \else + \ifx\minus\fontsize\let\next\relax + \else\let\next\dotablevalue\fi + \fi + \next} + +\newtoks\Htok +\newtoks\Workbase +\def\dotablevalue{\edef\dooo{\Htok={{\fontsize}}}% + \dooo + \EA\storetoks\EA{\fontsize&}% + \JoinToks\Basis=(\Basis+\Htok)\singletablevalue} + +\def\tablevalues(#1){\storetoks{\bf Fonts &}\singletablevalue#1 - + \storetoks{\cr}} + +\def\makefont #1 (#2){\JoinToks\Workbase=(\Basis+\Basis)% + \myc=0\immediate\write15{}% + \edef\fontnamebody{#1}% + \def\dostoretoks{\storetoks{#1 &}}\dostoretoks + \singlefont #2 - \storetoks{\cr}} + +\def~{\ifdim\dimen0>0pt + \message{\number\dimen0}% + \global\advance\dimen0 by -5.25pt + \message{ }\fi} + +\newcount\myc +\def\extraspaces{\setbox0=\hbox{\tt\fontname}% +\dimen0=78.75pt +\advance\dimen0 by -\wd0\relax + \advance\myc by 1 + \ifnum \myc=5 + \immediate\write15{}% + \myc=0 \fi} + + +\def\dofonttest#1[#2]#3\nothing{% +\def\fontsize{#2}% +\ifx\fontsize\empty + \def\fontsizename{#1}% + \def\fontsize{#1}% +\else + \def\fontsize{#1}% + \def\fontsizename{#2}% +\fi} +\def\dofont{\doentry\expandafter\dofonttest\fontsize[]\nothing\Dofont} + +{\catcode`\%=11 +\catcode`\|=14 +\gdef\Dofont{| + \edef\fontname{\fontnamebody\fontsizename\MetafontFileExtension}| + \edef\dowrite{| + \immediate\openout \fontoutput = \fontname| + \immediate\write + \fontoutput {% This is \fontname\space + in text format as of \today}| + \immediate\write \fontoutput {if unknown exbase: input exbase fi;}| + \immediate\write \fontoutput {}| + \immediate\write \fontoutput {\modedef}| + \immediate\write \fontoutput {gensize:=\fontsize;}| + \immediate\write \fontoutput {generate \fontnamebody}| + \immediate\closeout \fontoutput| + \BatchOutput{\fontnamebody\fontsizename} + \message{\fontname\blank}|\extraspaces~~~~~~~~~~~| +}\dowrite\singlefont}} +\immediate\write15{generated mf-files:} +\immediate\write15{-------------------} + +\nopagenumbers + +\def\minimumbox#1{\setbox0=\hbox{#1}% + \ifdim\wd0>15pt \box0\else \hbox to 15pt{\hfil + \box0\hfil}\fi} +\storetoks{\hrule +\medskip +\centerline{Overview EC - Standard font set} +\medskip +\hrule +\bigskip +\noindent The following table describes the generated {*.mf} files which +are needed for the setup of the standard DC/EC-font set. +\bigskip +\bigskip +$$\vbox\bgroup\nointerlineskip\halign\bgroup\hash\hfil\quad&&\strut + \quad\minimumbox{\hash}\cr +\noalign{\medskip}} + + + +%\tracingonline1 +%\tracingmacros2 +%\tracingcommands1 + +\FontsToBeGenerated + +\storetoks{\egroup\egroup$$} + +\let\hash=# +\the\Table +\end diff --git a/fonts/ec/src/ecsx.mf b/fonts/ec/src/ecsx.mf new file mode 100644 index 0000000000..e99c741abc --- /dev/null +++ b/fonts/ec/src/ecsx.mf @@ -0,0 +1,92 @@ +% ecsx.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Sans Serif Bold Extended +% +% +font_identifier:="ECSSBX"; +font_size gensize*pt#; +basedef ( 5, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12, 19, 22, 27, 40); +gendef [1/36pt#]( width_adj# )( 12, 19, 22, 19, 27); +gendef [1/36pt#]( serif_fit# )([-5], [-8], [-9], [-10], [-14]); +gendef [1/36pt#]( cap_serif_fit# )([-6], [-9], [-11], [-15], [-20]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )(135, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )(130, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )(125, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )(125, 212, 250, 283, 408); +gendef [1/36pt#]( x_height# )( 83, 149, 165, 198, 280); +gendef [1/36pt#]( math_axis# )( 45, 80, 90, 108, 150); +gendef [1/36pt#]( bar_height# )( 45, 80, 90, 95, 135); +gendef [1/36pt#]( comma_depth# )( 19, 34, 38, 54, 75); +gendef [1/36pt#]( desc_depth# )( 35, 62, 70, 84, 120); +gendef [1/36pt#]( acc_height# )( 45, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 38, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( udot_height# )( 30, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 12, 25, 26, 26, 26); +gendef [1/36pt#]( tiny# )( 12, 24, 26, 26, 26); +gendef [1/36pt#]( fine# )( 5, 7, 9, 9, 9); +gendef [1/36pt#]( thin_join# )( 11, 18, 19, 21, 25); +gendef [1/36pt#]( hair# )( 25, 40, 49, 50, 67); +gendef [1/36pt#]( stem# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( curve# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( ess# )( 22, 35, 43, 44, 60); +gendef [1/36pt#]( flare# )( 20, 39, 40, 41, 58); +gendef [1/36pt#]( dot_size# )( 24, 40, 47, 48, 65); +gendef [1/36pt#]( cap_hair# )( 24, 41, 48, 50, 67); +gendef [1/36pt#]( cap_stem# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_curve# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_ess# )( 26, 43, 51, 52, 68); +gendef [1/36pt#]( rule_thickness#)( 16, 29, 30, 31, 36); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )(.75, 1.1, 1.5, 1.8, 3.5); +gendef [1/36pt#]( vair# )( 15, 22, 26, 27, 35); +gendef [1/36pt#]( notch_cut# )( 25, 42, 49, 50, 57); +gendef [1/36pt#]( bar# )( 13, 26, 26, 27, 35); +gendef [1/36pt#]( slab# )( 18, 35, 36, 37, 45); +gendef [1/36pt#]( cap_bar# )( 17, 33, 34, 35, 42); +gendef [1/36pt#]( cap_band# )( 16, 30, 31, 32, 40); +gendef [1/36pt#]( cap_notch_cut# )( 23, 44, 45, 46, 53); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( apex_corr# )( 15, 17, 18, 19, 20); +gendef [1/36pt#]( o# )( 5, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +slant:=0; +gendef ( fudge )(.88, .88, .88, .88, .88); +gendef ( math_spread )(.45, .45, .5, .5, .5); +superness:=3/4; +superpull:=1/18; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ectc.mf b/fonts/ec/src/ectc.mf new file mode 100644 index 0000000000..fc2920b9a6 --- /dev/null +++ b/fonts/ec/src/ectc.mf @@ -0,0 +1,119 @@ +% ectc.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Typewritr Caps and Small Caps +% +% +font_identifier:="ECTCSC"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 40, 45, 50, 60); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +slant:=0; +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +true_mono:=true; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; +gendef [1/36pt#]( lower.u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( lower.width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( lower.cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( lower.letter_fit# )( 3, 3, 3, 3); +gendef [1/36pt#]( lower.body_height# )( 140, 165, 190, 240); +gendef [1/36pt#]( lower.cap_height# )( 126, 148, 170, 214); +gendef [1/36pt#]( lower.x_height# )( 89, 104.5, 120, 151); +gendef [1/36pt#]( lower.bar_height# )( 46, 54, 62, 78); +gendef [1/36pt#]( lower.comma_depth# )( 22, 30, 38, 54); +gendef [1/36pt#]( lower.flare# )( 26, 28, 30, 33); +gendef [1/36pt#]( lower.dot_size# )( 28, 30, 33, 36); +gendef [1/36pt#]( lower.cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( lower.stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( lower.cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( lower.cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( lower.cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( lower.cap_jut# )( 19, 23, 26, 31); +gendef [1/36pt#]( lower.beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( lower.beak# )( 19, 23, 26, 31); +gendef [1/36pt#]( lower.slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( lower.cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( lower.cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( lower.cap_notch_cut# )( 21, 23, 24, 27); +gendef [1/36pt#]( lower.o# )( 2, 2.5, 3, 4); +gendef [1/36pt#]( lower.apex_o# )( 2, 2, 2, 3); +gendef ( lower.fudge )( .85, .85, .85, .85); + +clear_extra_memory; + +generate excsc + +endinput; diff --git a/fonts/ec/src/ecti.mf b/fonts/ec/src/ecti.mf new file mode 100644 index 0000000000..5d0fe670c7 --- /dev/null +++ b/fonts/ec/src/ecti.mf @@ -0,0 +1,93 @@ +% ecti.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Text Italic +% +% +font_identifier:="ECTI"; +font_size (gensize*pt#); +basedef ( 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.8, 15.8, 17, 18.4, 21.6); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3.5, 4.1, 4.6, 5, 5.8); +gendef [1/36pt#]( letter_fit# )( 9.4, 7.9, 8.5, 9.2, 10.8); +gendef [1/36pt#]( body_height# )( 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 172.2, 196.8, 221.4, 246, 295.2); +gendef [1/36pt#]( fig_height# )( 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 108.5, 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 60.9, 69.6, 78.3, 87, 104.4); +gendef [1/36pt#]( comma_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( tiny# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 6, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 6, 7, 7, 7, 7.5); +gendef [1/36pt#]( hair# )( 10.5, 11, 11, 11, 12); +gendef [1/36pt#]( stem# )( 18.5, 20, 22, 23, 26); +gendef [1/36pt#]( curve# )( 21.5, 23.5, 26, 28, 31); +gendef [1/36pt#]( ess# )( 21, 23, 25, 27, 29); +gendef [1/36pt#]( flare# )( 21, 24, 26, 29, 32); +gendef [1/36pt#]( dot_size# )( 29, 32, 35, 38, 42); +gendef [1/36pt#]( cap_hair# )( 9, 9.5, 10, 11, 11.5); +gendef [1/36pt#]( cap_stem# )( 21.5, 23.5, 26, 29, 32); +gendef [1/36pt#]( cap_curve# )( 24.5, 27, 30, 34, 37); +gendef [1/36pt#]( cap_ess# )( 21, 24, 27, 31, 34); +gendef [pt#]( rule_thickness#)( .34, .36, .38, .4, .44); +gendef [1/36pt#]( dish# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 14, 16, 18, 20, 24); +gendef [1/36pt#]( jut# )( 21, 24, 27, 30, 35); +gendef [1/36pt#]( cap_jut# )( 24, 27, 30.5, 34, 38); +gendef [1/36pt#]( beak_jut# )( 7.4, 7.9, 8.5, 9, 10.4); +gendef [1/36pt#]( beak# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( vair# )( 7, 8, 8, 8, 8.5); +gendef [pt#]( notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( slab# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_band# )( 9, 9.5, 10, 11, 12.5); +gendef [pt#]( cap_notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 2.8, 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( stem_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 5, 6, 7, 8, 9); +gendef [1/36pt#]( apex_o# )( 5, 6, 7, 8, 9); +slant:=1/4; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )( .6, .4, .2, 0, [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +classic_serif:=false; + +clear_extra_memory; + +generate extextit + +endinput; diff --git a/fonts/ec/src/ectt.mf b/fonts/ec/src/ectt.mf new file mode 100644 index 0000000000..3287e62442 --- /dev/null +++ b/fonts/ec/src/ectt.mf @@ -0,0 +1,93 @@ +% ectt.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Typewriter Text +% +% +font_identifier:="ECTT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 40, 45, 50, 60); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +slant:=0; +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +true_mono:=true; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/ecui.mf b/fonts/ec/src/ecui.mf new file mode 100644 index 0000000000..b516979953 --- /dev/null +++ b/fonts/ec/src/ecui.mf @@ -0,0 +1,90 @@ +% ecui.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Unslanted Italic +% +% +font_identifier:="ECUI"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 10, 10, 10, 10, 10, 10, 10, 10); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 41); +gendef [1/36pt#]( ess# )( 7, 12, 16, 18, 20, 22, 25, 30); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 40); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 48); +gendef [1/36pt#]( cap_ess# )( 11, 16, 20, 24, 28, 32, 35, 40); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate extextit + +endinput; diff --git a/fonts/ec/src/ecvi.mf b/fonts/ec/src/ecvi.mf new file mode 100644 index 0000000000..7b78d25484 --- /dev/null +++ b/fonts/ec/src/ecvi.mf @@ -0,0 +1,89 @@ +% ecvi.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Variable Width Italic Typewriter Text +% +% +font_identifier:="ECVTTI"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 15, 15, 15, 15); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 34, 42, 50, 66); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 33, 37, 40, 45); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +slant:=1/4; +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=true; +math_fitting:=false; +clear_extra_memory; +generate extextit + +endinput; diff --git a/fonts/ec/src/ecvt.mf b/fonts/ec/src/ecvt.mf new file mode 100644 index 0000000000..f51f5cc6e0 --- /dev/null +++ b/fonts/ec/src/ecvt.mf @@ -0,0 +1,90 @@ +% ecvt.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Variable-Width Typewriter Text +% +% +font_identifier:="ECVTT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 40, 45, 50, 60); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +slant:=0; +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; +clear_extra_memory; +generate exroman + +endinput; diff --git a/fonts/ec/src/ecxc.mf b/fonts/ec/src/ecxc.mf new file mode 100644 index 0000000000..61fcee1198 --- /dev/null +++ b/fonts/ec/src/ecxc.mf @@ -0,0 +1,127 @@ +% ecxc.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% The parameters in this file were originally contributed by +% Lars Engebretsen <enge@nada.kth.se> and Caj E. Svenson +% <atocasv@ato.abb.se>. +% +% The two contributions were merged and retuned, if necessary. +% +% Content: +% +% Parameter for +% +% European Computer Modern Bold Extended Caps and Small Caps +% +% +font_identifier:="ECBXCSC"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 15, 16.5, 18.5, 20, 22, 24, 28); +gendef [1/36pt#]( width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8); +gendef [1/36pt#]( letter_fit# )( 5, 5, 5, 5, 5, 5, 5); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 19, 23, 27, 31, 35, 39, 46); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .5); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +gendef [1/36pt#]( lower.u# )( 11, 12, 14, 15.7, 17, 18.3, 21.3); +gendef [1/36pt#]( lower.width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( lower.cap_serif_fit# )( 2, 2.8, 3.6, 4.4, 5.2, 6, 7); +gendef [1/36pt#]( lower.letter_fit# )( 1.44, 1.44, 1.44, 1.44, 1.44, 1.44, 1.44); +gendef [1/36pt#]( lower.body_height# )( 65, 92, 119, 146, 173, 200, 254); +gendef [1/36pt#]( lower.cap_height# )( 96, 106, 122, 136, 161, 186, 226); +gendef [1/36pt#]( lower.x_height# )( 39.7, 55.7, 71.7, 87.7, 103.7, 119.7, 151.7); +gendef [1/36pt#]( lower.bar_height# )( 19.8, 28.4, 37, 45.8, 54.6, 63.5, 80.5); +gendef [1/36pt#]( lower.comma_depth# )( 17, 24, 31, 38, 45, 52, 64); +gendef [1/36pt#]( lower.flare# )( 17.7, 21.8, 25.8, 29.5, 31.8, 34.1, 38.6); +gendef [1/36pt#]( lower.dot_size# )( 21, 26, 31, 36, 41, 46, 52); +gendef [1/36pt#]( lower.cap_hair# )( 11, 12, 13, 14, 15, 15.7, 16.5); +gendef [1/36pt#]( lower.stem# )( 20, 23, 26, 29.4, 31.9, 34.4, 39.5); +gendef [1/36pt#]( lower.cap_stem# )( 21, 25, 29, 34, 38.2, 41.4, 46.3); +gendef [1/36pt#]( lower.cap_curve# )( 24, 28, 33, 38, 42.7, 46.1, 51.1); +gendef [1/36pt#]( lower.cap_ess# )( 15, 22, 29, 34, 38.4, 42.4, 47.2); +gendef [1/36pt#]( lower.cap_jut# )( 9, 11, 14, 18, 24, 27.4, 32.3); +gendef [1/36pt#]( lower.beak_jut# )( 4, 5, 6, 6.5, 7.1, 7.7, 8.68); +gendef [1/36pt#]( lower.beak# )( 17, 24, 31, 39, 46, 52, 62.4); +gendef [1/36pt#]( lower.slab# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [1/36pt#]( lower.cap_bar# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [1/36pt#]( lower.cap_band# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [pt#]( lower.cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( lower.o# )( 1.875, 1.875, 1.875, 2.5, 2.5, 2.5, 3.125); +gendef [1/36pt#]( lower.cap_bar# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [1/36pt#]( lower.cap_band# )( 9.9, 10.8, 11.6, 12.4, 13.2, 14.1, 15.3); +gendef [pt#]( lower.cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( lower.o# )( 1.875, 1.875, 1.875, 2.5, 2.5, 2.5, 3.125); +gendef [1/36pt#]( lower.apex_o# )( 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 2); +gendef ( lower.fudge )( 1, 1, 1, 1, 1, 1, 1); + +clear_extra_memory; + +generate excsc + +endinput; + diff --git a/fonts/ec/src/exaccent.mf b/fonts/ec/src/exaccent.mf new file mode 100644 index 0000000000..cb4e819834 --- /dev/null +++ b/fonts/ec/src/exaccent.mf @@ -0,0 +1,132 @@ +% exaccent.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Accents (for lowercase letters) +% +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar"Grave accent"; +beginchar_twice(oct"0",9u#,x_height#,0); % |put_gravis| changes the height +adjust_fit(0,0); +put_gravis; +repeat_once; +endchar; + +ecchar"Acute accent"; % using acute from plfonts +beginchar_twice(oct"1",9u#,x_height#,0); % |put_accent| changes the height +italcorr h#*slant-if serifs: 1.5 fi u#; +adjust_fit(0,0); +put_accent; +repeat_once; +endchar; + +ecchar"Circumflex (hat) accent"; +beginchar(oct"002",9u#,x_height#+acc_height#,0); +lowercase_hat(.5w,oo,1,2,3,4,5); +penlabels(0,1,2,3,4); endchar; + +ecchar"Tilde (squiggle) accent"; +beginchar(oct"003",9u#,x_height#+acc_height#,0); +italcorr h#*slant-u#; +adjust_fit(0,0); +lowercase_tilde(0,0 if variant_g: -1/6acc_height fi,1,2,3,4,5); +penlabels(1,2,3,4,5); endchar; + +ecchar"Umlaut (double dot) accent"; +beginchar(oct"004",9u#,lc_trema_height#,0); +%udot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +italcorr h#*slant+.5udot_diam#-2.25u#; +adjust_fit(0,0); +lowercase_umlaut(0,0,1,2,3,4);penlabels(1,2,3,4); endchar; + +ecchar"Double acute accent (Long Hungarian umlaut accent)"; +beginchar_twice(oct"005",9u#,x_height#+acc_height#,0); +italcorr h#*slant-u#; +adjust_fit(0,0); +if monospace: hpos_corr=-2u; put_accent; hpos_corr=2u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +repeat_once; +endchar; + +ecchar"Scandinavian circle accent"; +beginchar(oct"006",13u#+4/3acc_height#*slant,x_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +lowercase_circle(.5w,vround(1/3[x_height,h]+apex_o),1,2,3,4); +penlabels(1,2,3,4); endchar; + +ecchar"Hachek (check) accent"; +beginchar(oct"007",9u#,x_height#+acc_height#,0); +lc_hachek_accent(.5w); +endchar; + +ecchar"Breve accent"; +beginchar(oct"10",9u#,x_height#+acc_height#,0); +italcorr h#*slant+.5vair#-1.5u#; +adjust_fit(0,0); +lowercase_breve(.5w,0,1,2,3); +penlabels(1,2,3); endchar; + +ecchar"Macron (bar) accent"; +beginchar(oct"011",9u#,lc_trema_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=h+o; lft x1=w-rt x2=hround 1.25u; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +ecchar"Dot accent"; +beginchar_twice(oct"012",5u#,x_height#+acc_height#,0); +italcorr h#*slant+.5idot_diam#-2u#; +adjust_fit(0,0); +put_dot(tiny,max(dot_size#,cap_curve#)); +repeat_once; +penlabels(1,2); endchar; + +ecchar"Cedilla accent"; +beginchar(oct"013",8u#,0,.875desc_depth#); +adjust_fit(0,0); +lowercase_cedilla(.5w,0,1,2,3,4,5); +penlabels(1,2,3,4,5); endchar; + +ecchar"Ogonek"; +beginchar(oct"014",5u#,0,desc_depth#); +italcorr 0; +adjust_fit(0,0); +ogon_one := 1; +ogon_two := 2; +ogon_three := 3; +if serifs: + x[ogon_one]r=0.7w; + %+outer_jut; +else: + x[ogon_one]r=0.6w; +fi + pickup crisp.nib; + pos[ogon_one]( + if 0.9vair>currentbreadth: 0.9vair else: currentbreadth+eps fi,-60); + pos[ogon_two](stem,0); + pos[ogon_three](vair,145); + x[ogon_two]=x[ogon_one]-2.5u if monospace: /expansion_factor fi ; + x[ogon_three]=x[ogon_one]+0.5u if monospace: /expansion_factor fi; + bot y[ogon_one]r = 0; + bot y[ogon_three]=0.5(-d-o); %0.4 + bot y[ogon_two]=0.5(-d-o); + filldraw stroke z[ogon_one]e{dir 225}... + z[ogon_two]e{dir -110}...{dir 60}z[ogon_three]e; % hook +penlabels(1,2,3); endchar; + +endinput; diff --git a/fonts/ec/src/exaccess.mf b/fonts/ec/src/exaccess.mf new file mode 100644 index 0000000000..9618ad0ae4 --- /dev/null +++ b/fonts/ec/src/exaccess.mf @@ -0,0 +1,891 @@ +% exaccess.mf +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Accessories and special definitions for polish letters +% Adapted to the ec fonts by J\"org Knappen +% +% Copyright (c) 1992 Bogus\l{}aw Jackowski \& Marek Ry\'cko +% Copyright (c) 1995, 1996, 1997 J\"org Knappen +% --------------------------------------------------------------------------- +% This was PL_DOD.MF ({\bif{}dodatkowy}, i.e., additional file for the Polish +% extension of CM family) in text format. +% --------------------------------------------------------------------------- +%%{\let\:\sl +%\: This file provides accessories for making Polish diacritical characters: +%\: acute accent for |"C"|, |"N"|, |"L"|, |"S"|, |"Z"|, dot accent for |"Z"|, +%\: cross for |"L"| and ogonek for |"A"| and |"E"|. In order to avoid extra +%\: parameters (62 should be enough) the macros do a lot of ``clever'' stuff, +%\: trying to figure out needed dimensions. This is not always a trivial +%\: task and in some cases such extra parameters may prove to be unavoidable. +%\: Several additional parameters may be assigned a value, prior to reading +%\: the driver file, in order to override the default behaviour. + +%\: One of them is +%\: --- the factor controlling the slope of accents over majuscules, +%\: |cap_flat|; if the default slope is, say, $\beta$, the resulting +%\: slope is equal to |(1-cap_flat)*|$\beta$; this parameter is used +%\: in the sources of the following fonts: +%\ PLCSC10, PLDUNH10, PLTCSC10 + +%\: Unexpectedly difficult to program turned out to be ogoneks. We decided +%\: that the best looking are ogoneks such that a single B\`ezier segment +%\: describes each of ogonek's edges. This necessitated introducing many +%\: parameters controlling the positions of control points (for more details +%\: see comments in the section ``OGONEK ACCESSORIES''). All these +%\: (optional) parameters may be splitted into three groups of importance: +%\: primary, secondary and tertiary. The primary parameters are intended +%\: to be ``normally'' accessible to users, the secondary ones---only in +%\: case of emergency, the tertiary ones---rather not at all. + +%\: The primary parameters are: + +%\: --- the factor controlling the depth of ogoneks, |depth_corr|; the +%\: resulting depth is equal to |depth_corr*desc_depth#| if the value +%\: of |depth_corr| is known, |desc_depth#| otherwise +%\: --- the factor controlling the leftmost and tip positions +%\: of an ogonek, |left_corr|, |tip_xcorr| and |tip_ycorr|; +%\: the default distances are scaled using the values of the +%\: corresponding parameters +%\: --- the scaling factor for the top and tip breadths of an ogonek, +%\: |top_breadth_corr|, |tip_breadth_corr| + +%\: Some of the primary parameters are used in the sources of the following +%\: fonts: +% PLB10, PLBX5, PLBX6, PLBX7, PLBX8, PLFI10, PLITT10, PLR5, PLR6, PLR7, +% PLR8, PLR9, PLR12, PLR17, PLSL8, PLSL9, PLSL12, PLSSQ8, PLSSQI8, PLTI7, +% PLTI8, PLTI12, PLVTT10 + +%\: The following four parameters we regard as of a secondary importance: + +%\: --- the pen ogoneks are to be filled with, |ogonek_pen#| (this is +%\: the only sharp ogonek parameter and is used in the sources of +%\: the {\commfont{}PLFF10} and {\commfont{}PLFI10} fonts) +%\: --- the darkness of ogoneks may be controlled using two parameters, +%\: |0<pre_lightness<1| and |0<post_lightness<1|, referring to the top +%\: and tip of an ogonek, respectively; used in {\commfont{}PLB10.MF} +%\: --- next two parameters, |pre_deflexion| and |post_deflexion|, control +%\: a rather small deflexion angle (in degrees) of the inner ogonek +%\: outline as compared to the outer one; they refere to the top and +%\: tip of an ogonek, respectively + +%\: The complete list of `ogonek' parameters can be found in the section +%\: ``OGONEK ACCESSORIES.'' + +%\: There is one more (rather unimportant) parameter, |is_smoke|. If this +%\: variable is assigned a known value, `smoked' proofs will not contain +%\: a rule marking the height of accented letters. +%%} +% --------------------------------------------------------------------------- +% HISTORY +% 7 Feb 1992: version 1.00 +% 11 Feb 1992: version 1.01 +% (no changes; the new version number due to changes in \MeX{} format) +% 25 May 1992: version 1.02 +% The following two erroneous assignments: +%| z_a:=(x_down+the_left_pos,.5penkind); %| starting point +%| z_d:=(xpart(z_a)-.5penkind,y_right+.5penkind)+the_tip_pos; %| ending point +% changed to the following ones: +%| z_a:=(x_down+the_left_pos,ypart(ogonek_pos)); %| starting point +%| z_d:=(xpart(z_a)-.5penkind,y_right+ypart(ogonek_pos))+| +%| the_tip_pos; %| ending point +% Some comments changed. +% 18 Dec 1992: version 1.03 +% (no changes; the new version number due to changes in FIK_MIK.MF +% and some cosmetic changes in CMBX11.MF, CMR11.MF, CMTI11.MF, CMSL11.MF, +% CMSSBI10.MF, and POLAN.MF) +% 21 Apr 1995: Adaption for dxbase and dcfonts: +% Deleted character code (those are fixed by the Cork standard) +% Deleted |improve_kerns| +% Avoid double rounding in the definition of |fisp| by defining |fisp#| +% Made |the_ogonek_depth| explicitly sharp (|the_ogonek_depth#|) +% Changed definition of |is_cap| +% Replaced all occurences of |ogonked_a| and |ogonked_e| with the +% Cork code values |oct"241"| and |oct"246"| respectively +% Replaced |dotted_Z| and |dotted_z| with |oct"233"| and |oct"273"| +% respectively +% Renamed |expansion_factor| to |expansion_faktor| because of +% conflicting definition +% 7 May 1995 Appended material from czechoslovak fonts (csaccent.mf) +% 18 May 1995 Changed |put_accent| because I want to use it twice in +% one character. To achieve this, the variables |z.top| and |z.right| +% were renamed |z[jj].top| and |z[jj].right| respectively +% Changed |is_cap| again (included |168| for l with acute) +% 29 May 1995 Added accessories for the grave accent +% Changes one comment to point to dxcsc.mf instead of polkap.mf +% 18 Jun 1995 Made provision in |put_cross| for the blank symbol +% Made provision in |put_dot| for turkish dotted `I' +% 10 Jul 1995 Changed condition in |put_dot| to refer to |is_cap|. Needed +% with the tc fonts. +% 11 Jul 1995 Added another proviso to |put_dot| to produce floating dot +% 23 Jul 1995 Added proviso in |put_cross| for recipe sign +% 17 Aug 1995 Tuned height of accent again, added |hi.x_height@#+acc_height@#| +% to the minimum condition +% 14 Apr 1996 Buildt in Bogus\l{}aw Jackowski's fixes to avoid resolution +% dependent font metrics. +% I did not apply the change to the |put_dot| macro, because there is +% no chance to keep it consistent for the floating dot accent +% Macros for processing characters twice put to |exbase.mf| +% 26 Apr 1996 Put in version checking +% Moved last minute font setup to |expseudo.mf| +% 10-MAY-1996 Corrected |corrital| to make use of the canonical sharp mode +% Added |version_check| +% 22-DEC-1996 Moved definition of |is_small_cap| and |hi.| to |exbase.mf| +% Changed the documentation to know about ec fonts instead of dc fonts. +% --------------------------------------------------------------------------- +% VERSION CHECKING +% --------------------------------------------------------------------------- +version_check(1,0); % |version_check| was introduced in dc1.3 +% --------------------------------------------------------------------------- +% LAYOUT SETUP: +% (A MIXTURE OF EXTENDED CM, EXTENDED ASCII, AND ``LOCAL'') +% --------------------------------------------------------------------------- +% [deleted] +% --------------------------------------------------------------------------- +% EXTRA PARAMETERS +% --------------------------------------------------------------------------- +% [deleted and/or moved] +% +% The variable |limit_dist| is set to |5/4u| in PL_DL.MF, PL_ML.MF and +% PL_MLK.MF, and used in |put_accent| and |put_cross|. It was introduced +% because of some funny (although troublesome) fonts. The value of |u| is +% changed by |mono_adjust|, hence it is set outside |beginchar| ... |endchar| +% rather than inside. +numeric limit_dist; +% --------------------------------------------------------------------------- +% GENERAL PURPOSE ACCESSORIES +% --------------------------------------------------------------------------- +vardef is_egyptian = +% |false| for most of the CM fonts, except funny fonts; +% |true| for the CC fonts + serifs and (1.4max(fine#,crisp#, tiny#)<slab#) and (1.6slab#>stem#) +enddef; + +vardef is_bold = if serifs: (hair#+.5stem#)>1.5u# else: stem#>2u# fi\\ enddef; + +vardef is_cap = + (((127 < charcode) and (charcode < 158)) or\\ + ((191 < charcode) and (charcode < 224))) or\\ + (charcode = 168) % true for l with acute +enddef; + +%%% top is_known +%%% top fix_virgin +vardef is_known z suffix $ = +% an auxiliary macro for |fix_virgin z|, used also while constructing ogoneks + (known x$) or (known x$l) or (known x$r)\\ or + (known y$) or (known y$l) or (known y$r) +enddef; + +vardef fix_virgin z = % find a pair of virgin pairs + numeric ii,jj; jj:=1; + forever: + if is_known z[jj] or is_known z[jj+1]: % unknown gaps may occur + jj:=incr jj else: jj=ii fi; exitif known ii; + endfor; + jj:=ii+1; +% now |ii| and |jj| are such that |z[ii]| and |z[jj]| are ``untouched'' +enddef; + +%%% italcorr corrital +% correction of italic correction (cf. D. E. Knuth, The \MF{}book, p. 105): +vardef corrital z suffix $ = +% |z$| is the rightmost position of a pen (in accent path) + if known sharp_calc: + if not monospace: + save charic_; charic_=(rt(x$)-r)/hppp+slant*y$/vppp+.5u#; + if charic_>charic: charic:=charic_; fi + fi +%| else: %| |charic=mono_charic#|, do nothing + fi +enddef; + +%%% top prepare_pen +def prepare_pen suffix $ = +%%% fine $ %%%% temporary MFT convention + if $>fudged.hair: $:=fudged.hair; fi + $.breadth:=$; + pickup if $=0: nullpen else: pencircle scaled $; $:=$-eps fi; + $.nib:=savepen; breadth_[$.nib]:=$; + forsuffixes $$=lft,rt,top,bot: shiftdef($.$$,$$ 0); endfor +%%% qq $ %%%% ordinary MFT convention +enddef; + +% The proportion of |vair/stem| depends drastically on resolution; +% e.g., for 300 dpi cmbx10 |vair=1| and |stem=5|, for 746 dpi cmbx10 +% (300 dpi, magstep 5) |vair=4| and |stem=12|, while, sharply speaking, +% |stem#/vair#=3.15381|; hence a new variable |xvair| has been introduced +% to be used in some crucial places instead of |vair|. +vardef xvair = stem*vair#/stem# enddef; +% --------------------------------------------------------------------------- +% ACCENT ACCESSORIES +% --------------------------------------------------------------------------- +% |the_cap_flat| is a factor controlling the flatness of accents over +% majuscules; a default value may be overriden by assigning a value to the +% variable |cap_flat| (cf. also |the_|... macros in ogonek accessories). +vardef the_cap_flat = + if known cap_flat: cap_flat elseif serifs and hefty: 1/5 else: 1/3 fi +enddef; +% --------------------------------------------------------------------------- +% The |hpos_corr| variable is an optional parameter to |put_ogonek|, meant +% to be set locally inside |beginchar| ... |endchar|, if a horizontal +% correction of the accent position is needed: +numeric hpos_corr; +% --------------------------------------------------------------------------- +%%%% temporary MFT convention: +%%% top x_height diam a_wd a_ht i_ht u asc_height cap_A_wd +% width of the acute accent: +vardef a_wd@# = 9hi.u@# enddef; +% height of the acute accent: +vardef a_ht@# = + min(asc_height@#,2hi.x_height@#,hi.x_height@#+acc_height@#) enddef; +% height of the letter `i': +vardef i_ht@#(suffix diam) = + if is_small_cap: a_ht@# % usually there is no dot over a small cap `i' + else: min(asc_height@#, 10/7hi.x_height@#+.5diam@#) fi +enddef; +% width of the letter `A' (used in |put_ogonek|): +vardef cap_A_wd@# = 13u@# enddef; +%%%% ordinary MFT convention: +%%% qq x_height diam a_wd a_ht i_ht u asc_height cap_A_wd + +def mark_height(expr sharp_h)= +% |sharp_h| is the height of an accented minuscule + if known sharp_calc: + charht:=if is_cap: h/vppp else: sharp_h fi; + if\\ (proofing>0) and is_cap: +% BJ likes to have proofs vertically aligned (somehow): + proofoffset(0,h-charht*vppp-1mm); + fi + fi +% say earlier, e.g., |is_smoke=1| if you're making `smoked' proofs +% and you don't like to have a rule marking the height + if unknown is_smoke: + if proofing>0: proofrule((l+w/2,charht*hppp)t_,(r+u,charht*hppp)t_); fi + if displaying>0: screenrule((l+w/2,charht*hppp)t_,(r+u,charht*hppp)t_); fi + fi +enddef; + +def fix_acc_pairs = + fix_virgin z; + begingroup +% excerpt from |beginchar|: + save w,h; w=round(a_wd); h=round(a_ht); +% excerpt from |mono_adjust|: + if monospace: + save u_; numeric u_; u_:=hi.u#; save u; u#:=u_; + numeric expansion_faktor; + mono_charwd#=2 hi.letter_fit#+expansion_faktor*a_wd#; + hi.u:=u#*expansion_faktor*hppp; + w:=mono_charwd-shrink_fit-2 hi.letter_fit; + fi +% end of the excerpts + numeric accent_gap,mid_stem; mid_stem=2/3[stem,hi.stem]; + if serifs: + pickup crisp.nib; + x[jj]'=hround(w-2hi.u)-.5mid_stem; x[jj]':=x[jj]'-2/3[x[jj]',w-x[jj]']; + y[jj]'=h-.5mid_stem+eps-max(2/3[h,hi.x_height],hi.x_height+o+hair); + accent_gap=a_ht-(y[jj]'+.5mid_stem)-hi.x_height; + bot z[ii]=round(accent_hpos, + accent_gap+if is_cap: cap_height else: hi.x_height fi); + z[jj]=z[ii]+(z[jj]' + if is_cap: rotated (-the_cap_flat*angle(z[jj]')) fi); + numeric theta; theta=angle(z[ii]-z[jj])+90; + pos[jj](mid_stem,theta); pos[ii](hair,theta); + else: + pickup fine.nib; + rt x[jj]'r=hround(.5w-1.25hi.u); + top y[jj]'=h-vround(2/3[h,hi.x_height]); + z[ii]'=origin; pos[jj]'(mid_stem,0); pos[ii]'(vair,0); + accent_gap=a_ht-y[jj]'-hi.x_height; + if is_cap: + numeric beta; beta=-the_cap_flat*angle(z[jj]'-z[ii]'); + z[ii]=round(accent_hpos,accent_gap+cap_height); + z[jj]=z[ii]+(z[jj]' rotated beta); + y[jj]r=y[jj]l=y[jj]; y[ii]r=y[ii]l=y[ii]; + for xx:=jj,ii: forsuffixes $:=l,r: + (z[xx]$-z[ii]) rotated -beta=whatever[z[jj]'$,z[ii]'$]; + endfor\\ endfor + else: + for xx:=jj,ii: forsuffixes $:=r, ,l: + z[xx]$=z[xx]'$+round(accent_hpos, + accent_gap+if is_small_cap: cap_height else: x_height fi); + endfor\\ endfor + fi + fi + endgroup; +enddef; + +def put_accent= + numeric accent_hpos; + accent_hpos=.5w - if is_cap: .75 else: .5 fi\\ u + if known hpos_corr: +hpos_corr fi; + fix_acc_pairs; % |fix_acc_pairs| uses private values of |w|, |h| \& |u| + numeric hpos_corr; % |hpos_corr| is local: forget its value +% draw the diagonal: + if serifs: + pickup crisp.nib; filldraw circ_stroke (z[jj]e--z[ii]e); + z[jj].right=directionpoint up of (z[jj]r{z[jj]r-z[ii]r}..{z[ii]l-z[jj]l}z[jj]l); + z[jj].top=directionpoint left of (z[jj]r{z[jj]r-z[ii]r}..{z[ii]l-z[jj]l}z[jj]l); + else: + pickup fine.nib; filldraw stroke (z[jj]e--z[ii]e); + z[jj].right=z[jj].top=z[jj]r; + fi + corrital z[jj].right; % correct italic correction +% adjust and save height (it is used in the program for the dotted `Z'): + h:=if is_cap: y[jj].top else: a_ht fi; + if known sharp_calc: saved_height:=h; fi + mark_height(a_ht#); + penlabels([ii],[jj]); +enddef; +% --------------------------------------------------------------------------- +% GRAVE ACCENT ACCESSORIES +% --------------------------------------------------------------------------- +% This section borrows heavily from the (acute) accent accessories +def fix_grav_pairs = + fix_virgin z; + begingroup +% excerpt from |beginchar|: + save w,h; w=round(a_wd); h=round(a_ht); +% excerpt from |mono_adjust|: + if monospace: + save u_; numeric u_; u_:=hi.u#; save u; u#:=u_; + numeric expansion_faktor; + mono_charwd#=2 hi.letter_fit#+expansion_faktor*a_wd#; + hi.u:=u#*expansion_faktor*hppp; + w:=mono_charwd-shrink_fit-2 hi.letter_fit; + fi +% end of the excerpts + numeric accent_gap,mid_stem; mid_stem=2/3[stem,hi.stem]; + if serifs: + pickup crisp.nib; + x[jj]'=hround(w-2hi.u)-.5mid_stem; x[jj]':= -x[jj]'+ 2/3[x[jj]',w-x[jj]']; + y[jj]'=h-.5mid_stem+eps-max(2/3[h,hi.x_height],hi.x_height+o+hair); + accent_gap=a_ht-(y[jj]'+.5mid_stem)-hi.x_height; + bot z[ii]=round(accent_hpos, + accent_gap+if is_cap: cap_height else: hi.x_height fi); + z[jj]=z[ii]+(z[jj]' + if is_cap: rotated (-the_cap_flat*(angle(z[jj]')-180)) fi); + numeric theta; theta=angle(z[ii]-z[jj])+90; + pos[jj](mid_stem,theta); pos[ii](hair,theta); + else: + pickup fine.nib; + lft x[jj]'l=-hround(.5w-1.25hi.u); + top y[jj]'=h-vround(2/3[h,hi.x_height]); + z[ii]'=origin; pos[jj]'(mid_stem,0); pos[ii]'(vair,0); + accent_gap=a_ht-y[jj]'-hi.x_height; + if is_cap: + numeric beta; beta=-the_cap_flat*(angle(z[jj]'-z[ii]')-180); + z[ii]=round(accent_hpos,accent_gap+cap_height); + z[jj]=z[ii]+(z[jj]' rotated beta); + y[jj]r=y[jj]l=y[jj]; y[ii]r=y[ii]l=y[ii]; + for xx:=jj,ii: forsuffixes $:=l,r: + (z[xx]$-z[ii]) rotated -beta=whatever[z[jj]'$,z[ii]'$]; + endfor\\ endfor + else: + for xx:=jj,ii: forsuffixes $:=r, ,l: + z[xx]$=z[xx]'$+round(accent_hpos, + accent_gap+if is_small_cap: cap_height else: x_height fi); + endfor\\ endfor + fi + fi + endgroup; +enddef; + +def put_gravis= + numeric accent_hpos; + accent_hpos=.5w + if is_cap: .75 else: .5 fi\\ u + if known hpos_corr: +hpos_corr fi; + fix_grav_pairs; % |fix_grav_pairs| uses private values of |w|, |h| \& |u| + numeric hpos_corr; % |hpos_corr| is local: forget its value +% draw the diagonal: + if serifs: + pickup crisp.nib; filldraw circ_stroke (z[jj]e--z[ii]e); + z[jj].right=directionpoint down of (z[jj]r{z[jj]r-z[ii]r}..{z[ii]l-z[jj]l}z[jj]l); + z[jj].top=directionpoint left of (z[jj]r{z[jj]r-z[ii]r}..{z[ii]l-z[jj]l}z[jj]l); + else: + pickup fine.nib; filldraw stroke (z[jj]e--z[ii]e); + z[jj].right=z[jj].top=z[jj]r; + fi +% adjust and save height (tho the height is never needed): + h:=if is_cap: y[jj].top else: a_ht fi; + if known sharp_calc: saved_height:=h; fi + mark_height(a_ht#); + penlabels([ii],[jj]); +enddef; +% --------------------------------------------------------------------------- +% DOT ACCENT ACCESSORIES +% --------------------------------------------------------------------------- +%%% good penkind +def put_dot (suffix penkind) (expr dd_) = % dot of the lowercase letter `i' + fix_virgin z; + numeric dd#; % sharp dot diameter + dd#=dd_; define_whole_blacker_pixels(dd); +% adjust height temporarily: + h:=vround(if is_cap: (cap_height#+1.5u#+dd#) + elseif (charcode=oct"273") or (charcode=oct"012"): i_ht#(dd) + fi\\ *hppp); + pickup penkind.nib; pos[jj](dd,90); pos[ii](dd,0); + x[jj]=x[ii]=good.x(.5w+if charcode=oct"233": .5 else: if charcode=oct"235": 0 + else: .25 fi\\fi\\ u); + top y[jj]r=h+1; y[ii]=.5[y[jj]l,y[jj]r]; +% draw the dot: + dot([ii],[jj]); +% dotted `Z' inherits the recently saved height (if known; usually the height +% of the accented `Z') which allows to decrease by one the number of different +% heights in a font; dotted `z' has the height of a lowercase `i' (exception: +% caps and small caps) + if known saved_height: h:=saved_height; fi\\ mark_height(i_ht#(dd)); + penlabels([ii],[jj]); +enddef; +% --------------------------------------------------------------------------- +% L's CROSS ACCESSORIES +% --------------------------------------------------------------------------- +def put_cross(expr l_jut,r_jut) = + fix_virgin z; + numeric dd; dd=if is_cap: cap_bar else: bar fi; + numeric theta; theta=angle(11u#,.3[x_height#,cap_height#]); + pickup crisp.nib; pos[ii](dd,theta+90); pos[jj](dd,theta+90); + lft x[ii]r = hround(x1-l_jut)-eps; + rt x[jj]l = hround(x1+r_jut)+eps; + z[ii]-z[jj]=whatever*dir theta; +% |.52| is one of CM (Computer Magic) numbers appearing in many CM programs, +% among others in the programs for B, F, and H: + whatever[z[ii],z[jj]]=if not is_cap and hefty: top fi\\ + (x1,if charcode=32: .3[x_height,asc_height-serif_drop] % tc blank sign + elseif charcode=147: .3x_height % tc recipe sign + else: .52cap_height fi\\); +% before drawing the stroke improve discretization: + save eps_; + eps_:=y[ii]l-good.y(y[ii]l); + forsuffixes $:=l, ,r: y[ii]$:=y[ii]$-eps_; endfor + eps_:=y[jj]r-good.y(y[jj]r); + forsuffixes $:=l, ,r: y[jj]$:=y[jj]$-eps_; endfor + filldraw stroke z[ii]e--z[jj]e; % now draw the stroke + corrital z[jj]l; % correct italic correction + penlabels([ii],[jj]); +enddef; +% --------------------------------------------------------------------------- +% OGONEK ACCESSORIES +% --------------------------------------------------------------------------- +% This part is admittedly sophisticated, however, a wide spectrum of +% different ogonek shapes is in fact to be programmed: one shape is needed +% for caps, another for `a' with ogonek, yet another for `e' with ogonek, +% as they all have different joins. Moreover, a sansserif ogonek differs +% significantly from a serif one, a bold ogonek from a non-bold, an ogonek +% for hefty fonts should still be different. And if you take into account +% that the basic font unit |u| may change during one session of font +% generation (monospace and caps-small-caps) and that a few different +% pens may be used to draw a single letter, you'll understand why so many +% |if| ... |else:| ... |fi| commands are used in the following code. +% +% Outer and inner edges of an ogonek (suffixed with |l| and |r|, resp.) +% are single B\`ezier segments; the outer one, a path +% |p=z_a..controls z_b and z_c ..z_d| +% is constructed as follows: given pairs |z_a|, |z_d|, angles |alpha_a|, +% |alpha_d| and two numbers |x_down|, |y_right|, find pairs |z_b| and |z_c| +% such that the path |p| has the following properties: +% (a) |direction p(z_a)=alpha_a| +% (b) |direction p(z_d)=alpha_d-180| +% (c) |direction p(x_down,some_y)=down| +% (d) |direction p(some_x,y_right)=right| +% The problem is solved using a ``double'' bisection method, provided +% that appropriate limits |z_b'|, |z_b''| and |z_c'|, |z_c''| for |z_b| +% and |z_c|, respectively, are given; more precisely, +% |z_b=|$\lambda_b$|[z_b',zb'']| and |z_c=|$\lambda_c$|[z_c',zc'']| +% is supposed to hold for given |z_b'|, |z_b''|, |z_c'|, |z_c''| and +% some $0<\lambda_b,\lambda_c<1$. +% +% The inner edge is constructed by a careful modification of the outer one. +% +% If a default behaviour of our program is not satisfying, the user may +% assign a value to the following ``emergency'' parameters (provided E knows +% what E is doing): +% |depth_corr|, |left_corr|, |top_breadth_corr|, |tip_breadth_corr|, +% |tip_xcorr|, |tip_ycorr|, |pre_angle|, |post_angle|, +% |pre_limit|, |post_limit|, |pre_lightness|, |post_lightness|, +% |pre_deflexion|, and |post_deflexion|. +% Any of these parameters, if known while generating a font, is used instead +% of a default setting. The parameters are accessed only via macros: +% |the_ogonek_depth#|, |the_left_pos|, |the_top_breadth_corr|, +% |the_tip_breadth_corr|, |the_tip_pos|, +% |the_pre_angle|, |the_post_angle|, |the_pre_limit|, |the_post_limit|, +% |the_pre_lightness|, |the_post_lightness|, +% |the_pre_deflexion|, and |the_post_deflexion|. +% There is one sharp ogonek parameter, |ogonek_pen#|; a respective pen is +% defined at the end of this file (and once again in POLKAP.MF after +% |font_setup|) and used in the files PL_DL.MF, PL_ML.MF, PL_MLK.MF. +% Any parameter may have its |lower| variant (see the file POLKAP.MF). +% --------------------------------------------------------------------------- +% two handy macros: +vardef cross_point(expr a,b) (expr c,d) = + save z_; pair z_; z_=whatever[a,b]; z_=whatever[c,d]; z_ +% the crossing point of lines (not segments) |a--b| and |c--d| is returned +enddef; + +vardef touch_time(expr p,q) = % a variant of |intersectionpoint| + save x_,y_; (x_,y_)=p intersectiontimes q; if x_<0: 0 else: y_ fi +enddef; +% --------------------------------------------------------------------------- +% the kernel routine for the ogonek: +numeric x_down,x_down',y_right,y_right',alpha_a,alpha_d; +pair z_a,z_b,z_b',z_b'',z_c,z_c',z_c'',z_d; + +pair nz_,pz_; +% with plain's |solve| embeded calls are not allowed, hence a bit tricky +% variation: +%%% known zsolve +vardef zsolve@#(suffix z_)= +% |@#| is the name of a real monotonic function; it is assumed that +% |@#(z_')<=0|, |@#(z_'')>0| holds for given |z_'| and |z_''| + save nz_,pz_; pair nz_,pz_; % recursive calls are possible + nz_:=z_'; pz_:=z_''; + forever: + z_:=.5[nz_,pz_]; exitif abs(nz_-pz_)<=tolerance; % by default |tolerance=.1| + if @#(z_)<=0: nz_ else: pz_ fi :=z_; + endfor +% on exit |z_| is (hopefully) near the point where |@#| changes from +% negative to positive +enddef; + +vardef down_dir(expr z_b)= + zsolve right_dir(z_c); % here |z_c| is computed + lft(xpart(directionpoint down of (z_a..controls z_b and z_c..z_d)))-x_down +enddef; + +vardef right_dir(expr z_c)= + bot(ypart(directionpoint right of (z_a..controls z_b and z_c..z_d)))-y_right +enddef; +% --------------------------------------------------------------------------- +% ogonek defaults: +vardef the_ogonek_depth# = % sharp value + if known depth_corr: depth_corr* fi\\ desc_depth# +enddef; + +vardef the_left_pos = + if known left_corr: left_corr* fi + if monospace: 3.75 elseif serifs: + if hefty: 2.3 elseif is_bold: 1.7 else: 1.9 fi + else: % sansserif + if is_bold: 1.65 else: 1.55 fi\\ fi\\ hi.u +enddef; + +vardef the_tip_pos = + (if monospace: 1.9 elseif serifs: if hefty: 1.85 + elseif is_bold: 1.75 else: 2 fi\\ else: % sansserif + if is_bold: 2.1 else: 1.95 fi\\ fi\\ hi.u, + if serifs: + if monospace: 1.25 elseif hefty: 1 elseif is_bold: .75 else: 1.45 fi + else: % sansserif + .45 fi\\ hi.u) + if known tip_xcorr: xscaled\\ tip_xcorr fi + if known tip_ycorr: yscaled\\ tip_ycorr fi +enddef; + +vardef the_top_breadth_corr = + if known top_breadth_corr: top_breadth_corr else: + if serifs: 1 elseif is_bold: 1.12 elseif is_cap: 1.06 else: .96 fi\\ fi +enddef; + +vardef the_tip_breadth_corr = + if known tip_breadth_corr: tip_breadth_corr else: 1 fi +enddef; + +vardef the_pre_angle = % refers to the outer edge + if known pre_angle: pre_angle else: + if serifs: if hefty: 208 elseif is_bold: 211 else: 214 fi\\ else: 211 fi + fi +enddef; + +vardef the_post_angle = % refers to the outer edge + if known post_angle: post_angle else: + if serifs: if monospace: 60 elseif hefty: 66 elseif is_bold: 55 else: 74 fi + else: 25 fi\\ fi +enddef; + +vardef the_pre_limit = % refers to the outer edge + if known pre_limit: pre_limit else: x_down-3.5hi.u fi +enddef; + +vardef the_post_limit = % refers to the outer edge + if known post_limit: post_limit else: x_down-2hi.u fi +enddef; + +vardef the_pre_lightness = % refers to the inner edge + if known pre_lightness: pre_lightness else: + if serifs and hefty: .97 elseif not serifs and is_bold: .6 + elseif is_bold: .66 else: .78 fi\\ fi +enddef; + +vardef the_post_lightness = % refers to the inner edge + if known post_lightness: post_lightness else: + if serifs: + if hefty: .95 elseif is_bold: .66 else: .82 fi + else: % sansserif + .75 fi\\ fi +enddef; + +vardef the_post_deflexion = % refers to the inner edge + if known post_deflexion: post_deflexion elseif serifs and hefty: 0 + else: -5 fi +enddef; + +vardef the_pre_deflexion = % refers to the inner edge + if known pre_deflexion: pre_deflexion + elseif known join_angle and not serifs: + if is_bold: -4 else: -2 fi\\ + elseif not serifs: if is_bold: -8 else: -4 fi\\ else: 0 fi +enddef; +% --------------------------------------------------------------------------- +%%% fine lo +vardef lo suffix z = % in a way |lo| is a counterpart to |hi| + if is_small_cap: z_a+((z-z_a) scaled sqrt(body_height#/higher.body_height#)) + else: z fi +enddef; +% --------------------------------------------------------------------------- +% parameters to |put_ogonek|: +numeric join_angle; % starting (inner) ogonek direction, if known +numeric ogonek_breadth; % ogonek breadth at the tip +% starting (inner for `e' with ogonek, otherwise outer) ogonek position: +pair ogonek_pos; +% --------------------------------------------------------------------------- +def put_ogonek(suffix penkind) = + begingroup + if monospace: +% excerpt from |mono_adjust|: + save u_; numeric u_; u_:=hi.u#; save u; u#:=u_; + numeric expansion_faktor; + mono_charwd#=2hi.letter_fit#+expansion_faktor*cap_A_wd#; % cap_A_wd=13u + hi.u:=u#*expansion_faktor*hppp; +% now |u| is like in the letter `A' + fi + + fix_virgin z; pickup penkind.nib; + +% `a' with ogonek attached to the hook deserves a special treatment: + if\\ (not is_small_cap) and (charcode=oct"241") and serifs and not is_bold: + if ypart(ogonek_pos)>.5penkind: + z[ii]~l=ogonek_pos; + pos[ii]~(max(the_top_breadth_corr*ogonek_breadth,penkind+epsilon),0); + ogonek_pos:=cross_point((0,.5penkind),(1,.5penkind)) + (z[ii]~l,z[ii]~l+dir(the_pre_angle)); + fi + fi + +% similarly, `e' with ogonek deserves a special treatment: + if\\ (not is_small_cap) and (charcode=oct"246"): + if ypart(ogonek_pos)>.5penkind: + z[ii]~r=ogonek_pos; + pos[ii]~(max(the_top_breadth_corr*ogonek_breadth,penkind+epsilon),0); + ogonek_pos:=cross_point((0,.5penkind),(1,.5penkind)) + (z[ii]~l,z[ii]~l+dir(join_angle)); + fi + fi + +% invariant: |ypart(ogonek_pos)|$\le$|.5penkind|; +% moreover, for `A' and `E': |ypart(ogonek_pos)=.5penkind| + +% OUTER EDGE: + alpha_a:=the_pre_angle; % starting direction + alpha_d:=180+the_post_angle; % ending direction + x_down:=if serifs: hround else: ceiling fi + (xpart(ogonek_pos)-the_left_pos); % left bound + y_right:=-vround(d+hi.o); % bottom bound + z_a:=(x_down+the_left_pos,ypart(ogonek_pos)); % starting point + z_d:=(xpart(z_a)-.5penkind,y_right+ypart(ogonek_pos))+ + the_tip_pos; % ending point +% guess the boundaries for control points: + z_b':=cross_point (z_a,z_a+dir alpha_a) + ((the_pre_limit,0),(the_pre_limit,1)); + z_b'':=cross_point (z_b',z_a)\\ ((x_down,0),(x_down,1)); + z_c':=cross_point (z_d,z_d+dir alpha_d) + ((the_post_limit,0),(the_post_limit,1)); + z_c'':=cross_point (z_c',z_d)\\ ((0,y_right),(1,y_right)); +% THE PIVOT STEP OF THE OGONEK PROCEDURE, i.e., +% determine the control points (|z_b| and |z_c|) of the outer path: + zsolve down_dir(z_b); % |down_dir| calls `|zsolve right_dir(z_c)|' + x_down':=xpart(lft(directionpoint down of + (z_a..controls z_b and z_c..z_d))); + y_right':=ypart(bot(directionpoint right of + (z_a..controls z_b and z_c..z_d))); + if abs(x_down'-x_down,y_right'-y_right)>sqrt2: + message "ERROR: `ogonek' iteration hasn't converged! Final values:"; + message "x_down="&decimal x_down'&" (should be "&decimal x_down&")"; + message "y_right="&decimal y_right'&" (should be "&decimal y_right&")"; + errhelp "Maybe Jackowski knows how to change them..."; + errmessage "Probably, you have to change somehow the boundary values"; + fi + +% small caps have ogoneks a bit smaller: + z[ii]l=z_a; z[ii]'l=lo.z_b; z[jj]'l=lo.z_c; z[jj]l=lo.z_d; + +% INNER EDGE: + pos[ii](max(the_top_breadth_corr*ogonek_breadth,penkind+epsilon),0); + pos[jj](max(the_tip_breadth_corr*ogonek_breadth,penkind+epsilon), + angle(direction 1 of (z_a..controls z_b and z_c..z_d))+ + if serifs: 90 else: 80 fi); + + z[ii]'r=z[ii]r+((z[ii]'l-z[ii]l) scaled the_pre_lightness + rotated the_pre_deflexion); + z[jj]'r=z[jj]r+((z[jj]'l-z[jj]l) scaled the_post_lightness + rotated the_post_deflexion); + +% trim the top of the ogonek, if necessary: + path ogonek.l, ogonek.r; numeric tt.r, tt.l; + + ogonek.l=if is_known z[ii]~: % minuscule with ogonek + z[ii]~l{dir if charcode=oct"241": the_pre_angle else: join_angle fi}..fi + z[ii]l..controls z[ii]'l and z[jj]'l..z[jj]l; + ogonek.r=if is_known z[ii]~: % ditto + z[ii]~r{dir if charcode=oct"241": the_pre_angle else: join_angle fi}..fi + z[ii]r..controls z[ii]'r and z[jj]'r..z[jj]r; + + tt.r=if serifs and (not is_small_cap) and (charcode=oct"241"): + touch_time(p.l,ogonek.r) else: 0 fi; + tt.l=if\\ (not is_small_cap) and (charcode=oct"246"): + touch_time(p.r,ogonek.l) else: 0 fi; +% at last, draw the ogonek: + if ogonek_breadth>.5: + interim turningcheck:=0; filldraw + if\\ (not is_small_cap) and (charcode=oct"246"): + (point tt.r of ogonek.r){direction tt.r of ogonek.r}..{curl 1} fi + subpath (tt.l,length ogonek.l) of ogonek.l-- + reverse(subpath (tt.r,length ogonek.r) of ogonek.r) + if is_small_cap or (charcode<>oct"246"): -- else: & fi\\ cycle; +% the |draw| command covers with ink unwanted breaks: + pickup pensquare scaled (.5*sqrt2) rotated 45; + draw .5[z[ii]l,z[ii]r]..controls .5[z[ii]'l,z[ii]'r] and + .5[z[jj]'l,z[jj]'r].. .5[z[jj]l,z[jj]r]; + else: % poor resolution: + pickup pensquare scaled (.5*sqrt2) rotated 45; + draw z[ii]l..controls z[ii]'l and z[jj]'l..z[jj]l; + fi + + numeric join_angle, ogonek_breadth; pair ogonek_pos; % all they are local + + penlabels([ii],[jj]); + + endgroup +enddef; +%******************************************************************************* +% +% This was csaccent.mf in text format, as of 89/05/08 +% written by P. Novak, Prague +% Czech and Slovak letters with accents +% Changed paths for acute and hachek accent added 26/04/92, 11/08/92 +% Accent definitions |lc_circle_accent| modified +% |uc_Circle_accent| added for Duerer font +% +% 7 May 1995 did whole sale surgery to this part. Moved parameters to +% dxpseudo.mf to be able to manipulate them from there. The Acute +% accent is done the polish way, therefore removed all acute related +% macros. Pseudoparametrised all kinds of |dot_diam|. +% 17 Jun 1995 adjusted hachek height parameters to blend better with acute +% parameters. Removed lots of stuff not used by the dc and tc fonts. +% 17 Jul 1995 corrected uppercase hachek height for sans serif case +% Removed many macros, which aren't used anymore +% 23 Aug 1996 Adjusted |lc_hachek_accent| for dcsx font +% 23 Dec 1996 Done provisions for small caps fonts, consequently +% applied |hi.|, replaced |curve| by |cap_curve| for |uc_hachek_accent|, +% adjusted numeric factors to the usually higher value of |cap_curve|. +% 19 Jan 1997 The |uc_hacheck_accent| comes out too high, because of +% unwanted white space above it. Changed appropriately. +%=============================================================================== + +def lc_hachek_accent(expr ref) = + if serifs: + pickup crisp.nib; + pos52'(0.75[vair,curve],90); + pos52(0.75[vair,curve],90); + x52=good.x ref; + x52-x51=x53-x52=good.x if hach_sharp:2.5 else:3 fi + accent_u-accent_thin; + top y52' = top y51 = top y53 = lc_hachek_height; + if hach_sharp: + y52=max(2/3[h,hi.x_height],hi.x_height+o+hair); % lower point + pos51(1.5stem,0); pos53(accent_thin,180); + else: + 0.5[y52,y52r] = 0.5[hi.x_height,y52']; + pos51(accent_thin,angle(z52-z51)+90); + pos53(accent_thin,angle(z53-z52)+90); + fi + filldraw stroke z51e -- z52e -- z53e; + else: + pickup fine.nib; + pos51(vair,0); + pos53(vair,0); + x52=good.x ref; + x52-lft x51=rt x53-x52= hround(1.25accent_u + vair); + pos52(stem,0); +% bot y52=vround(0.3[x_height,lc_hachek_height]); + bot y52=vround(max(2/3[h,hi.x_height],hi.x_height+o+hair)); + top y51 = top y53 = lc_hachek_height; + z50 = whatever[z51r,z52r] = whatever[z52l,z53l]; + y54l=y54r=y52; + x54l=good.x .2[x52l,x52]; + x54r-x52 = x52-x54l; + filldraw z54l -- z51l-- z51r -- z50 -- z53l -- z53r -- z54r -- cycle; + fi + penlabels(50,51,52,52',53,54); +enddef; + +def dtl_hachek(text x_ref,y_ref) = +pickup fine.nib; + pickup fine.nib; + x51=hround(x_ref); y51=vround(y_ref); + comma(51,q,pdot_diam,.25accent_u,2/3comma_depth); + penlabels(51); +enddef; + +def uc_hachek_accent(expr ref) = + if serifs: + pickup crisp.nib; + pos52'(0.5[vair,cap_curve],90); + pos52(0.5[vair,cap_curve],90); + x52=good.x ref; + x52-x51=x53-x52=good.x 3accent_u-accent_thin; + top y52' = top y51 = top y53 = % upper points + uc_acc_height-.5[vair,cap_curve]+eps + -max(2/3[uc_acc_height,hi.x_height],hi.x_height+o+hair)+cap_height; + if hach_sharp: + y52=max(2/3[uc_acc_height,hi.x_height],hi.x_height+o+hair) + -hi.x_height+cap_height; % lower point + pos51(cap_stem,0); pos53(2accent_thin,180); + else: + 0.5[y52,y52r] = + if not hefty: + max(2/3[uc_acc_height,hi.x_height],hi.x_height+o+hair) + -hi.x_height+cap_height; + else: + max(2/3[uc_acc_height,hi.x_height],hi.x_height+o) + -hi.x_height+cap_height-hair; + fi + pos51(accent_thin,angle(z52-z51)+90); + pos53(accent_thin,angle(z53-z52)+90); + fi + filldraw stroke z51e -- z52e -- z53e; + else: + pickup fine.nib; + pos51(vair,0); + pos53(vair,0); + x52=good.x ref; + x52-x51=x53-x52= 1.75accent_u + .5vair; + pos52(cap_stem,0); + bot y52= cap_height + .5 accent_gap; + top y51 = top y53 = cap_height + acc_height; + z50 = whatever[z51r,z52r] = whatever[z52l,z53l]; + y54l=y54r=y52; + x54l=good.x .2[x52l,x52]; + x54r-x52 = x52-x54l; + filldraw z54l -- z51l-- z51r -- z50 -- z53l -- z53r -- z54r -- cycle; + fi +penlabels(50,51,52,52',53,54); +enddef; + +endinput; +%% diff --git a/fonts/ec/src/exbase.mf b/fonts/ec/src/exbase.mf new file mode 100644 index 0000000000..f8d1a9af8b --- /dev/null +++ b/fonts/ec/src/exbase.mf @@ -0,0 +1,1341 @@ +% exbase.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% The base file needed for generation of the EC fonts + +exbase:=1; % if |exbase| is known, this file has been input + +ec_maj_version:=1; ec_min_version:=0; % version identification + +def version_check(expr e,f)= + if e=ec_maj_version: + if f=ec_min_version: + message " Ok"; + elseif: f>ec_min_version: + message "ec font warning: Obsolete base"; + elseif: f<ec_min_version: + message "ec font warning: File from old release found"; + fi + elseif: e>ec_maj_version: + message "ec font warning: Obsolete base"; + elseif: e<ec_maj_version: + message "ec font warning: File from old release found"; + fi +enddef; + +let stop_eventually=relax; + +% The following checks require, that |bye| is an |inner| command. +% This is usually set by |local.mf| or |modes.mf|, however we cannot +% rely on this feature, therefore we do it here again. + +inner bye; + +% Check for existence of |boundarychar| +if unknown boundarychar: + message "You are using out-of-date METAFONT 1.*,"; + message "please update to METFONT 2.718 or newer."; + let stop_eventually=bye; +fi + +% Check for old version of |plain.mf| (2.0 or older) +if known begingroup killtext whatever endgroup: + relax; +else: + message "You are using plain.mf 2.0 or older"; + message "please update to plain.mf 2.71 or newer"; + let stop_eventually=bye; +fi + +% Check for |cmbase| +if known cmbase: + message "You are using METAFONT with cmbase preloaded,"; + message "please use only plain METAFONT to generate the ec fonts."; + let stop_eventually=bye; +fi + +stop_eventually; + +boolean slitex; slitex := false; % |true| simulates behaviour of |sroman| +boolean one_serif; one_serif:=true; % |false| suppresses base serif on `1' +boolean classic_serif; classic_serif := false; +boolean suppress_i_dot; suppress_i_dot :=false; +boolean hach_sharp; hach_sharp:=false; +boolean classic_sharp_s; classic_sharp_s:=false; % Chooses shape of sharp s +boolean true_mono; true_mono:=false; % |true| forces ligatures to monowidth +boolean knuthian_ae; knuthian_ae:=false; % |true| reproduces cm italic \ae +boolean fancy_thorn; fancy_thorn:=false; % |true| produces \th with fancier bulb +boolean is_small_cap; is_small_cap:=false; +tracingstats:=1; % Print statistics at the end of run + +let ecchar=\; % `|ecchar|' should precede each character +let generate=input; % `|generate|' should follow the parameters + +autorounding:=0; smoothing:=0; % we do our own rounding +def autorounded = interim autorounding:=2 enddef; + +newinternal slant,fudge,math_spread,superness,superpull,beak_darkness; +boolean square_dots,hefty,serifs, + monospace,variant_g,low_asterisk,math_fitting; + +boolean dark,dark.dark,skewed,skewed.skewed; % for fast option testing +dark=skewed=false; dark.dark=skewed.skewed=true; + +vardef Vround primary y = y_:=vround y; + if y_<min_Vround: min_Vround else: y_ fi enddef; +newinternal y_,min_Vround; + +vardef serif(suffix $,$$,@) % serif at |z$| for stroke from |z$$| + (expr darkness,jut) suffix modifier = + pickup crisp.nib; numeric bracket_height; pair downward; + bracket_height=if dark.modifier: 1.5 fi\\ bracket; + if y$<y$$: y@2=min(y$+bracket_height,y$$); + top y@1-slab=bot y@0+eps=tiny.bot y$; downward=z$-z$$; + if y@1>y@2: y@2:=y@1; fi + else: y@2=max(y$-bracket_height,y$$); + bot y@1+slab=top y@0-eps=tiny.top y$; downward=z$$-z$; + if y@1<y@2: y@2:=y@1; fi fi + y@3=y@2; z@3=whatever[z$,z$$]; + if jut<0: z@2+penoffset downward of currentpen = + z$l+penoffset downward of pen_[tiny.nib]+whatever*downward; + lft x@0=lft x@1=tiny.lft x$l+jut; + if x@3<x@2+eps: x@3:=x@2+eps; fi + else: z@2-penoffset downward of currentpen = + z$r-penoffset downward of pen_[tiny.nib]+whatever*downward; + rt x@0=rt x@1=tiny.rt x$r+jut; + if x@3>x@2-eps: x@3:=x@2-eps; fi fi + pair corner; ypart corner=y@1; corner=z@2+whatever*downward; + filldraw z@2{z$-z$$} + ...darkness[corner,.5[z@1,z@2] ]{z@1-z@2} + ...{jut,0}z@1--z@0--(x$,y@0)--z@3--cycle; % the serif + labels (@1,@2); enddef; + +def dish_serif(suffix $,$$,@)(expr left_darkness,left_jut) + (suffix @@)(expr right_darkness,right_jut) suffix modifier = + serif($,$$,@,left_darkness,-left_jut) modifier; + serif($,$$,@@,right_darkness,right_jut) modifier; + if dish>0: pickup tiny.nib; numeric dish_out,dish_in; + if y$<y$$: dish_out=bot y$; dish_in=dish_out+dish; let rev_=reverse; + else: dish_out=top y$; dish_in=dish_out-dish; let rev_=relax; fi + erase fill rev_ + ((x@1,dish_out)..(x$,dish_in){right}..(x@@1,dish_out)--cycle); + fi enddef; + +def nodish_serif(suffix $,$$,@)(expr left_darkness,left_jut) + (suffix @@)(expr right_darkness,right_jut) suffix modifier = + serif($,$$,@,left_darkness,-left_jut) modifier; + serif($,$$,@@,right_darkness,right_jut) modifier; enddef; + +vardef sloped_serif.l(suffix $,$$,@)(expr darkness,jut,drop) = + pickup crisp.nib; pos@2(slab,90); + lft x@0=tiny.lft x$l; rt x@1=tiny.rt x$r; top y@1=tiny.top y$r; + lft x@2=lft 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 top + filldraw z@1--z@2r--z@2l{right} + ...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; + +vardef 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; bot y@1=tiny.bot y$l; + rt x@2=rt x@0+jut; y@2r=y@1+drop; + y@0=min(y@2l+bracket,y$$)+eps; +if drop>0: erase fill z@1--bot z@1 + --(x@2r,bot 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} + ...{up}z@0--(x@1,y@0)--cycle; % sloped serif + labels(@0,@1,@2); enddef; + +vardef term.l(suffix $,$$)(expr d,t,s)= % ``robust'' sans-serif terminal + path p_; p_=z$l{d}..tension t..z$$l; + pair d_; d_=(x$$l-x$l,s*(y$$l-y$l)); + if (abs angle direction 1 of p_ < abs angle d_)<>(x$l<x$$l): + p_:=z$l{d}..tension atleast t..{d_}z$$l; fi + p_ enddef; +vardef term.r(suffix $,$$)(expr d,t,s)= + path p_; p_=z$r{d}..tension t..z$$r; + pair d_; d_=(x$$r-x$r,s*(y$$r-y$r)); + if (abs angle direction 1 of p_ < abs angle d_)<>(x$r<x$$r): + p_:=z$r{d}..tension atleast t..{d_}z$$r; fi + p_ enddef; +def rterm=reverse term enddef; + +vardef arm(suffix $,$$,@)(expr darkness,jut) = % arm from |z$| to |z$$| + x@0=good.x(x$$r-jut); y@0=y$r; + if serifs: y@1=y$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; % arm and beak + else: filldraw z$l--z$r--z@0--z$$r--cycle; fi % sans-serif arm + penlabels(@0,@1,@2); enddef; + +def bulb(suffix $,$$,$$$) = + z$$$r=z$$r; + path_.l:=z$l{x$$r-x$r,0}...{0,y$$r-y$r}z$$l; + filldraw path_.l--z$$r{0,y$r-y$$r}...{x$r-x$$r,0}z$r--cycle; % link + path_.r:=z$$$l{0,y$r-y$$r}..z$$$r{0,y$$r-y$r}; % near-circle + filldraw subpath(0,xpart(path_.r intersectiontimes path_.l)) of path_.r + --z$$r{0,y$$r-y$r}..cycle; % bulb + enddef; + +def v_bulb(suffix $,$$)= % |pos$| is known + y$$+.5curve=x_height+oo; x$$+.5curve=w-u; + numeric theta; theta=angle(4(x$-x$$),y$-y$$); pos$$(curve,theta+90); + filldraw z$$l{dir theta}..tension atleast 1 and 1..{down}z$l + --z$r{up}...{-dir theta}z$$r..cycle; % bulb + enddef; + +def dot(suffix $,$$) = + filldraw if square_dots: (x$l,y$$l)--(x$r,y$$l) + --(x$r,y$$r)--(x$l,y$$r)--cycle % squarish dot + else: z$l...z$$l...z$r...z$$r...cycle fi % roundish dot + 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@0r=x@1r=x$'r; rt x@2r=good.x(x$-eps); + filldraw stroke z@0e--z@1e..z@2e; % tail + else: pos@1(vair,90); pos@2(vair,0); pos@3(vair,-45); + z@1r=z$r; rt 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{right}...z@2e{down}...z@3e; fi % tail + penlabels(@1,@2,@3); enddef; + +def ammoc(suffix $,@)(expr dot_size,jut,depth) = % reversed comma + 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_top_:=max(fine.breadth,floor .5dot_size); + pos@0(comma_join_,0); pos@1(comma_join_,0); + pos@2(comma_top_,0); y@0=y$; y@1=y$r; 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,0); pos@3(vair,-45); + z@1l=z$l; lft x@2l=hround(x$-.5dot_size-jut)-2eps; x@3=x$+.5u; + y@2=1/3[y@1,y@3]; top y@3l=vround(y$+.5dot_size+depth); + y_:=ypart((z@1{left}...z@2{up}...z@3) + intersectiontimes (z$r{left}..{right}z$l)); if y_<0: y_:=1; fi + filldraw z$l{right}..subpath (0,y_) of (z$r{left}..{right}z$l)--cycle; % dot + filldraw stroke z@1e{left}...z@2e{up}...z@3e; fi % tail + penlabels(@1,@2,@3); enddef; + +%%% @ from to %%%% temporary formatting change +vardef diag_in(suffix from,$)(expr sharpness)(suffix $$) = + pickup tiny.nib; save from_x,y_; + if y.from>y$: bot else: top fi\\ y_=y$; + (from_x,y_)=whatever[z.from,z$]; + sharpness[z$,(from_x,y_)]{z$-z.from} + ...{z$$-z$}z$+sharpness*length(z$-(from_x,y_))*unitvector(z$$-z$) enddef; + +vardef diag_out(suffix $)(expr sharpness)(suffix $$,to) = + pickup tiny.nib; save to_x,y_; + if y.to>y$: bot else: top fi\\ y_=y$; + (to_x,y_)=whatever[z$$,z.to]; + z$$-sharpness*length(z$$-(to_x,y_))*unitvector(z$$-z$){z$$-z$} + ...{z.to-z$$}sharpness[z$$,(to_x,y_)] enddef; + +vardef diag_end(suffix from,$)(expr sharpness_in,sharpness_out)(suffix $$,to)= + save from_x,to_x,y_,x_,xx_; + if y.from>y$: tiny.bot else: tiny.top fi\\ y_=y$; % we assume that |y$=y$$| + (from_x,y_)=whatever[z.from,z$]; (to_x,y_)=whatever[z$$,z.to]; + if x$$>x$: x_=x$+sharpness_in*length(z$-(from_x,y_)); + xx_=x$$-sharpness_out*length(z$$-(to_x,y_)); + if xx_<x_: xx_:=x_:=.5[xx_,x_]; fi + else: x_=x$-sharpness_in*length(z$-(from_x,y_)); + xx_=x$$+sharpness_out*length(z$$-(to_x,y_)); + if xx_>x_: xx_:=x_:=.5[xx_,x_]; fi fi + sharpness_in[z$,(from_x,y_)]{z$-z.from} + ...{z$$-z$}(x_,y$)..(xx_,y$){z$$-z$} + ...{z.to-z$$}sharpness_out[z$$,(to_x,y_)] enddef; +%%% at from to %%%% restore normal formatting + +vardef special_diag_end(suffix $$,$,@,@@) = % for top middle of w's + if x@r<=x$r: 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 prime_points_inside(suffix $,$$) = + theta_:=angle(z$r-z$l); + penpos$'(whatever,theta_); + if y$$>y$: z$'=(0,pen_top) rotated theta_ + whatever[z$l,z$r]; + theta_:=angle(z$$-z$)-90; + else: z$'=(0,pen_bot) rotated theta_ + whatever[z$l,z$r]; + theta_:=angle(z$$-z$)+90; fi + z$'l+(pen_lft,0) rotated theta_=z$l+whatever*(z$-z$$); + z$'r+(pen_rt,0) rotated theta_=z$r+whatever*(z$-z$$); + enddef; + +def ellipse_set(suffix $,@,@@,$$) = % given |z$,x@,z$$|, find |y@| and |z@@| +% such that the path |z${x@-x$,0}..z@{0,y@-y$}..{z$$-z@@}z@@| +% is consistent with an ellipse +% and such that the line |z@@--z$$| has a given |slope| + alpha_:=slope*(x@-x$); beta_:=y$$-y$-slope*(x$$-x$); + gamma_:=alpha_/beta_; + y@-y$=.5(beta_-alpha_*gamma_); + x@@-x$=-2gamma_*(x@-x$)/(1+gamma_*gamma_); + y@@-y$$=slope*(x@@-x$$) enddef; + +vardef diag_ratio(expr a,b,y,c) = % assuming that $a>\vert b/y\vert$, +% compute the value $\alpha=(x\6{++}y)/y$ such that $ax+b\alpha=c$ + numeric a_,b_; b_=b/y; a_=a*a-b_*b_; + (a*(c++y*sqrt a_)-b_*c)/a_/y enddef; + +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=.5[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 h_stroke(suffix $,@,@@,$$) = + penpos$$(x@@r-x@@l,0); x$$=x@@; bot y$$=0; + 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; + +def hook_out(suffix $,$$,$$$)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; bot y$$l=-oo; y$$$=1/3x_height; + 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 empty_hook_out(suffix $,$$,$$$)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; bot y$$l=-oo; y$$$=1/3x_height; + 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; % empty_hook_out + +def hook_in(suffix $,$$,$$$)suffix modifier= % |x$| and |x$$$| (only) are known + x$:=hround(x$-.5hair)+.5hair; pos$(hair,180); + pos$$(vair,90); pos$$$(stem,0); + y$=2/3x_height; top y$$r=x_height+oo; y$$$=3/4x_height; + if skewed.modifier: x$$=x$$$-1.25u; + filldraw stroke z$e{up}...z$$e{right}...{-u,-x_height}z$$$e; % hook + else: x$$=x$$$-1.5u; + filldraw stroke z$e{x$$$-2.5u-x$,x_height} + ...z$$e{right}...{down}z$$$e; fi enddef; % hook + +def ital_arch(suffix $,$$,$$$) = % |z$| and |z$$$| (only) are known + pos$'(hair,180); z$'=z$; + pos$$(vair,90); pos$$$(stem,0); + {{interim superness := more_super; x$$=.6[x$,x$$$]; + top y$$r=x_height+oo; y$$$=.65x_height; + filldraw stroke z$'e{up}...super_arc.e($$,$$$);}} enddef; % stroke + +def compute_spread(expr normal_spread,big_spread)= + spread#:=math_spread[normal_spread,big_spread]; + spread:=ceiling(spread#*hppp)+eps; enddef; + +def v_center(expr h_sharp) = + .5h_sharp+math_axis#, .5h_sharp-math_axis# enddef; + +def circle_points = + x4=x8=.5[x2,x6]; x1=x3=superness[x4,x2]; x5=x7=superness[x4,x6]; + y2=y6=.5[y4,y8]; y1=y7=superness[y2,y8]; y3=y5=superness[y2,y4]; + enddef; +def draw_circle = + draw z8{right}...z1{z2-z8}...z2{down}...z3{z4-z2}...z4{left} + ...z5{z6-z4}...z6{up}...z7{z8-z6}...cycle enddef; + +def left_paren(expr min_breadth, max_breadth) = + pickup fine.nib; pos1(hround min_breadth,0); + pos2(hround max_breadth,0); pos3(hround min_breadth,0); + rt x1r=rt x3r=hround(w-1.25u+.5min_breadth); lft x2l=hround 1.25u; + top y1=h; y2=.5[y1,y3]; bot y3=1-d; + filldraw stroke z1e{3(x2e-x1e),y2-y1}...z2e + ...{3(x3e-x2e),y3-y2}z3e; % arc + penlabels(1,2,3); enddef; + +def right_paren(expr min_breadth, max_breadth) = + pickup fine.nib; pos1(hround min_breadth,0); + pos2(hround max_breadth,0); pos3(hround min_breadth,0); + lft x1l=lft x3l=hround(1.25u-.5min_breadth); rt x2r=hround(w-1.25u); + top y1=h; y2=.5[y1,y3]; bot y3=1-d; + filldraw stroke z1e{3(x2e-x1e),y2-y1}...z2e + ...{3(x3e-x2e),y3-y2}z3e; % arc + penlabels(1,2,3); enddef; + +def left_bracket(expr breadth,do_top,do_bot) = + pickup crisp.nib; + numeric thickness; thickness=hround breadth; + pos1(thickness,0); pos2(thickness,0); + top y1=h; bot y2=1-d; lft x1l=lft x2l=hround(2.5u-.5thickness); + filldraw stroke z1e--z2e; % stem + pos3(thickness,90); pos4(thickness,90); + pos5(thickness,90); pos6(thickness,90); + x3=x5=x1l; rt x4=rt x6=hround(w-.75u+.5thickness); + y3r=y4r=y1; y5l=y6l=y2; + if do_top: filldraw stroke z3e--z4e; fi % upper bar + if do_bot: filldraw stroke z5e--z6e; fi % lower bar + penlabels(1,2,3,4,5,6); enddef; + +def right_bracket(expr breadth,do_top,do_bot) = + pickup crisp.nib; + numeric thickness; thickness=hround breadth; + pos1(thickness,0); pos2(thickness,0); + top y1=h; bot y2=1-d; rt x1r=rt x2r=hround(w-2.5u+.5thickness); + filldraw stroke z1e--z2e; % stem + pos3(thickness,90); pos4(thickness,90); + pos5(thickness,90); pos6(thickness,90); + x3=x5=x1r; lft x4=lft x6=hround(.75u-.5thickness); + y3r=y4r=y1; y5l=y6l=y2; + if do_top: filldraw stroke z3e--z4e; fi % upper bar + if do_bot: filldraw stroke z5e--z6e; fi % lower bar + penlabels(1,2,3,4,5,6); enddef; + +def left_curly(expr min_breadth, max_breadth) = + pickup fine.nib; + forsuffixes $=1,1',4,4',7,7': pos$(hround min_breadth,0); endfor + forsuffixes $=2,3,5,6: pos$(hround max_breadth,0); endfor + x2=x3=x5=x6; x1=x1'=x7=x7'=w-x4=w-x4'; + lft x4l=hround(1.5u-.5min_breadth); lft x2l=hround(.5w-.5max_breadth); + top y1=h; bot y7=1-d; .5[y4,y4']=.5[y1,y7]=.5[y2,y6]=.5[y3,y5]; + y1-y2=y3-y4=(y1-y4)/4; + y1-y1'=y4-y4'=y7'-y7=vround(min_breadth-fine); + filldraw z1l{3(x2l-x1l),y2-y1}...z2l---z3l...{3(x4l-x3l),y4-y3}z4l + --z4'l{3(x5l-x4l),y5-y4'}...z5l---z6l...{3(x7l-x6l),y7-y6}z7l + --z7r--z7'r{3(x6r-x7r),y6-y7'}...z6r---z5r + ...{3(x4r-x5r),.5[y4,y4']-y5}.5[z4r,z4'r]{3(x3r-x4r),y3-.5[y4,y4']} + ...z3r---z2r...{3(x1r-x2r),y1'-y2}z1'r--z1r--cycle; % stroke + penlabels(1,2,3,4,5,6,7); enddef; + +def right_curly(expr min_breadth, max_breadth) = + pickup fine.nib; + forsuffixes $=1,1',4,4',7,7': pos$(hround min_breadth,0); endfor + forsuffixes $=2,3,5,6: pos$(hround max_breadth,0); endfor + x2=x3=x5=x6; x1=x1'=x7=x7'=w-x4=w-x4'; + lft x1l=hround(1.5u-.5min_breadth); lft x2l=hround(.5w-.5max_breadth); + top y1=h; bot y7=1-d; .5[y4,y4']=.5[y1,y7]=.5[y2,y6]=.5[y3,y5]; + y1-y2=y3-y4=(y1-y4)/4; + y1-y1'=y4-y4'=y7'-y7=vround(min_breadth-fine); + filldraw z1r{3(x2r-x1r),y2-y1}...z2r---z3r...{3(x4r-x3r),y4-y3}z4r + --z4'r{3(x5r-x4r),y5-y4'}...z5r---z6r...{3(x7r-x6r),y7-y6}z7r + --z7l--z7'l{3(x6l-x7l),y6-y7'}...z6l---z5l + ...{3(x4l-x5l),.5[y4,y4']-y5}.5[z4l,z4'l]{3(x3l-x4l),y3-.5[y4,y4']} + ...z3l---z2l...{3(x1l-x2l),y1'-y2}z1'l--z1l--cycle; % stroke + penlabels(1,2,3,4,5,6,7); enddef; + +def left_angle(expr breadth) = + pickup pencircle scaled breadth; + x1=x3=good.x(w-u)+eps; lft x2=hround u-eps; + top y1=h+eps; .5[y1,y3]=y2=good.y .5[-d+eps,h]; + draw z1--z2--z3; % diagonals + labels(1,2,3); enddef; + +def right_angle(expr breadth) = + pickup pencircle scaled breadth; + x1=x3=good.x u-eps; rt x2=hround(w-u)+eps; + top y1=h+eps; .5[y1,y3]=y2=good.y .5[-d+eps,h]; + draw z1--z2--z3; % diagonals + labels(1,2,3); enddef; + +def beginarithchar(expr c) = % ensure consistent dimensions for $+$, $-$, etc. + if monospace: beginchar(c,14u#,27/7u#+math_axis#,27/7u#-math_axis#); + else: beginchar(c,14u#,6u#+math_axis#,6u#-math_axis#); fi + italcorr math_axis#*slant-.5u#; + adjust_fit(0,0); enddef; + +def center_on(expr x) = if not monospace: % change width for symmetric fit + r:=r+2x-w; w:=2x; fi enddef; + +def super_crescent(suffix i,j,k) = + draw z.i{x.j-x.i,0} + ... (.8[x.i,x.j],.8[y.j,y.i]){z.j-z.i} + ... z.j{0,y.k-y.i} + ... (.8[x.k,x.j],.8[y.j,y.k]){z.k-z.j} + ... z.k{x.k-x.j,0} enddef; + +newinternal l,r,shrink_fit; % adjustments to spacing + +def do_expansion(expr expansion_factor) = + forsuffixes $=u,jut,cap_jut,beak_jut,apex_corr: + $:=$.#*expansion_factor*hppp; endfor +enddef; + +def normal_adjust_fit(expr left_adjustment,right_adjustment) = + numeric charwd_in; charwd_in=charwd; + l:=-hround(left_adjustment*hppp)-letter_fit; + interim xoffset:=-l; + charwd:=charwd+2letter_fit#+left_adjustment+right_adjustment; + r:=l+hround(charwd*hppp)-shrink_fit; + w:=r-hround(right_adjustment*hppp)-letter_fit; + do_expansion(w/(charwd_in*hppp)); + enddef; + +def mono_adjust_fit(expr left_adjustment,right_adjustment) = + numeric charwd_in; charwd_in=charwd; + numeric expansion_factor; + mono_charwd#=2letter_fit# + +expansion_factor*(charwd+left_adjustment+right_adjustment); + l:=-hround(left_adjustment*expansion_factor*hppp)-letter_fit; + interim xoffset:=-l; + r:=l+mono_charwd-shrink_fit; + w:=r-hround(right_adjustment*expansion_factor*hppp)-letter_fit; + charwd:=mono_charwd#; charic:=mono_charic#; + do_expansion(w/(charwd_in*hppp)); + enddef; + +extra_endchar:=extra_endchar&"r:=r+shrink_fit;w:=r-l;"; + +def ignore_math_fit(expr left_adjustment,right_adjustment) = enddef; +def do_math_fit(expr left_adjustment,right_adjustment) = + l:=l-hround(left_adjustment*hppp); interim xoffset:=-l; + charwd:=charwd+left_adjustment+right_adjustment; + r:=l+hround(charwd*hppp)-shrink_fit; + charic:=charic-right_adjustment; + if charic<0: charic:=0; fi enddef; +def zero_width = charwd:=0; r:=l-shrink_fit enddef; +def change_width = if not monospace: % change width by $\pm1$ + if r+shrink_fit-l=floor(charwd*hppp): w:=w+1; r:=r+1; + else: w:=w-1; r:=r-1; fi fi enddef; +def padded expr del_sharp = + charht:=charht+del_sharp; chardp:=chardp+del_sharp enddef; + +def font_setup = + if monospace: let adjust_fit=mono_adjust_fit; + if true_mono: let normal_adjust_fit=mono_adjust_fit; fi + def mfudged=fudged enddef; + mono_charic#:=body_height#*slant; + if mono_charic#<0: mono_charic#:=0; fi + mono_charwd#:=9u#; define_whole_pixels(mono_charwd); + else: let adjust_fit=normal_adjust_fit; + def mfudged= enddef; fi + if math_fitting: let math_fit=do_math_fit + else: let math_fit=ignore_math_fit fi; + define_pixels(u,width_adj,serif_fit,cap_serif_fit,jut,cap_jut,beak, + bar_height,dish,bracket,beak_jut,stem_corr,vair_corr,apex_corr); + define_blacker_pixels(notch_cut,cap_notch_cut); + forsuffixes $=notch_cut,cap_notch_cut: if $<3: $:=3; fi endfor + define_whole_pixels(letter_fit,fine,crisp,tiny); + define_whole_vertical_pixels(body_height,asc_height, + cap_height,acc_height,fig_height,x_height,comma_depth,desc_depth,serif_drop); + define_whole_blacker_pixels(thin_join,hair,stem,curve,flare, + dot_size,cap_hair,cap_stem,cap_curve); + define_whole_vertical_blacker_pixels(vair,bar,slab,cap_bar,cap_band); + define_corrected_pixels(o,apex_o); + forsuffixes $=hair,stem,cap_stem: + fudged$.#:=fudge*$.#; fudged$:=hround(fudged$.#*hppp+blacker); + forever: exitif fudged$>.9fudge*$; fudged$:=fudged$+1; endfor endfor + rule_thickness:=ceiling(rule_thickness#*hppp); + heavy_rule_thickness:=ceiling(3rule_thickness#*hppp); + oo:=vround(.5o#*hppp*o_correction)+eps; + apex_oo:=vround(.5apex_o#*hppp*o_correction)+eps; + lowres_fix(stem,curve,flare) 1.3; + lowres_fix(stem,curve) 1.2; + lowres_fix(cap_stem,cap_curve) 1.2; + lowres_fix(hair,cap_hair) 1.2; + lowres_fix(cap_band,cap_bar,bar,slab) 1.2; + stem':=hround(stem-stem_corr); cap_stem':=hround(cap_stem-stem_corr); + vair':=vround(vair+vair_corr); + vstem:=vround .8[vair,stem]; cap_vstem:=vround .8[vair,cap_stem]; + ess:=(ess#/stem#)*stem; cap_ess:=(cap_ess#/cap_stem#)*cap_stem; + dw:=(curve#-stem#)*hppp; bold:=curve#*hppp+blacker; + dh#:=.6designsize; + stem_shift#:=if serifs: 2stem_corr# else: 0 fi; + more_super:=max(superness,sqrt .77superness); + hein_super:=max(superness,sqrt .81225258superness); % that's $2^{-.3}$ + clear_pen_memory; + if fine=0: fine:=1; fi + forsuffixes $=fine,crisp,tiny: +%%% fine $ %%%% temporary formatting convention for MFT + if $>fudged.hair: $:=fudged.hair; fi + $.breadth:=$; + pickup if $=0: nullpen else: pencircle scaled $; $:=$-eps fi; + $.nib:=savepen; breadth_[$.nib]:=$; + forsuffixes $$=lft,rt,top,bot: shiftdef($.$$,$$ 0); endfor endfor +%%% @ $ %%%% restore ordinary formatting for $ + min_Vround:=max(fine.breadth,crisp.breadth,tiny.breadth); + if min_Vround<vround min_Vround: min_Vround:=vround min_Vround; fi + if flare<vround flare: flare:=vround flare; fi + forsuffixes $=vair,bar,slab,cap_bar,cap_band,vair',vstem,cap_vstem,bold: + if $<min_Vround: $:=min_Vround; fi endfor + pickup pencircle scaled min(hair,vair); extra_rule.nib :=savepen; + pickup pencircle scaled rule_thickness; rule.nib:=savepen; + math_axis:=good.y(math_axis#*hppp); + pickup pencircle scaled if hefty:(.6[vair,fudged.hair]) else:fudged.hair fi; + light_rule.nib:=savepen; + currenttransform:=identity slanted slant + yscaled aspect_ratio scaled granularity; + if currenttransform=identity: let t_=relax + else: def t_ = transformed currenttransform enddef fi; + numeric paren_depth#; .5[body_height#,-paren_depth#]=math_axis#; + numeric asc_depth#; .5[asc_height#,-asc_depth#]=math_axis#; + body_depth:=desc_depth+body_height-asc_height; + shrink_fit:=1+hround(2letter_fit#*hppp)-2letter_fit; + if not string mode: if mode<=smoke: shrink_fit:=0; fi fi + enddef; + +def shiftdef(suffix $)(expr delta) = + vardef $ primary x = x+delta enddef enddef; + +def makebox(text rule) = + for y=0,(cap_height+acc_height), + asc_height,body_height,x_height,bar_height,-desc_depth,-body_depth: + rule((l,y)t_,(r,y)t_); endfor % horizontals + + for y=-3.5pt,8.5pt,(x_height+acc_height): + rule((l-4pt,y)t_,(l-2pt,y)t_); endfor + for x=l,r: rule((x,-body_depth)t_,(x,body_height)t_); endfor % verticals + for x=u*(1+floor(l/u)) step u until r-1: + rule((x,-body_depth)t_,(x,body_height)t_); endfor % more verticals + + for x=0.5w: + rule((x,-body_depth-1pt)t_,(x,-body_depth-1.5pt)t_); + rule((x,cap_height+acc_height+1pt)t_,(x,cap_height+acc_height+1.5pt)t_); + endfor + if charic<>0: + rule((r+charic*pt,h.o_),(r+charic*pt,.5h.o_)); fi % italic correction + enddef; +def maketicks(text rule) = + for y=0,h.o_,-d.o_: + rule((l,y),(l+10,y)); rule((r-10,y),(r,y)); endfor % horizontals + for x=l,r: + rule((x,10-d.o_),(x,-d.o_)); rule((x,h.o_-10),(x,h.o_)); endfor % verticals + if charic<>0: + rule((r+charic*pt,h.o_-10),(r+charic*pt,h.o_)); fi % italic correction + enddef; +rulepen:=pensquare; + +vardef stroke text t = + forsuffixes e = l,r: path_.e:=t; endfor + if cycle path_.l: + errmessage "Beware: `stroke' isn't intended for cycles"; fi + path_.l -- reverse path_.r -- cycle enddef; + +vardef circ_stroke text t = + forsuffixes e = l,r: path_.e:=t; endfor + if cycle path_.l: + errmessage "Beware: `stroke' isn't intended for cycles"; fi + path_.l -- reverse path_.r .. cycle enddef; + +vardef super_arc.r(suffix $,$$) = % outside of super-ellipse + pair center,corner; + if y$=y$r: center=(x$$r,y$r); corner=(x$r,y$$r); + else: center=(x$r,y$$r); corner=(x$$r,y$r); fi + z$.r{corner-z$.r}...superness[center,corner]{z$$.r-z$.r} + ...{z$$.r-corner}z$$.r enddef; + +vardef super_arc.l(suffix $,$$) = % inside of super-ellipse + pair center,corner; + if y$=y$r: center=(x$$l,y$l); corner=(x$l,y$$l); + else: center=(x$l,y$$l); corner=(x$$l,y$l); fi + z$l{corner-z$l}...superness[center,corner]{z$$l-z$l} + ...{z$$l-corner}z$$l enddef; + +vardef pulled_super_arc.r(suffix $,$$)(expr superpull) = + pair center,corner; + if y$=y$r: center=(x$$r,y$r); corner=(x$r,y$$r); + else: center=(x$r,y$$r); corner=(x$$r,y$r); fi + z$r{corner-z$r}...superness[center,corner]{z$$r-z$r} + ...{z$$r-corner}z$$r enddef; + +vardef pulled_super_arc.l(suffix $,$$)(expr superpull) = + pair center,corner,outer_point; + if y$=y$r: center=(x$$l,y$l); corner=(x$l,y$$l); + outer_point=superness[(x$$r,y$r),(x$r,y$$r)]; + else: center=(x$l,y$$l); corner=(x$$l,y$l); + outer_point=superness[(x$r,y$$r),(x$$r,y$r)]; fi + z$l{corner-z$l} + ...superpull[superness[center,corner],outer_point]{z$$l-z$l} + ...{z$$l-corner}z$$l enddef; + +vardef pulled_arc@#(suffix $,$$) = + pulled_super_arc@#($,$$)(superpull) enddef; + +vardef serif_arc(suffix $,$$) = + z${x$$-x$,0}...(.75[x$,x$$],.25[y$,y$$]){z$$-z$}...{0,y$$-y$}z$$ enddef; + +vardef penpos@#(expr b,d) = + if known b: if b<=0: + errmessage "bad penpos (width is negative)"; fi fi + (x@#r-x@#l,y@#r-y@#l)=(b,0) rotated d; + x@#=.5(x@#l+x@#r); y@#=.5(y@#l+y@#r) enddef; + +newinternal currentbreadth; +vardef pos@#(expr b,d) = + if known b: if b<=currentbreadth: + errmessage "bad pos (breadth of current pen wider than pos width)"; fi fi + (x@#r-x@#l,y@#r-y@#l)=(b-currentbreadth,0) rotated d; + x@#=.5(x@#l+x@#r); y@#=.5(y@#l+y@#r) enddef; +def numeric_pickup_ primary q = + currentpen:=pen_[q]; + pen_lft:=pen_lft_[q]; pen_rt:=pen_rt_[q]; + pen_top:=pen_top_[q]; pen_bot:=pen_bot_[q]; + currentpen_path:=pen_path_[q]; + if known breadth_[q]: currentbreadth:=breadth_[q]; fi enddef; + +vardef ic# = charic enddef; +vardef h# = charht enddef; +vardef w# = charwd enddef; +vardef d# = chardp enddef; + +let {{=begingroup; let }}=endgroup; +def .... = .. tension atleast .9 .. enddef; +def less_tense = save ...; let ...=.... enddef; +def ?? = hide(showvariable x,y) enddef; + +let semi_ =;; let colon_ = :; let endchar_ = endchar; +def iff expr b = if b:let next_=use_it else:let next_=lose_it fi; next_ enddef; +def use_it = let : = restore_colon; enddef; +def restore_colon = let : = colon_; enddef; +def lose_it = let endchar=fi; inner ecchar; let ;=fix_ semi_ if false enddef; +def fix_=let ;=semi_; let endchar=endchar_; outer ecchar; enddef; +def always_iff = let : = endgroup; killboolean enddef; +def killboolean text t = use_it enddef; +outer ecchar; + +%%% fine hi higher +% |higher| is a counterpart to |lower| (see the file excsc.mf), +% |hi| facilitates using higher values (which are reference points in +% the floating world of CM fonts) +def hi = if is_small_cap: higher fi\\ enddef; + +% +% special routines for accenting +% +vardef uppercase_hat + (expr x_center,y_move,hat_zero,hat_one,hat_two,hat_three,hat_four) = +if serifs: + pickup crisp.nib; + pos[hat_two](.5[vair,curve],90); + top y[hat_two]r=cap_accent_height+oo; + x[hat_two]=good.x x_center; % optically centered + x[hat_one]=good.x x[hat_two]-2.25u if monospace: /expansion_factor fi ; + x[hat_three]=2x[hat_two]-x[hat_one]; +% |accent_gap| is defined by the acute accent, it is known when needed + y[hat_one]=y[hat_three] = accent_gap + cap_height; + pos[hat_one](hair,angle(z[hat_two]-z[hat_one])+90); + pos[hat_three](hair,angle(z[hat_three]-z[hat_two])+90); + filldraw stroke z[hat_one]e--z[hat_two]e--z[hat_three]e; % diagonals +else: + pickup fine.nib; + pos[hat_one](vair,0); + pos[hat_three](vair,0); + pos[hat_two](stem,0); + top y[hat_two]=cap_accent_height+oo; + x[hat_two]=good.x x_center; % optically centered + x[hat_one]=good.x x[hat_two]-2.25u if monospace: /expansion_factor fi ; + x[hat_three]=2x[hat_two]-x[hat_one]; +% |accent_gap| is defined by the acute accent, it is known when needed + bot y[hat_one]=bot y[hat_three]=.5accent_gap + cap_height; + z[hat_zero]=whatever[z[hat_one]r,z[hat_two]r]= + whatever[z[hat_two]l,z[hat_three]l]; + y[hat_four]l=y[hat_four]r=y[hat_two]; + x[hat_four]l=good.x .2[x[hat_two]l,x[hat_two]]; + x[hat_four]r=w-x[hat_four]l; + filldraw z[hat_four]l--z[hat_one]l--z[hat_one]r-- + z[hat_zero]--z[hat_three]l-- + z[hat_three]r--z[hat_four]r--cycle; fi % diagonals +enddef; +% +vardef lowercase_hat + (expr x_center,y_move,hat_zero,hat_one,hat_two,hat_three,hat_four) = +if serifs: + pickup crisp.nib; + pos[hat_two](.5[vair,curve],90); + top y[hat_two]r=h+y_move; + x[hat_two]=good.x x_center; % optically centered + x[hat_one]=good.x x[hat_two]-2.25u if monospace: /expansion_factor fi ; + x[hat_three]=2x[hat_two]-x[hat_one]; + y[hat_one]=y[hat_three] = + max(y[hat_two]-0.5(min(asc_height,2x_height)-x_height), + 1/6[x_height,h]); + pos[hat_one](hair,angle(z[hat_two]-z[hat_one])+90); + pos[hat_three](hair,angle(z[hat_three]-z[hat_two])+90); + filldraw stroke z[hat_one]e--z[hat_two]e--z[hat_three]e; % diagonals +else: + pickup fine.nib; + pos[hat_one](vair,0); + pos[hat_three](vair,0); + pos[hat_two](stem,0); + top y[hat_two]=h+y_move; + x[hat_two]=good.x x_center; % optically centered + x[hat_one]=good.x x[hat_two]-2.25u if monospace: /expansion_factor fi ; + x[hat_three]=2x[hat_two]-x[hat_one]; + bot y[hat_one]=bot y[hat_three]=vround (2/3[h,x_height]-eps); + % same slope as in the acute accent + z[hat_zero]=whatever[z[hat_one]r,z[hat_two]r]= + whatever[z[hat_two]l,z[hat_three]l]; + y[hat_four]l=y[hat_four]r=y[hat_two]; + x[hat_four]l=good.x .2[x[hat_two]l,x[hat_two]]; + x[hat_four]r=w-x[hat_four]l; + filldraw z[hat_four]l--z[hat_one]l--z[hat_one]r-- + z[hat_zero]--z[hat_three]l-- + z[hat_three]r--z[hat_four]r--cycle; fi % diagonals +enddef; +% +% +vardef lowercase_tilde(expr x_move,y_move,tilde_one,tilde_two,tilde_three, + tilde_four,tilde_five)= +h':=min(asc_height,10/7x_height+.5dot_size); +if serifs: numeric theta; + theta=angle(1/6( + 6u if monospace: /expansion_factor fi-vair), + 1/4(h'-x_height)); + pickup crisp.nib; + numeric mid_width; mid_width=.4[vair,stem]; + pos[tilde_one](vair,theta+90); + pos[tilde_two](vair,theta+90); + pos[tilde_three](vair,theta+90); + pos[tilde_four](vair,theta+90); + z[tilde_two]-z[tilde_one]= + z[tilde_four]-z[tilde_three]=(mid_width-crisp)*dir theta; + lft x[tilde_one]r=hround(x_move+0.5w-3u if monospace: /expansion_factor fi); + rt x[tilde_four]l=hround(x_move+0.5w+3u if monospace: /expansion_factor fi); + top y[tilde_four]r=h'; + pair delta; + ypart delta=3(y[tilde_three]l-y[tilde_one]l); + delta=whatever*dir theta; + bot y[tilde_one]l=vround(bot y[tilde_one]l+ + min(2/3[x_height,h'],y[tilde_three]l-.25vair)-top y[tilde_one]r); + filldraw z[tilde_one]l.. + controls(z[tilde_one]l+ + delta)and(z[tilde_three]l-delta)..z[tilde_three]l..z[tilde_four]l + --z[tilde_four]r.. + controls(z[tilde_four]r-delta)and(z[tilde_two]r+delta).. + z[tilde_two]r..z[tilde_one]r--cycle; % stroke +else: + pickup fine.nib; + pos[tilde_one](vair,180); + pos[tilde_two](vair,90); + pos[tilde_three](.5[vair,slab],90); + pos[tilde_four](vair,90); + pos[tilde_five](vair,180); + lft x[tilde_one]r=hround (x_move + 0.5w-3u); + rt x[tilde_five]l=hround (x_move + 0.5w+3u); + x[tilde_two]-x[tilde_one]= + x[tilde_three]-x[tilde_two]= + x[tilde_four]-x[tilde_three]=x[tilde_five]-x[tilde_four]; + bot y[tilde_one]=bot y[tilde_four]l=y_move+vround(.75[x_height,h]-vair); + top y[tilde_two]r=top y[tilde_five]=h+y_move; + y[tilde_three]=.5[y[tilde_two],y[tilde_four]]; + filldraw stroke + z[tilde_one]e{up}... + z[tilde_two]e{right}.. + z[tilde_three]e.. + {right}z[tilde_four]e...{up}z[tilde_five]e; fi % stroke +enddef; + +% +vardef uppercase_tilde(expr x_move,y_move,tilde_one,tilde_two,tilde_three, + tilde_four,tilde_five)= +if serifs: numeric theta; + theta=angle(1/8(7u if monospace: /expansion_factor fi-vair),1/4acc_height); + pickup crisp.nib; + numeric mid_width; mid_width=.4[vair,stem]; + pos[tilde_one](vair,theta+90); + pos[tilde_two](vair,theta+90); + pos[tilde_three](vair,theta+90); + pos[tilde_four](vair,theta+90); + z[tilde_two]-z[tilde_one]= + z[tilde_four]-z[tilde_three]=(mid_width-crisp)*dir theta; + lft x[tilde_one]r=hround(x_move+0.5w-3.5u if monospace: /expansion_factor fi); + rt x[tilde_four]l=hround(x_move+0.5w+3.5u if monospace: /expansion_factor fi); + top y[tilde_four]r=h; +% |accent_gap| is defined by the acute accent, it is known when needed +% bot y[tilde_one]l=accent_gap+cap_height; + bot y[tilde_one]l=vround(bot y[tilde_one]l + +min(2/3[cap_height,cap_accent_height],y[tilde_three]l-.25vair) + -top y[tilde_one]r); + pair delta; + ypart delta=3(y[tilde_three]l-y[tilde_one]l); + delta=whatever*dir theta; + filldraw z[tilde_one]l.. + controls(z[tilde_one]l+ + delta)and(z[tilde_three]l-delta)..z[tilde_three]l..z[tilde_four]l + --z[tilde_four]r.. + controls(z[tilde_four]r-delta)and(z[tilde_two]r+delta).. + z[tilde_two]r..z[tilde_one]r--cycle; % stroke +else: + pickup fine.nib; + pos[tilde_one](vair,180); + pos[tilde_two](vair,90); + pos[tilde_three](.5[vair,slab],90); + pos[tilde_four](vair,90); + pos[tilde_five](vair,180); + lft x[tilde_one]r=w-rt x[tilde_five]l=hround 1.5u+0.5(w-9u); + x[tilde_two]-x[tilde_one]= + x[tilde_three]-x[tilde_two]= + x[tilde_four]-x[tilde_three]=x[tilde_five]-x[tilde_four]; +% |accent_gap| is defined by the acute accent, it is known when needed + bot y[tilde_one]=bot y[tilde_four]l=cap_height+.5accent_gap; + top y[tilde_two]r=top y[tilde_five]=h; + y[tilde_three]=.5[y[tilde_two],y[tilde_four]]; + filldraw stroke + z[tilde_one]e{up}... + z[tilde_two]e{right}.. + z[tilde_three]e.. + {right}z[tilde_four]e...{up}z[tilde_five]e; fi % stroke +enddef; +% +% +% +vardef lowercase_umlaut(expr x_move,y_move,umlaut_one,umlaut_two, + umlaut_three,umlaut_four) = +pickup tiny.nib; +pos[umlaut_one](udot_diam,0); +pos[umlaut_two](udot_diam,90); +x[umlaut_one]=x[umlaut_two]=x_move+.5w-1.75u if monospace:/expansion_factor fi ; +top y[umlaut_two]r=lc_trema_height; +y[umlaut_one]=y_move+.5[y[umlaut_two]l,y[umlaut_two]r]; +dot([umlaut_one],[umlaut_two]); % left dot +pos[umlaut_three](udot_diam,0); +penpos[umlaut_four](y[umlaut_two]r-y[umlaut_two]l,90); +y[umlaut_three]=y[umlaut_four]=y[umlaut_one]; +x[umlaut_three]=x[umlaut_four]=x[umlaut_one] + +3.5u if monospace: /expansion_factor fi ; +dot([umlaut_three],[umlaut_four]); % right dot +enddef; +% +vardef uppercase_umlaut(expr x_move,y_move,umlaut_one,umlaut_two, + umlaut_three,umlaut_four) = +pickup tiny.nib; +pos[umlaut_one](udot_diam,0); +pos[umlaut_two](udot_diam,90); +x[umlaut_one]=x[umlaut_two]=x_move+.5w-1.75u if monospace:/expansion_factor fi ; +top y[umlaut_two]r=vround(cap_height+dot_height#*hppp); +y[umlaut_one]=y_move+.5[y[umlaut_two]l,y[umlaut_two]r]; +dot([umlaut_one],[umlaut_two]); % left dot +pos[umlaut_three](udot_diam,0); +penpos[umlaut_four](y[umlaut_two]r-y[umlaut_two]l,90); +y[umlaut_three]=y[umlaut_four]=y[umlaut_one]; +x[umlaut_three]=x[umlaut_four]=x[umlaut_one] + +3.5u if monospace: /expansion_factor fi ; +dot([umlaut_three],[umlaut_four]); % right dot +enddef; +% +% +vardef lowercase_circle(expr + x_center,y_bottom,circ_one,circ_two,circ_three,circ_four)= +numeric circ_hair,circ_vair; +circ_hair=hround min(hair,u if monospace: /expansion_factor fi +.5); +circ_vair=vround min(vair,(h-x_height)/6+.5); +penpos[circ_one](circ_vair,90); penpos[circ_three](circ_vair,-90); +penpos[circ_two](circ_hair,180); penpos[circ_four](circ_hair,0); +x[circ_one]=x[circ_three]=x_center; % +x[circ_two]r=hround(x[circ_one]-1.5u-.5circ_hair); +x[circ_four]r=hround(x[circ_one]+1.5u+.5circ_hair); +y[circ_one]r=h+apex_o; +y[circ_two]=y[circ_four]=.5[y[circ_one],y[circ_three]]; +y[circ_three]l=vround y_bottom; % (1/3[x_height,h]+apex_o); +penstroke pulled_arc.e([circ_one],[circ_two]) + & pulled_arc.e([circ_two],[circ_three]) + & pulled_arc.e([circ_three],[circ_four]) + & pulled_arc.e([circ_four],[circ_one]) & cycle; % bowl +enddef; +% +vardef uppercase_circle(expr + x_center,y_bottom,circ_one,circ_two,circ_three,circ_four)= +numeric circ_hair,circ_vair; +circ_hair=hround min(hair,u if monospace: /expansion_factor fi +.5); +circ_vair=vround vair; % min(vair,(h-x_height)/6+.5); +penpos[circ_one](circ_vair,90); penpos[circ_three](circ_vair,-90); +penpos[circ_two](circ_hair,180); penpos[circ_four](circ_hair,0); +x[circ_one]=x[circ_three]=x_center; % .5w; +x[circ_two]r + = hround(x[circ_one]-1.5u if monospace: /expansion_factor fi -.5circ_hair); +x[circ_four]r + = hround(x[circ_one]+1.5u if monospace: /expansion_factor fi +.5circ_hair); +y[circ_one]r=cap_height + acc_height+apex_o; +y[circ_two]=y[circ_four]=.5[y[circ_one],y[circ_three]]; +y[circ_three]l=vround y_bottom; % (1/3[x_height,h]+apex_o); +penstroke pulled_arc.e([circ_one],[circ_two]) + & pulled_arc.e([circ_two],[circ_three]) + & pulled_arc.e([circ_three],[circ_four]) + & pulled_arc.e([circ_four],[circ_one]) & cycle; % bowl +enddef; +% +% +vardef lowercase_cedilla (expr x_center,y_move, + cedi_one,cedi_two,cedi_three,cedi_four,cedi_five) = +x[cedi_one]=x_center; % .5w+.5u; +if serifs: + pickup crisp.nib; + pos[cedi_one](stem,0); + pos[cedi_two](stem,0); + pos[cedi_three](vair,90); + pos[cedi_four](stem,0); + pos[cedi_five](vair,-90); + x[cedi_one]=x[cedi_two]; + z[cedi_three]l=z[cedi_two]l; + x[cedi_four]=x[cedi_two]+1.5u; + x[cedi_five]=x[cedi_three]-1.5u; + bot y[cedi_one]=0; + bot y[cedi_two]=-vround 2/7d-o; + y[cedi_four]=.5[y[cedi_three],y[cedi_five]]; + bot y[cedi_five]=-d-o; + filldraw stroke z[cedi_one]e--z[cedi_two]e; % stem + filldraw stroke z[cedi_three]e{right}... + z[cedi_four]e{down}...{left}z[cedi_five]e; % hook +else: pickup fine.nib; pos[cedi_one](vair,0); top y[cedi_one]=-o-2; + pos[cedi_two](.5[vair,stem],0); + bot y[cedi_two]=-d-o; x[cedi_two]=x[cedi_one]-1.25u; + filldraw stroke z[cedi_one]e--z[cedi_two]e; fi % diagonal +enddef; +% +vardef uppercase_cedilla(expr x_center,y_move, + cedi_one,cedi_two,cedi_three,cedi_four,cedi_five) = +x[cedi_one]=x_center;; +if serifs: + pickup crisp.nib; + pos[cedi_one](stem,0); + pos[cedi_two](stem,0); + pos[cedi_three](vair,90); + pos[cedi_four](stem,0); + pos[cedi_five](vair,-90); + x[cedi_one]=x[cedi_two]; + z[cedi_three]l=z[cedi_two]l; + x[cedi_four]=x[cedi_two]+1.5u if monospace: /expansion_factor fi; + x[cedi_five]=x[cedi_three]-1.5u if monospace: /expansion_factor fi; + top y[cedi_one]=y_move; + bot y[cedi_two]=-vround 2/7d-o; + y[cedi_four]=.5[y[cedi_three],y[cedi_five]]; + bot y[cedi_five]=-d-o; + filldraw stroke z[cedi_one]e--z[cedi_two]e; % stem + filldraw stroke z[cedi_three]e{right}... + z[cedi_four]e{down}...{left}z[cedi_five]e; % hook +else: pickup fine.nib; pos[cedi_one](vair,0); + top y[cedi_one]=-o-2; + pos[cedi_two](.5[vair,stem],0); + bot y[cedi_two]=-d-o; x[cedi_two] = + x[cedi_one]-1.25u if monospace: /expansion_factor fi; + filldraw stroke z[cedi_one]e--z[cedi_two]e; fi % diagonal +enddef; +% +% +vardef lowercase_breve(expr x_center,y_move,breve_one,breve_two,breve_three)= +pickup crisp.nib; pos[breve_one](vair,-180); +pos[breve_three](vair,0); +top y[breve_one]=top y[breve_three]=h; +x[breve_two]=x_center; +lft x[breve_one]r=hround(x[breve_two]-2.5u + if monospace: /expansion_factor fi -0.5vair); +rt x[breve_three]r=hround(x[breve_two]+2.5u + if monospace: /expansion_factor fi +0.5vair); +numeric mid_thickness; mid_thickness=vround 1/3[vair,stem]; +pos[breve_two](mid_thickness,-90); +bot y[breve_two]r= + vround max(x_height+o+tiny,1/3[x_height,h]+o-.5mid_thickness); +filldraw stroke z[breve_one]e{down}... + z[breve_two]e{right}...{up}z[breve_three]e; % stroke +enddef; +% +vardef uppercase_breve (expr x_center,y_move,breve_one, + breve_two,breve_three)= +pickup crisp.nib; pos[breve_one](vair,-180); +pos[breve_three](vair,0); +top y[breve_one]=top y[breve_three]=cap_height + acc_height; +x[breve_two]=hround x_center; +x[breve_two]-rt x[breve_one]l + =(lft x[breve_three]l)-x[breve_two] + =hround (2.5u if monospace: /expansion_factor fi -.5vair); +numeric mid_thickness; +mid_thickness=vround min(1/3[vair,stem],.5acc_height); +pos[breve_two](mid_thickness,-90); +% |accent_gap| is defined by the acute accent, it is known when needed +bot y[breve_two]r=cap_height + if hefty: .5 fi accent_gap; +filldraw stroke z[breve_one]e{down}...z[breve_two]e{right}... + {up}z[breve_three]e; % stroke +enddef; + +% +vardef lowercase_ogonek(expr x_move,y_move,ogon_one,ogon_two,ogon_three) = +x[ogon_one]r=x_move; + pickup crisp.nib; + pos[ogon_one]( + if currentbreadth<0.9vair: 0.9vair else: currentbreadth+eps fi,-60); + pos[ogon_two](stem,0); + pos[ogon_three](vair,145); + x[ogon_two]=x[ogon_one]-2.5u if monospace: / expansion_factor fi ; + x[ogon_three]=x[ogon_one]+0.5u if monospace: / expansion_factor fi ; + bot y[ogon_one]r = y_move; + bot y[ogon_three]=0.5(-d-o)+y_move; %0.4 + bot y[ogon_two]=0.5(-d-o)+y_move; + filldraw stroke z[ogon_one]e{dir 225}... + z[ogon_two]e{dir -110}...{dir 60}z[ogon_three]e; % hook +enddef; + +% --------------------------------------------------------------------------- +% MACROS FOR PROCESSING CHARS TWICE: +% PASS 1: COLLECTING TFM (SHARP) INFORMATION +% PASS 2: CREATING THE GLYPH +% --------------------------------------------------------------------------- +%%% define_pixels prepare_pen +%%% beginchar beginchar_twice +%%% endfor repeat_once + +% A special provision is necessary if one uses |modes.mf|: +% This file assumes, that one never wants to use more than one mode +% in the same font, but we will do so. +% +% Make sure, that you never input |modes.mf| after this file, otherwise +% unpleasant surprises wait for you. + +def clear_mode_guards = + forsuffixes $=proofing,fontmaking,tracingtitles,pixels_per_inch, + blacker,fillin,o_correction,blacker_min,aspect_ratio: + numeric mode_guard_$; + endfor +enddef; + +let ori_draw:=draw; +let ori_fill:=fill; +let ori_filldraw:=filldraw; +let ori_erase:=erase; +let ori_penstroke:=penstroke; +let ori_special:=special; +let ori_numspecial:=numspecial; + +mode_def canonical_sharp_mode = % nearly |proof| mode + proofing:=0; % no, we aren't making full proofs + fontmaking:=0; % yes, we are making a font + tracingtitles:=0; % don't show titles online + pixels_per_inch:=2601.72; % that's 36 pixels per pt + blacker:=0; % no additional blackness + blacker_min:=0; % no write_white provision + fillin:=0; % no compensation for fillin + o_correction:=1; % no reduction in overshoot +enddef; + +def beginchar_twice(expr c,w_sharp,h_sharp,d_sharp) = + begingroup + if string mode: string prev_mode; prev_mode:=mode; + else: numeric prev_mode; prev_mode:=mode; + fi + for sharp_calc_:=1,whatever: +% |sharp_calc| is checked in |corrital|, |mark_height|, and |put_accent| + sharp_calc:=sharp_calc_; + if known sharp_calc: % carry out ``sharp'' calculations + begingroup save mode,mag; mode:=canonical_sharp_mode; + clear_mode_guards; mode_setup; font_setup; pseudo_setup; + if is_small_cap: % excerpt from |font_setup| + define_pixels(higher.u,higher.bar_height); + define_corrected_pixels(higher.o); + define_whole_pixels(higher.letter_fit); + define_whole_vertical_pixels(higher.x_height,higher.body_height); + define_whole_blacker_pixels(higher.stem); + fi + endgroup; + def draw expr e=enddef; + let fill:=draw; + let filldraw:=draw; + let erase:=killtext; % |killtext| was absent from earlier versions of plain + let penstroke:=killtext; + def special primary t = enddef; + def numspecial primary t = enddef; + charwd:=w_sharp; charht:=h_sharp; chardp:=d_sharp; charic:=0; + else: % carry out ``discrete'' calculations + mode:=prev_mode; + clear_mode_guards; mode_setup; font_setup; pseudo_setup; + if is_small_cap: % excerpt from |font_setup| + define_pixels(higher.u,higher.bar_height); + define_corrected_pixels(higher.o); + define_whole_pixels(higher.letter_fit); + define_whole_vertical_pixels(higher.x_height,higher.body_height); + define_whole_blacker_pixels(higher.stem); + fi + let draw:=ori_draw; + let fill:=ori_fill; + let filldraw:=ori_filldraw; + let erase:=ori_erase; + let penstroke:=ori_penstroke; + let special:=ori_special; + let numspecial:=ori_numspecial; + charwd:=w_sharp; + fi + charcode:=if known c: byte c else: 0 fi; + w:=hround(w_sharp*hppp); h:=vround(h_sharp*hppp); d:=vround(d_sharp*hppp); + clearxy; clearit; clearpen; scantokens extra_beginchar; +enddef; + +let repeat_once = endfor; + +% --------------------------------------------------------------------------- +% +% +% +% some extra font parameters +% +def font_cap_height expr x = fontdimen 8: x enddef; +def font_asc_height expr x = fontdimen 9: x enddef; +def font_acc_cap_height expr x = fontdimen 10: x enddef; +def font_desc_depth expr x = fontdimen 11: x enddef; +def font_max_height expr x = fontdimen 12: x enddef; +def font_max_depth expr x = fontdimen 13: x enddef; +def font_digit_width expr x = fontdimen 14: x enddef; +def font_cap_stem expr x = fontdimen 15: x enddef; +def font_baselineskip expr x = fontdimen 16: x enddef; + + + +% +% XXXXXXX The following routines generate the parameter +% X X sets by extrapolation +% X X +% X X +% X X +% XXXX XXXX +% X X +% X X +% X X +% X X +% X X +% X +% +% +% needed variables +% + +vardef simple_gendef@#(text aa)(text t)= + string s[]; + s1:=""; + s2:=str @#; + index:=1; + forsuffixes $=t: ydata[index]:=$ if s1<>s2: *@# fi; + index:=index+1; + endfor; + if numpoints>(index-1): errmessage "Missing parameter"; message str aa; fi; + if numpoints<(index-1): errmessage "Too many parameters"; message str aa; fi; + aa:=ydata[merke]; + if gencheck: message str aa fi; +enddef; + +vardef extended_gendef@#(text aa)(text t)= + string s[]; + s1:=""; + s2:=str @#; + index:=1; + forsuffixes $=t: ydata[index]:=$ if s1<>s2: *@# fi; + index:=index+1; + endfor; + if numpoints>(index-1): errmessage "Missing parameter"; message str aa; fi; + if numpoints<(index-1): errmessage "Too many parameters"; message str aa; fi; + if gensize>basedata[numpoints]: + numeric hilf []; + hilf[1]:=(ydata[numpoints]-ydata[numpoints-1])/(basedata[numpoints]-basedata[numpoints-1]); + hilf[2]:=(ydata[numpoints]-ydata[numpoints-2])/(basedata[numpoints]-basedata[numpoints-2]); + hilf[3]:=ydata[numpoints]-hilf1*basedata[numpoints]; + hilf[4]:=ydata[numpoints]-hilf2*basedata[numpoints]; + spy:=(hilf[1]*gensize+hilf[3])/2+(hilf[2]*gensize+hilf[4])/2; + aa:=spy; + else: + for index = 1 upto numpoints-1: + interval[index]:=basedata[index+1]-basedata[index]; + endfor; + for index=1 upto numpoints: + spline[1][index]:=ydata[index]; + endfor; + for index=2 upto numpoints-1: + alpha[index]:=3*((spline[1][index+1]*interval[index-1])% + -(spline[1][index]*(basedata[index+1]-basedata[index-1]))% + +(spline[1][index-1]*interval[index]))% + /(interval[index-1]*interval[index]); + endfor; + spl[1]:=0; + spmu[1]:=0; + spz[1]:=0; + for index=2 upto numpoints-1: + spl[index]:=2*(basedata[index+1]-basedata[index-1])% + -interval[index-1]*spmu[index-1]; + spmu[index]:=interval[index]/spl[index]; + spz[index]:=(alpha[index]-interval[index-1]*spz[index-1])/spl[index]; + endfor; + spline[3][numpoints]:=0; + for index=numpoints-1 downto 1: + spline[3][index]:=spz[index]-spmu[index]*spline[3][index+1]; + endfor; + for index=numpoints -1 downto 1: + spline[2][index]:=(spline[1][index+1]-spline[1][index])/interval[index]% + -interval[index]*(spline[3][index+1]*spline[3][index])/3; + spline[4][index]:=(spline[3][index+1]-spline[3][index])/(3*interval[index]); + endfor; + location:=1; + for term=1 upto numpoints-1: + if gensize > basedata[term]: location:=term; fi + endfor; + spx:=gensize-basedata[location]; + spy:=((spline[4][location]*spx+spline[3][location])*spx+spline[2][location])*spx+spline[1][location]; + aa:=spy; fi; + if gencheck: message str aa fi; +enddef; + +vardef basedef(text t)= + boolean basevalue; boolean gencheck; + numeric index; numeric ergbnis; numeric location; numeric term; + numeric numpoints; numeric spx; numeric spy; + numeric basedata[]; numeric interval[]; numeric alpha[]; + numeric spl[]; numeric spmu[]; numeric spz[]; + numeric ydata[]; numeric spline[][]; + basevalue:=false; gencheck:=false; + index:=1; + forsuffixes $=t: basedata[index]:=$; + if $=gensize: basevalue:=true; merke:=index; fi; + index:=index+1; + endfor; + numpoints:=index-1; + if numpoints<3: errmessage "Not enough reference points"; fi + if basevalue: def gendef=simple_gendef enddef; else: + def gendef=extended_gendef enddef; fi +enddef; + +def clear_extra_memory= % Release ressources hold by the extrapolation routine + numeric index; numeric ergbnis; numeric location; numeric term; + numeric numpoints; numeric spx; numeric spy; + numeric basedata[]; numeric interval[]; numeric alpha[]; + numeric spl[]; numeric spmu[]; numeric spz[]; + numeric ydata[]; numeric spline[][]; + numeric hilf []; string s[]; +enddef; + +endinput; diff --git a/fonts/ec/src/exbraces.mf b/fonts/ec/src/exbraces.mf new file mode 100644 index 0000000000..60c5fa0d65 --- /dev/null +++ b/fonts/ec/src/exbraces.mf @@ -0,0 +1,268 @@ +% exbraces.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 Patchlevel 3 +% +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% braces and some special characters +% +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Circumflex (hat)"; +beginchar(oct"136",11u#,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(.5[vair,curve],90); top y2r=.75[x_height,h]; x2=.5w; + x1=w-x3=good.x 2.25u; y1=y3=.25[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=2/3[x_height,h]; x2=.5w; bot y1=bot y3=vround x_height-eps; + 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; + + + +ecchar "Tilde (squiggle)"; +beginchar(oct"176",11u#,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; + +ecchar "Compound word mark"; +beginchar(oct"027",0,x_height#,0); +zero_width; +endchar; + +ecchar "Left parenthesis"; +beginchar("(",7u# if monospace: -u# fi,body_height#,paren_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; + +ecchar "Right parenthesis"; +beginchar(")",7u# if monospace: -u# fi,body_height#,paren_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; + + +ecchar "Less than sign"; +compute_spread(5/4x_height#,3/2x_height#); +beginchar("<",14u#,v_center(spread#+rule_thickness#)); +italcorr h#*slant-u#; +adjust_fit(0,0); pickup extra_rule.nib; +lft x2=hround 1.5u-eps; x1=x3=w-x2; +y1-y3=spread; y2=.5[y1,y3]=math_axis; +draw z1--z2--z3; % diagonals +labels(1,2,3); endchar; + +ecchar "Vertical line"; +beginchar(oct"174",5u#,body_height#,paren_depth#); +italcorr body_height#*slant+.5rule_thickness#-2u#; +adjust_fit(0,0); pickup rule.nib; +x1=x2=good.x .5w; top y1=h+eps; bot y2=-d-eps; +draw z1--z2; % stem +labels(1,2); endchar; + + +ecchar "Greater than sign"; +compute_spread(5/4x_height#,3/2x_height#); +beginchar(">",14u#,v_center(spread#+rule_thickness#)); +italcorr math_axis#*slant-u#; +adjust_fit(0,0); pickup extra_rule.nib; +rt x2=hround(w-1.5u)+eps; x1=x3=w-x2; +y1-y3=spread; y2=.5[y1,y3]=math_axis; +draw z1--z2--z3; % diagonals +labels(1,2,3); endchar; + +ecchar "Left bracket"; +numeric wd#; wd#=max(5u#,4.5u#+.5if hefty:stem# else:rule_thickness# fi); +beginchar("[",wd#,body_height#,paren_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-stem_corr); +% else: top_thickness=side_thickness=rule_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; + +ecchar "Right bracket"; +numeric wd#; wd#=max(5u#,4.5u#+.5if hefty:stem# else:rule_thickness# fi); +beginchar("]",wd#,body_height#,paren_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-stem_corr); +% else: top_thickness=side_thickness=rule_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; + + +ecchar "Reverse slash (backslash)"; +beginchar(oct"134",9u#,body_height#,paren_depth#); +adjust_fit(0,0); pickup extra_rule.nib; +lft x1=hround u-eps; top y1=h+eps; +rt x2=hround(w-u)+eps; bot y2=-d-eps; +draw z1--z2; % diagonal +labels(1,2); endchar; + +ecchar "Left curly brace"; +beginchar(oct"173",9u#,body_height#,paren_depth#); +italcorr body_height#*slant+.5vair#-u#; +adjust_fit(0,0); pickup fine.nib; +forsuffixes $=1,1',4,4',7,7': pos$(vair,0); endfor +forsuffixes $=2,3,5,6: pos$(stem,0); endfor +x2=x3=x5=x6; x1=x1'=x7=x7'=w-x4=w-x4'; +lft x4l=hround(1.5u-.5vair); lft x2l=hround(.5w-.5stem); +top y1=h; bot y7=-d; .5[y4,y4']=.5[y1,y7]=.5[y2,y6]=.5[y3,y5]; +y1-y2=y3-y4=(y1-y4)/4; y1-y1'=y4-y4'=y7'-y7=vair-fine; +filldraw z1l{left}...z2l---z3l...{left}z4l + --z4'l{right}...z5l---z6l...{right}z7l + --z7r--z7'r{left}...z6r---z5r...{left}.5[z4r,z4'r]{right} + ...z3r---z2r...{right}z1'r--z1r--cycle; % stroke +penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "Right curly brace"; +beginchar(oct"175",9u#,body_height#,paren_depth#); +italcorr math_axis#*slant+.5vair#-u#; +adjust_fit(0,0); pickup fine.nib; +forsuffixes $=1,1',4,4',7,7': pos$(vair,0); endfor +forsuffixes $=2,3,5,6: pos$(stem,0); endfor +x2=x3=x5=x6; x1=x1'=x7=x7'=w-x4=w-x4'; +rt x4r=hround(w-1.5u+.5vair); rt x2r=hround(.5w+.5stem); +top y1=h; bot y7=-d; .5[y4,y4']=.5[y1,y7]=.5[y2,y6]=.5[y3,y5]; +y1-y2=y3-y4=(y1-y4)/4; y1-y1'=y4-y4'=y7'-y7=vair-fine; +filldraw z1r{right}...z2r---z3r...{right}z4r + --z4'r{left}...z5r---z6r...{left}z7r + --z7l--z7'l{right}...z6l---z5l...{right}.5[z4l,z4'l]{left} + ...z3l---z2l...{left}z1'l--z1l--cycle; % stroke +penlabels(1,2,3,4,5,6,7); endchar; + + + + +ecchar "Underbar"; +compute_spread((5/8+.45)*x_height#,(3/4+.55)*x_height#); +beginchar(oct"137",14u#,0,spread#-math_axis#+.5rule_thickness#); +adjust_fit(0,0); pickup rule.nib; +lft x1=hround 1.5u-eps; x2=w-x1; bot y1=bot y2=-d; +draw z1--z2; % bar +labels(1,2); endchar; + +iff not monospace: +ecchar "Hyphenchar"; +beginchar(oct"177",3u#,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(2w-u)+eps; +lft x1=hround .2u-eps; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +iff monospace: +ecchar "Hyphenchar"; +beginchar(oct"177",3u#,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; +x2=w-x1; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +iff hefty: % Sans or typewriter +ecchar "Blank-space sign"; +beginchar(oct"040",9u#,x_height#,.5desc_depth#); +italcorr bar_height#*slant-.25u#; +adjust_fit(0,0); +numeric thin_vair#; thin_vair#=.7vair#; +define_whole_blacker_pixels(thin_vair); +h:=bar_height; +forsuffixes $=1,2,3,4: penpos$(thin_vair,0); endfor +penpos0(thin_vair,90); x0=.5w; y0l=vround(-d-.5thin_vair); +x1=x2; x3=x4=w-x1; lft x1l=hround .75u; +y1=y4=h; y2=y3=y0; +fill z1l---z2l...(x2,y0l)---(x3,y0l)...z3r---z4r + ..z4l---(x3l,y0r)--(x2r,y0r)---z1r..cycle; % the stroke +penlabels(0,1,2,3,4); endchar; + +iff not hefty: % Other than the above mentioned +ecchar "Blank-space sign"; % jk +beginchar(oct"040",9u#,x_height#,.5desc_depth#); +italcorr bar_height#*slant-.25u#; +adjust_fit(0,0); +numeric shaved_stem; shaved_stem=hround .9[vair,.85cap_stem]; +if shaved_stem<crisp.breadth: shaved_stem:=crisp.breadth; fi +pickup crisp.nib; +pos1(shaved_stem,-90); pos2(hair,0); +bot y1r=-d; x1=.5w; rt x2r=hround(w-.75u); y2=good.y(y1l+.5beak)+eps; +arm(1,2,a,beak_darkness,2beak_jut); % lower right arm and beak +pos3(hair,180); x3=w-x2; y3=y2; +arm(1,3,b,beak_darkness,-2beak_jut); % lower left arm and beak +math_fit(0,.5ic#); +penlabels(1,2,3); endchar; + +endinput; diff --git a/fonts/ec/src/excligtb.mf b/fonts/ec/src/excligtb.mf new file mode 100644 index 0000000000..60256a333c --- /dev/null +++ b/fonts/ec/src/excligtb.mf @@ -0,0 +1,263 @@ +% excligtb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% ligatures and kerning for "caps and small caps" fonts +% +% This file should not be called for monospaced fonts ! +% +% The following ligatures are integrated: +% +% -- +% --- +% -<hyphenchar> +% >> +% << +% `` +% '' +% ,, +% !` and ?` +% + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ligtable + "-": "-" =: oct"025", + oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar> +ligtable + oct"025": "-"=:oct"026"; % "---" => emdash + +ligtable "<": "<" =: oct"023"; % "<<" +ligtable ">": ">" =: oct"024"; % ">>" +ligtable ",": "," =: oct"022"; % ",," +ligtable "!": "`" =: oct"275"; % spanish shriek +ligtable "?": "`" =: oct"276"; % spanish query + + +ligtable + "`": "`"=:oct"020", + oct"020" kern 2u#, + "?" kern 2u#, + "!" kern 2u#; + +ligtable + "'": "'"=:oct"021", + oct"021" kern 2u#, + "?" kern 2u#, + "!" kern 2u#; +% +% +def lig_o_table (expr k) = + "o" kern k, oct"256" kern k, oct"362" kern k, oct"363" kern k, + oct"364" kern k, oct"365" kern k, oct"366" kern k, + oct"367" kern k +enddef; +def lig_co_table = + "o": oct"256": oct"362": oct"363": + oct"364": oct"365": oct"366": + oct"367" +enddef; +% +% +def lig_a_table (expr k) = + "a" kern k, oct"240" kern k, oct"241" kern k, oct"340" kern k, + oct"341" kern k, oct"342" kern k, + oct"343" kern k, oct"344" kern k, oct"345" kern k, + oct"346" kern k +enddef; +def lig_A_table (expr k) = + "A" kern k, oct"200" kern k, oct"201" kern k, oct"300" kern k, + oct"301" kern k, oct"302" kern k, + oct"303" kern k, oct"304" kern k, oct"305" kern k +enddef; +def lig_ca_table = + "a": oct"241": oct"242": oct"340": + oct"341": oct"342": + oct"343": oct"344": oct"345": + oct"346" +enddef; +def lig_c_table (expr k) = + "c" kern k, oct"242" kern k, oct"243" kern k, oct"347" kern k +enddef; +def lig_CGQ_table (expr k) = + "C" kern k, "G" kern k, oct"202" kern k, oct"203" kern k, + oct"207" kern k, oct"307" kern k, "Q" kern k +enddef; + +def lig_e_table (expr k)= + "e" kern k, oct"245" kern k, oct"246" kern k, oct"350" kern k, + oct"351" kern k, oct"352" kern k, oct"353" kern k +enddef; + +def lig_u_table (expr k)= + "u" kern k, oct"266" kern k, oct"267" kern k, oct"371" kern k, + oct"372" kern k, oct"373" kern k, oct"374" kern k +enddef; + +def lig_cA_table = + "A": oct"200": oct"201": oct"300": oct"301": oct"302": + oct"303": oct"304": oct"305" +enddef; + +def lig_cO_table = + "O": oct"216": oct"322": oct"323": oct"324": oct"325": + oct"326": oct"330" +enddef; + +def lig_O_table (expr k) = + "O" kern k, + oct"216" kern k, oct"322" kern k, oct"323" kern k, + oct"324" kern k, oct"325" kern k, + oct"326" kern k, oct"330" kern k +enddef; + +def lig_U_table (expr k) = + "U" kern k, oct"226" kern k, oct"227" kern k, oct"331" kern k, + oct"332" kern k, oct"333" kern k, oct"334" kern k +enddef; + +% +% +% +% + k#:=-.5u#; ku#:=-1.0u#; kk#:=-1.5u#; kkk#:=-2u#; % four degrees of kerning + +ligtable boundarychar: + oct"020" kern -kk#, oct"021" kern -kk#, oct"022" kern -kk#, + oct"055" kern -kk#, oct"140" kern -kk#, oct"047" kern -kk#; + +ligtable oct"022": + oct"015" kern 2u#, "," kern 2u#, + oct"015": + oct"022" kern 2u#, + "y" kern ku#, oct"270" kern ku#, oct"375" kern ku#, + "v" kern ku#, "w" kern k#, "V" kern kkk#, "W" kern kk#, "Y" kern kk#, + oct"230" kern kk#, oct"335" kern kk#, + lig_O_table(k#), lig_CGQ_table(k#), + boundarychar kern -kk#; + +ligtable oct"020": + oct"140" kern 2u#, oct"020" kern 2u#, boundarychar kern -kk#; + +ligtable oct"021": + oct"047" kern 2u#, oct"021" kern 2u#, boundarychar kern -kk#; + +ligtable oct"024": % ">>" + "." kern kk#, "," kern kk#; + + ligtable + "P": + "T": + "Y": "a" kern kk#, + lig_A_table(kk#); + ligtable + "F": + "V": + "W": + if serifs: + lig_a_table(kkk#), + lig_A_table(kkk#), + else: + lig_a_table(kk#), + lig_A_table(kk#), + fi + "K": + "X": lig_o_table(k#), + lig_O_table(k#), + lig_c_table(k#), + lig_CGQ_table(k#), + "g" kern k#, oct"247" kern k#, + "q" kern k#; + ligtable + "O": + "D": "x" kern k#, + "X" kern k#, + "w" kern k#, + "W" kern k#, + lig_a_table(k#), + lig_A_table(k#), + "v" kern k#, + "V" kern k#, + "y" kern k#, oct"375" kern k#, oct"270" kern k#, + "Y" kern k#, oct"335" kern k#, oct"230" kern k#; + ligtable + lig_cA_table: + if serifs: + "R": + fi + lig_c_table(k#), + lig_CGQ_table(k#), + lig_o_table(k#), + lig_O_table(k#), + "g" kern k#, oct"247" kern k#, + lig_u_table(k#), + lig_U_table(k#), + "q" kern k#, + "L": + "T" kern kk#, oct"224" kern kk#, oct"225" kern kk#, + "t" kern kk#, oct"264" kern kk#, oct"265" kern kk#, + "Y" kern kk#, oct"230" kern kk#, oct"335" kern kk#, + "y" kern kk#, oct"270" kern kk#, oct"375" kern kk#, + "V" kern kkk#, + "v" kern kkk#, + "W" kern kkk#, + "w" kern kkk#; + ligtable + "I": + "I" kern -k#; % Richard III + + k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + + ligtable + "p": + "t": + "y": lig_a_table(kk#); + ligtable + "f": + "v": + "w": + if serifs: + lig_a_table(kkk#) + else: + lig_a_table(kk#) + fi, + "k": + "x": lig_o_table(k#), + lig_c_table(k#), + "g" kern k#, oct"247" kern k#, + "q" kern k#; + ligtable + lig_co_table: + "d": "x" kern k#, + "w" kern k#, + lig_a_table(k#), + "v" kern k#, + "y" kern k#, oct"270" kern k#, oct"375" kern k#; + ligtable + lig_ca_table: + if serifs: "r": fi + lig_c_table(k#), + lig_o_table(k#), + "g" kern k#, oct"247" kern k#, + lig_u_table(k#), + "q" kern k#, + "l": "'" kern kk#, + "t" kern kk#, oct"264" kern kk#, oct"265" kern kk#, + "y" kern kk#, oct"270" kern k#, oct"375" kern k#, + "v" kern kkk#, + "w" kern kkk#; + ligtable + "i": "i" kern -k#; % skiing + + +endinput; diff --git a/fonts/ec/src/excsc.mf b/fonts/ec/src/excsc.mf new file mode 100644 index 0000000000..83e2b70883 --- /dev/null +++ b/fonts/ec/src/excsc.mf @@ -0,0 +1,122 @@ +% eccsc.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% driver file, called by parameter files for "caps and small caps" fonts +% + +% +% dx r l west +% i u east +% : : : +% : : west '3xx / east '2xx +% : uppercase/lowercase +% roman / italic + +version_check(1,0); % |version_check| was introduced in dc1.3 + +input exaccess; % accessories for polish special letters +input expseudo; % pseudoparameters +mode_setup; font_setup; pseudo_setup; + +input exruwest; +input exrueast; +input exrulett; % upper case (majuscules) + +input exbraces; % ^ ~ cwm ( ) < | > [ ] \ { } _ - (177) space (040) +input expunct; % < << > >> ! ` ' * + , . / = ; : (spanish !) + +input exsign; % zero for mille, " # $ % @ pound sign +% +input exromp; % (roman punctuation) & ? (spanish ?) +% +input exrdigit; % roman digits +% + +boolean is_small_cap; is_small_cap:=true; +%%% fine higher +% the `higher' values are used while putting accents and attaching ogoneks +forsuffixes $=u,o,letter_fit,x_height,bar_height,body_height,stem: + higher.$.#:=$.#; higher.$:=$; +endfor + +%%% fine lower +begingroup +forsuffixes $= u, width_adj, cap_serif_fit, letter_fit, + body_height, cap_height, x_height, bar_height, comma_depth, + flare, dot_size, cap_hair, stem, cap_stem, cap_curve, cap_ess, + cap_jut, beak_jut, beak, slab, cap_bar, cap_band, cap_notch_cut, + o, apex_o: save $; $.#:=lower.$.#; endfor +fudge:=lower.fudge; + +% optional part: +forsuffixes $ = depth_corr, left_corr, top_breadth_corr, tip_breadth_corr, + tip_xcorr, tip_ycorr, pre_angle, post_angle, pre_limit, post_limit, + pre_lightness, post_lightness, pre_deflexion, post_deflexion, cap_flat, + ogonek_pen#: if known lower.$: $:=lower.$; fi +endfor + +input expseudo; % Recalculate pseudoparameters + +font_setup; pseudo_setup; % now try again with |lower| settings + +input excspl; % dotless i,j; letter ligatures FF FI FL FFI FFL D- + + +extra_endchar:=extra_endchar&"charcode:=charcode+code_offset"; +code_offset:=ASCII"a" - ASCII"A"; + +input exrulett; % upper case (majuscules) + +suppress_i_dot := true; + +input exruwest; +input exrueast; + +code_offset:=0; +input txpseudo; % Recalculate pseudoparameters for capital accents +font_setup; pseudo_setup; +input txaccent; % Accents for capital letters with small cap parameters + +endgroup; + + +% Fontparameter +% +font_coding_scheme:="Extended TeX Font Encoding - Latin"; +boundarychar:=oct"027"; +font_slant slant; +font_x_height x_height#; +font_cap_height cap_height#; +font_asc_height asc_height#; +font_acc_cap_height (cap_height#+acc_height#); +font_desc_depth desc_depth#; +font_max_height (max(asc_height#,body_height#, + cap_height#+acc_height#)); +font_max_depth (max(desc_depth#,paren_depth#,the_ogonek_depth#)); +% font_digit_width % set inside the digits file +% font_cap_stem % set after the programme of the capital I +font_baselineskip max(1.2*designsize,body_height#+paren_depth#); + +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; + input exmligtb; % do the monospace ligature programs +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; + input excligtb; % do the ligature programs, not for monospaced fonts +fi + +bye. diff --git a/fonts/ec/src/excspl.mf b/fonts/ec/src/excspl.mf new file mode 100644 index 0000000000..d38d55962e --- /dev/null +++ b/fonts/ec/src/excspl.mf @@ -0,0 +1,247 @@ +% excspl.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Metafont program for the characters in positions of ligatures +% for the "caps and small caps" fonts +% +% I,J,FI,FL,FFI,FFL and D with bar +% +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "The letter I"; +beginchar(oct"031",max(6u#,4u#+cap_stem#),cap_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or slitex or monospace: + dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2); endchar; + +ecchar "The letter J"; +beginchar(oct"032",9u#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit# + +.75cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +top y1=h; rt x1r=hround(w-2u); x2=x1; y2=.21h; +if serifs: pos3(vair,-90); pos4(cap_hair,-180); + pos5(flare+(cap_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.3cap_jut,b,1/3,.75cap_jut); % serif + pickup tiny.nib; bulb(3,4,5); % bulb +else: filldraw stroke z1e--z2e; % stem + pickup fine.nib; pos3(cap_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; + +ecchar "The letter FF"; +beginchar(oct"033",2(11.5u#-width_adj#),cap_height#,0); +italcorr cap_height#*slant-.25u#; +normal_adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +w':=11.5u-width_adj; +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +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(cap_bar,-90); pos6(hair,0); +top y5l=vround(.5[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,1.25cap_jut); fi % lower serif +% the second F +currentpicture:=currentpicture + currentpicture shifted (w',0); +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,8,9,11,12); endchar; + +ecchar "The letter FI"; +beginchar(oct"034",11.5u#-width_adj#+max(6u#,4u#+cap_stem#),cap_height#,0); +italcorr cap_height#*slant-.25u#; +normal_adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +w':=11.5u-width_adj; +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +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(cap_bar,-90); pos6(hair,0); +top y5l=vround(.5[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,1.25cap_jut); fi % lower serif +% the I +xshift:=w'; +w':=w-xshift; +pickup tiny.nib; pos11(cap_stem,0); pos12(cap_stem,0); +lft x11l=lft x12l=hround(xshift+.5w'-.5cap_stem); top y11=h; bot y12=0; +filldraw stroke z11e--z12e; % stem +if serifs or slitex or monospace: + dish_serif(11,12,aa,1/3,1.05cap_jut,bb,1/3,1.05cap_jut); % upper serif + dish_serif(12,11,gg,1/3,1.05cap_jut,dd,1/3,1.05cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,8,9,11,12); endchar; + +ecchar "The letter FL"; +beginchar(oct"035",(11.5u#-width_adj#)+11u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-.25u#; +normal_adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +w':=11.5u-width_adj; +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +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(cap_bar,-90); pos6(hair,0); +top y5l=vround(.5[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,1.25cap_jut); fi % lower serif +% the L +xshift:=w'; +pickup tiny.nib; pos11(cap_stem,0); pos12(cap_stem,0); +lft x11l=lft x12l=hround xshift+max(2u,3u-.5cap_stem); top y11=h; bot y12=0; +filldraw stroke z11e--z12e; % stem +pickup crisp.nib; pos13(slab,-90); pos14(hair,0); +bot y13r=0; x13=x12; y14=y13l+7/6beak+eps; rt x14r=hround(w-.75u); +arm(13,14,eee,1.2beak_darkness,beak_jut); % lower arm and beak +if serifs: dish_serif(11,12,aaa,1/3,cap_jut,bbb,1/3,1.25cap_jut); % upper serif + nodish_serif(12,11,ccc,1/3,cap_jut,ddd,1/3,.5cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,8,9,11,12); endchar; + + + +ecchar "The letter FFI"; +beginchar(oct"036",2(11.5u#-width_adj#)+max(6u#,4u#+cap_stem#),cap_height#,0); +italcorr cap_height#*slant-.25u#; +normal_adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +w':=11.5u-width_adj; +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +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(cap_bar,-90); pos6(hair,0); +top y5l=vround(.5[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,1.25cap_jut); fi % lower serif +% the second F +currentpicture:=currentpicture + currentpicture shifted (w',0); +% the I +xshift:=2w'; +w':=w-xshift; +pickup tiny.nib; pos11(cap_stem,0); pos12(cap_stem,0); +lft x11l=lft x12l=hround(xshift+.5w'-.5cap_stem); top y11=h; bot y12=0; +filldraw stroke z11e--z12e; % stem +if serifs or slitex or monospace: + dish_serif(11,12,aa,1/3,1.05cap_jut,bb,1/3,1.05cap_jut); % upper serif + dish_serif(12,11,gg,1/3,1.05cap_jut,dd,1/3,1.05cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,8,9,11,12); endchar; + +ecchar "The letter FFL"; +beginchar(oct"037",2(11.5u#-width_adj#)+11u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-.25u#; +normal_adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +w':=11.5u-width_adj; +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +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(cap_bar,-90); pos6(hair,0); +top y5l=vround(.5[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,1.25cap_jut); fi % lower serif +% the I +currentpicture:=currentpicture + currentpicture shifted (w',0); +% the L +xshift:=2w'; +pickup tiny.nib; pos11(cap_stem,0); pos12(cap_stem,0); +lft x11l=lft x12l=hround xshift+max(2u,3u-.5cap_stem); top y11=h; bot y12=0; +filldraw stroke z11e--z12e; % stem +pickup crisp.nib; pos13(slab,-90); pos14(hair,0); +bot y13r=0; x13=x12; y14=y13l+7/6beak+eps; rt x14r=hround(w-.75u); +arm(13,14,eee,1.2beak_darkness,beak_jut); % lower arm and beak +if serifs: dish_serif(11,12,aaa,1/3,cap_jut,bbb,1/3,1.25cap_jut); % upper serif + nodish_serif(12,11,ccc,1/3,cap_jut,ddd,1/3,.5cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,8,9,11,12); endchar; + + +ecchar "The small caps letter (Eth) bar D"; +beginchar(oct"236",13.5u#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve-stem_corr,0); +penpos6(cap_band,-90); penpos7(cap_band,-90); +z3r=top z1; y4=y3; y5=.51[y4,y6]; y6=y7; +z7r=bot z2; x4=x6=.5w+.25u; x5r=hround(w-u); +x4l:=x6l:=x4-.25cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +% the bar +pickup tiny.nib; +y8=y9=y5; +pos8(bar,90); pos9(bar,90); +x9=x4; +if serifs: x8=x2l-cap_jut; else: x8=.5u; fi; +filldraw stroke z8e--z9e; +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +endinput; diff --git a/fonts/ec/src/exidigit.mf b/fonts/ec/src/exidigit.mf new file mode 100644 index 0000000000..08b135f947 --- /dev/null +++ b/fonts/ec/src/exidigit.mf @@ -0,0 +1,278 @@ +% exidigit.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% italic numerals + +version_check(1,0); % |version_check| was introduced in dc1.3 + +% All digits have the same width + +font_digit_width 9u#; + +ecchar "Italic numeral 0"; +beginchar("0",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +penpos1(vair,90); penpos3(vair,-90); penpos2(curve,180); penpos4(curve,0); +if not monospace: interim superness:=sqrt(more_super*hein_super); fi +x2r=hround(1.5u-.5curve); x4r=w-x2r; x1=x3=.5w; +y1r=h+o; y3r=-o; 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; + +ecchar "Italic numeral 1"; +beginchar("1",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); pickup tiny.nib; +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); top y1=h+apex_o; bot y2=0; +filldraw stroke z1e--z2e; % stem +if one_serif: dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); fi % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+apex_o; top y4l=.8h+apex_o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+apex_o+1)--(x3l,h+apex_o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..{left}z4e; % point +penlabels(1,2,3,4); endchar; + +ecchar "Italic numeral 2"; +beginchar("2",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(curve,-360); pos7(hair,-405); pos8(hair,-360); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); +x3=.6[x2,x4]; lft x4r=hround(u-.5hair); +x5=x7=.5w-.5u; rt x6r=hround(w-u); lft x8l=hround(1.5u-.5hair); +y1=.5[x_height,h]; y2=1/3[y1,y3]; y4=x_height; bot y3r=vround .78y4; +top y5r=h+o; y6=.5[y5,y7]; y7=.52y4; bot y8=-o; +filldraw stroke if not hefty:z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6) + ...z7e{2(x7-x6),y7-y6}...{down}z8e; % main stroke +pos9(vair,-90); pos10(vstem+curve-stem,-90); pos11(hair,0); +x9=w-x10=2.5u; rt x11r=hround(w-.5u+.5hair); +y9=.25[y10,y7]; bot y10r=-o; y11=.38x_height; +filldraw stroke z8e{up}...z9e{right}..{right}z10e...{up}z11e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Italic numeral 3"; +beginchar("3",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(stem,-360); pos7(bar,-450); pos8(bar,-450); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); x3=.5[x2,x4]; lft x4r=hround u; +x5=x7=.5w; rt x6r=hround(w-u); x8=x7-u; +y1=.5[x_height,h]; y2=.5[y1,y3]; y7=y8=.52h; bot y3r=vround 1/4[y7,h]; +y4=1/3[y3,y5]; top y5r=h+o; y6=.5[y5,y7]; +filldraw stroke if not hefty: z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6) & pulled_arc.e(6,7)..z8e; % upper arc +pos7'(vair,90); z7'l=z7r; +pos9(curve,0); pos10(vair,-90); pos11(hair,-180); pos12(flare,-180); +rt x9r=hround(w-u); x10=.5w-.5u; lft x11r=hround .75u; +y9=.25h; bot y10r=-o; y11=1/3x_height; bulb(10,11,12); % bulb +filldraw stroke pulled_arc.e(7',9) & pulled_arc.e(9,10); % lower arc +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar "Italic numeral 4"; +beginchar("4",9u#,fig_height#,desc_depth#); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(stem,0); pos6(stem,0); pos7(stem,0); +pos2(bar,-45); pos3(bar,-90); pos4(bar,-90); pos5(bar,-45); +rt x1r=hround(.5w+.5u+.5stem); lft x2l=hround .25u; +x3=2.75u; x4=w-2u; rt x5r=hround(w-.25u); +rt x6r=rt x7r=hround(2/3w+.5stem); +y1+.5stem=h+o; bot y2r=0; bot y3r=vround(.08h-.5bar); +bot y4r=vround-.5bar; bot y5r=vround(.03h-.5bar); +y6+.5stem=bar_height; y7-.5stem=-d; +filldraw circ_stroke z1e{down}...{3(x2-x1),y2-y1}z2e; % diagonal +filldraw stroke z2e{z1-z2}...z3e{right}..{right}z4e + ...{x5-x4,2(y5-y4)}z5e; % bar +filldraw z6l---z7l..z7r---z6r..cycle; % stem +penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "Italic numeral 5"; +beginchar("5",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric bot_thickness,light_hair; +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +light_hair=hround(cap_hair if hefty: -\\2stem_corr fi); +pickup tiny.nib; pos5(vair,180); pos6(vair,90); +bot y5=vround(.53h-vair); top y6r=max(vround .61803h+o,top y6r+y5+eps-y6l); +pos3(light_hair,0); pos4(light_hair,0); +lft x3l=max(1.35u,2.1u-.5light_hair); x3=x4=x5; y4=y5; +top y3=h if not hefty: +\\o fi; +filldraw stroke z3e--z4e; % thin stem +penpos7(cap_stem-fine,0); penpos8(bot_thickness-fine,-90); +fine.rt x7r=hround(w-.9u); x8=.5[u,x7]; x6=.5[x5,x7]; +erase fill z5--bot z5--(x6,bot y5)--z6{left} + ..tension .9 and 1..{x5-x6,3(y5-y6)}cycle; % erase excess in middle +filldraw stroke z6e{left}..tension .9 and 1..{x5-x6,3(y5-y6)}z5e; % link +pickup fine.nib; pos6'(vair,90); z6'=z6; +y7=.5[y6,y8]; bot y8r=-o; +filldraw stroke pulled_arc.e(6',7) & pulled_arc.e(7,8); % bowl +if serifs: pos9(hair,-180); y9=.5y5; lft x9r=hround .9u; + pos10(flare+1/3(cap_stem-stem),-180); bulb(8,9,10); % bulb +else: pos9(3/7[bot_thickness,flare],angle(-7u,-h)); + lft x9r=hround(tiny.lft x3l-.75u); bot y9r=vround .15h-o; + x9l:=good.x x9l; y9l:=good.y y9l; + filldraw stroke term.e(8,9,left,1,4); fi % terminal +if hefty: pickup crisp.nib; pos1(slab,90); pos2(hair,0); + top y1r=h; x1=x4; rt x2r=hround(w-1.5u); y2=y1l-eps; + arm(1,2,a,0,0); % arm +else: numeric flag_breadth; flag_breadth=7/8[vair,cap_curve]; + pos1(flag_breadth,90); pos2(flag_breadth,60); + pos0(vair,90); top y1r=tiny.top y3; top y2r=vround .95h+o; y0r=y1r; + lft x1=tiny.lft x3l; x2r=.5[x1,x0]; rt x0=hround(w-1.6u); + erase fill top z1r--z1r...{right}z2r + --(x2r,top y1r)--cycle; % erase excess at top + filldraw stroke z1e...{right}z2e...z0e; fi % flag +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic numeral 6"; +beginchar("6",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(top_thickness,-270); +pos3(side_thickness,-180); pos4(bot_thickness,-90); +pos5(side_thickness,0); pos6(vair,90); +lft x3r=w-rt x5r=hround max(.75u,1.5u-.5side_thickness); +x4=x6-.1u=x2-u=.5w; +top y2r=h+o; y3=.5[y2,y4]; bot y4r=-o; +y5=.5[y4,y6]; top y6=vround 5/8h+o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,180); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=min(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{left}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-360); pos0(flare,-360); + rt x0r=max(rt x2+eps,hround(w-1.2u)); + y0=vround min(.9h-.5flare,.85h+.5flare)+o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(vround .1[top_thickness,flare],90); + top y1r=vround .97h+o; rt x1=hround(x5-.5); + filldraw stroke term.e(2,1,right,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Italic numeral 7"; +beginchar("7",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +numeric fat_curve; fat_curve=1.4[stem,curve]; +pos1(hair,0); pos2(hair,0); pos3(vstem+curve-stem,-90); +pos4(vair,-90); pos5(hair,0); pos6(fat_curve,0); +top y1=h+o; y2=x_height; y3l=y5=y1; +bot y4r=vround(.5[y2,h]-.5vair); y6-.5fat_curve=-o; +lft x2l=hround(.5u-.5hair); x3=.5w-.5u; x4=2/3w; +rt x5r=hround(w-.75u+.5hair); rt x6r=hround(.5w+u+.5fat_curve); +z1=z2+whatever*(z5-z6); filldraw stroke z1e--z2e; % serif +filldraw stroke z2e{z1-z2}...z3e{right}..{right}z4e + ...{2(x5-x6),y5-y6}z5e; % bar +filldraw circ_stroke z6e{up}...{2(x5-x6),y5-y6}z5e; % diagonal +penlabels(1,2,3,4,5,6); endchar; + +ecchar "Italic numeral 8"; +beginchar("8",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric top_thickness,mid_thickness,bot_thickness,upper_side,lower_side,theta; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +x0=.5w; y0=.54h; +if hefty: mid_thickness=vround 2/3vair; upper_side=hround(stem-3stem_corr); + lower_side=hround min(.5[curve,cap_curve]-stem_corr,upper_side+.25u); + penpos1(top_thickness,90); penpos2(upper_side,180); + penpos3(mid_thickness,270); penpos8(upper_side,360); + penpos4(mid_thickness,90); penpos7(lower_side,180); + penpos6(bot_thickness,270); penpos5(lower_side,360); + penpos0(vair,90); z3l=z0r; z4l=z0l; + x1=x6=.5w; x2r=w-x8r=hround u; x7r=w-x5r=hround .75u; + top y1r=h+o; bot y6r=-o; y2=y8=.5[y1l,y3l]; y7=y5=.5[y4l,y6l]; + filldraw stroke pulled_arc.e(1,2) + & pulled_arc.e(2,3); % left half of upper bowl + filldraw stroke pulled_arc.e(4,5) + & pulled_arc.e(5,6); % right half of lower bowl + filldraw stroke pulled_arc.e(6,7) + & pulled_arc.e(7,4); % left half of lower bowl + filldraw stroke pulled_arc.e(3,8) + & pulled_arc.e(8,1); % right half of upper bowl +else: pickup fine.nib; theta=90-angle(18u,h); slope:=-h/18u; + upper_side=max(fine.breadth,hround(.5[hair,stem]-stem_corr)); + lower_side=hround(.5[hair,stem]+stem_corr); + if lower_side>1.2upper_side: upper_side:=lower_side; fi + pos1(top_thickness,-90); pos6(bot_thickness,-90); + x1=x6=.5w; top y1l=h+o; bot y6r=-o; pos0(cap_stem,theta); + lft x2l=w-rt x8l=hround 1.25u; lft x7r=w-rt x5r=hround .75u; + x2r-x2l=upper_side-fine; x5r-x5l=lower_side-fine; + ellipse_set(1l,2l,3l,0l); ellipse_set(1r,2r,3r,0r); + ellipse_set(6l,5l,4l,0l); ellipse_set(6r,5r,4r,0r); + numeric tau; tau=max(.8,.20710678/(superness-.5)); + filldraw stroke z1e{left}..tension atleast tau..z2e{down} + ..z3e---z4e..z5e{down}..tension atleast tau..z6e{left}; % S stroke + pos7(lower_side,180); pos8(upper_side,180); + y7=.5[y5l,y5r]; y8=.5[y2l,y2r]; pos9(vair,90); z9=z0; + filldraw stroke z1e{right}..tension atleast tau..z8e{down} + ..tension atleast tau and atleast 1..{-18u,-.618h}z9e; % upper right stroke + filldraw stroke z6e{left}..tension atleast tau..z7e{up} + ..tension atleast tau and atleast 1..{18u,.5h}z9e; fi % lower left stroke +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Italic numeral 9"; +beginchar("9",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(bot_thickness,-90); +pos3(side_thickness,0); pos4(top_thickness,90); +pos5(side_thickness,180); pos6(vair,270); +w-rt x3r=lft x5r=hround max(.75u,1.5u-.5side_thickness); +x4-.1u=x6+.1u=x2+.75u=.5w; +bot y2r=-o; y3=.5[y2,y4]; top y4r=h+o; +y5=.5[y4,y6]; bot y6=vround 3/8h-o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,360); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=max(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{right}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-180); pos0(flare,-180); + lft x0r=min(lft x2-eps,hround 1.2u); + y0=vround max(.1h+.5flare,.15h-.5flare)-o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(.1[bot_thickness,flare],-120); + bot y1r=vround .07h-o; lft x1r=hround 1.3u; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +endinput; diff --git a/fonts/ec/src/exileast.mf b/fonts/ec/src/exileast.mf new file mode 100644 index 0000000000..a5d5e23c88 --- /dev/null +++ b/fonts/ec/src/exileast.mf @@ -0,0 +1,739 @@ +% exileast.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% accented lowercase italic letters ("eastern part") +% +% oct"236", oct"240" .. oct"274" +% +% oct"236" d with bar +% +% oct"240" a with breve +% oct"241" a with ogonek +% oct"242" c with acute +% oct"243" c with hacek +% oct"244" d with comma +% oct"245" e with hacek +% oct"246" e with ogonek +% oct"247" g with breve +% +% oct"250" l with acute +% oct"251" l with komma +% oct"252" l with (polnisches L) +% oct"253" n with acute +% oct"254" n with hacek +% oct"255" the letter eng +% oct"256" o with ungarian umlauts +% oct"257" r with acute +% +% oct"260" r with hacek +% oct"261" s with acute +% oct"262" s with hacek +% oct"263" s with cedille +% oct"264" t with comma +% oct"265" t with cedille +% oct"266" u with hungarian umlauts +% oct"267" u with circ +% +% oct"270" y with umlauts +% oct"271" z with acute +% oct"272" z with hacek +% oct"273" z with dot +% oct"274" ij + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Italic letter bar d"; +beginchar(oct"236",9u#,asc_height#,0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + h#*slant+.5stem#-2u#) if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x0; x7=w; hook_out(5,6,7); % closing hook +pickup tiny.nib; pos5'(stem,0); pos4(stem,0); +z5'=z5; top y4=h; filldraw stroke z4e--z5'e; % stem +sloped_serif.l(4,5',a,1/3,jut,serif_drop); % serif +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the bar + pos8(bar,90); pos9(bar,90); + x8=x1; % .5[x1,x4]; + x9=x6; + y8=y9=.5[y.a2-.5slab,y1+.5vair]; + filldraw stroke z8e--z9e; +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + + + +ecchar "Italic letter breve a"; +beginchar(oct"240",9u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the accent +lowercase_breve(.5w,0,8,9,10); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic letter a with ogonek"; % from pl_mlk (plfonts) +beginchar(oct"241",9u#,x_height#,the_ogonek_depth#); + italcorr 1/3x_height#*slant+.5hair#+.5u#; + adjust_fit(0,0); pickup fine.nib; + pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); + pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; + x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); + rt x4r=hround(w-2.5u+.5stem); + top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; + filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl + x5=x4; x7=w; hook_out(5,6,7); % closing hook + filldraw circ_stroke z4e--z5e; % stem + penlabels(0,1,2,3,4,5,6,7); + path p.l; + p.l=if skewed: z5l{-u,-x_height}...z6l{right}...{up}z7l + else: z5l{down}...z6l{right}...{x7-(x5+2.5u),x_height}z7l fi; + ogonek_breadth=xvair; ogonek_pos=point .9 of p.l; + put_ogonek(if known ogonek_pen: ogonek_pen else: fine fi); +endchar; + +ecchar "Italic letter c with acute"; % from pl_mlk (plfonts) +beginchar_twice(oct"242",8u#,x_height#,0); + italcorr x_height#*slant-u#; + adjust_fit(0,0); pickup fine.nib; + pos0(flare,0); pos1(hair,0); pos2(vair,90); + pos3(curve,180); pos4(vair,270); pos5(hair,320); + x2=x4=.5(w+u); rt x1r=max(rt x2,hround(w-u))+eps; + lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; + y1=.5[bar_height,h]; top y2r=h+oo; bulb(2,1,0); % bulb + bot y4r=-oo; y3=.5[y2,y4]; top y5l=vround .5bar_height; y6=bar_height; + path p; p=z4{right}..z5..z6; + filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc + penlabels(0,1,2,3,4,5,6); + hpos_corr=-.25u; put_accent; +repeat_once; +endchar; + +ecchar "Italic letter c with hachek"; % from csihachl.mf (csfonts) +beginchar(oct"243",8u#,lc_hachek_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x2=x4=.5(w+u); rt x1r=max(rt x2,hround(w-u))+eps; +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y1=.5[bar_height,x_height]; top y2r=x_height+oo; bulb(2,1,0); % bulb +bot y4r=-oo; y3=.5[y2,y4]; top y5l=vround .5bar_height; y6=bar_height; +path p; p=z4{right}..z5..z6; +filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); +lc_hachek_accent(.6[x3,x1]); +endchar; + + +ecchar "Italic letter d with hachek"; % from csiothr.mf (csfonts) +beginchar(oct"244",9u#,lc_acute_height#,0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + h#*slant+.5stem#-2u#) if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x0; x7=w; hook_out(5,6,7); % closing hook +pickup tiny.nib; pos5'(stem,0); pos4(stem,0); +z5'=z5; top y4=asc_height; filldraw stroke z4e--z5'e; % stem +sloped_serif.l(4,5',a,1/3,jut,serif_drop); % serif +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7); +dtl_hachek(x4r+u+.5dot_size)(y4); +endchar; + +ecchar "Italic letter e with hachek"; % from csihachl.mf (csfonts) +beginchar(oct"245",8u#,lc_hachek_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=x_height+oo; bot y4r=-oo; +top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); +lc_hachek_accent(0.6[x3,x1r]); +endchar; + + +ecchar "Italic letter e with ogonek"; % from pl_mlk (plfonts) +beginchar(oct"246",8u#,x_height#,the_ogonek_depth#); + italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); + adjust_fit(0,0); pickup fine.nib; + pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); + pos3(curve,180); pos4(vair,270); pos5(hair,320); + x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); + lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; + y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo; + top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; + filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc + penlabels(0,1,2,3,4,5,6); + path p.r; p.r=pulled_arc.r(3,4)...{direction 1 of p}z5r; + def the_pen= + if known ogonek_pen: ogonek_pen else: fine fi + enddef; + numeric tt; % the time... + tt=if hefty: 2.8 else: 2.6 fi; + join_angle=angle((direction tt of p.r) rotated 180); + ogonek_breadth=xvair; + ogonek_pos=point tt of p.r+.5(the_pen-fine)* + unitvector((direction tt of p.r) rotated 90); + put_ogonek(the_pen); +endchar; + +ecchar "Italic letter g with breve"; +beginchar(oct"247",8u#,x_height#+acc_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-1.5u+.5stem); +top y1r=x_height+oo; bot y3r=0; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +pos4(stem,0); y4+.5stem=vround .98x_height; +pos5(stem,0); x5=x4; y5=-1/3d; +pos6(vair,-90); pos7(hair,-180); pos8(flare,-180); +bot y6r=-d-oo; y8-.5flare=vround -.9d; +lft x8r=hround(2u-.5flare); x6=x1; bulb(6,7,8); % bulb +filldraw circ_stroke z4e---z5e...{left}z6e; % stem and arc +%the accent +lowercase_breve(.5w,0,9,10,11); +math_fit(-min(.3x_height#*slant+.5curve#-u#,1.5u#-desc_depth#*slant), + ic#-1/3x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + + +ecchar "Italic letter l with acute"; % jk +beginchar_twice(oct"250",4u#,asc_height#,0); +l_width#:=4u#; +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + asc_height#*slant+.5stem#-2u#) if math_fitting:+.5u# fi; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x2-.5stem=hround(1.5u-.5stem); x4=w; hook_out(2,3,4); % closing hook +pickup tiny.nib; pos1(stem,0); pos2'(stem,0); z2'=z2; +top y1=asc_height; x1=x2; filldraw stroke z1e--z2'e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +math_fit(-.5u#,1/3x_height#*slant+.5hair#+u#); penlabels(1,2,3,4); +put_accent; +repeat_once; +endchar; + +ecchar "Italic letter l with hachek"; % from csiothrl.mf (csfonts) +beginchar(oct"251",4u#,lc_acute_height#,0); +l_width#:=4u#; +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + asc_height#*slant+.5stem#-2u#) if math_fitting:+.5u# fi; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x2-.5stem=hround(1.5u-.5stem); x4=w; hook_out(2,3,4); % closing hook +pickup tiny.nib; pos1(stem,0); pos2'(stem,0); z2'=z2; +top y1=asc_height; x1=x2; filldraw stroke z1e--z2'e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +math_fit(-.5u#,1/3x_height#*slant+.5hair#+u#); penlabels(1,2,3,4); +dtl_hachek(x1r+u+.5dot_size)(y1); +endchar; + +ecchar "Italic letter crossed l"; % from pl_mlk (plfonts) +beginchar_twice(oct"252",4u#,asc_height#,0); + l_width#:=4u#; + italcorr max(1/3x_height#*slant+.5hair#+.5u#,asc_height#*slant+.5stem#-2u#); + charwd_:=charwd; adjust_fit(if monospace:u#,u# else: 0,0 fi); + pickup fine.nib; + x2-.5stem=hround(1.5u-.5stem); + x4=w; hook_out(2,3,4); % closing hook + pickup tiny.nib; pos1(stem,0); pos2'(stem,0); z2'=z2; + top y1=h; x1=x2; filldraw stroke z1e--z2'e; % stem + sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif + penlabels(1,2,3,4); + if not monospace: + charwd:=charwd_; adjust_fit(.25u#,if is_bold: .75 fi\\ u#); + fi +% some funny fonts have an extremally small |jut|: + numeric l_jut; l_jut=.5stem+max(limit_dist,if hefty: .8 fi\\ jut); + put_cross(l_jut,1.15l_jut); +repeat_once; +endchar; + +ecchar "Italic letter n with acute"; % jk, merged from pl and dc \'n +beginchar_twice(oct"253",10u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +if classic_serif: + top y1=x_height; pos1(stem,0); + sloped_serif.l(1,2,a,1/3,jut,serif_drop); +else: + hook_in(0,a,1); % opening hook +fi +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); x5=x4-.25u; ital_arch(2,3,4); % arch +x7=w; hook_out(5,6,7)(skewed); % closing hook +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +penlabels(0,a,1,2,3,4,5,6,7); + hpos_corr=-.5u; put_accent; +repeat_once; +endchar; + +ecchar "Italic letter n with hachek"; % from csihachl.mf (csfonts) +beginchar(oct"254",10u#,lc_hachek_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +if classic_serif: + top y1=x_height; pos1(stem,0); + sloped_serif.l(1,2,a,1/3,jut,serif_drop); +else: + hook_in(0,a,1); % opening hook +fi +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); x5=x4-.25u; ital_arch(2,3,4); % arch +x7=w; hook_out(5,6,7)(skewed); % closing hook +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7); +lc_hachek_accent(1/2[x1r,x3r]); +endchar; + + +ecchar "Italic letter eng"; +beginchar(oct"255",10u#,x_height#,desc_depth#); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +if classic_serif: + top y1=h; pos1(stem,0); + sloped_serif.l(1,2,a,1/3,jut,serif_drop); +else: + hook_in(0,a,1); % opening hook +fi +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); x5=x4-.25u; ital_arch(2,3,4); % arch +x7=w; empty_hook_out(5,6,7)(skewed); % closing hook +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +% +% j stroke + pickup tiny.nib; pos8(vair,-90); pos9(hair,-180); pos10(flare,-180); + x8=.5[x5,x9r]; bot y8r=-d-oo; y9-.5flare=-.88d; + z9r=z10r; rt x10l=hround(x4r-3u+0.5stem); % floor .75u + (x,y8r)=whatever[z8l,z5l]; x8r:=max(x,.5[x9r,x8]); + filldraw stroke z5e{down}...z8e{left}; bulb(8,9,10); % arc and bulb +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic letter o with double acute"; +beginchar(oct"256",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +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=x_height+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 +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +if monospace: hpos_corr=-2u; put_accent; hpos_corr=2u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +penlabels(1,2,3,4,7,8); endchar; + +ecchar "Italic letter r with acute"; +beginchar_twice(oct"257",5.5u#+max(1.75u#,flare#),x_height#+acc_height#,0); +italcorr x_height#*slant; +adjust_fit(if monospace:.25u#,.5u# else: 0,0 fi); +pickup fine.nib; +x0=0; x2=x3; pos3(stem,0); lft x3l=hround(2.5u-.5stem); y3-.5stem=-oo; +if classic_serif: + pos2(stem,0); + y2=1/4x_height; % dito + x8=x2; pos8(stem,0); top y8=x_height; + sloped_serif.l(8,3,c,1/3,jut,serif_drop); + filldraw circ_stroke z8e--z3e; % left stem +else: + hook_in(0,1,2); % opening hook + filldraw circ_stroke z3e--z2e; % left stem +fi +pos3'(hair,180); z3'=z3; pos4(vair,90); pos5(hair,0); pos6(flare,0); +x4=w-.5u-max(1.75u,flare); rt x5r=hround(r-.5u); top y4r=x_height+oo; +filldraw stroke z3'e{up}...z4e{right}; % link +y6+.5flare=vround(bot y4l-.03x_height); bulb(4,5,6); % bulb +hpos_corr=-.5u; put_accent; +repeat_once; +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-.5u#); +penlabels(0,1,2,3,4,5,6,7,8); endchar; + + +ecchar "Italic letter r with hachek"; % from csihachl.mf (csfonts) +beginchar(oct"260",5.5u#+max(1.75u#,flare#),lc_hachek_height#,0); +italcorr x_height#*slant; +adjust_fit(if monospace:.25u#,.5u# else: 0,0 fi); pickup fine.nib; +x0=0; x2=x3; pos3(stem,0); lft x3l=hround(2.5u-.5stem); y3-.5stem=-oo; +if classic_serif: + pos2(stem,0); + y2=1/4x_height; % dito + x2'=x2; pos2'(stem,0); top y2'=x_height; + sloped_serif.l(2',3,c,1/3,jut,serif_drop); + filldraw circ_stroke z2'e--z3e; % left stem +else: + hook_in(0,1,2); % opening hook + filldraw circ_stroke z3e--z2e; % left stem +fi +pos3'(hair,180); z3'=z3; pos4(vair,90); pos5(hair,0); pos6(flare,0); +x4=w-.5u-max(1.75u,flare); rt x5r=hround(r-.5u); top y4r=x_height+oo; +filldraw stroke z3'e{up}...z4e{right}; % link +y6+.5flare=vround(bot y4l-.03x_height); bulb(4,5,6); % bulb +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-.5u#); +penlabels(0,1,2,3,4,5,6); +if classic_serif: lc_hachek_accent(.5[x2,x4]); +else: lc_hachek_accent(.5[x1,x4]); fi +endchar; + +ecchar "Italic letter s with acute"; % from pl_mlk (plfonts) +beginchar_twice(oct"261",5.25u#+max(1.75u#,flare#),x_height#,0); + italcorr x_height#*slant-.5u#; + adjust_fit(0,0); pickup fine.nib; + numeric theta; theta=90-angle(40u,h); slope:=-h/40u; % angle at middle + pos2(vair,-90); pos0(max(fine.breadth,ess),theta); pos7(vair,-90); + x2l=x0=x7=.5w; top y2l=h+oo; bot y7r=-oo; + y0-.5ess=y7l+.55(y2r-y7l-ess); + lft x3l=hround u-eps; rt x6r=hround(w-.5u)+eps; + x3r-x3l=x6r-x6l=hround .5[vair,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 + pos1(hair,0); pos10(hround .75[hair,flare],0); + pos2'(vair,90); z2'=z2; + pos8(hair,-180); pos9(flare,-180); + rt x10r=hround(w-u)+2eps; lft x9r=hround .5u-2eps; y10=.78h; y9=.25h; + bulb(2',1,10); bulb(7,8,9); % bulbs + penlabels(0,1,2,3,4,5,6,7,8,9,10); + hpos_corr=-.5u; put_accent; +repeat_once; +endchar; + +ecchar "Italic letter s with hacek"; % from csihachl.mf (csfonts) +beginchar(oct"262",5.25u#+max(1.75u#,flare#),lc_hachek_height#,0); +italcorr (acc_height#+x_height#)*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +numeric theta; theta=90-angle(40u,x_height); slope:=-h/40u; % angle at middle +pos2(vair,-90); pos0(max(fine.breadth,ess),theta); pos7(vair,-90); +x2l=x0=x7=.5w; top y2l=x_height+oo; bot y7r=-oo; +y0-.5ess=y7l+.55(y2r-y7l-ess); +lft x3l=hround u-eps; rt x6r=hround(w-.5u)+eps; +x3r-x3l=x6r-x6l=hround .5[vair,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 +pos1(hair,0); pos10(hround .75[hair,flare],0); +pos2'(vair,90); z2'=z2; +pos8(hair,-180); pos9(flare,-180); +rt x10r=hround(w-u)+2eps; lft x9r=hround .5u-2eps; +y10=.78x_height; y9=.25x_height; +bulb(2',1,10); bulb(7,8,9); % bulbs +math_fit(0,ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); +lc_hachek_accent(x0); +endchar; + +ecchar "Italic letter cedilla s"; +beginchar(oct"263",5.25u#+max(1.75u#,flare#),x_height#,0.875desc_depth#); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +numeric theta; theta=90-angle(40u,x_height); slope:=-h/40u; % angle at middle +pos2(vair,-90); pos0(max(fine.breadth,ess),theta); pos7(vair,-90); +x2l=x0=x7=.5w; top y2l=x_height+oo; bot y7r=-oo; +y0-.5ess=y7l+.55(y2r-y7l-ess); +lft x3l=hround u-eps; rt x6r=hround(w-.5u)+eps; +x3r-x3l=x6r-x6l=hround .5[vair,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 +pos1(hair,0); pos10(hround .75[hair,flare],0); +pos2'(vair,90); z2'=z2; +pos8(hair,-180); pos9(flare,-180); +rt x10r=hround(w-u)+2eps; lft x9r=hround .5u-2eps; y10=.78h; y9=.25x_height; +bulb(2',1,10); bulb(7,8,9); % bulbs +% the accent +lowercase_cedilla(x7,0,11,12,13,14,15); +math_fit(0,ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + + +ecchar "Italic letter t with hachek"; % from csiothrl.mf (csfonts) +%beginchar(oct"264",5.5u#,min(asc_height#,10/7x_height#),0); +beginchar(oct"264",5.5u#,lc_acute_height#,0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#,x_height#*slant-.25u#); +adjust_fit(if monospace:u#,u# else:0,0 fi); pickup fine.nib; +pos1(stem,0); lft x1l=hround(2u-.5stem); +y1+.5stem=min(asc_height,10/7x_height)+oo; +x2=x1; x4=w; hook_out(2,3,4); % closing hook +if classic_serif: + filldraw stroke z1e--z2e; % stem +else: + filldraw circ_stroke z1e--z2e; % stem +fi +pickup crisp.nib; pos5(bar,90); pos6(bar,90); +lft x5=hround-.75u; rt x6=hround(w-.75u); top y5r=top y6r=x_height; +filldraw stroke z5e--z6e; % crossbar +math_fit(1.25u#-x_height#*slant,ic#); penlabels(1,2,3,4,5,6); +dtl_hachek(x6)(y1+.5dot_size); +endchar; + +ecchar "Italic letter cedilla t"; +beginchar(oct"265",5.5u#,min(asc_height#,10/7x_height#),0.875desc_depth#); +italcorr max(1/3x_height#*slant+.5hair#+.5u#,x_height#*slant-.25u#); +adjust_fit(if monospace:u#,u# else:0,0 fi); pickup fine.nib; +pos1(stem,0); lft x1l=hround(2u-.5stem); y1+.5stem=h+oo; +x2=x1; x4=w; hook_out(2,3,4); % closing hook +if classic_serif: + filldraw stroke z1e--z2e; % stem +else: + filldraw circ_stroke z1e--z2e; % stem +fi +pickup crisp.nib; pos5(bar,90); pos6(bar,90); +lft x5=hround-.75u; rt x6=hround(w-.75u); top y5r=top y6r=x_height; +filldraw stroke z5e--z6e; % crossbar +% +% the accent +lowercase_cedilla(x3,0,7,8,9,10,11); +math_fit(1.25u#-x_height#*slant,ic#); +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Italic letter u with double acute"; +beginchar_twice(oct"266",9.5u#,x_height#+acc_height#,0); +italcorr (acc_height#+x_height#)*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +if classic_serif: + x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + pos2(stem,0); + top y2=x_height; +else: + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=x_height; +if classic_serif: + filldraw stroke z2 + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +else: + filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +fi +filldraw circ_stroke z6e--z7e; % right stem +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); +if monospace: hpos_corr=-2u; put_accent; hpos_corr=2u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +repeat_once; +endchar; + + +ecchar "Italic u with ring"; +beginchar(oct"267",9.5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +if classic_serif: + x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + pos2(stem,0); + top y2=x_height; +else: + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +if classic_serif: + filldraw stroke z2 + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +else: + filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +fi +filldraw circ_stroke z6e--z7e; % right stem +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +% the accent +lowercase_circle(.5w,(1/3[x_height,h]+apex_o),10,11,12,13); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +ecchar "Italic letter umlaut y"; +beginchar(oct"270",8.5u#,x_height#+acc_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +if classic_serif: + pos2(stem,0); + top y2=x_height; +else: + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-1.5u+.5stem); +pos7(stem,0); pos8(vair,-90); +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +y7=0; bot y8r=-d-oo; x5=x6=x7; x8=.5w; +pos9(hair,-180); pos10(flare,-180); y9=-.5d; +lft x9r=hround(2.75u-.5flare); bulb(8,9,10); % bulb +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e---z7e...{left}z8e; % right stem and link +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +%the accent +lowercase_umlaut(0,0,11,12,13,14); +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-1/3x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +ecchar "Italic letter z with acute"; % use accent from plfonts +beginchar_twice(oct"271",5.5u#+max(1.5u#,stem#),x_height#+acc_height#,0); +italcorr x_height#*slant+.5hair#; +adjust_fit(if monospace:.5u#,.5u# else: 0,0 fi); pickup fine.nib; +pos1(hair,0); pos2(stem,-90); pos3(vair,-90); pos4(hair,0); +lft x1l=hround(u-.5hair); x2=2.5u; x3=w-2u; rt x4r=hround(w-.5u); +top y1=.78x_height; top y2l=top y4=x_height+oo; y3=.825x_height; +pos5(hair,0); pos6(vair,-90); pos7(stem,-90); pos8(hair,0); +x5=x1; x6=2.5u; x7=w-2u; x8+.5hair=hround(w+.5hair-eps); +bot y5=bot y7r=-oo; y6=.175x_height; bot y8=.31x_height; +pair p; p=(z4-z5) yscaled 2; +filldraw stroke z1e{up}...z2e{right}..z3e{right}...{p}z4e; % upper bar +filldraw stroke z5e{p}...z6e{right}..{right}z7e...{up}z8e; % lower bar +filldraw stroke z5e{p}..{p}z4e; % diagonal + penlabels(1,2,3,4,5,6,7,8); + hpos_corr=-.5u; put_accent; +repeat_once; +math_fit(0,1/3x_height#*slant+.5hair#+.5u#); +endchar; + +ecchar "Italic letter z with hachek"; % from csihachl.mf (csfonts) +beginchar(oct"272",5.5u#+max(1.5u#,stem#),lc_hachek_height#,0); +italcorr x_height#*slant+.5hair#; +adjust_fit(if monospace:.5u#,.5u# else: 0,0 fi); pickup fine.nib; +pos1(hair,0); pos2(stem,-90); pos3(vair,-90); pos4(hair,0); +lft x1l=hround(u-.5hair); x2=2.5u; x3=w-2u; rt x4r=hround(w-.5u); +top y1=.78x_height; top y2l=top y4=x_height+oo; y3=.825x_height; +pos5(hair,0); pos6(vair,-90); pos7(stem,-90); pos8(hair,0); +x5=x1; x6=2.5u; x7=w-2u; x8+.5hair=hround(w+.5hair-eps); +bot y5=bot y7r=-oo; y6=.175x_height; bot y8=.31x_height; +pair p; p=(z4-z5) yscaled 2; +filldraw stroke z1e{up}...z2e{right}..z3e{right}...{p}z4e; % upper bar +filldraw stroke z5e{p}...z6e{right}..{right}z7e...{up}z8e; % lower bar +filldraw stroke z5e{p}..{p}z4e; % diagonal +math_fit(0,1/3x_height#*slant+.5hair#+.5u#); +penlabels(1,2,3,4,5,6,7,8); +lc_hachek_accent(1/2[x2,x3]); +endchar; + +ecchar "Italic letter dot z"; % use accent from plfonts +beginchar_twice(oct"273",5.5u#+max(1.5u#,stem#),x_height#+acc_height#,0); +italcorr x_height#*slant+.5hair#; +adjust_fit(if monospace:.5u#,.5u# else: 0,0 fi); pickup fine.nib; +pos1(hair,0); pos2(stem,-90); pos3(vair,-90); pos4(hair,0); +lft x1l=hround(u-.5hair); x2=2.5u; x3=w-2u; rt x4r=hround(w-.5u); +top y1=.78x_height; top y2l=top y4=x_height+oo; y3=.825x_height; +pos5(hair,0); pos6(vair,-90); pos7(stem,-90); pos8(hair,0); +x5=x1; x6=2.5u; x7=w-2u; x8+.5hair=hround(w+.5hair-eps); +bot y5=bot y7r=-oo; y6=.175x_height; bot y8=.31x_height; +pair p; p=(z4-z5) yscaled 2; +filldraw stroke z1e{up}...z2e{right}..z3e{right}...{p}z4e; % upper bar +filldraw stroke z5e{p}...z6e{right}..{right}z7e...{up}z8e; % lower bar +filldraw stroke z5e{p}..{p}z4e; % diagonal +penlabels(1,2,3,4,5,6,7,8); + put_dot(fine,flare#); +repeat_once; +math_fit(0,1/3x_height#*slant+.5hair#+.5u#); +endchar; + +ecchar "Italic letter ij"; +beginchar(oct"274",10u#,min(asc_height#,10/7x_height#+.5flare#),desc_depth#); +italcorr max(1/3x_height#*slant+.5hair#+.5u#,h#*slant+.5flare#-2u#); +adjust_fit(0,0); pickup fine.nib; +x0=0; x5=5u; x2=2.5u+.25u; x3=2.5u-.25u; +if classic_serif: + hook_out(3,4,5)(skewed); % hooks + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2)(skewed); + hook_out(3,4,5)(skewed); % hooks +fi +filldraw stroke z2e--z3e; % stem +pos8(flare,0); pos9(flare,90); +x8=2.5u if not monospace:-.4(h-x_height)*slant fi; top y9r=h+1; +if classic_serif: else: + if bot y9l-top y1<slab: y9l:=min(y9r-eps,y1+fine+slab); fi +fi +x8=x9; y8=.5[y9l,y9r]; dot(8,9); % dot +pickup fine.nib; +x10=5u; x12=x13; pos13(stem,0); lft x13l=hround(w-1.5u-.5stem); +if classic_serif: + pos14(vair,-90); pos15(hair,-180); pos16(flare,-180); + bot y13=-1/3d; bot y14r=-d-oo; y16-.5flare=-vround.9d; + top y12=x_height; + pos12(stem,0); + sloped_serif.l(12,13,b,1/3,jut,serif_drop); +else: + hook_in(10,11,12); % opening hook + pos14(vair,-90); pos15(hair,-180); pos16(flare,-180); + bot y13=-1/3d; bot y14r=-d-oo; y16-.5flare=-vround.9d; +fi +x14=5u+1/3(w-6u); lft x15r=min(hround 4.5u,lft x15r+x14-x15l-eps); +filldraw stroke z12e---z13e...{left}z14e; % stem and arc +bulb(14,15,16); % bulb +pos18(flare,0); pos19(flare,90); +rt x18r=rt x12r if not monospace:-.6(h-x_height)*slant fi; top y19r=h+1; +if classic_serif: else: + if bot y19l-top y11<slab: y19l:=min(y19r-eps,y11+fine+slab); fi +fi +x18=x19; y18=.5[y19l,y19r]; dot(18,19); % dot +math_fit(desc_depth#*slant,x_height#*slant+.5stem#-u#); +penlabels(0,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19); endchar; + +endinput; diff --git a/fonts/ec/src/exilig.mf b/fonts/ec/src/exilig.mf new file mode 100644 index 0000000000..9000fddea8 --- /dev/null +++ b/fonts/ec/src/exilig.mf @@ -0,0 +1,275 @@ +% exilig.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% italic dotless i,j; ligatures ff, fi, fl, ffi, ffl + +version_check(1,0); % |version_check| was introduced in dc1.3 + +numeric itc#; % modified italic correction on `f' and `ff' +itc#=(asc_height#-x_height#)*slant+.75u#; + +ecchar "Dotless italic letter i"; +beginchar(oct"031",5u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x0=0; x5=w; x2=.5w+.25u; x3=.5w-.25u; +if classic_serif: + hook_out(3,4,5)(skewed); % hooks + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2)(skewed); + hook_out(3,4,5)(skewed); % hooks +fi +filldraw stroke z2e--z3e; % stem +penlabels(0,1,2,3,4,5); endchar; + +ecchar "Dotless italic letter j"; +beginchar(oct"032",5.5u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-2u#; +adjust_fit(if monospace:2u# else: 0 fi, 0); pickup fine.nib; +x0=0; x2=x3; pos3(stem,0); lft x3l=hround(w-2u-.5stem); +pos4(vair,-90); pos5(hair,-180); pos6(flare,-180); +bot y3=-1/3d; bot y4r=-d-oo; y6-.5flare=-vround.9d; +if classic_serif: + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2); % opening hook +fi +x4=1/3(w-u); lft x5r=min(hround-.5u,lft x5r+x4-x5l-eps); +filldraw stroke z2e---z3e...{left}z4e; % stem and arc +bulb(4,5,6); % bulb +penlabels(0,1,2,3,4,5,6); endchar; + +numeric itc; % modified italic correction on `f' and `ff' +itc=(asc_height#-x_height#)*slant+.75u#; + +ecchar "Italic ligature ff"; +beginchar(oct"033", +%if monospace: 12u# else: +(5u#+max(1.5u#,stem#)+max(3.5u#,2flare#))+2letter_fit#, % fi, + asc_height#,desc_depth#); +italcorr asc_height#*slant+.75u#; +normal_adjust_fit(0,0); pickup fine.nib; +z98-z88=z99-z89=z14-z4=z15-z5=(if monospace: 4.3u else: 4.8u fi +2letter_fit,0); +.5[x88,x99]=.5w-.1u; x89-x88=u; y98=h; y99=-d; +numeric theta; theta=angle(z88-z89); +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +if monospace: rt x1r=hround(.5w+.75u); +else: + rt x1r=hround(.5w+1.25u); +fi +%if monospace: lft x8r=hround-.35u; +%else: +lft x8r=hround-.35u; +%fi +x2=.5[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % left bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower left arc +pos10(flare,0); pos11(hair,0); pos12(vair,90); +pos13(.5[hair,stem],180); pos14(stem,theta+90); +pos15(stem,theta-90); pos16(.5[hair,stem],0); +pos17(vair,-90); pos18(hair,-180); pos19(flare,-180); +rt x11r=hround(w+.25u); +if monospace: lft x18r=hround(.5w-.75u); +else: lft x18r=hround(.5w-1.25u); fi +x12=.6[x11,x14]; x17=.5[x18,x15]; +x13=.8[x12+x14-x98,x98]; x16=.8[x17+x15-x99,x99]; +y0=y10; y2=y12; y3=y13; y6=y16; y7=y17; y9=y19; +bulb(12,11,10); bulb(17,18,19); % right bulbs +filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc +filldraw z14r--z15l--z15r--z14l--cycle; % right stem +filldraw stroke z15e{z99-z98}...z16e...{left}z17e; % lower middle arc +pickup crisp.nib; pos20(bar,90); pos21(bar,90); +top y20r=top y21r=x_height; +lft x20=lft x4r-.5stem-u; rt x21=rt x14l+.5stem+1.5u; +filldraw stroke z20e--z21e; % crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19, + 20,21,88,89,98,99); endchar; + + +ecchar "Italic ligature fi"; +beginchar(oct"034",if monospace: 4.5u# else: 6.5u# fi +.5max(1.5u#,stem#)+.5max(3.5u#,2flare#) + +2letter_fit#,asc_height#,desc_depth#); +italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#); +normal_adjust_fit(0,0); pickup fine.nib; +.5[x88,x89]=.5(w-if monospace: 2u else: 4u fi -2letter_fit); x89-x88=u; y88=h; y89=-d; +numeric theta; theta=angle(z88-z89); +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +pos11(stem,0); rt x11r=hround(w-2.5u+.5stem); +x12=x11; x14=w; hook_out(12,13,14); % closing hook +x1r=x11r; lft x8r=hround-.35u; x2=.5[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround-.85d; bot y7r=-d-oo; +y0+.5flare=vround(.85[x_height,h]); top y2r=h+oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc +top y11=x_height; filldraw stroke z11e--z12e; % right stem +pickup crisp.nib; pos20(bar,90); pos21(bar,90); +top y20r=top y21r=x_height; +lft x20=lft x4r-.5stem-u; x21=x11; +filldraw stroke z20e--z21e; % crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,20,21,88,89); endchar; + +ecchar "Italic ligature fl"; +beginchar(oct"035",if monospace: 5u# else: 7u# fi +.5max(1.5u#,stem#)+.5max(3.5u#,2flare#) + +2letter_fit#,asc_height#,desc_depth#); +italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#); +normal_adjust_fit(0,0); pickup fine.nib; +.5[x88,x89]=.5(w-if monospace: 3.5u else: 4.5u fi -2letter_fit); +x89-x88=u; y88=h; y89=-d; +numeric theta; theta=angle(z88-z89); +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +pos11(stem,0); rt x11r=hround(w-2.5u+.5stem); rt x1r=lft x11l; +x12=x11; x14=w; hook_out(12,13,14); % closing hook +if monospace: lft x8r=hround-.55u; +else: lft x8r=hround-.35u; fi +x2=.5[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc +top y11=h; filldraw stroke z11e--z12e; % right stem +pickup crisp.nib; pos20(bar,90); pos21(bar,90); +top y20r=top y21r=x_height; +lft x20=lft x4r-.5stem-u; x21=x11; +filldraw stroke z20e--z21e; % crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,20,21,88,89); endchar; + + +ecchar "Italic ligature ffi"; +beginchar(oct"036", +if monospace: 7.75u# else: 11.75u# fi +.5max(1.5u#,stem#)+.5max(3.5u#,2flare#) + +4letter_fit#,asc_height#,desc_depth#); +italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#); +normal_adjust_fit(0,0); pickup fine.nib; +z98-z88=z99-z89=z14-z4=z15-z5=(if monospace: 3u else: 5u fi +2letter_fit,0); +numeric theta,mid_f; +mid_f=.5[x88,x99]=.5(w-if monospace: 2.25u else: 4.25u fi -2letter_fit); +x89-x88=u; +y98=h; y99=-d; theta=angle(z88-z89); +pos21(stem,0); rt x21r=hround(w-2.5u+.5stem); +x22=x21; x24=w; hook_out(22,23,24); % closing hook +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +if monospace: rt x1r=hround(mid_f+u); +else: rt x1r=hround(mid_f+1.75u); fi +if monospace: lft x8r=hround -.65u; +else: lft x8r=hround-.35u; fi +x2=.5[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % left bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower left arc +pos10(flare,0); pos11(hair,0); pos12(vair,90); +pos13(.5[hair,stem],180); pos14(stem,theta+90); +pos15(stem,theta-90); pos16(.5[hair,stem],0); +pos17(vair,-90); pos18(hair,-180); pos19(flare,-180); +x11r=x21r; lft x18r=hround(mid_f-1.25u); x12=.5[x11,x14]; x17=.5[x18,x15]; +x13=.8[x12+x14-x98,x98]; x16=.8[x17+x15-x99,x99]; +y10+.5flare=vround .85[x_height,h]; +y2=y12; y3=y13; y6=y16; y7=y17; y9=y19; +bulb(12,11,10); bulb(17,18,19); % right bulbs +filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc +filldraw z14r--z15l--z15r--z14l--cycle; % middle stem +filldraw stroke z15e{z99-z98}...z16e...{left}z17e; % lower middle arc +top y21=x_height; filldraw stroke z21e--z22e; % right stem +pickup crisp.nib; pos30(bar,90); pos31(bar,90); +top y30r=top y31r=x_height; +lft x30=lft x4r-.5stem-u; x31=x21; +filldraw stroke z30e--z31e; % crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19, + 20,21,22,23,24,30,31,88,89,98,99); endchar; + + +ecchar "Italic ligature ffl"; +beginchar(oct"037", + if monospace: 8u# else: 12u# fi +.5max(1.5u#,stem#)+.5max(3.5u#,2flare#) + +4letter_fit#,asc_height#,desc_depth#); +italcorr max(asc_height#*slant+.5stem#-2u#,1/3x_height#*slant+.5hair#+.5u#); +normal_adjust_fit(0,0); pickup fine.nib; +z98-z88=z99-z89=z14-z4=z15-z5=(if monospace: 3u else: 5u fi+2letter_fit,0); +numeric theta,mid_f; +mid_f=.5[x88,x99]=.5(w-if monospace: 2u else: 4.5u fi-2letter_fit); x89-x88=u; +y98=h; y99=-d; theta=angle(z88-z89); +pos21(stem,0); rt x21r=hround(w-2.5u+.5stem); +x22=x21; x24=w; hook_out(22,23,24); % closing hook +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +if monospace: rt x1r=hround(mid_f+u); +else: rt x1r=hround(mid_f+1.25u); fi +lft x8r=hround-.35u; +x2=.5[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % left bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower left arc +pos10(flare,0); pos11(hair,0); pos12(vair,90); +pos13(.5[hair,stem],180); pos14(stem,theta+90); +pos15(stem,theta-90); pos16(.5[hair,stem],0); +pos17(vair,-90); pos18(hair,-180); pos19(flare,-180); rt x11r=lft x21l; +lft x18r=hround(mid_f-1.25u); x12=.5[x11,x14]; x17=.5[x18,x15]; +x13=.8[x12+x14-x98,x98]; x16=.8[x17+x15-x99,x99]; +y0=y10; y2=y12; y3=y13; y6=y16; y7=y17; y9=y19; +bulb(12,11,10); bulb(17,18,19); % right bulbs +filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc +filldraw z14r--z15l--z15r--z14l--cycle; % middle stem +filldraw stroke z15e{z99-z98}...z16e...{left}z17e; % lower middle arc +top y21=h; filldraw stroke z21e--z22e; % right stem +pickup crisp.nib; pos30(bar,90); pos31(bar,90); +top y30r=top y31r=x_height; +lft x30=lft x4r-.5stem-u; x31=x21; +filldraw stroke z30e--z31e; % crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19, + 20,21,22,23,24,30,31,88,89,98,99); endchar; + +endinput; diff --git a/fonts/ec/src/exiligtb.mf b/fonts/ec/src/exiligtb.mf new file mode 100644 index 0000000000..dccb30bd57 --- /dev/null +++ b/fonts/ec/src/exiligtb.mf @@ -0,0 +1,261 @@ +% exiligtb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% ligtable and kerning for italic fonts +% +% This file should not be called for monospaced fonts ! +% +% The following ligatures are integrated: +% +% fi +% fl +% ff +% ffi +% ffl +% +% -- +% --- +% -<hyphenchar> +% >> +% << +% `` +% '' +% ,, +% !` and ?` + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ligtable + "f": "i"=:oct"034", + "f"=:oct"033", + "l"=:oct"035", + "'" kern itc#, + "`" kern itc#, + oct"020" kern itc#, + oct"021" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; +ligtable + oct"033": % ff + "i"=:oct"036", + "l"=:oct"037", + "'" kern itc#, + "`" kern itc#, + oct"020" kern itc#, + oct"021" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; +ligtable + "`": "`"=:oct"020", + oct"020" kern 2u#, + "?" kern 2u#, + "!" kern 2u#; + +ligtable + "'": "'"=:oct"021", + oct"021" kern 2u#, + "?" kern 2u#, + "!" kern 2u#; + +ligtable + "-": "-" =: oct"025", + oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar> + +ligtable + oct"025": "-"=:oct"026"; % "---" => emdash + +ligtable "<": "<" =: oct"023"; % "<<" +ligtable ">": ">" =: oct"024"; % ">>" +ligtable ",": "," =: oct"022"; % ",," +ligtable "!": "`" =: oct"275"; % spanish shriek +ligtable "?": "`" =: oct"276"; % spanish query +% +% +def lig_o_table (expr k) = + "o" kern k, oct"256" kern k, oct"362" kern k, oct"363" kern k, + oct"364" kern k, oct"365" kern k, oct"366" kern k, + oct"367" kern k, oct"370" kern k +enddef; +% +% +def lig_a_table (expr k) = + "a" kern k, oct"240" kern k, oct"241" kern k, oct"340" kern k, + oct"341" kern k, oct"342" kern k, oct"342" kern k, + oct"343" kern k, oct"344" kern k, oct"345" kern k, + oct"346" kern k +enddef; +% +def lig_c_table (expr k) = + "c" kern k, oct"242" kern k, oct"243" kern k, oct"347" kern k +enddef; +% +def lig_e_table (expr k)= + "e" kern k, oct"245" kern k, oct"246" kern k, oct"350" kern k, + oct"351" kern k, oct"352" kern k, oct"353" kern k +enddef; +% +def lig_n_table (expr k)= + "n" kern k, oct"253" kern k, oct"254" kern k, oct"255" kern k, + oct"361" kern k +enddef; +% +def lig_u_table (expr k)= + "u" kern k, oct"266" kern k, oct"267" kern k, oct"371" kern k, + oct"372" kern k, oct"373" kern k, oct"374" kern k +enddef; +% +def lig_A_table (expr k) = + "A" kern k, oct"200" kern k, oct"201" kern k, oct"300" kern k, + oct"301" kern k, oct"302" kern k, oct"303" kern k, + oct"304" kern k, oct"305" kern k, oct"306" kern k +enddef; +% +def lig_O_table (expr k) = + "O" kern k, + oct"216" kern k, oct"322" kern k, oct"323" kern k, + oct"324" kern k, oct"325" kern k, + oct"326" kern k, oct"327" kern k, oct"330" kern k +enddef; +% +def lig_CGQ_table (expr k)= + "C" kern k, "G" kern k, oct"202" kern k, oct"203" kern k, + oct"207" kern k, oct"307" kern k, "Q" kern k +enddef; +% +def lig_U_table (expr k) = + "U" kern k, oct"226" kern k, oct"227" kern k, oct"331" kern k, + oct"332" kern k, oct"333" kern k, oct"334" kern k +enddef; +% +def lig_cA_table = + "A": oct"200": oct"300": oct"301": oct"302": + oct"303": oct"304": oct"305" +enddef; +% +def lig_cO_table = + "O": oct"216": oct"322": oct"323": oct"324": oct"325": + oct"326": oct"330" +enddef; + +k#:=-.5u#; ku#:=-1u#; kk#:=-1.5u#; kkk#:=-2u#; % four degrees of kerning +% +ligtable boundarychar: + oct"020" kern -kk#, oct"021" kern -kk#, oct"022" kern -kk#, + oct"055" kern -kk#, oct"140" kern -kk#, oct"047" kern -kk#; + +ligtable oct"022": + oct"015" kern 2u#, "," kern 2u#, + oct"015": + oct"022" kern 2u#, + "v" kern kk#, "w" kern kk#, + "T" kern kk#, "V" kern kkk#, "W" kern kkk#, + "Y" kern kk#, oct"230" kern kk#, oct"335" kern kk#, + lig_O_table(k#), lig_CGQ_table(k#), + boundarychar kern -kk#; + +ligtable oct"020": + oct"140" kern 2u#, oct"020" kern 2u#, boundarychar kern -kk#; + +ligtable oct"021": + oct"047" kern 2u#, oct"021" kern 2u#, boundarychar kern -kk#; + +ligtable oct"024": % ">>" + "." kern kk#, "," kern kk#; + +ligtable + "d": oct"244": "w": "l": oct"250": oct"251": + "l" kern +u#, oct"250" kern +u#, oct"251" kern +u#; +ligtable + "F": "W": "V": + "o" kern kk#, + "e" kern kk#, oct"246" kern kk#, + "u" kern kk#, + "r" kern kk#, "n" kern kk#, "v" kern kk#, + "a" kern kk#, oct"241" kern kk#, + lig_A_table(kkk#), + "X": lig_O_table(k#), + lig_CGQ_table(k#); + +ligtable + "K": "v" kern k#, + "w" kern k#, + lig_O_table(k#), + lig_CGQ_table(k#); + +ligtable + "T": oct"224": oct"225": + "y" kern kk#, + "Y": oct"335": oct"230": + "e" kern kk#, + "o" kern kk#, + "r" kern kk#, + "a" kern kk#, + "u" kern kk#, + "P": + lig_A_table(kk#); +ligtable + lig_cO_table: + "D": oct"204": oct"320": + "X" kern k#, + "W" kern k#, + lig_A_table(k#), + "V" kern k#, + "Y" kern k#, oct"230" kern k#, oct"335" kern k#; +ligtable + lig_cA_table: + "y" kern k#, oct"270" kern k#, oct"375" kern k#, + oct"201": "R": oct"217": + lig_n_table(k#), + "l" kern k#, oct"250" kern k#, oct"251" kern k#, + "r" kern k#, + lig_u_table(k#), + "m" kern k#, + "t" kern k#, oct"264" kern k#, oct"265" kern k#, + "i" kern k#, oct"355" kern k#, + "h" kern k#, + "b" kern k#, + "k" kern k#, + "v" kern k#, + "w" kern k#, + lig_CGQ_table(k#), + lig_O_table(k#), + lig_U_table(k#), + "L": oct"210": oct"211": + "T" kern kk#, oct"224" kern kk#, oct"225" kern kk#, + "Y" kern kk#, oct"230" kern kk#, oct"335" kern kk#, + "V" kern kkk#, + "W" kern kkk#, + "b": + "c": oct"242": oct"243": + "e": oct"245": oct"246": oct"350": oct"351": oct"352": oct"353": + "o": oct"362": oct"363": oct"364": oct"365": oct"366": + oct"376": + "p": + "r": lig_e_table(-u#), + lig_a_table(-u#), + lig_o_table(-u#), + "d" kern -u#, oct"236" kern -u#, + lig_c_table(-u#), + "g" kern -u#, oct"247" kern -u#, + "q" kern -u#; +ligtable + "n": "'" kern kkk#; + +ligtable oct"252": "'" kern -k#; + +endinput; diff --git a/fonts/ec/src/exillett.mf b/fonts/ec/src/exillett.mf new file mode 100644 index 0000000000..8e9ad7e23b --- /dev/null +++ b/fonts/ec/src/exillett.mf @@ -0,0 +1,571 @@ +% exillett.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% lowercase italic letters a to z + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Italic letter a"; +beginchar("a",9u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98h; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=h+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Italic letter b"; +beginchar("b",8u#,asc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup tiny.nib; +pos1(stem,0); pos2(stem,0); x1=x2; +lft x1l=hround(1.5u-.5stem); top y1=h; y2=.5x_height; +filldraw stroke z1e--z2e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +pickup fine.nib; pos2'(stem,-180); pos3(vair,-90); +pos4(curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5=.5[x2,x4]; rt x4r=hround(w-1.5u+.5curve); +bot y3r=-oo; top y5r=x_height+oo; y4=y2; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5); endchar; + +ecchar "Italic letter c"; +beginchar("c",8u#,x_height#,0); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x2=x4=.5(w+u); rt x1r=max(rt x2,hround(w-u))+eps; +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y1=.5[bar_height,h]; top y2r=h+oo; bulb(2,1,0); % bulb +bot y4r=-oo; y3=.5[y2,y4]; top y5l=vround .5bar_height; y6=bar_height; +path p; p=z4{right}..z5..z6; +filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar "Italic letter d"; +beginchar("d",9u#,asc_height#,0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + h#*slant+.5stem#-2u#) if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x0; x7=w; hook_out(5,6,7); % closing hook +pickup tiny.nib; pos5'(stem,0); pos4(stem,0); +z5'=z5; top y4=h; filldraw stroke z4e--z5'e; % stem +sloped_serif.l(4,5',a,1/3,jut,serif_drop); % serif +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Italic letter e"; +beginchar("e",8u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo; +top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar "Italic letter f"; +beginchar("f",max(1.5u#,stem#)+max(3.5u#,2flare#),asc_height#,desc_depth#); +italcorr asc_height#*slant+.75u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +numeric theta; z88=(.5w-.5u,h); z89=(.5w+.5u,-d); theta=angle(z88-z89); +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +rt x1r=hround(w+.25u); lft x8r=hround-.35u; x2=.6[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc +pickup crisp.nib; pos20(bar,90); pos21(bar,90); +top y20r=top y21r=x_height; +lft x20=lft x4r-.5stem-u; rt x21=rt x4l+.5stem+1.5u; +filldraw stroke z20e--z21e; % crossbar +math_fit(desc_depth#*slant+u#,x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,20,21,88,89); endchar; + +ecchar "Italic letter g"; +beginchar("g",8u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-1.5u+.5stem); +top y1r=h+oo; bot y3r=0; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +pos4(stem,0); y4+.5stem=vround .98h; +pos5(stem,0); x5=x4; y5=-1/3d; +pos6(vair,-90); pos7(hair,-180); pos8(flare,-180); +bot y6r=-d-oo; y8-.5flare=vround -.9d; +lft x8r=hround(2u-.5flare); x6=x1; bulb(6,7,8); % bulb +filldraw circ_stroke z4e---z5e...{left}z6e; % stem and arc +math_fit(-min(.3x_height#*slant+.5curve#-u#,1.5u#-desc_depth#*slant), + ic#-1/3x_height#*slant); penlabels(0,1,2,3,4,5,6,7,8); endchar; + +ecchar "Italic letter h"; +beginchar("h",9u#,asc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup tiny.nib; +pos1(stem,0); pos2(stem,0); x1=x2; +lft x1l=hround(1.5u-.5stem); top y1=h; y2-.5stem=-oo; +filldraw circ_stroke z2e--z1e; % left stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +pickup fine.nib; x4+.5stem=hround(w-2.5u+.5stem); +x5=x4-.25u; ital_arch(2,3,4); % arch +x7=w; hook_out(5,6,7)(skewed); % closing hook +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +math_fit(0,ic#); penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "Italic letter i"; +beginchar("i",5u#,min(asc_height#,10/7x_height#+.5flare#),0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#,h#*slant+.5flare#-2u#); +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x0=0; x5=w; x2=.5w+.25u; x3=.5w-.25u; +if classic_serif: + hook_out(3,4,5)(skewed); % hooks + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2)(skewed); + hook_out(3,4,5)(skewed); % hooks +fi +filldraw stroke z2e--z3e; % stem +pos8(flare,0); pos9(flare,90); +x8=.5w if not monospace:-.4(h-x_height)*slant fi; top y9r=h+1; +if classic_serif: else: + if bot y9l-top y1<slab: y9l:=min(y9r-eps,y1+fine+slab); fi +fi +x8=x9; y8=.5[y9l,y9r]; dot(8,9); % dot +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,8,9); endchar; + +ecchar "Italic letter j"; +beginchar("j",5u#,min(asc_height#,10/7x_height#+.5flare#),desc_depth#); +italcorr h#*slant+.5stem#-u#; +adjust_fit(if monospace:2u#,.5u# else: 0,0 fi); pickup fine.nib; +x0=0; x2=x3; pos3(stem,0); lft x3l=hround(w-1.5u-.5stem); +if classic_serif: + pos4(vair,-90); pos5(hair,-180); pos6(flare,-180); + bot y3=-1/3d; bot y4r=-d-oo; y6-.5flare=-vround.9d; + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2); % opening hook + pos4(vair,-90); pos5(hair,-180); pos6(flare,-180); + bot y3=-1/3d; bot y4r=-d-oo; y6-.5flare=-vround.9d; +fi +x4=1/3(w-u); lft x5r=min(hround-.5u,lft x5r+x4-x5l-eps); +filldraw stroke z2e---z3e...{left}z4e; % stem and arc +bulb(4,5,6); % bulb +pos8(flare,0); pos9(flare,90); +rt x8r=rt x2r if not monospace:-.6(h-x_height)*slant fi; top y9r=h+1; +if classic_serif: else: + if bot y9l-top y1<slab: y9l:=min(y9r-eps,y1+fine+slab); fi +fi +x8=x9; y8=.5[y9l,y9r]; dot(8,9); % dot +math_fit(desc_depth#*slant,x_height#*slant+.5stem#-u#); +penlabels(0,1,2,3,4,5,6,8,9); endchar; + +ecchar "Italic letter k"; +beginchar("k",8u#,asc_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); pickup tiny.nib; +pos1(stem,0); pos2(stem,0); x1=x2; +lft x1l=hround(1.5u-.5stem); top y1=h; y2-.5stem=-oo; +filldraw circ_stroke z2e--z1e; % left stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +pickup fine.nib; pos3(vair,90); x3=x1; y3=bar_height; +pos4(vair,90); x4=w-2u; top y4r=x_height+oo; +filldraw stroke z3e{right}..{right}z4e; % upper diagonal +pos5(hair,0); pos6(flare,0); +rt x5r=hround(w-.5u); y5+.5flare=vround(bot y4l-.03x_height); +bulb(4,5,6); % bulb +pos7(stem,0); pos8(vair,90); pos9(hair,180); +x9+.5hair=hround(w+.5hair-eps); y9=1/3x_height; +lft x7l=hround(w-2.75u-.5stem); y7=1/2y3; x8=w-1.2u; bot y8l=-oo; +filldraw stroke z3e{right}...z7e{down} + ...z8e{right}...{up}z9e; % lower diagonal +math_fit(0,1/3x_height#*slant+.5hair#+.5u#); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Italic letter l"; +beginchar("l",4u#,asc_height#,0); l_width#:=4u#; +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + asc_height#*slant+.5stem#-2u#) if math_fitting:+.5u# fi; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x2-.5stem=hround(1.5u-.5stem); x4=w; hook_out(2,3,4); % closing hook +pickup tiny.nib; pos1(stem,0); pos2'(stem,0); z2'=z2; +top y1=h; x1=x2; filldraw stroke z1e--z2'e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +math_fit(-.5u#,1/3x_height#*slant+.5hair#+u#); penlabels(1,2,3,4); endchar; + +ecchar "Italic letter m"; +beginchar("m",15u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:-1.5u#,-2u# else: 0,0 fi); pickup fine.nib; +numeric shaved_stem; shaved_stem=mfudged.stem; +save stem; stem=shaved_stem; +pos2(stem,0); x1=x2; +y2-.5stem=-oo; +if monospace: pos1(stem,0); lft x1l=hround(2.5u-.5stem); top y1=h; +else: + x0=0; lft x2l=hround(2.5u-.5stem); + if classic_serif: + top y1=h; pos1(stem,0); + sloped_serif.l(1,2,a,1/3,jut,serif_drop); + else: + hook_in(0,a,1); + fi +fi % opening hook +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(.5w+.5stem); ital_arch(2,3,4); % left arch +pos5(stem,0); y5=y2; x5=x4; +filldraw circ_stroke z5e--z4e; % middle stem +x7+.5stem=hround(w-2.5u+.5stem); +x8=x7-.25u; ital_arch(5,6,7); % right arch +if monospace: pos9(vair,90); x9=good.x .5[x8,w]; bot y9l=0; y8=1/3h; + pos8(stem,0); filldraw stroke z8e{-u,-x_height}...{right}z9e; % terminal +else: x9=w; hook_out(8,b,9)(skewed); fi % closing hook +filldraw stroke z7e{down}..{-u,-x_height}z8e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Italic letter n"; +beginchar("n",10u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +if classic_serif: + top y1=h; pos1(stem,0); + sloped_serif.l(1,2,a,1/3,jut,serif_drop); +else: + hook_in(0,a,1); % opening hook +fi +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); x5=x4-.25u; ital_arch(2,3,4); % arch +x7=w; hook_out(5,6,7)(skewed); % closing hook +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7); endchar; + +ecchar "Italic letter o"; +beginchar("o",9u#,x_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +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 +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar; + +ecchar "Italic letter p"; +beginchar("p",9u#,x_height#,desc_depth#); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +x0=0; x2-.5stem=hround(2.5u-.5stem); +if classic_serif: + pos2(stem,0); % done previous by hook_in + y2=3/4x_height; % dito +else: + hook_in(0,1,2); % opening hook +fi + +pos4(hair,-180); +pos5(vair,-90); +pos6(curve,0); +pos7(vair,90); +x4=x2; rt x6r=hround(w-1.5u+.5curve); x5=x7=.5[x4,x6]; +bot y5r=-oo; top y7r=h+oo; y4=y6=.5[y5,y7]; + +if classic_serif: + x8=x2; pos8(stem,0); top y8=h; + sloped_serif.l(8,4,c,1/3,jut,serif_drop); +fi + +filldraw stroke super_arc.e(4,5) & pulled_arc.e(5,6) + & pulled_arc.e(6,7) & super_arc.e(7,4); % bowl +pickup tiny.nib; pos2'(stem,0); pos3(stem,0); +z2=z2'; x3=x2; bot y3=-d; +if classic_serif: + filldraw stroke z8e--z3e; % stem +else: + filldraw stroke z2'e--z3e; % stem +fi +dish_serif(3,2',a,1/3,.75jut,b,1/3,jut); % serif +math_fit(-min(2/3x_height#*slant-.5hair#-.5u#, + 2u#-.5stem#-desc_depth#*slant),ic#); +penlabels(0,1,2,3,4,5,6,7 if classic_serif: ,8 fi); endchar; + +ecchar "Italic letter q"; +beginchar("q",8u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-1.5u+.5stem)+eps; +top y1r=h+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +pickup tiny.nib; pos4(stem,0); pos5(stem,0); +x4=x5; x6=x5r; top y6=h+oo; bot y4=-d; +y5=ypart(((x4l,0)--(x4l,y6))intersectionpoint super_arc.r(0,1)); +filldraw z6{2(x5l-x6),y5-y6}...z5l---z4l--z4r--cycle; % stem +dish_serif(4,5,a,1/3,jut,b,1/3,jut); % serif +math_fit(-.3x_height#*slant+.5curve#-u#,ic#-1/3x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +ecchar "Italic letter r"; +beginchar("r",5.5u#+max(1.75u#,flare#),x_height#,0); +italcorr x_height#*slant; +adjust_fit(if monospace:.25u#,.5u# else: 0,0 fi); pickup fine.nib; +x0=0; x2=x3; pos3(stem,0); lft x3l=hround(2.5u-.5stem); y3-.5stem=-oo; +if classic_serif: + pos2(stem,0); + y2=1/4x_height; % dito + x8=x2; pos8(stem,0); top y8=h; + sloped_serif.l(8,3,c,1/3,jut,serif_drop); + filldraw circ_stroke z8e--z3e; % left stem +else: + hook_in(0,1,2); % opening hook + filldraw circ_stroke z3e--z2e; % left stem +fi +pos3'(hair,180); z3'=z3; pos4(vair,90); pos5(hair,0); pos6(flare,0); +x4=w-.5u-max(1.75u,flare); rt x5r=hround(r-.5u); top y4r=h+oo; +filldraw stroke z3'e{up}...z4e{right}; % link +y6+.5flare=vround(bot y4l-.03x_height); bulb(4,5,6); % bulb +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-.5u#); +penlabels(0,1,2,3,4,5,6); endchar; + + +ecchar "Italic letter s"; +beginchar("s",5.25u#+max(1.75u#,flare#),x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +numeric theta; theta=90-angle(40u,h); slope:=-h/40u; % angle at middle +pos2(vair,-90); pos0(max(fine.breadth,ess),theta); pos7(vair,-90); +x2l=x0=x7=.5w; top y2l=h+oo; bot y7r=-oo; +y0-.5ess=y7l+.55(y2r-y7l-ess); +lft x3l=hround u-eps; rt x6r=hround(w-.5u)+eps; +x3r-x3l=x6r-x6l=hround .5[vair,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 +pos1(hair,0); pos10(hround .75[hair,flare],0); +pos2'(vair,90); z2'=z2; +pos8(hair,-180); pos9(flare,-180); +rt x10r=hround(w-u)+2eps; lft x9r=hround .5u-2eps; y10=.78h; y9=.25h; +bulb(2',1,10); bulb(7,8,9); % bulbs +math_fit(0,ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic letter t"; +beginchar("t",5.5u#,min(asc_height#,10/7x_height#),0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#,x_height#*slant-.25u#); +adjust_fit(if monospace:u#,u# else:0,0 fi); pickup fine.nib; +pos1(stem,0); lft x1l=hround(2u-.5stem); y1+.5stem=h+oo; +x2=x1; x4=w; hook_out(2,3,4); % closing hook +if classic_serif: + filldraw stroke z1e--z2e; % stem +else: + filldraw circ_stroke z1e--z2e; % stem +fi +pickup crisp.nib; pos5(bar,90); pos6(bar,90); +lft x5=hround-.75u; rt x6=hround(w-.75u); top y5r=top y6r=x_height; +filldraw stroke z5e--z6e; % crossbar +math_fit(1.25u#-x_height#*slant,ic#); penlabels(1,2,3,4,5,6); endchar; + +ecchar "Italic letter u"; +beginchar("u",9.5u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +if classic_serif: + x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + pos2(stem,0); + top y2=h; +else: + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +if classic_serif: + filldraw stroke z2 + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +else: + filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +fi +filldraw circ_stroke z6e--z7e; % right stem +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + + +ecchar "Italic letter v"; +beginchar("v",8u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +if classic_serif: + pos2(stem,0); + top y2=h; +else: + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; pos4(vair,-90); pos5(hair,0); +x4=.5w+u; rt x5r=hround(w-.5u); y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; +filldraw stroke z2'e{-u,-x_height}...super_arc.e(3,4) + ..tension atleast 1.05..{up}z5e; % left stem and arc +v_bulb(5,6); % closing bulb +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,2/3ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar "Italic letter w"; +beginchar("w",12u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(if monospace:-1.5u#,-u# else: 0,0 fi); +pickup fine.nib; interim superness:=more_super; begingroup +forsuffixes $=hair,stem: shaved$:=mfudged$; save $; $=shaved$; endfor +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +if monospace: pos1(vair,90); x1=good.x .5[x0,x2]; top y1r=h; y2=2/3h; + pos2(stem,0); filldraw stroke z1e{right}...{-u,-x_height}z2e; +else: +if classic_serif: + pos2(stem,0); + top y2=h; +else: + hook_in(0,1,2)(skewed); +fi +fi % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); +x4=.6[x2,x5]; x5=x6=x7; pos6(stem,-180); pos7(stem,-180); +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; +rt x6l=hround(rt x6l+.5w+.75u-x6); y6+.5stem=h; y7=y3; +pos8(vair,-90); pos9(hair,0); +x8=w-2.75u; rt x9r=hround(w-.5u); bot y8r=-oo; y9=y5; +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e..super_arc.e(7,8)...{up}z9e; % middle stem and arc +v_bulb(9,10); % closing bulb +endgroup; math_fit(-2/3x_height#*slant+.5hair#+.5u#,3/4ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic letter x"; +beginchar("x",6.5u#+max(1.5u#,flare#),x_height#,0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#,x_height#*slant+.25u#); +adjust_fit(0,0); pickup fine.nib; +pos0(hair,180); pos1(vair,90); pos2(stem,0); +pos3(stem,-180); pos4(vair,-90); pos5(hair,0); +y0=y2=2/3h; y3=y5=1/3h; top y1r=h+oo; bot y4r=-oo; +rt x2r=hround(.5w+.5stem-eps); x2=x3; +x0-.5hair=hround-.5hair; x5+.5hair=hround(w+.5hair-eps); +x1=.5[x0,x2]; x4=.5[x3,x5]; +filldraw stroke z0e{up}...pulled_arc.e(1,2); % opening hook +filldraw z2l--z3r--z3l--z2r--cycle; % stem +filldraw stroke pulled_arc.e(3,4)...{up}z5e; % closing hook +pos3'(hair,180); pos6(hair,180); pos7(vair,90); +pos8(hair,0); pos9(flare,0); +x3'l=x6l=x3l; y3'=y3; y6=3/4h; x7=.5[x8,x2]; top y7r=h+oo; +rt x8r=hround(w-.25u); y8+.5flare=vround(bot y7l-.03x_height); +filldraw stroke z3'e---z6e...{right}z7e; bulb(7,8,9); % upper link and bulb +pos2'(hair,0); pos16(hair,0); pos17(vair,-90); +pos18(hair,-180); pos19(flare,-180); +x2'l=x16l=x2l; y2'=y2; y16=1/4h; x17=.5[x18,x3]; bot y17r=-oo; +lft x18r=hround.25u; y18-.5flare=vround(top y17l+.03x_height); +filldraw stroke z2'e---z16e...{left}z17e; bulb(17,18,19); % lower link and bulb +math_fit(0,ic#); penlabels(0,1,2,3,4,5,6,7,8,9,16,17,18,19); endchar; + +ecchar "Italic letter y"; +beginchar("y",8.5u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +if classic_serif: + pos2(stem,0); + top y2=h; +else: + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-1.5u+.5stem); +pos7(stem,0); pos8(vair,-90); +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +y7=0; bot y8r=-d-oo; x5=x6=x7; x8=.5w; +pos9(hair,-180); pos10(flare,-180); y9=-.5d; +lft x9r=hround(2.75u-.5flare); bulb(8,9,10); % bulb +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e---z7e...{left}z8e; % right stem and link +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-1/3x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic letter z"; +beginchar("z",5.5u#+max(1.5u#,stem#),x_height#,0); +italcorr x_height#*slant+.5hair#; +adjust_fit(if monospace:.5u#,.5u# else: 0,0 fi); pickup fine.nib; +pos1(hair,0); pos2(stem,-90); pos3(vair,-90); pos4(hair,0); +lft x1l=hround(u-.5hair); x2=2.5u; x3=w-2u; rt x4r=hround(w-.5u); +top y1=.78h; top y2l=top y4=h+oo; y3=.825h; +pos5(hair,0); pos6(vair,-90); pos7(stem,-90); pos8(hair,0); +x5=x1; x6=2.5u; x7=w-2u; x8+.5hair=hround(w+.5hair-eps); +bot y5=bot y7r=-oo; y6=.175h; bot y8=.31h; +pair p; p=(z4-z5) yscaled 2; +filldraw stroke z1e{up}...z2e{right}..z3e{right}...{p}z4e; % upper bar +filldraw stroke z5e{p}...z6e{right}..{right}z7e...{up}z8e; % lower bar +filldraw stroke z5e{p}..{p}z4e; % diagonal +math_fit(0,1/3x_height#*slant+.5hair#+.5u#); +penlabels(1,2,3,4,5,6,7,8); endchar; + +endinput; diff --git a/fonts/ec/src/exilwest.mf b/fonts/ec/src/exilwest.mf new file mode 100644 index 0000000000..1aa3f556f6 --- /dev/null +++ b/fonts/ec/src/exilwest.mf @@ -0,0 +1,761 @@ +% exilwest.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% italic lowercase accented letters ("western part") +% +% oct"340" .. oct"377" +% +% oct"340" .. oct"377" +% +% oct"340" a with gravis +% oct"341" a with acute +% oct"342" a with circumflex +% oct"343" a with tilde +% oct"344" a with umlaut +% oct"345" a with ring +% oct"346" ae +% oct"347" c with cedilla +% +% oct"350" e with gravis +% oct"351" e with acute +% oct"352" e with circumflex +% oct"353" e with umlaut +% oct"354" i with gravis +% oct"355" i with acute +% oct"356" i with circumflex +% oct"357" i with umlaut +% +% oct"360" edh (icelandic) +% oct"361" n with tilde +% oct"362" o with gravis +% oct"363" o with acute +% oct"364" o with circumflex +% oct"365" o with tilde +% oct"366" o with umlaut +% oct"367" oe +% +% oct"370" o with / +% oct"371" u with gravis +% oct"372" u with acute +% oct"373" u with circumflex +% oct"374" u with umlaut +% oct"375" y with acute +% oct"376" thorn +% oct"377" sharp s + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Italic letter a with gravis"; +beginchar_twice(oct"340",9u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +put_gravis; +repeat_once; +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Italic letter a with acute"; +beginchar_twice(oct"341",9u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +put_accent; +repeat_once; +penlabels(0,1,2,3,4,5,6,7); endchar; + + +ecchar "Italic letter circumflex a"; +beginchar(oct"342",9u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the accent +lowercase_hat(.5w,0,8,9,10,11,12); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar "Italic letter a with tilde"; +beginchar(oct"343",9u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the accent +lowercase_tilde(-.5u,-1/6acc_height,8,9,10,11,12); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12); endchar; + + +ecchar "Italic letter a with umlaut"; +beginchar(oct"344",9u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the accent +lowercase_umlaut(0,0,8,9,10,11); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Italic letter a with ring"; +beginchar(oct"345",9u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98x_height; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the accent +lowercase_circle(x1,(1/3[x_height,h]+apex_o),8,9,10,11); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +iff knuthian_ae: +ecchar "Italic ligature ae"; +beginchar(oct"346",13u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup fine.nib; +forsuffixes $=hair,stem: shaved$:=mfudged$; save $; $=shaved$; endfor +numeric light_stem; light_stem=hround .75[hair,stem]; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(light_stem,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+6u); +lft x3r=hround(.5w-.5light_stem); x5r=good.x(w-.5u); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo; +top y5l=vround(.5bar_height+.5); path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc of e +pos7(light_stem,0); pos8(light_stem,0); +x7=x8=x3; y7+.5light_stem=h+oo; y8-.5light_stem=-oo; +pos7'(vair,-225); pos11(curve,-180); z7'=z7; +pos12(vair,-90); pos3'(hair,0); z3'=z3; +lft x11r=hround(1.5u-.5curve); x12=.5[x11,x3]; +y11=.3[y12,y7]; bot y12r=-oo; +filldraw stroke z7'e{3(x11-x7),y11-y7}...pulled_arc.e(11,12) + & pulled_arc.e(12,3'); % bowl of a +filldraw z7l---z8l..z8r---z7r..cycle; % stem +penlabels(0,1,2,3,4,5,6,7,8,11,12); endchar; + +iff not knuthian_ae: +ecchar "Italic ligature ae"; +beginchar(oct"346",13u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup fine.nib; +forsuffixes $=hair,stem: shaved$:=mfudged$; save $; $=shaved$; endfor +numeric light_stem; light_stem=hround .75[hair,stem]; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(light_stem,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+6u); +lft x3r=hround(.5w-.5light_stem); x5r=good.x(w-.5u); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo; +top y5l=vround(.5bar_height+.5); path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc of e +pos7(light_stem,0); +x7=x3; y7+.5light_stem=h+oo; +pos7'(vair,-225); pos10(vair,-270); +pos11(curve,-180); z7'=z7; +pos12(vair,-90); pos3'(hair,0); z3'=z3; +lft x11r=hround(1.5u-.5curve); x10=x12=.5[x11,x3]; +top y10r=h+oo; y11=.52h; bot y12r=-oo; +filldraw stroke pulled_arc.e(3',10) & pulled_arc.e(10,11) + & pulled_arc.e(11,12) & pulled_arc.e(12,3'); % bowl of a +filldraw z7l---z3r..z3l---z7r..cycle; % stem +penlabels(0,1,2,3,4,5,6,7,10,11,12); endchar; + + +ecchar "Italic letter cedilla c"; +beginchar(oct"347",8u#,x_height#,0.875desc_depth#); +italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x2=x4=.5(w+u); rt x1r=max(rt x2,hround(w-u))+eps; +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y1=.5[bar_height,h]; top y2r=h+oo; bulb(2,1,0); % bulb +bot y4r=-oo; y3=.5[y2,y4]; top y5l=vround .5bar_height; y6=bar_height; +path p; p=z4{right}..z5..z6; +filldraw stroke pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the accent +lowercase_cedilla(x4,0,7,8,9,10,11); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Italic letter e with gravis"; +beginchar_twice(oct"350",8u#,x_height#+acc_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=x_height+oo; bot y4r=-oo; +top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +put_gravis; +repeat_once; +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar "Italic letter e with acute"; +beginchar_twice(oct"351",8u#,x_height#+acc_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=x_height+oo; bot y4r=-oo; +top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +put_accent; +repeat_once; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar "Italic letter circumflex e"; +beginchar(oct"352",8u#,x_height#+acc_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=x_height+oo; bot y4r=-oo; +top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +%the accent +lowercase_hat(.5w,0,7,8,9,10,11); +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Italic letter umlaut e"; +beginchar(oct"353",8u#,x_height#+acc_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(curve,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+u); +lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=x_height+oo; bot y4r=-oo; +top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc +%the accent +lowercase_umlaut(0,0,7,8,9,10); +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic letter i with gravis"; +beginchar_twice(oct"354",5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x0=0; x5=w; x2=.5w+.25u; x3=.5w-.25u; +if classic_serif: + hook_out(3,4,5)(skewed); % hooks + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2)(skewed); + hook_out(3,4,5)(skewed); % hooks +fi +filldraw stroke z2e--z3e; % stem +put_gravis; +repeat_once; +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Italic letter i with acute"; +beginchar_twice(oct"355",5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x0=0; x5=w; x2=.5w+.25u; x3=.5w-.25u; +if classic_serif: + hook_out(3,4,5)(skewed); % hooks + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2)(skewed); + hook_out(3,4,5)(skewed); % hooks +fi +filldraw stroke z2e--z3e; % stem +put_accent; +repeat_once; +penlabels(0,1,2,3,4,5); endchar; + +ecchar "Italic letter circumflex i"; +beginchar(oct"356",5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x0=0; x5=w; x2=.5w+.25u; x3=.5w-.25u; +if classic_serif: + hook_out(3,4,5)(skewed); % hooks + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2)(skewed); + hook_out(3,4,5)(skewed); % hooks +fi +filldraw stroke z2e--z3e; % stem +% the accent +if classic_serif: lowercase_hat(.5w,0,6,7,8,9,10); +else: lowercase_hat(.5[.x1r,x2l],0,6,7,8,9,10); fi +penlabels(0,1,2,3,4,5,6,7,8,9,19); endchar; + + + + +ecchar "Italic letter umlaut i"; +beginchar(oct"357",5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +x0=0; x5=w; x2=.5w+.25u; x3=.5w-.25u; +if classic_serif: + hook_out(3,4,5)(skewed); % hooks + top y2=x_height; + pos2(stem,0); + sloped_serif.l(2,3,a,1/3,jut,serif_drop); +else: + hook_in(0,1,2)(skewed); + hook_out(3,4,5)(skewed); % hooks +fi +filldraw stroke z2e--z3e; % stem +% the accent +lowercase_umlaut(0,0,6,7,8,9); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Italic letter edh"; +beginchar(oct"360",9u#,asc_height#,0); +italcorr .x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +oh := vround x_height ; +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); penpos4'(hair,0) ; +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=oh + vround 1.5oo; y3r=-oo; +y2=y4=.5oh-vair_corr; y2l:=y4l:=.52oh; +x4'l = x4l; y4 = y4'; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) -- pulled_arc.e(4',1) & cycle; % bowl +fill z4l .. {right}z4 -- z4r -- cycle ; % fill in a little gap! +penpos5(.5[vair,hair],40) ; +x5l = x2 ; top y5r = h ; +x7r = x4r; +y7 = .95[x4,x1]; +penpos7(curve,0); +penstroke z5e .. tension 1.1 and 0.9 .. z7e{down} .. z4e ; +path p ; +p = z5 .. tension 1.1 and 0.9 .. z7{down} ; +z6 = ((0,.7[x_height,asc_height]) -- (w,.6[x_height,asc_height])) + intersectionpoint p ; +penpos6'(.5[vair,hair],-60) ; penpos 6''(.5[vair,hair],-60) ; +top y6''l = h ; z6'' = z6 + whatever*dir30; +z6 = .5[z6',z6''] ; filldraw stroke z6'e -- z6''e ; +penlabels(1,2,3,4,5,6,6',6''); endchar; + +ecchar "Italic letter n with tilde"; +beginchar(oct"361",10u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +if classic_serif: + top y1=x_height; pos1(stem,0); + sloped_serif.l(1,2,a,1/3,jut,serif_drop); +else: + hook_in(0,a,1); % opening hook +fi +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); x5=x4-.25u; ital_arch(2,3,4); % arch +x7=w; hook_out(5,6,7)(skewed); % closing hook +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +lowercase_tilde(0,-1/6acc_height,8,9,10,11,12); +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar "Italic letter o with gravis"; +beginchar_twice(oct"362",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +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=x_height+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 +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); +put_gravis; +repeat_once; +endchar; + +ecchar "Italic letter o with acute"; % use accent from plfonts +beginchar_twice(oct"363",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +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=x_height+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 +put_accent; +repeat_once; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar; + +ecchar "Italic letter o with circumflex"; +beginchar(oct"364",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +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=x_height+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 +%the accent +lowercase_hat(x1,0,5,6,7,8,9); +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(1,2,3,4,7,8,9); endchar; + + +ecchar "Italic letter o with tilde"; +beginchar(oct"365",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +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=x_height+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 +%the accent +lowercase_tilde(0,-1/6acc_height,5,6,7,8,9); +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(1,2,3,4,7,8,9); endchar; + +ecchar "Italic letter o with umlaut"; +beginchar(oct"366",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +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=x_height+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 +%the accent +lowercase_umlaut(0,0,5,6,7,8); +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(1,2,3,4,7,8); endchar; + +ecchar "Italic ligature oe"; +beginchar(oct"367",13u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup fine.nib; +forsuffixes $=hair,stem: shaved$:=mfudged$; save $; $=shaved$; endfor +pos0(vair,-90); pos1(heavy_hair,0); pos2(vair,90); +pos3(stem,180); pos4(vair,270); pos5(hair,320); +x0=rt x3l; rt x1r=hround(w-1.5u+.5heavy_hair); x2=x4=.5(w+6u); +lft x3r=hround(.5w-.5stem); x5r=good.x(w-.5u); x6=x5; +y0=y3=y6=bar_height; y1=.5[y0,y2]; top y2r=h+oo; bot y4r=-oo; +top y5l=vround(.5bar_height+.5); path p; p=z4{right}..z5..z6; +filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3) + & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc of e +pos11(vair,90); pos12(curve,180); pos13(vair,270); pos14(stem,360); +x11=x13=.5[x12,x14]; lft x12r=hround(1.5u-.5curve); x14=x3; +top y11=h+oo; y12=y14=.5[y11,y13]; bot y13=-oo; +filldraw stroke pulled_arc.e(11,12) & pulled_arc.e(12,13) + & pulled_arc.e(13,14) & pulled_arc.e(14,11); % bowl +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar "Italic Scandinavian letter o/slash"; +beginchar(oct"370",9u#,x_height#+.5desc_depth#,.5desc_depth#); +italcorr h#*slant-u#+.5vair#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,90); pos2(fudged.stem,180); +pos3(vair,270); pos4(fudged.stem,360); +x1=x3=.5w; lft x2r=hround(1.5u-.5fudged.stem); x4=w-x2; +top y1=x_height+oo; y2=y4=.5[y1,y3]; bot y3=-oo; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1); % 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; + +ecchar "Italic letter u with gravis"; +beginchar_twice(oct"371",9.5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +if classic_serif: + x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + pos2(stem,0); + top y2=x_height; +else: + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +if classic_serif: + filldraw stroke z2 + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +else: + filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +fi +filldraw circ_stroke z6e--z7e; % right stem +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +put_gravis; +repeat_once; +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Italic letter u with acute"; +beginchar_twice(oct"372",9.5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +if classic_serif: + x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + pos2(stem,0); + top y2=x_height; +else: + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +if classic_serif: + filldraw stroke z2 + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +else: + filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +fi +filldraw circ_stroke z6e--z7e; % right stem +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +put_accent; +repeat_once; +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Italic letter u with circumflex"; +beginchar(oct"373",9.5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +if classic_serif: + x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + pos2(stem,0); + top y2=x_height; +else: + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +if classic_serif: + filldraw stroke z2 + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +else: + filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +fi +filldraw circ_stroke z6e--z7e; % right stem +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +% the accent +lowercase_hat(.5w,0,10,11,12,13,14); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +ecchar "Italic letter u with umlaut"; +beginchar(oct"374",9.5u#,x_height#+acc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +if classic_serif: + x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + pos2(stem,0); + top y2=x_height; +else: + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +if classic_serif: + filldraw stroke z2 + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +else: + filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +fi +filldraw circ_stroke z6e--z7e; % right stem +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +% the accent +lowercase_umlaut(0,0,10,11,12,13); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +ecchar "Italic letter y with acute"; +beginchar_twice(oct"375",8.5u#,x_height#+acc_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +if classic_serif: + pos2(stem,0); + top y2=x_height; +else: + hook_in(0,1,2)(skewed); % opening hook +fi +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-1.5u+.5stem); +pos7(stem,0); pos8(vair,-90); +y3=.7[y4,y5]; bot y4r=-oo; y5=.57x_height; y6+.5stem=x_height; +y7=0; bot y8r=-d-oo; x5=x6=x7; x8=.5w; +pos9(hair,-180); pos10(flare,-180); y9=-.5d; +lft x9r=hround(2.75u-.5flare); bulb(8,9,10); % bulb +filldraw stroke z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e---z7e...{left}z8e; % right stem and link +if classic_serif: sloped_serif.l(2,3,a,1/3,jut,serif_drop); fi +put_accent; +repeat_once; +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-1/3x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Italic letter thorn"; +beginchar(oct"376",9u#+serif_fit#,asc_height#,desc_depth#); +italcorr .7x_height#*slant+.5curve# -u# if math_fitting: -.5u# fi; +adjust_fit(0,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.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(stem,0); pos7'(stem,0); +z7'=z2; x8l=x7'l; bot y8=-d; +filldraw stroke z7'e--z8e; % point +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + dish_serif(8,1,c,1/3,jut,d,1/3,jut); % lower serif + fi % upper serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +ecchar "Italic German letter sharp s"; +beginchar(oct"377",4.5u#+max(1.5u#,stem#)+max(3.5u#,2flare#),asc_height#,desc_depth#); +italcorr .9asc_height#*slant-u#; +adjust_fit(if monospace: u# else: 0 fi,0); pickup fine.nib; +z88=(.5w-2.75u,h); z89=(.5w-1.75u,-d); +numeric theta; theta=angle(z88-z89); +pos1(stem,0); pos2(vair,90); pos3(.5[hair,stem],180); +pos4(stem,theta+90); pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +rt x1r=hround(w-1.5u); lft x8r=hround-.25u; x2=.5[x1,x4]; x7=.5[x8,x5]; +y9-.5flare=vround -.85d; bot y7r=-d-oo; y1=.5[x_height,h]; top y2r=h+oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(7,8,9); % left bulb +filldraw stroke z1e{up}...z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc +pos11(.1[hair,curve],-30); x11l=2/3[x12l,x1l]; y11=2/3[y1,y12]; +pos12(.3[hair,curve],0); rt x12r=hround(w-3u); y12=.5h; +pos13(.8[hair,curve],30); x13=.5[x12,x14]; y13=.5[y12,y14]; +pos14(curve,0); rt x14r=hround(w-.5u); y14=.2h; +pos15(vair,-90); x15=.5[x14,x16]; bot y15r=-oo; +pos16(hair,-180); pos17(.6[hair,flare],-180); +lft x16r=hround(rt x5r+.75u); y17-.5(.6[hair,flare])=.07h; +filldraw stroke z1e{down}...z11e{1.5(x12e-x11e),y12e-y11e} + ...{down}z12e...{2(x13-x12),y13-y12}z13e + ...{down}z14e...{left}z15e; % stroke +bulb(15,16,17); % inner bulb +pickup crisp.nib; pos20(bar,90); pos21(bar,90); +top y20r=top y21r=x_height; +lft x20=lft x4r-.5stem-u; z21=whatever[z4,z5]; +filldraw stroke z20e--z21e; % bar +penlabels(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17,20,21,88,89); +endchar; + +endinput; diff --git a/fonts/ec/src/exisixts.mf b/fonts/ec/src/exisixts.mf new file mode 100644 index 0000000000..557a7dbd9f --- /dev/null +++ b/fonts/ec/src/exisixts.mf @@ -0,0 +1,88 @@ +% This is EXISIXTS.MF in text format, as of March 24, 1992 +% +% ecfonts version 1.0 +% +% [ heavily borrowed from the Computer Modern Roman family of +% fonts by D. E. Knuth ] +% +% Content: +% +% variant of 6test modified for testing of ecfonts +% should be used with exbase only +% +% +mode_def screenproof = % for onscreen viewing of CGA proofs (full screen) + proofing:=2; % yes, we're making full proofs + fontmaking:=0; % no, we're not making a font + tracingtitles:=1; % yes, show titles online + pixels_per_inch:=1001; % make it easy to view one char on screen + blacker:=0; % no additional blackness + fillin:=0; % no compensation for fillin + o_correction:=1; % no reduction in overshoot + aspect_ratio:=480/640; %265/640 % adjust for screen skewing also +enddef; + +\mode:=screenproof; + +mode_setup; + + + + +if unknown exbase: input exbase fi % omit if CMMF can be assumed +boolean running; +def abort = hide(scrollmode; running:=false) enddef; +def pause=stop "done with char "&decimal charcode&". " enddef; +let iff=always_iff; +def ligtable text t=enddef; +def charlist text t=enddef; +def extensible text t=enddef; + +string currenttitle; +let semi=;; let echar=endchar; let endchar=enddef; +def ecchar expr s = currenttitle:=s; + let;=testchar semi quote def chartext=enddef; +def testchar = semi let;=semi; + % now `chartext echar' will generate the character to be tested + running:=true; errorstopmode; + for k=1 upto 8: + if running: if known params[k]: scantokens params[k]; font_setup; + currentwindow:=k; + currenttitle & ", " & fontname[k]; + chartext echar; fi fi endfor + pause; enddef; + +numeric fontsize[]; +numeric gensize; +string params[],fontname[]; +params[1]="roman_params"; fontsize[1]:=10; fontname[2]="dcti"; +params[2]="sans_params"; fontsize[2]:=10; fontname[3]="dcbxti"; +params[3]="tt_params"; fontsize[3]:=10; fontname[1]="dcitt"; +params[4]="bold_params"; fontsize[4]:=10; fontname[4]="dcu"; +params[5]="quote_params"; fontsize[5]:=10; fontname[5]="dcfi"; +% params[6]="ital_params"; fontsize[6]:=10; fontname[6]="dci"; %vtt"; % cmti10"; + +w_rows=floor (1/2 screen_rows); w_cols=floor (1/3 screen_cols); +def open(expr k,i,j)= + openwindow k from ((i-1)*w_rows,(j-1)*w_cols) to (i*w_rows,j*w_cols) + at (-65,120) enddef; +def openit = + open(1,1,1); open(2,1,2); open(3,1,3); + open(4,2,1); open(5,2,2); open(6,2,3); enddef; + +begingroup delimiters begintext generate; + def longerkludge expr s = + if length s > 8: substring (0,3) of s & + substring(length s-3,infinity) of fi s enddef; + def makedef(expr s)(text t) = + expandafter def scantokens s = t enddef; flushtext enddef; + def flushtext suffix t = enddef; + for k=1 upto 8: if known params[k]: + gensize := fontsize[k]; + makedef(params[k]) + expandafter expandafter expandafter begintext + scantokens ("input "&longerkludge fontname[k]); fi endfor +endgroup; + + +endinput; diff --git a/fonts/ec/src/exitalp.mf b/fonts/ec/src/exitalp.mf new file mode 100644 index 0000000000..740cc3786d --- /dev/null +++ b/fonts/ec/src/exitalp.mf @@ -0,0 +1,93 @@ +% exitalp.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% italic special characters &, ?, spanish ? which are +% different from roman + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Italic ampersand"; +beginchar("&",14u#,asc_height#,0); +italcorr asc_height#*slant-1.5u#; +adjust_fit(if monospace:-u#,-2u# else: 0,0 fi); pickup fine.nib; +pos1(flare,0); pos2(hair,0); pos3(vair,90); +rt x2r=hround.5w; x3=1/3(w-u); +top y3r=h+o; y2=.5[x_height,h]; bulb(3,2,1); % left bulb +pos4(stem,180); pos5(vair,270); pos6(hair,360); pos7(vair,450); +pos8(curve,540); pos9(vair,630); pos10(hair,720); +lft x4r=hround 1.25u; x5=x7=x3+1/6u; rt x6r=hround(x5+1.5u); +lft x8r=hround u; x9=.5w; rt x10r=hround(w-1.5u); +y4=.5[y3,y5]; top y5l=vround .77x_height; y6=.5[y5,y7]; +y7l=good.y 1/3[y5,y3]; y8=.5[y7,y9]; bot y9r=-o; y10=bar_height; +pos12(hair,0); pos13(curve,0); pos14(hair,0); pos15(vair,90); pos16(curve,90); +rt x12r=rt x13r=hround(w-2u); lft x14l=hround(.5w+.5u); +x15=x16=rt x14r+u; +y12=y13=h-.5curve; y14=.5[bar_height,x_height]; +bot y15l=bot y16l=vround y10; +numeric theta; theta=angle((z12-z14)xscaled 2); +pos11(hair,theta); x11=w-4u; y11=.5[y13,y16]; +filldraw stroke pulled_arc.e(3,4) & pulled_arc.e(4,5) & pulled_arc.e(5,6) + & pulled_arc.e(6,7) & pulled_arc.e(7,8) & pulled_arc.e(8,9) + & {{interim superness:=more_super; pulled_arc.e(9,10)}} + ..tension .9 and 1..{dir(theta+100)}z11e; % bowls, loop, and stem +pos11'(hair,theta-90); z11'=z11; +forsuffixes $=l,r: path p$; + p$=z12${down}..z11'${-dir theta}..{down}z14$...{right}z15$; endfor +filldraw p.l--reverse p.r--cycle; % arms +path q[]; q1=z13r{up}..z13l{down}..cycle; +q2=z16l{right}..z16r{left}..cycle; +filldraw subpath(0,ypart(p.l intersectiontimes q1)) of q1--cycle; % upper bulb +filldraw subpath(0,ypart(p.r intersectiontimes q2)) of q2--cycle; % lower bulb +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar; + +ecchar "Italic question mark"; +beginchar("?",9u#,asc_height#,0); +italcorr asc_height#*slant-u#; +adjust_fit(0,0); pickup tiny.nib; pos10(dot_size,0); pos11(dot_size,90); +lft x10l=hround(.5w-.5dot_size); bot y11l=0; z10=z11; dot(10,11); % dot +pickup fine.nib; pos1(flare,180); pos2(hair,180); pos3(vair,90); +lft x1r=hround u; x3=.5w; +y1-.5flare=x_height; top y3r=h+o; bulb(3,2,1); % bulb +pos8(vair,-90); x8=.5w; bot y8r=.25[top y11r,x_height]+1; +numeric theta; theta=90+angle(10u,y3-y8); slope:=(y3-y8)/10u; +pos3'(vair,-90); z3'=z3; pos0(vstem,theta); x0=x3; y0=1/3[y8,y3]; +rt x4l=hround(w-1.5u); lft x7r=hround 1/3w; +x4l-x4r=x7l-x7r=hround .5[vair,vstem]-fine; +ellipse_set(3'l,4l,5l,0l); ellipse_set(3'r,4r,5r,0r); y4=y4r; +ellipse_set(8l,7l,6l,0l); ellipse_set(8r,7r,6r,0r); y7=y7r; +pos9(hair,0); rt x9r=hround(2/3w+.5hair); y9=good.y .5[y8,y0]; +filldraw stroke super_arc.e(3',4) & z4e{down} + ..z5e---z6e..z7e{down} & super_arc.e(7,8)...{up}z9e; % main stroke +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Spanish open italic question mark"; +beginchar(oct"276",9u#,asc_height#-desc_depth#,desc_depth#); +adjust_fit(0,0); pickup tiny.nib; pos10(dot_size,0); pos11(dot_size,90); +lft x10l=hround(.5w-.5dot_size); top y11r=h; z10=z11; dot(10,11); % dot +pickup fine.nib; pos1(flare,0); pos2(hair,0); pos3(vair,-90); +rt x1r=hround(w-u); x3=.5w; y1+.5flare=asc_height-x_height-d; +bot y3r=-d-o; bulb(3,2,1); % bulb +pos8(vair,90); x8=.5w; top y8r=.25[bot y11l,y1+.5flare]-1; +numeric theta; theta=angle(10u,y8-y3)-90; slope:=(y8-y3)/10u; +pos3'(vair,90); z3'=z3; pos0(vstem,theta); x0=x3; y0=1/3[y8,y3]; +lft x4l=hround 1.5u; rt x7r=hround 2/3w; +x4r-x4l=x7r-x7l=hround .5[vair,vstem]-fine; +ellipse_set(3'l,4l,5l,0l); ellipse_set(3'r,4r,5r,0r); y4=y4r; +ellipse_set(8l,7l,6l,0l); ellipse_set(8r,7r,6r,0r); y7=y7r; +pos9(hair,180); lft x9r=hround(1/3w-.5hair); y9=good.y .5[y8,y0]; +filldraw stroke super_arc.e(3',4) & z4e{up} + ..z5e---z6e..z7e{up} & super_arc.e(7,8)...{down}z9e; % main stroke +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +endinput; diff --git a/fonts/ec/src/exmligtb.mf b/fonts/ec/src/exmligtb.mf new file mode 100644 index 0000000000..c901684086 --- /dev/null +++ b/fonts/ec/src/exmligtb.mf @@ -0,0 +1,39 @@ +% exmligtb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% ligatures for monospaced Cork (T1) encoded fonts +% +% The following ligatures are included +% +% -- gives - +% --- gives -- +% -<hyphenchar> gives <hyphenchar> +% << +% >> +% ,, +% '' +% `` +% !` +% ?` +% +version_check(1,0); % |version_check| was introduced in dc1.3 + +ligtable "`": "`" =: oct"020"; +ligtable "'": "'" =: oct"021"; +ligtable "-": "-" =: oct"025", % number range dash equals "-" + oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar> +ligtable "<": "<" =: oct"023"; % "<<" +ligtable ">": ">" =: oct"024"; % ">>" +ligtable ",": "," =: oct"022"; % ",," +ligtable "!": "`" =: oct"275"; % spanish shriek +ligtable "?": "`" =: oct"276"; % spanish query + +endinput; diff --git a/fonts/ec/src/expseudo.mf b/fonts/ec/src/expseudo.mf new file mode 100644 index 0000000000..a523722402 --- /dev/null +++ b/fonts/ec/src/expseudo.mf @@ -0,0 +1,94 @@ +% expseudo.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% This file contains pseudoparameters which are not entered in the +% parameter files, but are computed from the initial parameter set. +% There are also ad hoc parameters needed only once, and scratch +% parameters with different values at each occuerence (like |theta|). +% +version_check(1,0); % |version_check| was introduced in dc1.3 + +% Diameters of dots + +numeric idot_diam#,udot_diam#,pdot_diam#; +idot_diam#=max(dot_size#,cap_curve#); % dot of letters `i' and `j' +udot_diam#=max(dot_size#,cap_curve#); % umlaut dots +pdot_diam#=if monospace: 5/4 fi\\ dot_size#; % punctuation dots + + +% The following umlaut dot diameter is used inside |exbase.mf|: +% dot_diam:=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +% Several symbols just use |dot_size|. + +% |heavy_hair| occurs in italic lowercase `e'. Since there are many +% accented versions of it, it is declared once here + +vardef heavy_hair=hround .2[hair,stem] enddef; + +% |qvair| (quotes vair) for the french quotes + +vardef qvair=max(round(xvair),fine+epsilon) enddef; + +% |limit_dist| is used in |put_accent| and |put_cross| +% (the value of |u| is changed by |mono_adjust|, hence the global setting) + +vardef limit_dist=5/4u enddef; + +% Height of lowercase umlaut, taken from csfonts +% Changed again, since the |lowercase_umlaut| macro works differently + +numeric lc_trema_height#; +% lc_trema_height# = min(cap_height#,9/7x_height#+.5max(dot_size#,cap_curve#)); +lc_trema_height# = min(cap_height#,9/7hi.x_height#+max(dot_size#,cap_curve#)); + + +% More parametrisations for accents from csaccent.mf (csfonts): + +numeric uc_acc_height, uc_acc_height#, + lc_acute_height, lc_acute_height#, + lc_hachek_height, lc_hachek_height#, + accent_u, accent_u#, + accent_thin, + uc_acc_shift, asc_acc_shift; +if unknown circ_weight: circ_weight:=1; fi + +%uc_acc_height# = cap_height#+asc_height#-x_height#; +uc_acc_height# = cap_height#+acc_height#; +lc_acute_height# = asc_height#; +lc_hachek_height# = hi.x_height#+acc_height#; +accent_u# = u#; % unexpanded dimension unit + +vardef accent_thin = if thin_join > crisp: thin_join else: crisp+eps fi enddef; + +vardef uc_acc_shift = cap_height - x_height enddef; +vardef asc_acc_shift = asc_height - x_height enddef; + +numeric cap_accent_height, cap_accent_height#; +%cap_accent_height# = uc_acc_height#; +cap_accent_height# = cap_height# + acc_height#; + +def pseudo_setup = + define_whole_blacker_pixels(idot_diam,udot_diam,pdot_diam); + define_whole_vertical_pixels(lc_trema_height); + define_whole_vertical_pixels(uc_acc_height,lc_acute_height, + lc_hachek_height); + define_pixels(accent_u); + define_whole_vertical_pixels(cap_accent_height); +% LAST MINUTE EXTRA FONT SETUP +%%% define_pixels prepare_pen +if not serifs: fisp#:=1/3[fine#,crisp#]; define_whole_pixels(fisp); + prepare_pen fisp; fi +if known ogonek_pen#: + define_whole_pixels(ogonek_pen); prepare_pen ogonek_pen; +fi +enddef; + +endinput; diff --git a/fonts/ec/src/expunct.mf b/fonts/ec/src/expunct.mf new file mode 100644 index 0000000000..1bb2bc8199 --- /dev/null +++ b/fonts/ec/src/expunct.mf @@ -0,0 +1,349 @@ +% expunct.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% punctuation + +%%% italcorr corrital + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Single left guillemet"; % jk +beginchar(oct"016",8u#,2bar_height#,0); +italcorr h#*slant-u#; +adjust_fit(0,0); + pickup fine.nib; + pos1(qvair,0); pos2(if monospace: qvair else: stem fi,0); pos3(qvair,0); + rt x1r=rt x3r=w-2u-eps; + lft x2l=hround(if not monospace: 2 fi\\ u)-eps; + bot y3=0; y2=good.y(h/2); top y1=2y2; + if not serifs or monospace: + filldraw stroke z1e--z2e--z3e; + else: + filldraw stroke + z1e{(x2e-x1e),1.8(y2e-y1e)}..{curl1}z2e{curl1}.. + {(x3e-x2e),1.8(y3e-y2e)}z3e; + fi + penlabels(1,2,3); +endchar; + +ecchar "Single right guillemet"; % jk +beginchar(oct"017",8u#,2bar_height#,0); +italcorr h#*slant-u#; +adjust_fit(0,0); + pickup fine.nib; + pos1(qvair,0); pos2(if monospace: qvair else: stem fi,0); pos3(qvair,0); + lft x1l=lft x3l=2u+eps; + rt x2r=w-hround(if not monospace: 2 fi\\ u)+eps; + bot y3=0; y2=good.y(h/2); top y1=2y2; + if not serifs or monospace: + filldraw stroke z1e--z2e--z3e; + else: + filldraw stroke + z1e{(x2e-x1e),1.8(y2e-y1e)}..{curl1}z2e{curl1}.. + {(x3e-x2e),1.8(y3e-y2e)}z3e; + fi +penlabels(1,2,3); endchar; + +ecchar "French opening quotes"; % from pl_cud (plfonts) +beginchar_twice( + if not hefty: oct"023",10u#,2bar_height#,0 + else: oct"023",12u#,2bar_height#,0 + fi); +adjust_fit(0,0); + pickup fine.nib; + numeric the_shift,shift_corr; + the_shift=hround(max(3u,1.7stem)); shift_corr=the_shift-3u; + pos1(qvair,0); pos2(if monospace: qvair else: stem fi,0); pos3(qvair,0); + rt x1r=rt x3r=hround(.6w-shift_corr)-eps; + lft x2l=hround(if not monospace: 2 fi\\ u-shift_corr)-eps; + bot y3=0; y2=good.y(h/2); top y1=2y2; + for i:=1,2,3: + forsuffixes $:=r, ,l: z[i]'$=z[i]$ + the_shift*right; endfor + endfor + if not serifs or monospace: + filldraw stroke z1e--z2e--z3e; filldraw stroke z1'e--z2'e--z3'e; + else: + filldraw stroke + z1e{(x2e-x1e),1.8(y2e-y1e)}..{curl1}z2e{curl1}.. + {(x3e-x2e),1.8(y3e-y2e)}z3e; + filldraw stroke + z1'e{(x2'e-x1'e),1.8(y2'e-y1'e)}..{curl1}z2'e{curl1}.. + {(x3'e-x2'e),1.8(y3'e-y2'e)}z3'e; + fi; +% italic correction is set to |0| in |beginchar|, so let's correct it + corrital z1'r; + penlabels(1,2,3,1',2',3'); +repeat_once; +endchar; + +ecchar "French closing quotes"; % from pl_cud (plfonts) +beginchar_twice( + if not hefty: oct"024",10u#,2bar_height#,0 + else: oct"024",12u#,2bar_height#,0 + fi); +adjust_fit(0,0) + pickup fine.nib; + numeric the_shift,shift_corr; + the_shift=hround(max(3u,1.7stem)); shift_corr=the_shift-3u; + pos1(qvair,0); pos2(if monospace: qvair else: stem fi,0); pos3(qvair,0); + lft x1l=lft x3l=w-hround(.6w-shift_corr)+eps; + rt x2r=w-hround(if not monospace: 2 fi\\ u-shift_corr)+eps; + bot y3=0; y2=good.y(h/2); top y1=2y2; + for i:=1,2,3: + forsuffixes $:=r, ,l: z[i]'$=z[i]$ + the_shift*left; endfor + endfor + if not serifs or monospace: + filldraw stroke z1e--z2e--z3e; filldraw stroke z1'e--z2'e--z3'e; + else: + filldraw stroke + z1e{(x2e-x1e),1.8(y2e-y1e)}..{curl1}z2e{curl1}.. + {(x3e-x2e),1.8(y3e-y2e)}z3e; + filldraw stroke + z1'e{(x2'e-x1'e),1.8(y2'e-y1'e)}..{curl1}z2'e{curl1}.. + {(x3'e-x2'e),1.8(y3'e-y2'e)}z3'e; + fi; +% italic correction is set to |0| in |beginchar|, so let's correct it + corrital z2r; + penlabels(1,2,3,1',2',3'); +repeat_once; +endchar; + +ecchar "German opening comma"; +beginchar(oct"015",5u#,pdot_diam#,comma_depth#); +adjust_fit(0,0); +x1-.5pdot_diam=hround(.5w-.5pdot_diam); y1-.5pdot_diam=0; +comma(1,a,pdot_diam,.2u,comma_depth); % dot and tail +penlabels(1); endchar; + +ecchar "German Opening quotes"; +beginchar(oct"022",3u#+max(2u#,pdot_diam#),pdot_diam#,comma_depth#); +italcorr asc_height#*slant+pdot_diam#-4.1u#; +adjust_fit(.5u#,.5u#); +x2+.5pdot_diam=hround(w-.6u+.5pdot_diam); y2-.5pdot_diam=0; +x1=w-x2; y2=y1; +comma(1,a,pdot_diam,.25u,comma_depth); % left dot and tail +comma(2,b,pdot_diam,.25u,comma_depth); % right dot and tail +penlabels(1,2); endchar; + +ecchar "Exclamation point"; +beginchar("!",5u#+width_adj#,asc_height#,0); +italcorr asc_height#*slant-2u#-.5width_adj#+.5pdot_diam#; +adjust_fit(0,0); +pickup tiny.nib; pos3(pdot_diam,0); pos4(pdot_diam,90); +lft x3l=hround(.5w-.5pdot_diam); bot y4l=0; z3=z4; dot(3,4); % dot +numeric bot_width; +bot_width=if hefty:max(hround .8pdot_diam,fine.breadth) else: hair fi; +pickup fine.nib; pos1(pdot_diam,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+.5pdot_diam=h+o; + filldraw z1r...z0...z1l---z2l--z2r---cycle; fi % stem and bulb +penlabels(0,1,2,3,4); endchar; + + + +ecchar "Apostrophe"; +beginchar("'",5u#,asc_height#,0); +italcorr asc_height#*slant+.5pdot_diam#-2u#; +adjust_fit(0,0); +x1-.5pdot_diam=hround(.5w-.5pdot_diam); y1+.5pdot_diam=h; +if monospace: comma(1,a,pdot_diam,.28u,vround 1.5comma_depth); % large comma +else: comma(1,a,pdot_diam,.25u,comma_depth); fi % comma with increased jut +penlabels(1); endchar; + + +ecchar "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; + +ecchar "Plus sign"; +beginarithchar("+"); pickup extra_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; + +ecchar "Comma"; +beginchar(",",5u#,pdot_diam#,comma_depth#); +adjust_fit(0,0); +x1-.5pdot_diam=hround(.5w-.5pdot_diam); y1-.5pdot_diam=0; +comma(1,a,pdot_diam,.2u,comma_depth); % dot and tail +penlabels(1); endchar; + +ecchar "Period"; +beginchar(".",5u#,pdot_diam#,0); +adjust_fit(0,0); pickup fine.nib; +pos1(pdot_diam,0); pos2(pdot_diam,90); +lft x1l=hround(.5w-.5pdot_diam); bot y2l=0; z1=z2; dot(1,2); % dot +penlabels(1,2); endchar; + +ecchar "Virgule (slash)"; +beginchar("/",9u#,body_height#,paren_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup extra_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; + +ecchar "Colon"; +beginchar(":",5u#,x_height#,0); +italcorr x_height#*slant+.5pdot_diam#-2u#; +adjust_fit(0,0); pickup fine.nib; +pos1(pdot_diam,0); pos2(pdot_diam,90); +lft x1l=hround(.5w-.5pdot_diam); top y2r=h; z1=z2; dot(1,2); % upper dot +pos3(pdot_diam,0); pos4(pdot_diam,90); +x3=x1; bot y4l=0; z3=z4; dot(3,4); % lower dot +penlabels(1,2,3,4); endchar; + +ecchar "Semicolon"; +beginchar(";",5u#,x_height#,comma_depth#); +italcorr x_height#*slant+.5pdot_diam#-2u#; +adjust_fit(0,0); pickup fine.nib; +pos1(pdot_diam,0); pos2(pdot_diam,90); +lft x1l=hround(.5w-.5pdot_diam); top y2r=h; z1=z2; dot(1,2); % upper dot +x3-.5pdot_diam=hround(.5w-.5pdot_diam); y3-.5pdot_diam=0; +comma(3,a,pdot_diam,.2u,comma_depth); % lower dot and tail +penlabels(1,2,3); endchar; + +ecchar "Equals sign"; +compute_spread(.45x_height#,.55x_height#); +beginchar("=",14u#,v_center(spread#+rule_thickness#)); +italcorr h#*slant-.5u#; +adjust_fit(0,0); pickup extra_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; + + + +ecchar "Reverse apostrophe"; +beginchar("`",5u#,asc_height#,0); +italcorr asc_height#*slant+.5pdot_diam#-2u#; +adjust_fit(0,0); +x1-.5pdot_diam=hround(.5w-.5pdot_diam); y1+.5pdot_diam=h-comma_depth; +if monospace: ammoc(1,a,pdot_diam,.28u,vround 1.5comma_depth); % large ammoc +else: ammoc(1,a,pdot_diam,.25u,comma_depth); fi % normal ammoc +penlabels(1); endchar; + + +ecchar "Spanish open exclamation point"; +beginchar(oct"275",5u#+width_adj#,asc_height#-desc_depth#,desc_depth#); +italcorr h#*slant-2u#-.5width_adj#+.5pdot_diam#; +adjust_fit(0,0); +pickup tiny.nib; pos3(pdot_diam,0); pos4(pdot_diam,90); +lft x3l=hround(.5w-.5pdot_diam); top y4r=h; z3=z4; dot(3,4); % dot +numeric top_width; +top_width=if hefty:max(hround .8pdot_diam,fine.breadth) else: hair fi; +pickup fine.nib; pos1(pdot_diam,0); pos2(top_width,0); +x1=x2=x3; top y2=.25[bot y4l,h-x_height]-1; +if square_dots: bot y1=-d; + filldraw stroke z1e--z2e; % stem +else: bot z0=(x1,-d-o); y1-.5pdot_diam=-d-o; + filldraw z1l...z0...z1r---z2r--z2l---cycle; fi % stem and bulb +penlabels(0,1,2,3,4); endchar; + + +ecchar "Closing quotes"; +beginchar(oct"021",3u#+max(2u#,pdot_diam#),asc_height#,0); +italcorr asc_height#*slant+pdot_diam#-4.1u#; +adjust_fit(.5u#,.5u#); +x1+.5pdot_diam=hround(.6u+.5pdot_diam); y2+.5pdot_diam=h; +x2=w-x1; y2=y1; +comma(1,a,pdot_diam,.25u,comma_depth); % left dot and tail +comma(2,b,pdot_diam,.25u,comma_depth); % right dot and tail +penlabels(1,2); endchar; + +ecchar "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; + +ecchar "Opening quotes"; +beginchar(oct"20",3u#+max(2u#,pdot_diam#),asc_height#,0); +italcorr asc_height#*slant-.1u#; +adjust_fit(.5u#,.5u#); +x2+.5pdot_diam=hround(w-.6u+.5pdot_diam); y1+.5pdot_diam=h-comma_depth; +x1=w-x2; y2=y1; +ammoc(1,a,pdot_diam,.25u,comma_depth); % left dot and tail +ammoc(2,b,pdot_diam,.25u,comma_depth); % right dot and tail +penlabels(1,2); endchar; + +iff not monospace: +ecchar "En dash"; +beginchar(oct"025",9u#,x_height#,0); +italcorr .61803x_height#*slant+.5u#; +adjust_fit(0,0); +pickup crisp.nib; pos1(vair,90); pos2(vair,90); +top y1r=top y2r=vround(.61803h+.5vair); lft x1=-eps; rt x2=w+eps; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + + +iff monospace: +ecchar "Hyphen"; +beginchar(oct"025",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; + +iff not monospace: +ecchar "Em dash"; +beginchar(oct"026",18u#,x_height#,0); +italcorr .61803x_height#*slant+.5u#; +adjust_fit(letter_fit#,letter_fit#); +pickup crisp.nib; pos1(vair,90); pos2(vair,90); +top y1r=top y2r=vround(.61803h+.5vair); lft x1=-eps; rt x2=w+eps; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +iff monospace: +ecchar "Hyphen"; +beginchar(oct"026",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; + +endinput; diff --git a/fonts/ec/src/exrdigit.mf b/fonts/ec/src/exrdigit.mf new file mode 100644 index 0000000000..0dfe37bdaa --- /dev/null +++ b/fonts/ec/src/exrdigit.mf @@ -0,0 +1,337 @@ +% exrdigit.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% numerals 0 .. 9 +% + +version_check(1,0); % |version_check| was introduced in dc1.3 + +% All digits have the same height, width, depth, and italic correction. + +font_digit_width 9u#; + +ecchar "The numeral 0"; +beginchar("0",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +penpos1(vair,90); penpos3(vair,-90); penpos2(curve,180); penpos4(curve,0); +if not monospace: interim superness:=sqrt(more_super*hein_super); fi +x2r=hround max(.7u,1.45u-.5curve); x4r=w-x2r; x1=x3=.5w; +y1r=h+o; y3r=-o; 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; + +ecchar "The numeral 1"; +beginchar("1",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pickup tiny.nib; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); top y1=h+o; bot y2=0; +filldraw stroke z1e--z2e; % stem +if not serifs: save slab; slab=bar; fi +if one_serif: dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); fi % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+o; top y4l=if monospace: .8 else: .9 fi\\ h+o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); +tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+o+1)--(x3l,h+o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..z4e{left}; % point +penlabels(1,2,3,4); endchar; + +ecchar "The numeral 2"; +beginchar("2",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +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,0); +bot y7r=0; lft x7=hround .9u; rt x8r=hround(w-.9u); y8=good.y(y7l+beak/2)+eps; +arm(7,8,a,.3beak_darkness,beak_jut); % arm and beak +pickup fine.nib; pos2(slab,90); pos3(.4[curve,cap_curve],0); +top y2r=h+o; x2=.5(w-.5u); rt x3r=hround(w-.9u); y3+.5vair=.75h; +if serifs: numeric bulb_diam; bulb_diam=hround(flare+2/3(cap_stem-stem)); + pos0(bulb_diam,180); pos1(cap_hair,180); + lft x1r=hround .9u; y1-.5bulb_diam=2/3h; + (x,y2l)=whatever[z1l,z2r]; x2l:=x; bulb(2,1,0); % bulb and arc +else: x2l:=x2l-.25u; pos1(flare,angle(-9u,h)); + lft x1r=hround .75u; bot y1l=vround .7h; y1r:=good.y y1r+eps; x1l:=good.x x1l; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal and arc +pos4(.25[hair_vair,cap_stem],0); +pos5(hair_vair,0); pos6(hair_vair,0); +y5=arm_thickness; y4=.3[y5,y3]; top y6=min(y5,slab,top y7l); +lft x6l=crisp.lft x7; z4l=whatever[z6l,(x3l,bot .58h)]; z5l=whatever[z6l,z4l]; +erase fill z4l--z6l--lft z6l--(lft x6l,y4l)--cycle; % erase excess at left +filldraw stroke z2e{right}..tension atleast .9 and atleast 1 + ..z3e{down}.. z4e---z5e--z6e; % stroke +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +ecchar "The numeral 3"; +beginchar("3",9u#,fig_height#,0); +italcorr fig_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,90); top y2r=h+o; +pos3(max(fine.breadth,.6[curve,cap_curve]-stem_corr),0); +rt x3r=hround(w-1.25u); +pos4(vair,-90); pos5(vair,-90); +pos6(mid_thickness,90); x2=x6=x8=.5[1.5u,x7]; +pos7(cap_curve,0); rt x7r=hround(w-.75u); lft x5=min(hround 3u,lft x6)-eps; +pos8(bot_thickness,-90); bot y8r=-o; +y3=.6[top y4l,bot y2l]; y7=.5[bot y6l,top y8l]; +top y5l=vround(.54h+.5vair); y5r=y6l; +x4=1/3[x5,x3l]; z4=z5+whatever*(150u,h); +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 +if serifs: numeric bulb_diam[]; + bulb_diam1=flare+.5(cap_stem-stem); bulb_diam2=flare+cap_stem-stem; + pos0(bulb_diam1,180); pos1(hair,180); + lft x0r=hround 1.25u; y0=min(.9h-.5bulb_diam1,.75h+.5bulb_diam1); + bulb(2,1,0); % upper bulb + pos10(bulb_diam2,-180); pos9(cap_hair,-180); + lft x10r=hround .75u; y10=max(.1h+.5bulb_diam2,.3h-.5bulb_diam2); + bulb(8,9,10); % lower bulb +else: pos1(.5[vair,flare],angle(-8u,h)); + lft x1r=hround u; bot y1l=vround .75h+o; + y1r:=good.y y1r+eps; x1l:=good.x x1l; + pos9(bot_thickness,angle(-2u,-h)); + lft x9r=hround .75u; top y9l=vround .25h-o; + y9r:=good.y y9r-eps; x9l:=good.x x9l; + filldraw stroke term.e(2,1,left,1,4); % upper terminal + filldraw stroke term.e(8,9,left,1,4); fi % lower terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "The numeral 4"; +beginchar("4",9u#,fig_height#,0); +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 +if serifs: dish_serif(7,2',a,1/3,1.75u, + b,1/3,min(1.75u,w-.5u-rt x7r)); fi % serif +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "The numeral 5"; +beginchar("5",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric bot_thickness,light_hair; +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +light_hair=hround(cap_hair if hefty: -\\2stem_corr fi); +pickup tiny.nib; pos5(vair,180); pos6(vair,90); +bot y5=vround(.53h-vair); top y6r=max(vround .61803h+o,top y6r+y5+eps-y6l); +pos3(light_hair,0); pos4(light_hair,0); +lft x3l=max(1.35u,2.1u-.5light_hair); x3=x4=x5; y4=y5; +top y3=h if not hefty: +\\o fi; +filldraw stroke z3e--z4e; % thin stem +penpos7(cap_stem-fine,0); penpos8(bot_thickness-fine,-90); +fine.rt x7r=hround(w-.9u); x8=.5[u,x7]; x6=.5[x5,x7]; +erase fill z5--bot z5--(x6,bot y5)--z6{left} + ..tension .9 and 1..{x5-x6,3(y5-y6)}cycle; % erase excess in middle +filldraw stroke z6e{left}..tension .9 and 1..{x5-x6,3(y5-y6)}z5e; % link +pickup fine.nib; pos6'(vair,90); z6'=z6; +y7=.5[y6,y8]; bot y8r=-o; +filldraw stroke pulled_arc.e(6',7) & pulled_arc.e(7,8); % bowl +if serifs: pos9(hair,-180); y9=.5y5; lft x9r=hround .9u; + pos10(flare+1/3(cap_stem-stem),-180); bulb(8,9,10); % bulb +else: pos9(3/7[bot_thickness,flare],angle(-7u,-h)); + lft x9r=hround(tiny.lft x3l-.75u); bot y9r=vround .15h-o; + x9l:=good.x x9l; y9l:=good.y y9l; + filldraw stroke term.e(8,9,left,1,4); fi % terminal +if hefty: pickup crisp.nib; pos1(slab,90); pos2(hair,0); + top y1r=h; x1=x4; rt x2r=hround(w-1.5u); y2=y1l-eps; + arm(1,2,a,0,0); % arm +else: numeric flag_breadth; flag_breadth=7/8[vair,cap_curve]; + pos1(flag_breadth,90); pos2(flag_breadth,60); + pos0(vair,90); top y1r=tiny.top y3; top y2r=vround .95h+o; y0r=y1r; + lft x1=tiny.lft x3l; x2r=.5[x1,x0]; rt x0=hround(w-1.6u); + erase fill top z1r--z1r...{right}z2r + --(x2r,top y1r)--cycle; % erase excess at top + filldraw stroke z1e...{right}z2e...z0e; fi % flag +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "The numeral 6"; +beginchar("6",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(top_thickness,-270); +pos3(side_thickness,-180); pos4(bot_thickness,-90); +pos5(side_thickness,0); pos6(vair,90); +lft x3r=w-rt x5r=hround max(.75u,1.5u-.5side_thickness); +x4=x6-.1u=x2-u=.5w; +top y2r=h+o; y3=.5[y2,y4]; bot y4r=-o; +y5=.5[y4,y6]; top y6=vround 5/8h+o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,180); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=min(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{left}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-360); pos0(flare,-360); + rt x0r=max(rt x2+eps,hround(w-1.2u)); + y0=vround min(.9h-.5flare,.85h+.5flare)+o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(vround .1[top_thickness,flare],90); + top y1r=vround .97h+o; rt x1=hround(x5-.5); + filldraw stroke term.e(2,1,right,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "The numeral 7"; +beginchar("7",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric arm_thickness, bot_width, top_shift, top_hair; +if hefty: arm_thickness=Vround(slab+2stem_corr); top_shift=0; + bot_width=hround .51[curve,cap_curve]; top_hair=.4[thin_join,bot_width]; +else: arm_thickness=Vround .4[stem,cap_stem]; top_shift=.5u; + bot_width=flare; top_hair=cap_hair; fi +if top_hair<tiny.breadth: top_hair:=tiny.breadth; fi +pickup crisp.nib; pos2(arm_thickness,90); pos1(hair,180); +top y2r=h; rt x2=hround(w-.75u+top_shift); +lft x1r=hround(.75u+.5top_shift); y1=good.y(y2l-beak/2)-eps; +arm(2,1,a,.3beak_darkness,-beak_jut); % arm and beak +pos3(hair,180); y3=good.y(y2r+beak/6)+eps; z3r=whatever[z1r,z.a0]; +penpos2'(eps,-90); z2'=z2r; +arm(2',3,b,beak_darkness,x3r-x.a0); % upward extension of beak +pickup tiny.nib; pos4(top_hair,0); pos6(bot_width,0); +bot y4=max(h-arm_thickness,h-slab,bot y2l); rt x4r=crisp.rt x2; +lft x6l=hround(3.5u+top_shift-.5bot_width); +if serifs: y6-.5bot_width=-o; filldraw z6l{down}..{up}z6r--cycle; % bulb +else: bot y6=-oo; fi +if hefty: erase fill rt z4r--z4r...{down}z6r + --(rt x4r,y6)--cycle; % erase excess at top + filldraw stroke z4e...{down}z6e; % stroke +else: pos5(top_hair,0); y5=2/3h; z5=whatever[z4,(.75u,y6)]; + erase fill rt z4r--z4r--z5r--(rt x4r,y5)--cycle; % erase excess at top + filldraw stroke z4e---z5e...{down}z6e; fi % stroke +penlabels(1,2,3,4,5,6); endchar; + +ecchar "The numeral 8"; +beginchar("8",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric top_thickness,mid_thickness,bot_thickness,upper_side,lower_side,theta; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +x0=.5w; y0=.54h; +if hefty: mid_thickness=vround 2/3vair; upper_side=hround(stem-3stem_corr); + lower_side=hround min(.5[curve,cap_curve]-stem_corr,upper_side+.25u); + penpos1(top_thickness,90); penpos2(upper_side,180); + penpos3(mid_thickness,270); penpos8(upper_side,360); + penpos4(mid_thickness,90); penpos7(lower_side,180); + penpos6(bot_thickness,270); penpos5(lower_side,360); + penpos0(vair,90); z3l=z0r; z4l=z0l; + x1=x6=.5w; x2r=w-x8r=hround u; x7r=w-x5r=hround .75u; + top y1r=h+o; bot y6r=-o; y2=y8=.5[y1l,y3l]; y7=y5=.5[y4l,y6l]; + filldraw stroke pulled_arc.e(1,2) + & pulled_arc.e(2,3); % left half of upper bowl + filldraw stroke pulled_arc.e(4,5) + & pulled_arc.e(5,6); % right half of lower bowl + filldraw stroke pulled_arc.e(6,7) + & pulled_arc.e(7,4); % left half of lower bowl + filldraw stroke pulled_arc.e(3,8) + & pulled_arc.e(8,1); % right half of upper bowl +else: pickup fine.nib; theta=90-angle(18u,h); slope:=-h/18u; + upper_side=max(fine.breadth,hround(.5[hair,stem]-stem_corr)); + lower_side=hround(.5[hair,stem]+stem_corr); + if lower_side>1.2upper_side: upper_side:=lower_side; fi + pos1(top_thickness,-90); pos6(bot_thickness,-90); + x1=x6=.5w; top y1l=h+o; bot y6r=-o; pos0(cap_stem,theta); + lft x2l=w-rt x8l=hround 1.25u; lft x7r=w-rt x5r=hround .75u; + x2r-x2l=upper_side-fine; x5r-x5l=lower_side-fine; + ellipse_set(1l,2l,3l,0l); ellipse_set(1r,2r,3r,0r); + ellipse_set(6l,5l,4l,0l); ellipse_set(6r,5r,4r,0r); + numeric tau; tau=max(.8,.20710678/(superness-.5)); + filldraw stroke z1e{left}..tension atleast tau..z2e{down} + ..z3e---z4e..z5e{down}..tension atleast tau..z6e{left}; % S stroke + pos7(lower_side,180); pos8(upper_side,180); + y7=.5[y5l,y5r]; y8=.5[y2l,y2r]; pos9(vair,90); z9=z0; + filldraw stroke z1e{right}..tension atleast tau..z8e{down} + ..tension atleast tau and atleast 1..{-18u,-.618h}z9e; % upper right stroke + filldraw stroke z6e{left}..tension atleast tau..z7e{up} + ..tension atleast tau and atleast 1..{18u,.5h}z9e; fi % lower left stroke +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "The numeral 9"; +beginchar("9",9u#,fig_height#,0); +italcorr fig_height#*slant-.5u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(bot_thickness,-90); +pos3(side_thickness,0); pos4(top_thickness,90); +pos5(side_thickness,180); pos6(vair,270); +w-rt x3r=lft x5r=hround max(.75u,1.5u-.5side_thickness); +x4-.1u=x6+.1u=x2+.75u=.5w; +bot y2r=-o; y3=.5[y2,y4]; top y4r=h+o; +y5=.5[y4,y6]; bot y6=vround 3/8h-o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,360); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=max(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{right}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-180); pos0(flare,-180); + lft x0r=min(lft x2-eps,hround 1.2u); + y0=vround max(.1h+.5flare,.15h-.5flare)-o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(.1[bot_thickness,flare],-120); + bot y1r=vround .07h-o; lft x1r=hround 1.3u; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +endinput; diff --git a/fonts/ec/src/exrleast.mf b/fonts/ec/src/exrleast.mf new file mode 100644 index 0000000000..077dffe06e --- /dev/null +++ b/fonts/ec/src/exrleast.mf @@ -0,0 +1,1130 @@ +% exrleast.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% accented lowercase letters ("eastern part") +% +% oct"236", oct"240" .. oct"274" +% +% oct"236" d with bar +% +% oct"240" a with breve +% oct"241" a with ogonek +% oct"242" c with acute +% oct"243" c with hacek +% oct"244" d with comma +% oct"245" e with hacek +% oct"246" e with ogonek +% oct"247" g with breve +% +% oct"250" l with acute +% oct"251" l with komma +% oct"252" l with (polnisches L) +% oct"253" n with acute +% oct"254" n with hacek +% oct"255" the letter eng +% oct"256" o with ungarian umlauts +% oct"257" r with acute +% +% oct"260" r with hacek +% oct"261" s with acute +% oct"262" s with hacek +% oct"263" s with cedille +% oct"264" t with comma +% oct"265" t with cedille +% oct"266" u with hungarian umlauts +% oct"267" u with circ +% +% oct"270" y with umlauts +% oct"271" z with acute +% oct"272" z with hacek +% oct"273" z with dot +% oct"274" ij + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "The letter bar d"; +beginchar(oct"236",10u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0r=z0'r; x0'=x1; x0=x2; +rt x1r=hround(w-2.5u+.5stem'); top y1=h; +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 if monospace: -hair fi; +lft x5r=hround max(1.35u-.5curve,.6u); y5=.5x_height if monospace: -.5hair fi ; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=max(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=max(x',.5[x5r,x6]); +filldraw stroke z3e{up}...pulled_arc.e(4,5) + & pulled_arc.e(5,6)...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{left}z4l)); +pickup tiny.nib; bot y2=if serifs:-min(oo,serif_drop) else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + sloped_serif.r(2,0,b,1/3,jut,min(oo,serif_drop)); fi % lower serif +% + pos8(bar,90); pos9(bar,90); + x8=.5[x4,x5]; + if serifs: x9=x2r+jut; else: x9=w; fi + if serifs: y8=y9=.5[y.a2-.5slab,y4+.5vair]; + else: y8=y9=.5[x_height,asc_height-serif_drop]; fi + filldraw stroke z8e--z9e; +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + + + +%%%%%% + + +ecchar "The letter a with breve"; +beginchar(oct"240",9u#,x_height#+acc_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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=x_height+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,x_height]-.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-2.5u+.5stem); y4=1/3[bh,x_height]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +% the accent +lowercase_breve(.5w,0,14,15,16); +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar; + +ecchar "The letter a with ogonek"; % from pl_ml (plfonts) +beginchar(oct"241",9u#,x_height#,the_ogonek_depth#); + bh#:=min(bar_height#,1.14x_height#-bar_height#); 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,2.1u-.5flare); x3=.5w-.5u; + 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-2.5u+.5stem); y4=1/3[bh,h]; + pos5(stem,0); x5=x4; y5=max(.55bh,2vair); + filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem + pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; + pos7(hround(curve-2stem_corr),180); + lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; + pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; + pos9(thin_join,360); z9l=z5l; + (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 serifs: numeric shaved_stem; shaved_stem=hround(stem-3stem_corr); + if is_bold: 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); + 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; % base of stem + fi; + penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); + if serifs: path p.l; p.l=z5'l---z10l...z11l{right}; fi + def the_pen= + if known ogonek_pen: ogonek_pen elseif serifs: tiny else: fine fi + enddef; + ogonek_breadth=if serifs and is_bold: slab else: xvair fi; + ogonek_pos=if serifs: (point if is_bold: 1.75 of p.l) else: 1.85 of p.l)+ + .5the_pen*up fi\\ else: (x10l,.5the_pen) fi; + put_ogonek(the_pen); +endchar; + +ecchar "The letter c with acute"; % from pl_ml (plfonts) +beginchar_twice(oct"242",8u#,x_height#,0); + italcorr x_height#*slant-.2u#; + adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); + pickup fine.nib; pos2(vair',90); pos4(vair',270); + x2=x4=.5(w+u); top y2r=vround(h+1.5oo); bot y4r=-oo; + pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h; + if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=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); 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); + hpos_corr=-.25u; put_accent; +repeat_once; +endchar; + +ecchar "The letter c with hachek"; % from cshachel.mf (csfonts) +beginchar(oct"243",8u#,lc_hachek_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(x_height+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5x_height; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,x_height]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=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); 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); +lc_hachek_accent(if serifs: 0.5[0.5[x3l,x3],x0r] else: x2 fi); +endchar; %% changed from ..[x3r,x3].. + + +ecchar "The letter d with hachek"; % from csotherl.mf (csfonts) +beginchar(oct"244",10u#+serif_fit#,lc_acute_height#,0); +italcorr lc_acute_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0, if monospace: 2u# else: dot_size#+0.25u# 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-2.5u+.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; bot y2=if serifs:-min(oo,serif_drop) else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + sloped_serif.r(2,0,b,1/3,jut,min(oo,serif_drop)); fi % lower serif +penlabels(0,1,2,3,4,5,6,7); +dtl_hachek(x0r+u+.5pdot_diam)(y1); +endchar; + +ecchar "The letter e with hachek"; % from cshachel.mf (csfonts) +beginchar(oct"245",7.25u#+max(.75u#,.5curve#),lc_hachek_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=x_height+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); +lc_hachek_accent(x2); +endchar; + + +ecchar "The letter e with ogonek"; % from pl_ml (plfonts) +beginchar(oct"246",7.25u#+max(.75u#,.5curve#),x_height#,the_ogonek_depth#); + 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); + path p.r; + p.r=if serifs: pulled_arc.r(3,4)...{x5-x4,5(y5-y4)}z5r + else: term.r(4',5,right,1,4) fi; + def the_pen= + if known ogonek_pen: ogonek_pen elseif serifs: tiny else: fine fi + enddef; + numeric tt; % the time... + tt=if serifs: if hefty: 2.6 else: 2.5 fi else: % sansserif + if is_bold: .6 else: .8 fi\\ fi; + join_angle=angle((direction tt of p.r) rotated 180); + ogonek_breadth=if serifs and is_bold: slab else: xvair fi; + ogonek_pos=(point tt of p.r)+.5(the_pen-if serifs: tiny else: fine fi)* + unitvector((direction tt of p.r) rotated 90); + put_ogonek(the_pen); +endchar; + +iff not variant_g: ecchar "The letter g with breve"; +beginchar(oct"247",9u#,x_height#+acc_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=x_height+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=x_height+o; + rt x6r=hround(w-.25u); y6+(.5[hair,flare])/2=.95[bar_height,x_height]+oo; + filldraw stroke z0e..{right}z5e; bulb(5,6,7); % ear +else: pos5(vair',100); top y5r=x_height+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 +% the accent +lowercase_breve(.5w,0,15,16,17); +penlabels(0,1,2,3,4,5,6,7,8,10,11,12,13,14); labels(8',8''); endchar; + +iff variant_g: ecchar "Variant letter g with breve"; +beginchar(oct"247",10u#+serif_fit#, + max(x_height#+acc_height#,min(asc_height#,2x_height#)),desc_depth#); +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-2.5u+.5stem'); +numeric edge; edge=lft x2l; +path edge_path; edge_path=(edge,x_height)--(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=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=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=x_height+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 +% the accent +lowercase_breve(.5w,0,12,13,14); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +ecchar "The letter l with acute"; % jk +beginchar_twice(oct"250",5u#,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=asc_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +put_accent; +repeat_once; +penlabels(1,2); endchar; + +ecchar "The letter l with hachek"; % from csotherl.mf (csfonts) +beginchar(oct"251",5u#,lc_acute_height#,0); l_width#:=5u#+2serif_fit#; +italcorr lc_acute_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#, + if monospace: 0 else: dot_size#+0.25u# 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=asc_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif +fi +if serifs: + dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(1,2); +dtl_hachek(x1r+u+.5pdot_diam)(y1); +endchar; + +ecchar "The letter crossed l"; % from pl_ml (plfonts) +beginchar_twice(oct"252",5u#,asc_height#,0); + italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; + charwd_:=charwd; + 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 or monospace: + sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif + fi + if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif + penlabels(1,2); + numeric unbalance; + unbalance=if monospace: 1 else: 1.1 fi; + if not monospace: + numeric cross_fit#; + cross_fit#=serif_fit#+if not serifs: if is_bold: 1 else: .75 fi\\ else: + .5 fi\\ u#; + charwd:=charwd_; + adjust_fit(cross_fit#+stem_shift#,unbalance*cross_fit#-stem_shift#); + fi + numeric l_jut; +% some funny fonts have an extremally small |jut|: + l_jut=.5stem+if serifs: max(limit_dist,if hefty: .8 fi\\ jut) else: 1.7u fi; + put_cross(l_jut,unbalance*l_jut); +repeat_once; +endchar; + +ecchar "The letter n with acute"; % from pl_ml (plfonts) +beginchar_twice(oct"253",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(2.5u-.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 + hpos_corr=-.5u; put_accent; +repeat_once; +penlabels(1,2,3,4); endchar; + +ecchar "The letter n with hachek"; % from cshachel.mf (csfonts) +beginchar(oct"254",10u#,lc_hachek_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(2.5u-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=x_height+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); +lc_hachek_accent(1/2[x1r,x.a1]); +endchar; + + +ecchar "The letter eng"; +beginchar(oct"255",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); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pos1'(shaved_stem,0); pos2'(shaved_stem,0); pos3(stem,0); +lft x1l=hround(2.5u-.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 +% j stroke + pickup tiny.nib; pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); + x7=.5[x4,x8r]; bot y7r=-d-oo; y8-.5flare=-.88d; + if monospace: + lft x8r=hround(x3r-3u+0.5stem); + else: + z8r=z9r; rt x9l=hround(x3r-3u+0.5stem); % floor .75u + fi; + (x,y7r)=whatever[z7l,z4l]; x7r:=max(x,.5[x8r,x7]); + filldraw stroke z4e{down}...z7e{left}; bulb(7,8,9); % arc and bulb +else: pickup fine.nib; pos4'(stem',0); z4'=z4; + pos8(.2[vair,stem'],-90); pos9(vair,-90); + lft x9r=hround -.75u+x3r-3u-0.5stem; + bot y9r=vround 5/6(-d-oo); + (x,y9l)=whatever[z9r,z3]; + x9l:=x; + z7r=z4'r; + (x4'l,y7l)=whatever[z9l,z7r]; x7l=x4'l; y7=y7r; + x8r=.5[x9r,x7r]; x8l:=.5[x9l,x7l]; bot y8r=-d-oo; + filldraw stroke z4'e..{down}z7e + & super_arc.e(7,8) + & z8e{left}..z9e; +fi % arc and terminal +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +ecchar "The letter o with double acute"; +beginchar_twice(oct"256",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +if monospace: hpos_corr=-2u; put_accent; hpos_corr=2u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +repeat_once; +penlabels(1,2,3,4,5,6,7,8); endchar; + + +ecchar "The letter r with acute"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +beginchar_twice(oct"257",if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi, + x_height#+acc_height#,0); +italcorr x_height#*slant if not serifs: +.25u# fi; +adjust_fit(serif_fit#,0); +define_whole_blacker_pixels(r_flare); % must come after |beginchar_twice| +pickup fine.nib; top y4r=x_height+oo; +if serifs: pos4(vair,90); pos5(hair,0); + x4=w-max(1.75u,.25u+r_flare); + rt x5r=hround(w-.5u+.5); y5+.5r_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 +pos3(thin_join,180); rt x3l=hround(2.5u-.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=x_height+min(oo,serif_drop); +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1l=x0l=x0'l=x2l; +lft x1l=hround(2.5u-.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 +% the accent +hpos_corr=-.25u; put_accent; +repeat_once; +penlabels(1,2,3,4,5,6,7,8); endchar; + + +ecchar "The letter r with hachek"; % from cshachel.mf (csfonts) +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar(oct"260",if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi, + lc_hachek_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=w-max(1.75u,.25u+r_flare); + rt x5r=hround(w-.5u+.5); y5+.5r_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 +pos3(thin_join,180); rt x3l=hround(2.5u-.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=x_height+min(oo,serif_drop); +pos0'(hround(stem-3stem_corr),0); y0=y0'=y3; x1l=x0l=x0'l=x2l; +lft x1l=hround(2.5u-.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); +lc_hachek_accent(0.5[x1,x4]); +endchar; + +ecchar "The letter s with acute"; % from pl_ml (plfonts) +beginchar_twice(oct"261",7.1u#,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); + hpos_corr=-.5u; put_accent; +repeat_once; +endchar; + +ecchar "The letter s with hachek"; % from cshachel.mf (csfonts) +beginchar(oct"262",7.1u#,lc_hachek_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:=-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; pos2(max(fine.breadth,s_slab-vround vair_corr),-100); +pos0(ess',theta); pos7(s_slab,-90); x2l=x0=x7=.5w; +top y2l=x_height+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,x_height]); + 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(.93x_height+1.5oo); bot y8r=vround .1x_height-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); +lc_hachek_accent(0.5[x3l,x1l]); +endchar; + +ecchar "The letter cedilla s"; +beginchar(oct"263",7.1u#,x_height#,0.875desc_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:=-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; pos2(max(fine.breadth,s_slab-vround vair_corr),-100); +pos0(ess',theta); pos7(s_slab,-90); x2l=x0=x7=.5w; +top y2l=x_height+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,x_height]); + 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(.93x_height+1.5oo); bot y8r=vround .1x_height-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 +% the accent +lowercase_cedilla(x7,0,11,12,13,14,15); +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +ecchar "The letter t with hachek"; % from csotherl.mf (csfonts) +%beginchar(oct"264",6u#+max(u#,.5stem#), +% min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),0); +beginchar(oct"264",6u#+max(u#,.5stem#),lc_acute_height#,0); +numeric hh'; +hh' = min(asc_height,if hefty:9/7 else:10/7 fi\\ x_height); +italcorr lc_acute_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(2.5u-.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=hh'; + 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=hh'; + 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'; + 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; +penlabels(1,2,3,4,5,6,7,8); +dtl_hachek(x8)(y1+.5pdot_diam); +endchar; + +ecchar "The letter cedilla t"; +beginchar(oct"265",6u#+max(u#,.5stem#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),0.875desc_depth#); +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(2.5u-.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'; + 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; +% the accent +lowercase_cedilla(x4,0,9,10,11,12,13); +penlabels(1,2,3,4,5,6,7,8,9,10,1,12,13); endchar; + +ecchar "The letter u with double acute"; +beginchar_twice(oct"266",10u#,x_height#+acc_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(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +if monospace: hpos_corr=-2u; put_accent; hpos_corr=2u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +repeat_once; +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + + +ecchar "The letter circle u"; +beginchar(oct"267",10u#,x_height#+acc_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(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +% the accent +lowercase_circle(.5w,(1/3[x_height,h]+apex_o),7,8,9,10); +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + + +ecchar "The letter y with umlaut"; +beginchar(oct"270",if serifs:9.5u# else:9u# fi,lc_trema_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=x_height; 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 +% the accent +lowercase_umlaut(0,0,10,11,12,13); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +ecchar "The letter z with acute"; % from pl_ml (plfonts) +beginchar_twice(oct"271",8u#,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); + hpos_corr=-.5u; put_accent; +repeat_once; +endchar; + +ecchar "The z with hachek"; % from cshachel.mf (csfonts) +beginchar(oct"272",8u#,lc_hachek_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=x_height; y2=min(y1,x_height-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=x_height; 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); +lc_hachek_accent(1/2[x6r,x1r]); +endchar; + +ecchar "The letter z with dot above"; % from pl_ml (plfonts) +beginchar_twice(oct"273",8u#,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); + put_dot(tiny,max(dot_size#,cap_curve#)); +repeat_once; +endchar; + +ecchar "The letter ij"; +beginchar(oct"274",10.5u#,min(asc_height#,10/7x_height#+.5idot_diam#),desc_depth#); +italcorr h#*slant-serif_fit# + .5idot_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(.25w-.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +pos3(idot_diam,0); pos4(idot_diam,90); +if serifs: x3r=max(x1r,x1+.5(idot_diam-tiny)-.2jut) 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 +% +adjust_fit(serif_fit#+2stem_shift# if monospace:+\\.5u# fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos11(stem',0); pos12(stem',0); +rt x11r=hround(.75w+.25u+.5stem'); x11=x12; +top y11=x_height if serifs: +min(oo,serif_drop) fi; bot y12=-1/3d; +filldraw stroke z11e--z12e; % stem +pos13(idot_diam,0); pos14(idot_diam,90); +x13r=x11r; top y14r=h+1; +if bot y14l-top y11<slab: y14l:=min(y14r-eps,y11+tiny+slab); fi +x13=x14; y13=.5[y14l,y14r]; dot(13,14); % dot +if serifs: sloped_serif.l(11,12,aa,1/3,1.1jut,serif_drop); % upper serif + pickup tiny.nib; pos15(vair,-90); pos16(hair,-180); pos17(flare,-180); + x15=.5[x12,x16r]; bot y15r=-d-oo; y16-.5flare=-.88d; + if monospace: lft x16r=.5w else: z16r=z17r; rt x17l=.5w+floor .75u fi; + (x,y15r)=whatever[z15l,z12l]; x15r:=max(x,.5[x16r,x15]); + filldraw stroke z12e{down}...z15e{left}; bulb(15,16,17); % arc and bulb +else: pickup fine.nib; pos12'(stem',0); z12'=z12; + pos16(.2[vair,stem'],-90); pos17(vair,-90); + lft x17r=hround .5w-.75u; bot y17r=vround 5/6(-d-oo); + (x,y17l)=whatever[z17r,z13]; x17l:=x; + z15r=z12'r; (x12'l,y15l)=whatever[z17l,z15r]; x15l=x12'l; y15=y15r; + x16r=.5[x17r,x15r]; x16l:=.5[x17l,x15l]; bot y16r=-d-oo; + filldraw stroke z12'e..{down}z15e & super_arc.e(15,16) + & z16e{left}..z17e; fi % arc and terminal +penlabels(1,2,3,4,5,6,11,12,13,14,15,16,17); endchar; + + +endinput; diff --git a/fonts/ec/src/exrlig.mf b/fonts/ec/src/exrlig.mf new file mode 100644 index 0000000000..81ebc5b100 --- /dev/null +++ b/fonts/ec/src/exrlig.mf @@ -0,0 +1,221 @@ +% exrlig.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% roman style ligature characters +% dotless i,j; ligatures fi, ff, fl, ffi, ffl + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Dotless letter i"; +beginchar(oct"031",5u#,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 or monospace: + sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +penlabels(1,2); endchar; + +ecchar "Dotless letter j"; +beginchar(oct"032",5.5u#,x_height#,desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+.5u# fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +rt x1r=hround(.5w+.25u+.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=-1/3d; +filldraw stroke z1e--z2e; % stem +if serifs: sloped_serif.l(1,2,a,1/3,1.1jut,serif_drop); % upper serif + pickup tiny.nib; pos5(vair,-90); pos6(hair,-180); pos7(flare,-180); + x5=.5[x2,x6r]; bot y5r=-d-oo; y6-.5flare=-.88d; + if monospace: lft x6r=0 else: z6r=z7r; rt x7l=floor .75u fi; + (x,y5r)=whatever[z5l,z2l]; x5r:=max(x,.5[x6r,x5]); + filldraw stroke z2e{down}...z5e{left}; bulb(5,6,7); % arc and bulb +else: pickup fine.nib; pos2'(stem',0); z2'=z2; + pos6(.2[vair,stem'],-90); pos7(vair,-90); + lft x7r=hround -.75u; bot y7r=vround 5/6(-d-oo); + x3r=x1r; top y4r=min(2x_height,h+1); + (x,y7l)=whatever[z7r,(x1,min(h,asc_height))]; x7l:=x; + z5r=z2'r; (x2'l,y5l)=whatever[z7l,z5r]; x5l=x2'l; y5=y5r; + x6r=.5[x7r,x5r]; x6l:=.5[x7l,x5l]; bot y6r=-d-oo; + filldraw stroke z2'e..{down}z5e & super_arc.e(5,6) + & term.e(6,7,left,1,4); fi % arc and terminal +penlabels(1,2,5,6,7); endchar; + + +numeric itc#; % modified italic correction on `f' and `ff' +itc#=if serifs: max(0,flare#-.25u#) else: 1.25u# fi; + + +ecchar "The ligature fi"; +beginchar(oct"034",10u#+2letter_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5if serifs:stem# else:dot_size# fi-2u#; +normal_adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); lft x1l=hround(2.5u-.5stem'); +pos11(stem',0); rt x11r=hround(w-2.5u+.5stem'); +pos12(stem',0); x11=x12; bot y12=0; +pickup fine.nib; numeric bulb_diam, inner_jut; +if serifs: bulb_diam=hround 1/4[.8[stem,flare],dot_size]; + pos2(bulb_diam,0); x2r=x12r; + y2+.5bulb_diam=.8[x_height,h+oo]; top y11=x_height+min(oo,serif_drop); + if rt x1r+jut+.5u+2<=lft x11l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+2=lft x11l-inner_jut; fi +else: bulb_diam=max(stem,dot_size); + pos2(6/7[vair,flare],90); top y2r=h; rt x2=hround 5.3u; + pickup tiny.nib; pos13(bulb_diam,0); pos14(bulb_diam,90); + x13=x11-.5; top y14r=min(2x_height,h+1); top y11=x_height; + if bot y14l-x_height<tiny: y14l:=min(y14r-eps,y11+2tiny); fi + x13=x14; y13=.5[y14l,y14r]; dot(13,14); % dot +fi; % this is the ligature we're drawing +f_stroke(1,2,a,b,c,jut,inner_jut); % left stem, arc, terminal, serif +pickup tiny.nib; filldraw stroke z11e--z12e; % right stem +pickup crisp.nib; top y3r=top y4r=x_height; lft x3=hround .5u-1; +pos3(bar,90); pos4(bar,90); +if serifs: x4=x11; % bar will overlap upper right serif + sloped_serif.l(11,12,d,1/3,jut,min(oo,serif_drop)); % upper right serif + dish_serif(12,11,e,1/3,inner_jut,f,1/3,jut); % lower right serif +else: rt x4= hround 5.3u; fi +pickup crisp.nib; filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4,11,12,13,14); endchar; + + +ecchar "The ligature ff"; +beginchar(oct"033",10.5u#+2letter_fit#,asc_height#,0); +italcorr asc_height#*slant+if serifs:flare#-.25u# else: 1.25u# fi; +normal_adjust_fit(0,0); +pickup tiny.nib; pos1(stem',0); lft x1l=hround(2.5u-.5stem'); +pos11(stem',0); rt x11r=hround(w-3u+.5stem'); +pickup fine.nib; numeric bulb_diam, inner_jut; +if serifs: bulb_diam=hround .8[stem,flare]; + pos2(bulb_diam,0); pos12(bulb_diam,0); + rt x2r=hround(rt x11r-stem_corr); lft x12l=hround(w-.75u+.5); + y2+.5bulb_diam=.85[x_height,h+oo]; y12+.5bulb_diam=.9[x_height,h+oo]; + if rt x1r+jut+.5u+2<=lft x11l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+2=lft x11l-inner_jut; fi +else: pos2(5/7[vair,flare],90); top y2r=h; rt x2=hround 6.25u; + pos12(5/7[vair,flare],90); y12=y2; rt x12=hround(w+.75u); fi +f_stroke(1,2,a,b,c,jut,inner_jut); % left stem, arc, terminal, serif +f_stroke(11,12,d,e,f,inner_jut,1.25jut); % right stem, arc, terminal, serif +pickup crisp.nib; top y3r=top y4r=x_height; lft x3=hround .5u-1; +pos3(bar,90); pos4(bar,90); +rt x4=hround(w-1/3u); +if hefty: pos3'(bar,90); x3'-x1=x4-x11; y3'=y3; + pos4'(bar,90); x4'=x11; y4'=y4; + filldraw stroke z3e--z3'e; filldraw stroke z4'e--z4e; % bars +else: filldraw stroke z3e--z4e; fi % bar +penlabels(1,2,3,4,11,12); endchar; + + +ecchar "The ligature fl"; +beginchar(oct"035",10u#+2letter_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +normal_adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); lft x1l=hround(2.5u-.5stem'); +pos11(stem',0); rt x11r=hround(w-2.5u+.5stem'); +pos12(stem',0); x11=x12; bot y12=0; top y11=h; +filldraw stroke z11e--z12e; % right stem +pickup fine.nib; numeric bulb_diam, inner_jut; +if serifs: bulb_diam=hround .8[stem,flare]; + pos2(bulb_diam,0); x2r=x11r-stem_corr; + y2+.5bulb_diam=.9[x_height,h+oo]; + sloped_serif.l(11,12,d,1/3,eps,max(serif_drop,oo)); % erase excess at top + if rt x1r+jut+.5u+2<=lft x11l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+2=lft x11l-inner_jut; fi +else: pos2(5/7[vair,flare],90); top y2r=h; rt x2=hround 5.3u; fi +f_stroke(1,2,a,b,c,jut,inner_jut); % left stem, arc, terminal, serif +pickup crisp.nib; top y3r=top y4r=x_height; lft x3=hround .5u-1; +pos3(bar,90); pos4(bar,90); +if serifs: x4=x11; + dish_serif(12,11,e,1/3,inner_jut,f,1/3,jut); % lower right serif +else: rt x4= hround 5.3u; fi +pickup crisp.nib; filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4,11,12); endchar; + +ecchar "The ligature ffi"; +beginchar(oct"036",15u#+4letter_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5if serifs:stem# else:dot_size# fi-2u#; +normal_adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); lft x1l=hround(2.5u-.5stem'); +pos11(stem',0); lft x11l=hround(.5w-.5stem'); +pos21(stem',0); rt x21r=hround(w-2.5u+.5stem'); +pos22(stem',0); x21=x22; bot y22=0; +pickup fine.nib; numeric bulb_diam, inner_jut; +if serifs: bulb_diam=hround 1/4[.8[stem,flare],dot_size]; + pos2(bulb_diam,0); x2r=x11r-stem_corr; + pos12(bulb_diam,0); x12r=x21r; + top y21=x_height+min(oo,serif_drop); + y2+.5bulb_diam=.8[x_height,h+oo]; y12=y2; + if rt x1r+jut+.5u+2<=lft x11l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+2=lft x11l-inner_jut; fi +else: bulb_diam=max(stem,dot_size); + pos2(5/7[vair,flare],90); top y2r=h; rt x2=hround 5.75u; + pos12(6/7[vair,flare],90); y12=y2; rt x12=hround(.5w+2.8u); + pickup tiny.nib; pos23(bulb_diam,0); pos24(bulb_diam,90); + x23=x21-.5; top y24r=min(2x_height,h+1); top y21=x_height; + if bot y24l-x_height<tiny: y24l:=min(y24r-eps,y21+2tiny); fi + x23=x24; y23=.5[y24l,y24r]; dot(23,24); fi % dot +f_stroke(1,2,a,b,c,jut,inner_jut); % left stem, arc, terminal, serif +f_stroke(11,12,d,e,f,inner_jut,inner_jut); % middle ditto +pickup tiny.nib; filldraw stroke z21e--z22e; % right stem +pickup crisp.nib; top y3r=top y4r=x_height; lft x3=hround.5u-1; +pos3(bar,90); pos4(bar,90); +if serifs: x4=x21; % bar will overlap upper right serif + sloped_serif.l(21,22,g,1/3,jut,min(oo,serif_drop)); % upper right serif + dish_serif(22,21,h,1/3,inner_jut,i,1/3,jut); % lower right serif +else: rt x4=hround(.5w+2.8u); fi +pickup crisp.nib; +if hefty: pos3'(bar,90); x3'-x1=x4-x11; y3'=y3; + pos4'(bar,90); x4'=x11; y4'=y4; + filldraw stroke z3e--z3'e; filldraw stroke z4'e--z4e; % bars +else: filldraw stroke z3e--z4e; fi % bar +penlabels(1,2,3,4,11,12,21,22,23,24); endchar; + +ecchar "The ligature ffl"; +beginchar(oct"037",15u#+4letter_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +normal_adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); lft x1l=hround(2.5u-.5stem'); +pos11(stem',0); lft x11l=hround(.5w-.5stem'); +pos21(stem',0); rt x21r=hround(w-2.5u+.5stem'); +pos22(stem',0); x21=x22; bot y22=0; top y21=h; +filldraw stroke z21e--z22e; % right stem +pickup fine.nib; numeric bulb_diam, inner_jut; +if serifs: bulb_diam=hround .8[stem,flare]; + pos2(bulb_diam,0); x2r=x11r-stem_corr; + pos12(bulb_diam,0); x12r=x21r-stem_corr; + y2+.5bulb_diam=.85[x_height,h+oo]; y12+.5bulb_diam=.9[x_height,h+oo]; + sloped_serif.l(21,22,g,1/3,eps,max(serif_drop,oo)); % erase excess at top + if rt x1r+jut+.5u+2<=lft x11l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+2=lft x11l-inner_jut; fi +else: pos2(5/7[vair,flare],90); top y2r=h; rt x2=hround 5.75u; + pos12(5/7[vair,flare],90); y12=y2; rt x12=hround(.5w+2.8u); fi +f_stroke(1,2,a,b,c,jut,inner_jut); % left stem, arc, terminal, serif +f_stroke(11,12,d,e,f,inner_jut,inner_jut); % middle ditto +pickup crisp.nib; top y3r=top y4r=x_height; lft x3=hround.5u-1; +pos3(bar,90); pos4(bar,90); +if serifs: dish_serif(22,21,h,1/3,inner_jut,i,1/3,jut); % lower right serif + pickup crisp.nib; x4=x21; +else: rt x4=hround(.5w+2.8u); fi +if hefty: pos3'(bar,90); x3'-x1=x4-x11; y3'=y3; + pos4'(bar,90); x4'=x11; y4'=y4; + filldraw stroke z3e--z3'e; filldraw stroke z4'e--z4e; % bars +else: filldraw stroke z3e--z4e; fi % bar +penlabels(1,2,3,4,11,12,21,22); endchar; + +endinput; diff --git a/fonts/ec/src/exrligtb.mf b/fonts/ec/src/exrligtb.mf new file mode 100644 index 0000000000..8ba304b8b5 --- /dev/null +++ b/fonts/ec/src/exrligtb.mf @@ -0,0 +1,341 @@ +% exrligtb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% ligtable and kerning programs for roman style fonts +% +% This file should not be called for monospaced fonts ! +% +% The following ligatures are integrated: +% +% fi +% fl +% ff +% ffi +% ffl +% +% -- +% --- +% -<hyphenchar> +% >> +% << +% `` +% '' +% ,, +% !` and ?` + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ligtable + "f": "i"=:oct"034", + "f"=:oct"033", + "l"=:oct"035", + "'" kern itc#, + "`" kern itc#, + oct"020" kern itc#, + oct"021" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; +ligtable + oct"033": % ff + "i"=:oct"036", + "l"=:oct"037", + "'" kern itc#, + "`" kern itc#, + oct"020" kern itc#, + oct"021" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; +ligtable + "`": "`"=:oct"020", + oct"020" kern 2u#, + "?" kern 2u#, + "!" kern 2u#; + +ligtable + "'": "'"=:oct"021", + oct"021" kern 2u#, + "?" kern 2u#, + "!" kern 2u#; + +ligtable + "-": "-" =: oct"025", + oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar> + +ligtable + oct"025": "-"=:oct"026"; % "---" => emdash + +ligtable "<": "<" =: oct"023"; % "<<" +ligtable ">": ">" =: oct"024"; % ">>" +ligtable ",": "," =: oct"022"; % ",," +ligtable "!": "`" =: oct"275"; % spanish shriek +ligtable "?": "`" =: oct"276"; % spanish query + + +def lig_o_table (expr k) = + "o" kern k, oct"256" kern k, oct"362" kern k, oct"363" kern k, + oct"364" kern k, oct"365" kern k, oct"366" kern k, + oct"367" kern k, oct"370" kern k +enddef; + +def lig_a_table (expr k) = + "a" kern k, oct"240" kern k, oct"241" kern k, oct"340" kern k, + oct"341" kern k, oct"342" kern k, oct"342" kern k, + oct"343" kern k, oct"344" kern k, oct"345" kern k, + oct"346" kern k +enddef; + +def lig_c_table (expr k) = + "c" kern k, oct"242" kern k, oct"243" kern k, oct"347" kern k +enddef; + +def lig_e_table (expr k)= + "e" kern k, oct"245" kern k, oct"246" kern k, oct"350" kern k, + oct"351" kern k, oct"352" kern k, oct"353" kern k +enddef; + +def lig_u_table (expr k)= + "u" kern k, oct"266" kern k, oct"267" kern k, oct"371" kern k, + oct"372" kern k, oct"373" kern k, oct"374" kern k +enddef; + +def lig_A_table (expr k)= + "A" kern k, oct"200" kern k, oct"201" kern k, oct"300" kern k, + oct"301" kern k, oct"302" kern k, oct"303" kern k, + oct"304" kern k, oct"305" kern k, oct"306" kern k +enddef; + +def lig_O_table (expr k)= + "O" kern k, oct"216" kern k, oct"322" kern k, oct"323" kern k, + oct"324" kern k, oct"325" kern k, oct"326" kern k, + oct"327" kern k, oct"330" kern k +enddef; + +def lig_CGQ_table (expr k)= + "C" kern k, "G" kern k, oct"202" kern k, oct"203" kern k, + oct"207" kern k, oct"307" kern k, "Q" kern k +enddef; + +def lig_U_table (expr k)= + "U" kern k, oct"226" kern k, oct"227" kern k, oct"331" kern k, + oct"332" kern k, oct"333" kern k, oct"334" kern k +enddef; + +def lig_cA_table = + "A": oct"200": oct"300": oct"301": oct"302": + oct"303": oct"304": oct"305": +enddef; + +k#:=-.5u#; ku#:=-1u#; kk#:=-1.5u#; kkk#:=-2u#; % four degrees of kerning + +ligtable boundarychar: + oct"020" kern -kk#, oct"021" kern -kk#, oct"022" kern -kk#, + oct"055" kern -kk#, oct"140" kern -kk#, oct"047" kern -kk#; + +ligtable oct"022": + oct"015" kern 2u#, "," kern 2u#, + oct"015": + oct"022" kern 2u#, + "j" kern -kkk#, oct"032" kern -kkk#, "g" kern -ku#, oct"247" kern -ku#, + "y" kern -ku#, oct"270" kern -ku#, oct"375" kern -ku#, + "v" kern kk#, "w" kern ku#, "V" kern kkk#, "W" kern kk#, + "Y" kern kk#, oct"230" kern kk#, oct"335" kern kk#, + lig_O_table(k#), lig_CGQ_table(k#), + boundarychar kern -kk#; + +ligtable oct"020": + oct"140" kern 2u#, oct"020" kern 2u#, boundarychar kern -kk#; + +ligtable oct"021": + oct"047" kern 2u#, oct"021" kern 2u#, boundarychar kern -kk#; + +ligtable oct"024": % ">>" + "." kern kk#, "," kern kk#; + +ligtable + "k": "W" kern kk#, "V" kern kk#, + if serifs: "v": lig_a_table(-u#), fi + "w": lig_e_table(k#), + lig_a_table(k#), + lig_o_table(k#), + lig_c_table(k#); + +ligtable + "P": lig_A_table(kk#), + "y": oct"270": oct"375": % \"y, \'y + lig_o_table(k#), + lig_e_table(k#), + lig_a_table(k#), + "." kern kk#, + "," kern kk#; +ligtable + "F":"V": "W": + if serifs: + "o" kern kk#, + "a" kern kk#, + "e" kern kk#, + "y" kern kk#, + "u" kern kk#, + "r" kern kk#, + "v" kern kk#, + "s" kern kk#, + "c" kern kk#, + "d" kern kk#, + "g" kern kk#, + "m" kern kk#, + "n" kern kk#, + "p" kern kk#, + "w" kern kk#, + "z" kern kk#, + oct"346" kern kk#, + oct"370" kern kk#, + lig_A_table(kkk#), + else: + "o" kern k#, + "a" kern k#, + "e" kern k#, + "y" kern k#, + "u" kern k#, + "r" kern k#, + "v" kern k#, + "s" kern k#, + "c" kern k#, + "d" kern k#, + "g" kern k#, + "m" kern k#, + "n" kern k#, + "p" kern k#, + "w" kern k#, + "z" kern k#, + oct"346" kern k#, + oct"370" kern k#, + lig_A_table(kk#), + fi + "X": lig_O_table(k#), + lig_CGQ_table(k#); + +ligtable "K": if serifs: + "v" kern kk#, + "w" kern k#, + else: + "v" kern k#, + fi + lig_o_table(k#), + lig_CGQ_table(k#); + +ligtable + "T": oct"224": oct"225": % \v{T}, \c{T} + "y" kern if serifs: k# else: kk# fi, + "Y": oct"230": oct"335": % \"Y, \'Y + "e" kern kk#, + "o" kern kk#, + "r" kern kk#, + "a" kern kk#, + "u" kern kk#, + "n" kern kk#, + oct"031" kern kk#, % \i + "c" kern kk#, + "d" kern kk#, + "g" kern kk#, + "p" kern kk#, + "s" kern kk#, + "v" kern kk#, + "w" kern kk#, + "x" kern kk#, + "z" kern kk#, + lig_A_table(kk#); +ligtable + "O": oct"216": oct"322": oct"323": oct"324": oct"325": oct"326": oct"330": + "D": oct"204": oct"320": + "X" kern k#, + "W" kern k#, + lig_A_table(k#), + "V" kern k#, + "Y" kern k#, oct"230" kern k#, oct"335" kern k#; +if serifs: +ligtable + "m": "n": "h": + "W" kern kk#, "V" kern kk#, + oct"253": oct"254": oct"255": oct"361": % \'n, \v{n}, \ng, \~n + "t" kern k#, + lig_u_table(k#), + "b" kern k#, + "y" kern k#, + "v" kern k#, + "w" kern k#; +ligtable + "c": oct"242": oct"243": oct"347": % \'c, \v{c}, \c{c} + "h" kern k#, + "k" kern k#; +fi +ligtable + "o": oct"256": oct"362": oct"363": oct"364": oct"365": oct"366": oct"370": + "b": "p": lig_e_table(-k#), + lig_o_table(-k#), + "x" kern k#, + "d" kern -k#, + lig_c_table(-k#), + "q" kern -k#, + "a": oct"240": oct"340": oct"341": oct"342": oct"343": oct"344": oct"345": + if serifs: + "v" kern k#, + "j" kern u#, + else: + "r" kern k#, + fi + "t": oct"264": oct"265": + "y" kern k#, oct"270" kern k#, oct"375" kern k#, + "u": oct"266": oct"267": oct"371": oct"372": oct"373": oct"374": + "w" kern k#; +ligtable + lig_cA_table + "y" kern if serifs: kk# else: k# fi, + oct"270" kern if serifs: kk# else: k# fi, + oct"375" kern if serifs: kk# else: k# fi, + oct"202": %\k{A} + "v" kern if serifs: kkk# else: k# fi, + "w" kern if serifs: kk# else: k# fi, + lig_c_table(k#), + "d" kern k#, oct"244" kern k#, + oct"236" kern k#, oct"360" kern k#, + lig_e_table(k#), + lig_o_table(k#), + "q" kern k#, + if serifs: "R": oct"217": fi + "t" kern k#, oct"264" kern k#, oct"265" kern k#, + lig_CGQ_table(k#), + lig_O_table(k#), + lig_U_table(k#), + "L": oct"210": oct"211": oct"212": + "T" kern kk#, oct"224" kern kk#, oct"225" kern kk#, + "Y" kern kk#, oct"230" kern kk#, oct"335" kern kk#, + "V" kern kkk#, + "W" kern kkk#; +ligtable "g": "j" kern -k#; % logjam +ligtable "I": "I" kern -k#; % Richard III +ligtable "e": "V" kern kk#; % eV +ligtable oct"241": % \k{a} + if serifs: "g" kern -k# , "p" kern -k#, fi\\ "w" kern k#; +ligtable oct"252": % \l + "'" kern -k# + if not serifs: , + "a" kern k#, oct"241" kern k#, "c" kern k#, oct"242" kern k#, + "d" kern k#, "e" kern k#, oct"246" kern k#, "g" kern k#, + "o" kern k#, oct"363" kern k#, "s" kern k#, oct"261" kern k# + fi; + +endinput; diff --git a/fonts/ec/src/exrllett.mf b/fonts/ec/src/exrllett.mf new file mode 100644 index 0000000000..b2f738a667 --- /dev/null +++ b/fonts/ec/src/exrllett.mf @@ -0,0 +1,833 @@ +% exrllett.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% roman lowercase letters a to z + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "The letter a"; +beginchar("a",9u#,x_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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,2.1u-.5flare); x3=.5w-.5u; + 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-2.5u+.5stem); y4=1/3[bh,h]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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; + +ecchar "The letter b"; +beginchar("b",10u#+serif_fit#,asc_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); top y1=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; + +ecchar "The letter c"; +beginchar("c",8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(h+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=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); 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; + +ecchar "The letter d"; +beginchar("d",10u#+serif_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0r=z0'r; x0'=x1; x0=x2; +rt x1r=hround(w-2.5u+.5stem'); top y1=h; +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; bot y2=if serifs:-min(oo,serif_drop) else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + sloped_serif.r(2,0,b,1/3,jut,min(oo,serif_drop)); fi % lower serif +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "The letter e"; +beginchar("e",7.25u#+max(.75u#,.5curve#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_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; + +ecchar "The letter f"; +beginchar("f",5.5u#,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(2.5u-.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); +rt x4=hround(w-if monospace:.75u+1 else:1/3u fi); +filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4); endchar; + +iff not variant_g: ecchar "The letter g"; +beginchar("g",9u#,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; + +iff variant_g: ecchar "Variant letter g"; +beginchar("g",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 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-2.5u+.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=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=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; + +ecchar "The letter 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(2.5u-.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; + +ecchar "The letter i"; +beginchar("i",5u#,min(asc_height#,10/7x_height#+.5idot_diam#),0); +italcorr h#*slant-serif_fit# + .5idot_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(idot_diam,0); pos4(idot_diam,90); +if serifs: x3r=max(x1r,hround(x1+.5idot_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 or monospace: + sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +penlabels(1,2,3,4); endchar; + +ecchar "The letter j"; +beginchar("j",5.5u#,min(asc_height#,10/7x_height#+.5idot_diam#),desc_depth#); +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(idot_diam,0); pos4(idot_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; + +ecchar "The letter k"; +beginchar("k",9.5u#,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(2.5u-.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; + +ecchar "The letter l"; +beginchar("l",5u#,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 or monospace: + sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(1,2); endchar; + +ecchar "The letter m"; +beginchar("m",15u#,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(2.5u-.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; + +ecchar "The letter 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(2.5u-.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; + +ecchar "The letter o"; +beginchar("o",9u#,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; + +ecchar "The letter 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(2.5u-.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; + +ecchar "The letter 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 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-2.5u+.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; + +ecchar "The letter r"; +numeric r_flare#; r_flare#=.75[if serifs: stem# else: vair# fi,flare#]; +define_whole_blacker_pixels(r_flare); +beginchar("r",if serifs:max(7u#,5.5u#+r_flare#) else:6.5u# fi,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(1.75u,.25u+r_flare); + rt x5r=hround(w-.5u+.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(2.5u-.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(2.5u-.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; + +ecchar "The letter s"; +beginchar("s",7.1u#,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; + +ecchar "The letter t"; +beginchar("t",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(2.5u-.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'; + 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; +penlabels(1,2,3,4,5,6,7,8); endchar; + +ecchar "The letter 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(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=h+min(oo,serif_drop); 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +penlabels(1,2,3,4,5); labels(6); endchar; + +ecchar "The letter v"; +beginchar("v",if serifs: 9.5u# else:9u# fi,x_height#,0); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +left_stem=fudged.stem-stem_corr; +right_stem=min(fudged.hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75jut; x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4=h; +x2-x1=x4-x3; x2l+apex_corr=x3l; y2=y3=-apex_oo; +alpha=diag_ratio(2,right_stem,y1-y2,x4r-x1l-apex_corr); +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*right_stem,0); penpos4(alpha*right_stem,0); +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0>notch_cut: y0:=notch_cut; + fill z0+.5right{up}...{z4-z3}diag_end(3l,4l,1,1,4r,3r) + --diag_end(4r,3r,1,1,2l,1l)--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z0+.5left--cycle; % left and right diagonals +else: fill z0--diag_end(0,4l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l) + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+jut+.5u+1<=lft x4'l-jut: inner_jut=jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut); % left serif + dish_serif(4',3,c,.6,inner_jut,d,1/2,outer_jut)(dark); fi % right serif +penlabels(0,1,2,3,4); endchar; + +ecchar "The letter w"; +beginchar("w",13u#,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; + +ecchar "The letter x"; +beginchar("x",if serifs:9.5u# else:9u# fi,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; + +ecchar "The letter y"; +beginchar("y",if serifs:9.5u# else:9u# fi,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; + +ecchar "The letter z"; +beginchar("z",8u#,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; + + +endinput; diff --git a/fonts/ec/src/exrlwest.mf b/fonts/ec/src/exrlwest.mf new file mode 100644 index 0000000000..6265defeff --- /dev/null +++ b/fonts/ec/src/exrlwest.mf @@ -0,0 +1,1166 @@ +% exrlwest.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% lowercase accented letters ("western part") +% +% oct"340" .. oct"377" +% +% oct"340" a with gravis +% oct"341" a with acute +% oct"342" a with circumflex +% oct"343" a with tilde +% oct"344" a with umlaut +% oct"345" a with ring +% oct"346" ae +% oct"347" c with cedilla +% +% oct"350" e with gravis +% oct"351" e with acute +% oct"352" e with circumflex +% oct"353" e with umlaut +% oct"354" i with gravis +% oct"355" i with acute +% oct"356" i with circumflex +% oct"357" i with umlaut +% +% oct"360" edh (icelandic) +% oct"361" n with tilde +% oct"362" o with gravis +% oct"363" o with acute +% oct"364" o with circumflex +% oct"365" o with tilde +% oct"366" o with umlaut +% oct"367" oe +% +% oct"370" o with / +% oct"371" u with gravis +% oct"372" u with acute +% oct"373" u with circumflex +% oct"374" u with umlaut +% oct"375" y with acute +% oct"376" thorn +% oct"377" sharp s + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "The letter a with gravis"; +beginchar_twice(oct"340",9u#,x_height#+acc_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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=x_height+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,x_height]-.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-2.5u+.5stem); y4=1/3[bh,x_height]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +hpos_corr=u; put_gravis; +repeat_once; +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +ecchar "The letter a with acute"; +beginchar_twice(oct"341",9u#,x_height#+acc_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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=x_height+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,x_height]-.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-2.5u+.5stem); y4=1/3[bh,x_height]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +hpos_corr=-u; put_accent; +repeat_once; +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +ecchar "The letter a with circumflex"; +beginchar(oct"342",9u#,x_height#+acc_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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=x_height+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,x_height]-.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-2.5u+.5stem); y4=1/3[bh,x_height]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +% the accent +lowercase_hat(x3,oo,14,15,16,17,18); +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18); endchar; + + +ecchar "The letter a with tilde"; +beginchar(oct"343",9u#,x_height#+acc_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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=x_height+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,x_height]-.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-2.5u+.5stem); y4=1/3[bh,x_height]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +% the accent +lowercase_tilde(0,0,14,15,16,17,18); +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18); endchar; + + + +ecchar "The letter a with umlaut"; +beginchar(oct"344",9u#,lc_trema_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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=x_height+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,x_height]-.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-2.5u+.5stem); y4=1/3[bh,x_height]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +% the accent +lowercase_umlaut(0,0,14,15,16,17); +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17); endchar; + +ecchar "The letter a with ring"; +beginchar(oct"345",9u#,x_height#+acc_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); 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=x_height+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,x_height]-.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-2.5u+.5stem); y4=1/3[bh,x_height]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +% the accent +lowercase_circle(x3,(1/3[x_height,h]+apex_o),14,15,16,17); +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17); endchar; + + + +ecchar "The ligature ae"; +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,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; + + +ecchar "The letter cedilla c"; +beginchar(oct"347",8u#,x_height#,0.875desc_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(x_height+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5x_height; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=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); 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 +% the accent +lowercase_cedilla(x4,0,6,7,8,9,10); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + + +ecchar "The letter e with gravis"; +beginchar_twice(oct"350",7.25u#+max(.75u#,.5curve#),x_height#+acc_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=x_height+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 +hpos_corr=1.5u; put_gravis; +repeat_once; +penlabels(0,1,2,3,4,5,7,8); endchar; + + +ecchar "The letter e with acute"; +beginchar_twice(oct"351",7.25u#+max(.75u#,.5curve#),x_height#+acc_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=x_height+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 +hpos_corr=-u; put_accent; +repeat_once; +penlabels(0,1,2,3,4,5); endchar; + +ecchar "The letter circumflex e"; +beginchar(oct"352",7.25u#+max(.75u#,.5curve#),x_height#+acc_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=x_height+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 +% the accent +lowercase_hat(.5w,oo,7,8,9,10,11); +penlabels(0,1,2,3,4,5,7,8); endchar; + + +ecchar "The letter e with umlaut"; +beginchar(oct"353",7.25u#+max(.75u#,.5curve#),lc_trema_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=x_height+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 +% the accent +lowercase_umlaut(0,0,7,8,9,10); +penlabels(0,1,2,3,4,5,7,8,9,10); endchar; + +ecchar "The letter i with gravis"; +beginchar_twice(oct"354",5u#,x_height#+acc_height#,0); +italcorr (x_height#+acc_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 or monospace: + sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +put_gravis; +repeat_once; +penlabels(1,2,3,4); endchar; + + +ecchar "The letter i with acute"; +beginchar_twice(oct"355",5u#,x_height#+acc_height#,0); +italcorr (x_height#+acc_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 or monospace: + sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +% the accent +if not monospace: hpos_corr = -.5u; fi +put_accent; +repeat_once; +penlabels(1,2); endchar; + + +ecchar "The letter circumflex i"; +beginchar(oct"356",5u#,x_height#+acc_height#,0); +italcorr (x_height#+acc_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 or monospace: + sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +% the accent +lowercase_hat(x1,oo,3,4,5,6,7); +penlabels(1,2,3,4,5,6,7); endchar; + + +ecchar "The letter i with umlaut"; +beginchar(oct"357",5u#,lc_trema_height#,0); +italcorr (x_height#+acc_height#)*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0.5u#+serif_fit#+stem_shift# + if monospace:+.25u#fi,0.5u#+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 or monospace: + sloped_serif.l(1,2,a,1/3,.95jut,serif_drop); % upper serif +fi +if serifs: dish_serif(2,1,b,1/3,jut,c,1/3,.9jut); fi % lower serif +% the accent +lowercase_umlaut(0,0,3,4,5,6); +penlabels(1,2,3,4,5,6); endchar; + +ecchar"The letter edh"; +% Corrected version by Yannis +beginchar(oct"360",9u#,asc_height#,0); +italcorr .x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +oh := x_height; +pickup fine.nib; +pos1(vair,90); pos3(vair',-90); +pos2(curve,180); pos4(curve,0); pos4'(hair,0) ; +lft x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; top y1r=oh + vround 1.5oo; bot y3r=-oo; +y2=y4=.5oh-vair_corr; y2l:=y4l:=.52oh; +x4'l = x4l ; y4 = y4' ; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) -- pulled_arc.e(4',1); % bowl +pos5(.5[vair,hair],40) ; +x5l = x2 ; top y5r = h ; x7r = x4r; y7 = .95[x4,x1]; +pos7(curve,0); +filldraw stroke z5e .. tension 1.1 and 1 .. z7e{down} .. z4e ; +path p ; p = z5 .. tension 1.1 and 1 .. z7{down} ; +z6 = ((0,if monospace:.6 else: .7 fi[x_height,asc_height]) -- + (w,.6[x_height,asc_height])) + intersectionpoint p ; +pos6'(.5[vair,hair],-60) ; pos 6''(.5[vair,hair],-60) ; +top y6''l = h ; z6'' = z6 + whatever*dir30; +z6 = .5[z6',z6''] ; filldraw stroke z6'e -- z6''e ; +penlabels(1,2,3,4,5,6,6',6''); endchar; + +ecchar "The letter n with tilde"; +beginchar(oct"361",10u#,x_height#+acc_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(2.5u-.5stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=x_height+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 +% the accent +lowercase_tilde(0,0,5,6,7,8,9); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + + +ecchar "The letter o with gravis"; +beginchar_twice(oct"362",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +hpos_corr=u; put_gravis; +repeat_once; +penlabels(1,2,3,4); endchar; + + +ecchar "The letter o with acute"; % from pl_ml (plfonts) +beginchar_twice(oct"363",9u#,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); +if serifs: hpos_corr=-u; fi put_accent; +repeat_once; +endchar; + + +ecchar "The letter o with circumflex"; +beginchar(oct"364",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +% the accent +lowercase_hat(x1,oo,5,6,7,8,9); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +ecchar "The letter o with tilde"; +beginchar(oct"365",9u#,x_height#+acc_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +% the accent +lowercase_tilde(0,0,5,6,7,8,9); +penlabels(1,2,3,4,5,6,7,8,9);endchar; + +ecchar "The letter o with umlaut"; +beginchar(oct"366",9u#,lc_trema_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +% the accent +lowercase_umlaut(0,0,5,6,7,8); +penlabels(1,2,3,4,5,6,7,8); endchar; + +ecchar "The ligature oe"; +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; + +ecchar "Scandinavian letter o/slash"; +beginchar(oct"370",9u#,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; + +ecchar "The letter u with gravis"; +beginchar_twice(oct"371",10u#,x_height#+acc_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(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +hpos_corr=0.75u; put_gravis; +repeat_once; +penlabels(1,2,3,4,5,6); endchar; + +ecchar "The letter u with acute"; +beginchar_twice(oct"372",10u#,x_height#+acc_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(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +% the accent +hpos_corr=-u; put_accent; +repeat_once; +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + + +ecchar "The letter u with circumflex"; +beginchar(oct"373",10u#,x_height#+acc_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(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +% the accent +lowercase_hat(.5[x1,x3],oo,7,8,9,10,11); +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + + +ecchar "The letter u with umlaut"; +beginchar(oct"374",10u#,lc_trema_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(2.5u-.5stem); x1=x2; x3=w-x1; x3r=x4r; +if serifs: top y1=x_height+min(oo,serif_drop); bot y4=-min(oo,serif_drop); +else: top y1=x_height; 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); fi % lower right serif +% the accent +lowercase_umlaut(0,0,7,8,9,10); +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "The letter y with acute"; +beginchar_twice(oct"375",if serifs:9.5u# else:9u# fi, + x_height#+acc_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=x_height; 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 +% the accent +put_accent; +repeat_once; +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +iff fancy_thorn: +ecchar "The letter thorn"; % from cmman +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(2.5u-.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; + +iff not fancy_thorn: +ecchar "The letter thorn"; % jk: Bowl as in `p' or `b' +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(2.5u-.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; + + +iff classic_sharp_s: +ecchar "German letter sharp s"; +beginchar(oct"377",4.5u#+max(4.5u#,.5stem#+flare#+curve#),asc_height#,0); +italcorr asc_height#*slant-u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +lft x1l=lft x2l=hround(2.5u-.5stem'); bot y1=0; y2=y4=.5[x_height,y3]; +penpos3(vair-fine,90); fine.top y3r=h+oo; +filldraw stroke z1e--z2e; % stem +numeric stem_edge,curve'; stem_edge=rt x1r; curve'=hround .5[stem',curve]; +pickup fine.nib; pos4(curve',0); pos5(vair,-90); +pos2'(stem',180); z2'=z2; x3=.5[x2,x4]; rt x4r=hround(w-u); +top y5l=x_height; lft x5=min(lft x4l,hround(stem_edge+u)); +filldraw stroke pulled_super_arc.e(2',3)(.5superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & pulled_super_arc.e(4,5)(.5superpull); % upper bowl +pos5'(vair,90); z5'=z5; pos6(curve',0); pos7(vair,-90); +rt x6r=hround(w-.5u)+3eps; y6=.4x_height; bot y7r=-oo; +if serifs: pos8(hair,-180) else: pos8(vair,-110) fi; +lft x8r=min(hround(stem_edge+.5u+1),lft x8r+x6r-2eps-x8l); +x7=max(x8l+eps,.4[lft x8r,x6]); +filldraw stroke pulled_super_arc.e(5',6)(.5superpull) + & pulled_super_arc.e(6,7)(.5superpull); % lower bowl +if serifs: pos9(5/7[vair,flare],-180); + y9-(x9-lft x9r)=vround .07x_height; bulb(7,8,9); % bulb + penpos0(stem'-tiny,0); x0=x1; tiny.top y0=x_height; + serif(0,1,a,0,-jut); % bar + dish_serif(1,2,b,1/3,jut,c,0,epsilon); % serif +else: bot y8r=vround .01h; x8l:=good.x x8l; y8l:=good.y(y8l+.5); + filldraw stroke term.e(7,8,left,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +iff not classic_sharp_s: +ecchar "German letter scharfes s"; +% completely remade to exhibit the long s-short s ligature % jk +beginchar(oct"377",4.5u#+max(4.5u#,.5stem#+flare#+curve#),asc_height#,0); +italcorr asc_height#*slant-u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +lft x1l=lft x2l=hround(2.5u-.5stem'); bot y1=0; y2=y4=.5[x_height,y3]; +penpos3(vair-fine,90); fine.top y3r=h+oo; +filldraw stroke z1e--z2e; % stem +numeric stem_edge,curve'; stem_edge=rt x1r; curve'=hround .5[stem',curve]; +numeric s_slab; s_slab=if serifs:vair else:Vround .1[vair,stem] fi; +numeric ess'; ess'=max(fine.breadth,ess); +pickup fine.nib; pos4(hair,0); +pos2'(stem',180); z2'=z2; x3=.5[x2,x4]; +rt x4r=hround(w-if not hefty: 2 fi\\u); +numeric xx; xx=min(x3, hround(stem_edge+u)); +numeric theta; +theta=90-angle(40u,x_height); slope:=-x_height/40u; % angle at middle +pos5(max(fine.breadth,s_slab-vround vair_corr),-100); +pos22(ess',theta); pos10(s_slab,-90); +x5l=hround(.5[xx,w-u]); +%if x5l+1<x4l: x5l:=x4l-1; fi +x5l=x22=x10; +top y5l=x_height+vround 1.5oo; bot y10r=-oo; +y22-.5ess'=y10l+if serifs:.54 else: .52 fi\\(y5r-y10l-ess'); +lft x6l=xx; rt x9r=hround(w-.6u); +x6r-x6l=x9r-x9l=hround .5[s_slab,ess']-fine; +ellipse_set(5l,6l,7l,22l); ellipse_set(5r,6r,7r,22r); y6=y6r; +ellipse_set(10l,9l,8l,22l); ellipse_set(10r,9r,8r,22r); y9=y9r; +interim superness:=more_super; +filldraw stroke pulled_super_arc.e(2',3)(.5superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & pulled_super_arc.e(4,5)(.5superpull) % upper bowl + ..super_arc.e(5,6) & z6e{down} + ..z7e---z8e..z9e{down} & super_arc.e(9,10); % main s stroke +if serifs: pos21(hair,180); pos11(hair,180); + rt x21l=hround(w-1.05u); lft x11r=xx; + bot y21=min(bot y5r,vround 1/5[top y8r,x_height]); + top y11=max(top y10l,vround 5/6 bot y7l); + filldraw stroke z10e{left}....{x11-x10,5(y11-y10)}z11e; % lower arc + path upper_arc, lower_arc; + upper_arc=z21{up}....{left}z5; lower_arc=z10{left}....{x11-x10,5(y11-y10)}z11; + pos20(.3[fine.breadth,cap_hair],0); pos12(.3[fine.breadth,cap_hair],0); + x20r=x21l; top y20=top y5l; x12l=x11r; bot y12=bot y10r; + x21l-x21'=x11'-x11r=1.6cap_curve-fine; y21'=y21; y11'=y11; + t:=xpart(lower_arc intersectiontimes(z12r--z11')); + filldraw z11r--z12l--z12r--subpath(t,1) of lower_arc--cycle; % lower barb +else: pos21(4/7[s_slab,flare],-100); pos11(flare,-100); + x21l=good.x(x21l+w-u-rt x21); lft x11r=xx; + top y21l=vround(.93x_height+1.5oo); bot y11r=vround .1x_height-oo; + filldraw stroke term.e(10,11,left,1,4); fi % lower arc and terminal +if serifs: + penpos0(stem'-tiny,0); x0=x1; tiny.top y0=x_height; + serif(0,1,a,0,-jut); % bar + dish_serif(1,2,b,1/3,jut,c,0,epsilon); % serif +fi +penlabels(0,1,2,3,4,5,6,7,8,9,10.11.11',12,20,21,21',22); endchar; + +endinput; diff --git a/fonts/ec/src/exroman.mf b/fonts/ec/src/exroman.mf new file mode 100644 index 0000000000..2a0ff8ed68 --- /dev/null +++ b/fonts/ec/src/exroman.mf @@ -0,0 +1,78 @@ +% exroman.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% driver file, called by parameter files with roman style fonts + +% +% dx r l west +% i u east +% : : : +% : : west '3xx / east '2xx +% : uppercase/lowercase +% roman / italic + +version_check(1,0); % |version_check| was introduced in dc1.3 + +input exaccess; % accessories for polish special letters +input expseudo; % pseudoparameters + +mode_setup; font_setup; pseudo_setup; + +input exruwest; +input exrlwest; +input exrueast; +input exrleast; +% +input exbraces; % ^ ~ cwm ( ) < | > [ ] \ { } _ - (177) space (040) +input expunct; % < << > >> ! ` ' * + , . / = ; : (spanish !) +% +input exaccent; % +input exsign; % zero for mille, " # $ % @ pound sign +% +input exrlig; % dotless i,j; letter ligatures ff fi fl ffi ffl +% +input exromp; % (roman punctuation) & ? (spanish ?) +% +input exrulett; % upper case (majuscules) +input exrllett; % lower case (minuscules) +input exrdigit; % roman digits +% +% Fontparameter +% +font_coding_scheme:="Extended TeX Font Encoding - Latin"; +boundarychar:=oct"027"; +font_slant slant; +font_x_height x_height#; +font_cap_height cap_height#; +font_asc_height asc_height#; +font_acc_cap_height (cap_height#+acc_height#); +font_desc_depth desc_depth#; +font_max_height (max(asc_height#,body_height#, + cap_height#+acc_height#)); +font_max_depth (max(desc_depth#,paren_depth#,the_ogonek_depth#)); +% font_digit_width % set inside the digits file +% font_cap_stem % set after the programme of the capital I +font_baselineskip max(1.2*designsize,body_height#+paren_depth#); + +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; + input exmligtb; % do the ligature programs for monospaced fonts +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; + input exrligtb; % do the ligature programs, not for monospaced fonts +fi +bye. diff --git a/fonts/ec/src/exromp.mf b/fonts/ec/src/exromp.mf new file mode 100644 index 0000000000..1ed80d5ec4 --- /dev/null +++ b/fonts/ec/src/exromp.mf @@ -0,0 +1,107 @@ +% exromp.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% some special roman characters (different from italic variants) +% +% & ? spanish ? + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Ampersand"; +beginchar("&",14u#,asc_height#,0); +italcorr x_height#*slant-serif_fit# - if serifs: .4u# else: 1.5u# fi; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos2(slab,-90); x2=4u; bot y2r=-o; +if not hefty:(x,y2l)=whatever[z2r,(w-5u,x_height)]; x2l:=x; fi +if serifs: pos0(fudged.hair,0); + rt x0r+jut=hround(w-.9u); top y0=x_height; + pos1(fudged.hair,0); z1=whatever[z0,(.6[x0,x2],0)]; + y1=max(y0-1.5bracket-.2x_height,2/3x_height); + filldraw stroke z0e---z1e...{left}z2e; % short diagonal +else: pickup fine.nib; pos1(.25[slab,flare],-15); rt x1r=hround(w-2u); + y1r=good.y .75[bar_height,x_height]; x1l:=good.x x1l; y1l:=good.y y1l; + top z2'l=(x2l,tiny.top y2l); bot z2'r=(x2r,tiny.bot y2r); + filldraw stroke term.e(2',1,right,1,4); fi % short diagonal and terminal +pickup tiny.nib; numeric slope,theta,reduced_hair; +slope=(h-2vair-slab)/10.5u; theta=angle(-slope,1); +reduced_hair=max(tiny.breadth,hround(fudged.hair if hefty:-2stem_corr fi)); +lft x3r=hround .75u; x5=.5[x3r,x6l]; lft x6r=hround .5(w-u); +x3l-x3r=curve-tiny; pos6(reduced_hair,180); +pos5(vair,theta); y5=.5h; +ellipse_set(2l,3l,4l,5l); ellipse_set(2r,3r,4r,5r); +pos7(vair,270); top y7l=h+o; x7=.45[x6r,x8r]; +pos8(fudged.stem,30); x8l=good.x(x8l+3.5u-x8); y8r=y6; +ellipse_set(7l,6l,5',5l); +filldraw stroke z2e{left}...z3e{up}...z4e---z5e...{up}z6e + ...z7e{left}...z8e{down}; % bowls +pos10(slab,90); x10=w-3.5u; bot y10l=-o; +pos9(fudged.stem,angle(z8-z10)-90); +z9=.5[z8,z10]+(1.75u,0) rotated(angle(z8-z10)+90); +filldraw stroke z8e{down}...z9e{z10-z8}...{right}z10e; % long diagonal +if serifs: pickup crisp.nib; pos10'(slab,90); z10'=z10; + pos11(fudged.hair,180); rt x11l=hround(w-u); y11=.5bar_height; + filldraw stroke z10'e{right}...{up}z11e; % terminal + numeric inner_jut; if rt x6l+.5u<lft x0l-1.5jut: inner_jut=1.5jut; + else: rt x6l+.5u=lft x0l-inner_jut; fi + dish_serif(0,1,a,.6,inner_jut,b,.5,jut)(dark); % serif +else: pickup fine.nib; pos10'(slab,90); z10'=z10; + pos11(Vround .5[slab,flare],90); + rt x11=hround(r-letter_fit-u); bot y11l=vround .07bar_height-o; + filldraw stroke term.e(10',11,right,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "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; + +ecchar "Spanish open question mark"; +beginchar(oct"276",8.5u#,asc_height#-desc_depth#,desc_depth#); +adjust_fit(0,0); +pickup tiny.nib; pos7(dot_size,0); pos8(dot_size,90); +lft x7l=hround(.5w-.25u-.5dot_size); top y8r=h; z7=z8; dot(7,8); % dot +numeric top_width; +top_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos2(vair,270); pos3(curve,180); +pos4(vair,90); pos5(top_width,180); pos6(top_width,180); +x2=x4=x5=x6=x7; lft x3r=hround u; top y6=.25[bot y8l,h-x_height]-1; +bot y2r=-d-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,0); pos0(flare,0); + rt x1r=hround(w-u); y1=y3; bulb(2,1,0); % bulb +else: pos1(Vround 5/7[vair,flare],-70); + rt x1r=hround(w-u); bot y1r=vround .9[y6,bot y2r]; + filldraw stroke term.e(2,1,right,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +endinput; diff --git a/fonts/ec/src/exrueast.mf b/fonts/ec/src/exrueast.mf new file mode 100644 index 0000000000..fe1e34d22a --- /dev/null +++ b/fonts/ec/src/exrueast.mf @@ -0,0 +1,991 @@ +% exrueast.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% uppercase accented letters (common to roman and italic fonts) +% "eastern part" +% +% oct"200" .. oct"235" +% +% Roman uppercase accents +% +% oct"200" A with breve +% oct"201" A with ogonek +% oct"202" C with acute +% oct"203" C with hachek +% oct"204" D with hachek +% oct"205" E with hachek +% oct"206" E with ogonek +% oct"207" G with breve +% +% oct"210" L with acute +% oct"211" L with komma +% oct"212" L with stroke (polish) +% oct"213" N with acute +% oct"214" N with hachek +% oct"215" The letter Eng +% oct"216" O with hungarian umlaut +% oct"217" R with acute +% +% oct"220" R with hachek +% oct"221" S with acute +% oct"222" S with hachek +% oct"223" S with cedilla +% oct"224" T with hachek +% oct"225" T with cedilla +% oct"226" U with hungarian umlaut +% oct"227" U with ring +% +% oct"230" Y with umlauts +% oct"231" Z with acute +% oct"232" Z with hachek +% oct"233" Z with dot +% oct"234" IJ +% oct"235" I with dot + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "The letter A with breve"; +beginchar(oct"200",13u#,cap_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=cap_height+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_height-cap_notch_cut: y0:=cap_height-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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +% the accent +uppercase_breve(x2,0,12,13,14); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + + +%%% fine fisp +ecchar "The letter A with ogonek"; % from pl_dl (plfonts) +beginchar(oct"201",13u#,cap_height#,the_ogonek_depth#); + adjust_fit(cap_serif_fit#,cap_serif_fit#); + numeric left_stem,right_stem,outer_jut,alpha; + right_stem=cap_stem-stem_corr; + left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); + outer_jut=.8cap_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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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); + def the_pen=if known ogonek_pen: ogonek_pen + elseif serifs: tiny elseif is_bold: fisp else: fine fi + enddef; + ogonek_breadth=if serifs and is_bold: slab else: xvair fi; +% |diag_end| refers to |tiny| pen, hence |tiny| in the following equation: + ogonek_pos=(x4 if not serifs: l if is_bold: +.75tiny fi\\ fi,.5the_pen) + if serifs and not is_egyptian: +(.5xvair,0) fi; + put_ogonek(the_pen); +endchar; + +ecchar "The letter C with acute"; % from pl_dl (plfonts) +if serifs: + beginchar_twice(oct"202",13u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(w-u); 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,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(h-y1),y4l+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)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2cap_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 + penlabels(1,1',2,3,4,5,6); + put_accent; + repeat_once; +else: beginchar_twice(oct"202",11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .08h-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); % arc and terminals + penlabels(1,1',2,3,4,5,6); + put_accent; + repeat_once; +fi +endchar; + +ecchar "The letter C with hachek"; % from cshacheu.mf (csfonts) +if serifs: beginchar(oct"203",13u#,cap_height#+acc_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(w-u); lft x3r=hround u; x2=x4=.55[x3,x1]; + top y2r=cap_height+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6cap_height,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(cap_height-y1),y4l+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)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=cap_height+o; + x1r-x1'=2cap_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 +else: beginchar(oct"203",11.5u#,cap_height#+acc_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95cap_height+o; top y2r=cap_height+o; y3=.5cap_height; + bot y4r=-o; bot y5r=vround .08cap_height-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); +uc_hachek_accent(x2l); +%uc_hachek_accent(0.6[x3,x1]); %% changed from .5 to .65 % 25/12/91 +endchar; %% and to .6 % 3/1/92 %% changed via lc 11/3/92 + + +ecchar "The letter D with hachek"; % from cshacheu.mf (csfonts) +beginchar(oct"204",13.5u#,cap_height#+acc_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); +top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve-stem_corr,0); +penpos6(cap_band,-90); penpos7(cap_band,-90); +z3r=top z1; y4=y3; y5=.51[y4,y6]; y6=y7; +z7r=bot z2; x4=x6=.5w+.25u; x5r=hround(w-u); +x4l:=x6l:=x4-.25cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7); +uc_hachek_accent(1/3[x1l,x5r]); +endchar; + + +ecchar "The letter E with hachek"; % from cshacheu.mf (csfonts) +beginchar(oct"205", 12u#-width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +hh:=vround(cap_height-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=hh; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=hh; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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+.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 +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,hh,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); +uc_hachek_accent(if serifs: 0.4[x1l,x.e1] else: .5 [x1l,x4] fi); +endchar; + + +ecchar "The letter E with ogonek"; % from pl_dl (plfonts) +beginchar(oct"206",12u#-width_adj#,cap_height#,the_ogonek_depth#); + italcorr cap_height#*slant-beak_jut#-.5u#; + adjust_fit(cap_serif_fit#,0); + h:=vround(h-stem_corr); + pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); + lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; + filldraw stroke z1e--z2e; % stem + pickup crisp.nib; pos3(slab,90); pos4(hair,0); + top y3r=h; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; + arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak + pos5(cap_bar,-90); pos6(hair,0); + top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; + pos0(cap_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+.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 + pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); + bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; + arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak + if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif + penlabels(0,1,2,3,4,5,6,7,8,9); + def the_pen=if known ogonek_pen: ogonek_pen + elseif serifs: tiny elseif is_bold: fisp else: fine fi + enddef; + ogonek_breadth=if serifs and is_bold: slab else: xvair fi; + ogonek_pos= + (x.h0-if serifs: 2 else: if is_bold: 1.5 else: 1.75 fi\\ fi\\ u,.5the_pen)+ + .5 ogonek_breadth*if is_egyptian: origin elseif serifs: right else: left fi; + put_ogonek(the_pen); +endchar; + +ecchar "The letter G with breve"; +if serifs: beginchar(oct"207",14u#,cap_height#+acc_height#,0); + italcorr cap_height#*slant-1.5u#-.5cap_serif_fit#; + adjust_fit(0,.5cap_serif_fit#); + pickup tiny.nib; pos0(cap_stem,0); pos7(cap_stem,0); + rt x0r=hround(w-2u); y0=good.y(.1[bar_height,x_height]+1); x7=x0; + pickup fine.nib; + if hefty: bot y7=0; pos5(cap_stem,0); x5=x0; top y5=tiny.top y0; + else: pos5(cap_hair,0); pos8(cap_stem,0); + y7=.5bar_height; z5l=z8l; z8=z7; x9=x8r; bot y9=0; + filldraw z8l{down}..{4(x9-x8),y9-y8}z9--z8r--cycle; fi % spur + pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); + rt x1r=hround(w-2u); lft x3r=hround u; x2=x4=.55[x3,x1]; + top y2r=cap_height+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6h,x_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,cap_hair],0); x6r=x1r; top y6=cap_height+o; + x1r-x1'=2cap_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(cap_jut,2.25u),b,1/3,1.25u); % serif + math_fit(-.3cap_height#*slant-.5u#,ic#); +else: beginchar(oct"207",12u#,cap_height#+acc_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,270); + rt x1r=hround(w-1.35u); x2=x4=.5w+u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5l=hround(w-1.2u); + top y1r=vround .93cap_height+o; top y2r=cap_height+o; y3=.5cap_height; + bot y4r=-o; bot y5r=vround .07cap_height-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[bar_height,x_height]; + filldraw stroke z0e--z7e; % stem + pos8(cap_bar,90); pos9(cap_bar,90); + z0r=z9r; y8=y9; lft x8=hround x4; + filldraw stroke z8e--z9e; % bar + math_fit(-.3cap_height#*slant-.5u#,.5ic#); fi +% the accent +uppercase_breve(x2,0,10,11,12); +penlabels(0,1,1',2,3,4,5,6,7,8,9,10,11,12);endchar; + + +ecchar "The letter L with acute"; +beginchar_twice(oct"210",11u#-width_adj#,cap_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,-90); pos4(hair,0); +bot y3r=0; x3=x2; y4=y3l+7/6beak+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,cap_jut,b,1/3,1.25cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +% the accent +hpos_corr=-.5w+hround max(2u,3u-.5cap_stem); +put_accent; +repeat_once; +math_fit(0,u#); penlabels(1,2,3,4); endchar; + + +ecchar "The letter L with hachek"; % from csotheru.mf (csfonts) +beginchar(oct"211",11u#-width_adj#,cap_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,-90); pos4(hair,0); +bot y3r=0; x3=x2; y4=y3l+7/6beak+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,cap_jut,b,1/3,1.25cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,u#); penlabels(1,2,3,4); +dtl_hachek(x4-pdot_diam)(y1+.5pdot_diam); +endchar; + +ecchar "The letter crossed L"; % from pl_dl (plfonts) +beginchar_twice(oct"212",11u#-width_adj#,cap_height#,0); + adjust_fit(cap_serif_fit# if not serifs: +1.5u# fi,0); + pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); + lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; + filldraw stroke z1e--z2e; % stem + pickup crisp.nib; pos3(slab,-90); pos4(hair,0); + bot y3r=0; x3=x2; y4=y3l+7/6beak+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,cap_jut,b,1/3,1.25cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif + penlabels(1,2,3,4); +% some funny fonts have an extremally small |cap_jut|: + put_cross(.5cap_stem+if serifs: .9max(limit_dist,cap_jut) else: 1.8u fi, + .5cap_stem+3u); +repeat_once; +endchar; + +ecchar "The letter N with acute"; % from pl_dl (plfonts) +beginchar_twice(oct"213",13u#+width_adj#,cap_height#,0); + italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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.cap_stem); + filldraw stroke z1e--z2e; % left stem + filldraw stroke z3e--z4e; % right stem + if hefty: penpos5(fudged.cap_stem,0); penpos6(fudged.cap_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,cap_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,-cap_jut); % upper left serif + else: serif(5,6,a,1/3,-cap_jut); fi % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + dish_serif(3,4,e,1/2,cap_jut,f,1/2,cap_jut)(dark); fi % upper right serif + penlabels(1,1',2,3,4,4',5,6,7); + hpos_corr=-.75u; put_accent; +repeat_once; +endchar; + +ecchar "The letter N with hachek"; % from cshacheu.mf (csfonts) +beginchar(oct"214",13u#+width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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=cap_height; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround min(w-2u,w-3u+.5fudged.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if hefty: penpos5(fudged.cap_stem,0); penpos6(fudged.cap_stem,0); + x5l=x1; x6r=x4; y5=cap_height; y6=0; + numeric upper_notch,lower_notch; + upper_notch=cap_height-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,cap_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,-cap_jut); % upper left serif + else: serif(5,6,a,1/3,-cap_jut); fi % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + dish_serif(3,4,e,1/2,cap_jut,f,1/2,cap_jut)(dark); fi % upper right serif +math_fit(0,max(.5ic#-.5u#,0)); penlabels(1,1',2,3,4,4',5,6,7); +uc_hachek_accent(.5[x2,x3]); +endchar; + + +ecchar "The letter Eng"; % from uppern.mf (fc fonts) +beginchar(oct"215",14u#,cap_height#,0); +adjust_fit(cap_serif_fit#,0); +italcorr cap_height#*slant; +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +y1=2/3h; rt x1r=hround(w-u); x2=x1; y2=.21h; +if serifs: pos3(vair,-90); pos4(cap_hair,-180); + pos5(flare+(cap_stem-stem),-180); + bot y3r=-o; x3=.5[x4,x2]; y5=1/6h; rt x5l=hround 8.75u; z5r=z4r; + filldraw stroke z1e--z2e&super_arc.e(2,3); % right stem and arc + bulb(3,4,5); % bulb +else: filldraw stroke z1e--z2e; % right stem + pickup fine.nib; pos3(cap_stem,0); z3=z2; + pos4(flare,angle(6.5u,-h)); pos5(1.1flare,-100); + bot y4r=-o; x4r=.5[x5r,x3r]; lft x5r=hround 7.75u; bot y5r=vround.06h-o; + filldraw stroke z3e{down}....term.e(4,5,left,1,4); fi % arc and terminal +pickup tiny.nib; pos6(cap_stem,0);pos7(cap_stem,0); +lft x6l=lft x7l=hround(max(2u,3u-.5cap_stem));top y6=h; bot y7=0; +filldraw stroke z6e--z7e; %left stem +pos8(min (cap_hair,cap_stem),0); pos9(cap_hair,-90); pos10(cap_stem,-180); +y8=y10=2/3h; top y9=h+o; rt x8=rt x6; rt x10l=rt x1r; x9=.5[x8,x10]; +filldraw stroke z8e{up}...z9e...{down}z10e; % big arc +if serifs: + numeric right_jut; + if rt x7r+cap_jut+u+1<lft x4r: right_jut=cap_jut; + else: x7r+right_jut+u+1=lft x4r; fi + dish_serif(6,7,a,1/3,cap_jut,b,1/3,0); % upper serif + dish_serif(7,6,c,1/3,cap_jut,d,1/3,right_jut); % lower serif +fi +math_fit(0,.5ic#-.5u#); penlabels(1,2,3,4,5); endchar; + +ecchar "The letter O with double acute"; +beginchar_twice(oct"216",14u#-width_adj#,cap_height#+acc_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=cap_height+o; y3r=-o; +y2=y4=.5cap_height-vair_corr; y2l:=y4l:=.52cap_height; +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 +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); +if monospace: hpos_corr=-2.5u; put_accent; hpos_corr=2.5u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +repeat_once; +penlabels(1,2,3,4); endchar; + + +ecchar "The letter R with acute"; +beginchar_twice(oct"217",if serifs: 12u#+.5max(2u#,cap_curve#) + else:12.5u#-.5width_adj# fi,cap_height#+acc_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround(.5cap_height+.5vair); x4=x6; +if serifs: x4=.5w-.5u; x5r=hround(w-2.25u); +else: x4=.5w+.5u; x5r=hround(w-u); fi +x4l:=x6l:=x4-.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(cap_stem,180); + pos8(cap_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5cap_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + bot y9r=-o; rt x10r=hround(w-.05u); y10=1/4[y2,y7]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{up}; % tail + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif +else: penpos8(cap_stem-2stem_corr,0); penpos9(cap_stem,0); + x8=x6+.5u; y8=y6; x9r=hround(w-.5u); y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +hpos_corr=-.75u; +put_accent; +repeat_once; +math_fit(0,.75ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "The letter R with hachek"; % from cshacheu.mf (csfonts) +beginchar(oct"220",if serifs: 12u#+.5max(2u#,cap_curve#) + else:12.5u#-.5width_adj# fi,cap_height#+acc_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround(.5cap_height+.5vair); x4=x6; +if serifs: x4=.5w-.5u; x5r=hround(w-2.25u); +else: x4=.5w+.5u; x5r=hround(w-u); fi +x4l:=x6l:=x4-.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(cap_stem,180); + pos8(cap_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5cap_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + bot y9r=-o; rt x10r=hround(w-.05u); y10=1/4[y2,y7]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{up}; % tail + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif +else: penpos8(cap_stem-2stem_corr,0); penpos9(cap_stem,0); + x8=x6+.5u; y8=y6; x9r=hround(w-.5u); y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +math_fit(0,.75ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); +uc_hachek_accent(.9[x1,x6l]); %(1/3[x1l,x5r]); oprava 24.10.92 +endchar; + + +ecchar "The letter S with acute"; % from pl_dl (plfonts) +beginchar_twice(oct"221",10u#,cap_height#,0); + italcorr cap_height#*slant-u#; + adjust_fit(0,0); + numeric theta; theta=90-angle(50u,h); slope:=-h/50u; % angle at middle + numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; + numeric ess'; ess'=max(fine.breadth,cap_ess); + pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-90); + pos0(ess',theta); pos7(s_slab,-90); + x2+x7=2x0=w; x7-x2=if serifs: u else: 0 fi; top y2l=h+o; bot y7r=-o; + y0=.52h; lft x3l=hround u; rt x6r=hround(w-u); + 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; + 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.5u); lft x8r=hround u; + bot y1=vround 2/3h+1; top y8=vround 1/3h-1; + filldraw stroke z1e{x2-x1,10(y2-y1)}....{left}z2e; % upper arc + filldraw stroke z7e{left}....{up}z8e; % lower arc + path upper_arc, lower_arc; + upper_arc=z1{x2-x1,10(y2-y1)}....{left}z2; + lower_arc=z7{left}....{up}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(1.2flare,-100); pos8(1.2flare,-100); + x1l=good.x(x1l+w-1.75u-rt x1); lft x8r=hround .8u; + top y1l=vround .93h+o; bot y8r=vround .1h-o; + 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); + hpos_corr=-u; put_accent; +repeat_once; +endchar; + +ecchar "The letter S with hachek"; % from cshacheu.mf (csfonts) +beginchar(oct"222",10u#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-u#; +adjust_fit(0,0); +numeric theta; theta=90-angle(50u,cap_height); +slope:=-cap_height/50u; % angle at middle +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-90); +pos0(ess',theta); pos7(s_slab,-90); +x2+x7=2x0=w; x7-x2=if serifs: u else: 0 fi; +top y2l=cap_height+o; bot y7r=-o; +y0=.52cap_height; lft x3l=hround u; rt x6r=hround(w-u); +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; +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.5u); lft x8r=hround u; + bot y1=vround 2/3cap_height+1; top y8=vround 1/3cap_height-1; + filldraw stroke z1e{x2-x1,10(y2-y1)}....{left}z2e; % upper arc + filldraw stroke z7e{left}....{up}z8e; % lower arc + path upper_arc, lower_arc; + upper_arc=z1{x2-x1,10(y2-y1)}....{left}z2; + lower_arc=z7{left}....{up}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(1.2flare,-100); pos8(1.2flare,-100); + x1l=good.x(x1l+w-1.75u-rt x1); lft x8r=hround .8u; + top y1l=vround .93cap_height+o; bot y8r=vround .1cap_height-o; + 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 +math_fit(0,.5ic#); penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); +uc_hachek_accent(x0); %(0.5[x3l,x1l]); oprava 24.10.92 +endchar; + +ecchar "The letter cedilla S"; +beginchar(oct"223",10u#,cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-u#; +adjust_fit(0,0); +numeric theta; theta=90-angle(50u,cap_height); +slope:=-cap_height/50u; % angle at middle +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-90); +pos0(ess',theta); pos7(s_slab,-90); +x2+x7=2x0=w; x7-x2=if serifs: u else: 0 fi; +top y2l=cap_height+o; bot y7r=-o; +y0=.52cap_height; lft x3l=hround u; rt x6r=hround(w-u); +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; +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.5u); lft x8r=hround u; + bot y1=vround 2/3cap_height+1; top y8=vround 1/3cap_height-1; + filldraw stroke z1e{x2-x1,10(y2-y1)}....{left}z2e; % upper arc + filldraw stroke z7e{left}....{up}z8e; % lower arc + path upper_arc, lower_arc; + upper_arc=z1{x2-x1,10(y2-y1)}....{left}z2; + lower_arc=z7{left}....{up}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(1.2flare,-100); pos8(1.2flare,-100); + x1l=good.x(x1l+w-1.75u-rt x1); lft x8r=hround .8u; + top y1l=vround .93cap_height+o; bot y8r=vround .1cap_height-o; + 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 +% the accent +uppercase_cedilla(x7,0,11,12,13,14,15); +math_fit(0,.5ic#); +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10,11,12,13,14,15); endchar; + + +ecchar "The letter T with hachek"; % from cshacheu.mf (csfonts) +beginchar(oct"224",13u#-width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h':=h; +h:=vround(cap_height-2stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_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-.65u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % right arm and beak +pos5(hair,180); x5=w-x4; y5=y4; +arm(3,5,f,beak_darkness,-.7beak_jut); % left arm and beak +if serifs: dish_serif(2,1,c,1/3,1.414cap_jut,d,1/3,1.414cap_jut); % lower serif + nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,.5cap_jut); fi % upper bracketing +h:=h'; +math_fit(-.75cap_height#*slant,ic#-2.5u#); penlabels(1,2,3,4,5,6); +uc_hachek_accent(x1); +endchar; + +ecchar "The letter cedilla T"; +beginchar(oct"225",13u#-width_adj#,cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h:=vround(cap_height-2stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_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-.65u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % right arm and beak +pos5(hair,180); x5=w-x4; y5=y4; +arm(3,5,f,beak_darkness,-.7beak_jut); % left arm and beak +if serifs: dish_serif(2,1,c,1/3,1.414cap_jut,d,1/3,1.414cap_jut); % lower serif + nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,.5cap_jut); fi % upper bracketing +% the accent +uppercase_cedilla(x2,hair,7,8,9,10,11); +math_fit(-.75cap_height#*slant,ic#-2.5u#); +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + + +ecchar "The letter U with double acute"; +beginchar_twice(oct"226",13u#+.5width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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(cap_stem,0); pos2(cap_stem,0); +pos2'(cap_stem,180); z2'=z2; +pos3(cap_band,-90); +pos4(cap_hair,0); pos5(cap_hair,0); +x1=x2; x3=.5[x1,x5]; x4=x5; x1l=w-x5r; +top y1=top y5=cap_height; y2=y4=1/3cap_height; bot y3r=-o; +lft x1l=hround max(2u,3u-.5cap_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,cap_jut,b,1/3,cap_jut); % left serif + dish_serif(5,4,c,1/2,cap_jut,d,1/2,cap_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3cap_height#*slant-min(cap_height#*slant,u#), + max(.5ic#-.5u#,0)); +if monospace: hpos_corr=-2.5u; put_accent; hpos_corr=2.5u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +repeat_once; +penlabels(1,2,3,4,5); endchar; + +ecchar "The letter U with ring"; +beginchar(oct"227",13u#+.5width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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(cap_stem,0); pos2(cap_stem,0); +pos2'(cap_stem,180); z2'=z2; +pos3(cap_band,-90); +pos4(cap_hair,0); pos5(cap_hair,0); +x1=x2; x3=.5[x1,x5]; x4=x5; x1l=w-x5r; +top y1=top y5=cap_height; y2=y4=1/3cap_height; bot y3r=-o; +lft x1l=hround max(2u,3u-.5cap_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,cap_jut,b,1/3,cap_jut); % left serif + dish_serif(5,4,c,1/2,cap_jut,d,1/2,cap_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3cap_height#*slant-min(cap_height#*slant,u#), + max(.5ic#-.5u#,0)); +% the accent +uppercase_circle( +if serifs: .5[x.b1,x.c1] else: x3 fi, + cap_height+if hefty: .5 fi accent_gap,8,9,10,11); +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + + +ecchar "The letter umlaut Y"; +beginchar(oct"230",13u#,cap_height#+acc_height#,0); +italcorr cap_height#*slant+.45u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,dy,alpha; +left_stem=cap_stem-stem_corr; +right_stem=min(cap_hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.05u; +x2l=x5l=hround(.5w-.5left_stem); x3r=x5r; +y1=y4=cap_height; y2=y3=y5=.4cap_height; +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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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,cap_jut,f,1/3,cap_jut); fi % lower serif +% the accent +uppercase_umlaut(0,0,7,8,9,10); +math_fit(.5u#-cap_height#*slant,ic#-4u#); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "The letter Z with acute"; % from pl_dl (plfonts) +beginchar_twice(oct"231",11u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + numeric arm_thickness[\\],z_stem; + if hefty: arm_thickness1=Vround(slab-vair_corr); arm_thickness2=slab; + z_stem=.8[vair,cap_stem]; + else: arm_thickness1=slab; arm_thickness2=vround(slab+vair_corr); + z_stem=.9[vair,cap_stem]; fi + pickup tiny.nib; x3l=x4l=w-x1r=w-x2r; lft x3l=hround u; + 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); + 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 1.25u; y6=good.y(y5l-beak)-eps; + arm(5,6,a,beak_darkness**.8,-.4beak_jut); % upper arm and beak + pos7(arm_thickness2,-90); pos8(hair,0); + bot y7r=0; x7=x4; rt x8r=hround(w-.9u); y8=good.y(y7l+1.2beak)+eps; + arm(7,8,b,beak_darkness**.9,.6beak_jut); % lower arm and beak + penlabels(1,2,3,4,5,6,7,8); + hpos_corr=-.5u; put_accent; +repeat_once; +endchar; + +ecchar "The letter Z with hachek"; % from cshacheu.mf (csfonts) +beginchar(oct"232",11u#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(0,0); +numeric arm_thickness[],z_stem; +if hefty: arm_thickness1=Vround(slab-vair_corr); arm_thickness2=slab; + z_stem=.8[vair,cap_stem]; +else: arm_thickness1=slab; arm_thickness2=vround(slab+vair_corr); + z_stem=.9[vair,cap_stem]; fi +pickup tiny.nib; x3l=x4l=w-x1r=w-x2r; lft x3l=hround u; +top y1=cap_height; y2=min(y1,cap_height-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); +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=cap_height; x5=x1; lft x6r=hround 1.25u; y6=good.y(y5l-beak)-eps; +arm(5,6,a,beak_darkness**.8,-.4beak_jut); % upper arm and beak +pos7(arm_thickness2,-90); pos8(hair,0); +bot y7r=0; x7=x4; rt x8r=hround(w-.9u); y8=good.y(y7l+1.2beak)+eps; +arm(7,8,b,beak_darkness**.9,.6beak_jut); % lower arm and beak +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8); +uc_hachek_accent(1/2[x6,x1]); +endchar; + + +ecchar "The letter Z with dot above"; % from pl_dl (plfonts) +beginchar_twice(oct"233",11u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + numeric arm_thickness[\\],z_stem; + if hefty: arm_thickness1=Vround(slab-vair_corr); arm_thickness2=slab; + z_stem=.8[vair,cap_stem]; + else: arm_thickness1=slab; arm_thickness2=vround(slab+vair_corr); + z_stem=.9[vair,cap_stem]; fi + pickup tiny.nib; x3l=x4l=w-x1r=w-x2r; lft x3l=hround u; + 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); + 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 1.25u; y6=good.y(y5l-beak)-eps; + arm(5,6,a,beak_darkness**.8,-.4beak_jut); % upper arm and beak + pos7(arm_thickness2,-90); pos8(hair,0); + bot y7r=0; x7=x4; rt x8r=hround(w-.9u); y8=good.y(y7l+1.2beak)+eps; + arm(7,8,b,beak_darkness**.9,.6beak_jut); % lower arm and beak + penlabels(1,2,3,4,5,6,7,8); + put_dot(tiny,max(dot_size#,cap_curve#)); +repeat_once; +endchar; + +ecchar "The letter IJ"; +beginchar(oct"234", + 9u#+max(6u#,4u#+cap_stem#) + if not serifs: -u# fi,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit# + +.75cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5(w-9u)-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs: dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +% J part +pickup tiny.nib; pos11(cap_stem',0); pos12(cap_stem',0); +top y11=h; rt x11r=hround(w-2u); x12=x11; y12=.21h; +if serifs: pos13(vair,-90); pos14(cap_hair,-180); + pos15(flare+(cap_stem-stem),-180); + bot y13r=-o; x13=.5[x14,x12]; y15=1/6h; rt x15l=hround w-9u+2.75u; + z15r=z14r; + filldraw stroke z11e--z12e&super_arc.e(12,13); % stem and arc + dish_serif(11,12,aa,1/3,1.3cap_jut,bb,1/3,.75cap_jut); % serif + pickup tiny.nib; bulb(13,14,15); % bulb +else: filldraw stroke z11e--z12e; % stem + pickup fine.nib; pos13(cap_stem',0); z13=z12; + pos14(flare,angle(6.5u,-h)); pos15(1.1flare,-100); + bot y14r=-o; + x14r=.5[x15r,x13r]; + lft x15r=hround max(6u,4u+cap_stem)-0.25u;% +.75u; + bot y15r=vround.06h-o; + filldraw stroke z13e{down}....term.e(14,15,left,1,4); fi % arc and terminal +math_fit(0,.5ic#-.5u#); +penlabels(1,2,3,4,5,11,12,13,14,15); endchar; + +iff not suppress_i_dot: +ecchar "The letter I with dot"; +beginchar_twice(oct"235",max(6u#,4u#+cap_stem#),cap_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +if slitex: + pickup crisp.nib; % arms based on proportions of uppercase E + pos3(slab,90); pos4(slab if not serifs:+2stem_corr fi,-90); + x3=x4=x1; top y3r=h; bot y4r=0; + pos5(hair,0); pos6(hair,0); % top and bottom right arms + rt x5r=rt x6r=hround(w-u); + pos7(hair,180); pos8(hair,180); % top and bottom left arms + lft x7r=lft x8r=hround(u); + y5=y7=good.y(y3l-beak)-eps; % beak in case we ever want a beaked serif! + y6=y8=good.y(y4l+beak)+eps; % watch that this doesn't get too heavy + arm(3,5,a,darkness,jut); arm(3,7,b,darkness,jut); % top left and right arms + arm(4,6,c,darkness,jut); arm(4,8,d,darkness,jut); % bottom left and right +fi +put_dot(tiny,max(dot_size#,cap_curve#)); +repeat_once; +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/ec/src/exrulett.mf b/fonts/ec/src/exrulett.mf new file mode 100644 index 0000000000..22ac86b0b7 --- /dev/null +++ b/fonts/ec/src/exrulett.mf @@ -0,0 +1,765 @@ +% exrulett.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% uppercase letters A to Z + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "The letter A"; +beginchar("A",13u#,cap_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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; + +ecchar "The letter B"; +beginchar("B",12.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(middle_weight,90); penpos9(middle_weight,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(cap_band,-90); penpos12(cap_band,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +z12r=bot z2; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-1.5u); x10r=hround(w-u); +if serifs: right_curve=cap_curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=cap_curve-3stem_corr; x4=.5[x1,w-2.5u]; + x4l:=x4l-.5u; x9l:=x9l-.5u; fi +x6l:=x6l-.5u; x11l:=x11l-.5u; +fill stroke z3e..super_arc.e(4,5) & super_arc.e(5,6)..z7e; % upper lobe +fill stroke z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower lobe +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar "The letter C"; +if serifs: beginchar("C",13u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(w-u); 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,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(h-y1),y4l+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)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2cap_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 +else: beginchar("C",11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .08h-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); endchar; + +ecchar "The letter D"; +beginchar("D",13.5u#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve-stem_corr,0); +penpos6(cap_band,-90); penpos7(cap_band,-90); +z3r=top z1; y4=y3; y5=.51[y4,y6]; y6=y7; +z7r=bot z2; x4=x6=.5w+.25u; x5r=hround(w-u); +x4l:=x6l:=x4-.25cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "The letter E"; +beginchar("E",12u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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+.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 +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "The letter F"; +beginchar("F",11.5u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +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(cap_bar,-90); pos6(hair,0); +top y5l=vround(.5[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,1.25cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "The letter G"; +if serifs: beginchar("G",14u#,cap_height#,0); + italcorr cap_height#*slant-1.5u#-.5cap_serif_fit#; + adjust_fit(0,.5cap_serif_fit#); + pickup tiny.nib; pos0(cap_stem,0); pos7(cap_stem,0); + rt x0r=hround(w-2u); y0=good.y(.1[bar_height,x_height]+1); x7=x0; + pickup fine.nib; + if hefty: bot y7=0; pos5(cap_stem,0); x5=x0; top y5=tiny.top y0; + else: pos5(cap_hair,0); pos8(cap_stem,0); + y7=.5bar_height; z5l=z8l; z8=z7; x9=x8r; bot y9=0; + filldraw z8l{down}..{4(x9-x8),y9-y8}z9--z8r--cycle; fi % spur + pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_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,x_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,cap_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2cap_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(cap_jut,2.25u),b,1/3,1.25u); % serif + math_fit(-.3cap_height#*slant-.5u#,ic#); +else: beginchar("G",12u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,270); + rt x1r=hround(w-1.35u); x2=x4=.5w+u; + lft x3r=hround max(u,2u-.5cap_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[bar_height,x_height]; + filldraw stroke z0e--z7e; % stem + pos8(cap_bar,90); pos9(cap_bar,90); + z0r=z9r; y8=y9; lft x8=hround x4; + filldraw stroke z8e--z9e; % bar + math_fit(-.3cap_height#*slant-.5u#,.5ic#); fi +penlabels(0,1,1',2,3,4,5,6,7,8,9); endchar; + +ecchar "The letter H"; +beginchar("H",13u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_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(cap_bar,90); penpos6(cap_bar,90); +x5=x1; x6=x3; y5=y6=.52h; +fill stroke z5e--z6e; % bar +if serifs: numeric inner_jut; + if rt x1r+cap_jut+.5u+1<=lft x3l-cap_jut: inner_jut=cap_jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); fi % lower left serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +ecchar "The letter I"; +beginchar("I",max(6u#,4u#+cap_stem#),cap_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +if slitex: + pickup crisp.nib; % arms based on proportions of uppercase E + pos3(slab,90); pos4(slab if not serifs:+2stem_corr fi,-90); + x3=x4=x1; top y3r=h; bot y4r=0; + pos5(hair,0); pos6(hair,0); % top and bottom right arms + rt x5r=rt x6r=hround(w-u); + pos7(hair,180); pos8(hair,180); % top and bottom left arms + lft x7r=lft x8r=hround(u); + y5=y7=good.y(y3l-beak)-eps; % beak in case we ever want a beaked serif! + y6=y8=good.y(y4l+beak)+eps; % watch that this doesn't get too heavy + arm(3,5,a,darkness,jut); arm(3,7,b,darkness,jut); % top left and right arms + arm(4,6,c,darkness,jut); arm(4,8,d,darkness,jut); % bottom left and right +fi +math_fit(0,.5ic#); penlabels(1,2 if slitex:,3,4,5,6,7,8 fi); endchar; +font_cap_stem cap_stem#; + +ecchar "The letter J"; +beginchar("J",9u#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit# + +.75cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +top y1=h; rt x1r=hround(w-2u); x2=x1; y2=.21h; +if serifs: pos3(vair,-90); pos4(cap_hair,-180); + pos5(flare+(cap_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.3cap_jut,b,1/3,.75cap_jut); % serif + pickup tiny.nib; bulb(3,4,5); % bulb +else: filldraw stroke z1e--z2e; % stem + pickup fine.nib; pos3(cap_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; + +ecchar "The letter K"; +beginchar("K",13.5u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6cap_jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.cap_stem,0); pos2(fudged.cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5fudged.cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.cap_stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +top y3=h; rt x3r=hround(r-letter_fit-u-right_jut); +bot y6=0; rt x6r=hround(r-letter_fit-.75u-right_jut); +x4=x1; y4=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=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+cap_jut+.5u+1<=lft x6l-cap_jut: inner_jut=cap_jut; + else: rt x2r+cap_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper stem serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower stem serif + dish_serif(3,4,e,2/3,1.2cap_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; + +ecchar "The letter L"; +beginchar("L",11u#-width_adj#,cap_height#,0); +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,-90); pos4(hair,0); +bot y3r=0; x3=x2; y4=y3l+7/6beak+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,cap_jut,b,1/3,1.25cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,u#); penlabels(1,2,3,4); endchar; + +ecchar "The letter M"; +beginchar("M",16u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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.cap_stem-4stem_corr); +stem3=hround(fudged.hair-stem_corr); +stem4=hround(fudged.cap_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,-cap_jut); % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + serif(3,4,d,1/3,cap_jut); % upper right serif + dish_serif(4,3,e,1/3,cap_jut,f,1/3,cap_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; + +ecchar "The letter N"; +beginchar("N",13u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if hefty: penpos5(fudged.cap_stem,0); penpos6(fudged.cap_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,cap_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,-cap_jut); % upper left serif + else: serif(5,6,a,1/3,-cap_jut); fi % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + dish_serif(3,4,e,1/2,cap_jut,f,1/2,cap_jut)(dark); fi % upper right serif +math_fit(0,max(.5ic#-.5u#,0)); penlabels(1,1',2,3,4,4',5,6,7); endchar; + +ecchar "The letter O"; +beginchar("O",14u#-width_adj#,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 +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); penlabels(1,2,3,4); endchar; + +ecchar "The letter P"; +beginchar("P",12u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; penpos1(cap_stem'-tiny,0); penpos2(cap_stem-tiny,0); +pos0(cap_stem',0); pos0'(cap_stem,0); +lft x1l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +x1l=x2l=x0l=x0'l; y0=y0'=y7; +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(.5[vair,cap_band],-90); penpos7(.5[vair,cap_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-.25cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,0',c,1/3,cap_jut,d,1/3,cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "The letter Q"; +beginchar("Q",14u#-width_adj#,cap_height#,comma_depth#); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +numeric light_curve; light_curve=cap_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[cap_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(cap_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(-.3cap_height#*slant-.5u#,ic#); penlabels(1,2,3,4,5,6,7,8); +endchar; + +ecchar "The letter R"; +beginchar("R",if serifs: 12u#+.5max(2u#,cap_curve#) + else:12.5u#-.5width_adj# fi,cap_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround(.5h+.5vair); x4=x6; +if serifs: x4=.5w-.5u; x5r=hround(w-2.25u); +else: x4=.5w+.5u; x5r=hround(w-u); fi +x4l:=x6l:=x4-.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(cap_stem,180); + pos8(cap_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5cap_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + bot y9r=-o; rt x10r=hround(w-.05u); y10=1/4[y2,y7]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{up}; % tail + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif +else: penpos8(cap_stem-2stem_corr,0); penpos9(cap_stem,0); + x8=x6+.5u; y8=y6; x9r=hround(w-.5u); y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +math_fit(0,.75ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "The letter S"; +beginchar("S",10u#,cap_height#,0); +italcorr cap_height#*slant-u#; +adjust_fit(0,0); +numeric theta; theta=90-angle(50u,h); slope:=-h/50u; % angle at middle +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-90); +pos0(ess',theta); pos7(s_slab,-90); +x2+x7=2x0=w; x7-x2=if serifs: u else: 0 fi; top y2l=h+o; bot y7r=-o; +y0=.52h; lft x3l=hround u; rt x6r=hround(w-u); +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; +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.5u); lft x8r=hround u; + bot y1=vround 2/3h+1; top y8=vround 1/3h-1; + filldraw stroke z1e{x2-x1,10(y2-y1)}....{left}z2e; % upper arc + filldraw stroke z7e{left}....{up}z8e; % lower arc + path upper_arc, lower_arc; + upper_arc=z1{x2-x1,10(y2-y1)}....{left}z2; + lower_arc=z7{left}....{up}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(1.2flare,-100); pos8(1.2flare,-100); + x1l=good.x(x1l+w-1.75u-rt x1); lft x8r=hround .8u; + top y1l=vround .93h+o; bot y8r=vround .1h-o; + 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 +math_fit(0,.5ic#); penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +ecchar "The letter T"; +beginchar("T",13u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h:=vround(h-2stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_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-.65u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % right arm and beak +pos5(hair,180); x5=w-x4; y5=y4; +arm(3,5,f,beak_darkness,-.7beak_jut); % left arm and beak +if serifs: dish_serif(2,1,c,1/3,1.414cap_jut,d,1/3,1.414cap_jut); % lower serif + nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,.5cap_jut); fi % upper bracketing +math_fit(-.75cap_height#*slant,ic#-2.5u#); penlabels(1,2,3,4,5,6); endchar; + +ecchar "The letter U"; +beginchar("U",13u#+.5width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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(cap_stem,0); pos2(cap_stem,0); +pos2'(cap_stem,180); z2'=z2; +pos3(cap_band,-90); +pos4(cap_hair,0); pos5(cap_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-.5cap_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,cap_jut,b,1/3,cap_jut); % left serif + dish_serif(5,4,c,1/2,cap_jut,d,1/2,cap_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3cap_height#*slant-min(cap_height#*slant,u#), + max(.5ic#-.5u#,0)); penlabels(1,2,3,4,5); endchar; + +ecchar "The letter V"; +beginchar("V",13u#,cap_height#,0); +italcorr cap_height#*slant+.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +left_stem=cap_stem-stem_corr; +right_stem=min(cap_hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4=h; +x2-x1=x4-x3; x2l+apex_corr=x3l; y2=y3=-apex_o; +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>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 +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +math_fit(.75u#-cap_height#*slant,ic#-4u#); penlabels(0,1,2,3,4); endchar; + +ecchar "The letter W"; +beginchar("W",18u#,cap_height#,0); +italcorr cap_height#*slant+.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric stem[],outer_jut,upper_notch,alpha,mid_corr; +outer_jut=.7cap_jut; x1l=w-x8r=l+letter_fit+outer_jut+.25u; +stem1=fudged.cap_stem-stem_corr; +stem4=min(fudged.hair if hefty:-2stem_corr fi,stem1); +stem2=stem4 if hefty:-2stem_corr fi; +stem3=stem1 if hefty:-2stem_corr fi; +x2-x1=x4-x3=x6-x5=x8-x7; x2l+apex_corr=x3l; x6l+apex_corr=x7l; +y1=y8=h; y2=y3=y6=y7=-apex_o; y4=y5=if monospace: vround .6 fi\\ h; +mid_corr=if monospace or hefty:-apex_corr else: 1/3jut 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+mid_corr| $\approx$ |x4r| +z23=whatever[z1r,z2r]=whatever[z3l,z4l]; +z45=whatever[z3r,z4r]=whatever[z5l,z6l]; +z67=whatever[z5r,z6r]=whatever[z7l,z8l]; upper_notch=y4-cap_notch_cut; +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>cap_notch_cut:(x67,cap_notch_cut)+.5right{down} + --(x67,cap_notch_cut)+.5left{up} else: z67&z67 fi + ...{z5-z6}special_diag_end(6,5,4,3){z3-z4} + ...if y23>cap_notch_cut:(x23,cap_notch_cut)+.5right{down} + --(x23,cap_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.5cap_jut; + elseif hefty: inner_jut1=inner_jut4=cap_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+cap_jut+.5u+1<=lft x5'l-.7cap_jut: inner_jut1=cap_jut; + else: rt x1'r+inner_jut1+.5u+1=lft x5'l-inner_jut2; fi + if rt x5'r+cap_jut+.5u+1<=lft x8'l-1.1cap_jut: inner_jut3=cap_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 +math_fit(.75u#-cap_height#*slant,ic#-2.5u#); +penlabels(0,1,2,3,4,5,6,7,8,23,45,67); endchar; + +ecchar "The letter X"; +beginchar("X",13u#,cap_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric stem[],outer_jut,xjut,alpha[]; +stem1=cap_stem-2stem_corr; stem2=min(cap_hair,stem1); +outer_jut=.75cap_jut; xjut= if serifs: (stem1-stem2)/4 else: 0 fi; +x1l=l+letter_fit+.5u+outer_jut; x2r=r-letter_fit-u-outer_jut-xjut; +x3l=l+letter_fit+.25u+outer_jut+xjut; x4r=r-letter_fit-.25u-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$'=.1[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+cap_jut+.5u+1<=lft x2'l-cap_jut-xjut: inner_jut1=cap_jut; + else: rt x1'r+inner_jut1+.5u+1=lft x2'l-inner_jut1-xjut; fi + if rt x3'r+cap_jut+.5u+1<=lft x4'l-cap_jut-xjut: inner_jut2=cap_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 +math_fit(0,.5ic#); penlabels(0,1,2,3,4,12,13,24,34); endchar; + +ecchar "The letter Y"; +beginchar("Y",13u#,cap_height#,0); +italcorr cap_height#*slant+.45u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,dy,alpha; +left_stem=cap_stem-stem_corr; +right_stem=min(cap_hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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,cap_jut,f,1/3,cap_jut); fi % lower serif +math_fit(.5u#-cap_height#*slant,ic#-4u#); +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar "The letter Z"; +beginchar("Z",11u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(0,0); +numeric arm_thickness[],z_stem; +if hefty: arm_thickness1=Vround(slab-vair_corr); arm_thickness2=slab; + z_stem=.8[vair,cap_stem]; +else: arm_thickness1=slab; arm_thickness2=vround(slab+vair_corr); + z_stem=.9[vair,cap_stem]; fi +pickup tiny.nib; x3l=x4l=w-x1r=w-x2r; lft x3l=hround u; +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); +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 1.25u; y6=good.y(y5l-beak)-eps; +arm(5,6,a,beak_darkness**.8,-.4beak_jut); % upper arm and beak +pos7(arm_thickness2,-90); pos8(hair,0); +bot y7r=0; x7=x4; rt x8r=hround(w-.9u); y8=good.y(y7l+1.2beak)+eps; +arm(7,8,b,beak_darkness**.9,.6beak_jut); % lower arm and beak +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8); endchar; + +endinput; diff --git a/fonts/ec/src/exruwest.mf b/fonts/ec/src/exruwest.mf new file mode 100644 index 0000000000..7fbbd85710 --- /dev/null +++ b/fonts/ec/src/exruwest.mf @@ -0,0 +1,992 @@ +% exruwest.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% uppercase accented letters ("western part") +% +% oct"300" .. oct"337" +% +% +% oct"300" A with gravis +% oct"301" A with acute +% oct"302" A with circumflex +% oct"303" A with tilde +% oct"304" A with umlaut +% oct"305" A with ring +% oct"306" AE +% oct"307" C with cedilla +% +% oct"310" E with gravis +% oct"311" E with acute +% oct"312" E with circumflex +% oct"313" E with umlauts +% oct"314" I with gravis +% oct"315" I with acute +% oct"316" I with circumflex +% oct"317" I with umlaut +% +% oct"320" edh (icelandic) or D with stroke +% oct"321" N with tilde +% oct"322" O with gravis +% oct"323" O with acute +% oct"324" O with circumflex +% oct"325" O with tilde +% oct"326" O with umlaut +% oct"327" OE +% +% oct"330" O with / +% oct"331" U with gravis +% oct"332" U with acute +% oct"333" U with circumflex +% oct"334" U with umlaut +% oct"335" Y with acute +% oct"336" Thorn +% oct"337" Sharp S (SS) + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "The letter A with gravis"; +beginchar_twice(oct"300",13u#,cap_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=cap_height+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_height-cap_notch_cut: y0:=cap_height-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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +hpos_corr=if not serifs: .75u else: .25u fi; put_gravis; +repeat_once; +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "The letter A with acute"; +beginchar_twice(oct"301",13u#,cap_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=cap_height+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_height-cap_notch_cut: y0:=cap_height-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; % left and right diagonals +fi +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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +fi +% the accent +if not monospace: hpos_corr=-.75u; fi +put_accent; +penlabels(0,1,2,3,4,5,6); +repeat_once; +endchar; + +ecchar "The letter A with circumflex"; +beginchar(oct"302",13u#,cap_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=cap_height+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_height-cap_notch_cut: y0:=cap_height-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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +% the accent +uppercase_hat(x2,0,12,13,14,15,16); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); +endchar; + +ecchar "The letter A with tilde"; +beginchar(oct"303",13u#,cap_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=cap_height+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_height-cap_notch_cut: y0:=cap_height-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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +% the accent +uppercase_tilde(0,0,12,13,14,15,16); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); +endchar; + +ecchar "The letter A with umlaut"; +beginchar(oct"304",13u#,cap_height#+acc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=cap_height+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_height-cap_notch_cut: y0:=cap_height-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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +% the accent +uppercase_umlaut(0,0,7,8,9,10); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "The letter A with ring"; +beginchar(oct"305",13u#,cap_height#+.8acc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=cap_height+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_height-cap_notch_cut: y0:=cap_height-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=cap_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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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 +% the accent +uppercase_circle(x2,y2,12,13,14,15); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + +ecchar "The ligature AE"; +beginchar(oct"306",16u#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.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.cap_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; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(mfudged.hair,0); x5=x1; +top y5l=vround(if hefty:.52 else:.48 fi\\[y2,y1]+.5cap_bar); +pos0(cap_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.65u+.5mfudged.hair); + 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 +pos8(slab if not serifs:+2stem_corr fi,-90); +pos9(mfudged.hair,0); bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +left_stem=if monospace:fudged.hair else: cap_hair fi if hefty: -3stem_corr fi; +outer_jut=.8cap_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(cap_band,90); x14=x0; y13l=y14l; y13r=y14r; +if hefty: y14r=.4h; else: y14=y0; fi +penstroke z13e--z14e; % bar line +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(11,12); + if rt x11'r+cap_jut+.5u+1<=lft x2l-.75cap_jut: inner_jut=cap_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 + nodish_serif(1,2,a,1/3,cap_jut+x1l-x12,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,.75inner_jut,d,1/3,.5cap_jut); fi % lower middle serif +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +ecchar "The letter cedilla C"; +if serifs: beginchar(oct"307",13u#,cap_height#,0.875desc_depth#); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(w-u); 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,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(h-y1),y4l+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)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2cap_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 +else: beginchar(oct"307",11.5u#,cap_height#,0.875desc_depth#); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .08h-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +% the accent +uppercase_cedilla(x4,0,7,8,9,10,11); +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "The letter E with gravis"; +beginchar_twice(oct"310", 12u#-width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +hh:=vround(cap_height-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=hh; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=hh; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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+.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 +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,hh,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); +%if not serifs: hpos_corr=.75u; fi put_gravis; +hpos_corr= .75u; put_gravis; +repeat_once; +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "The letter E with acute"; +beginchar_twice(oct"311", 12u#-width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +hh:=vround(cap_height-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=hh; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=hh; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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+.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 +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,hh,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +put_accent; +repeat_once; +math_fit(0,.5ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); +endchar; + +ecchar "The letter E with circumflex"; +beginchar(oct"312", 12u#-width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +hh:=vround(cap_height-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=hh; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=hh; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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+.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 +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,hh,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); +% the accent +uppercase_hat(.5w,0,10,11,12,13,14); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + + +ecchar "The letter E with umlaut"; +beginchar(oct"313", 12u#-width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +hh:=vround(cap_height-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=hh; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=hh; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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+.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 +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,hh,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +% the accent +uppercase_umlaut(0,0,10,11,12,13); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + + +ecchar "The letter I with gravis"; +beginchar_twice(oct"314",max(6u#,4u#+cap_stem#),cap_height#+acc_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +if slitex: + pickup crisp.nib; % arms based on proportions of uppercase E + pos3(slab,90); pos4(slab if not serifs:+2stem_corr fi,-90); + x3=x4=x1; top y3r=cap_height; bot y4r=0; + pos5(hair,0); pos6(hair,0); % top and bottom right arms + rt x5r=rt x6r=hround(w-u); + pos7(hair,180); pos8(hair,180); % top and bottom left arms + lft x7r=lft x8r=hround(u); + y5=y7=good.y(y3l-beak)-eps; % beak in case we ever want a beaked serif! + y6=y8=good.y(y4l+beak)+eps; % watch that this doesn't get too heavy + arm(3,5,a,darkness,jut); arm(3,7,b,darkness,jut); % top left and right arms + arm(4,6,c,darkness,jut); arm(4,8,d,darkness,jut); % bottom left and right +fi +math_fit(0,.5ic#); +hpos_corr=.5u; put_gravis; +repeat_once; +penlabels(1,2,3,4); endchar; + +ecchar "The letter I with acute"; +beginchar_twice(oct"315",max(6u#,4u#+cap_stem#),cap_height#+acc_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +if slitex: + pickup crisp.nib; % arms based on proportions of uppercase E + pos3(slab,90); pos4(slab if not serifs:+2stem_corr fi,-90); + x3=x4=x1; top y3r=cap_height; bot y4r=0; + pos5(hair,0); pos6(hair,0); % top and bottom right arms + rt x5r=rt x6r=hround(w-u); + pos7(hair,180); pos8(hair,180); % top and bottom left arms + lft x7r=lft x8r=hround(u); + y5=y7=good.y(y3l-beak)-eps; % beak in case we ever want a beaked serif! + y6=y8=good.y(y4l+beak)+eps; % watch that this doesn't get too heavy + arm(3,5,a,darkness,jut); arm(3,7,b,darkness,jut); % top left and right arms + arm(4,6,c,darkness,jut); arm(4,8,d,darkness,jut); % bottom left and right +fi +% the accent +if not monospace: hpos_corr=-.5cap_jut; fi +put_accent; +repeat_once; +math_fit(0,.5ic#); penlabels(1,2); endchar; + +ecchar "The letter I with circumflex"; +beginchar(oct"316",max(6u#,4u#+cap_stem#),cap_height#+acc_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +if slitex: + pickup crisp.nib; % arms based on proportions of uppercase E + pos3(slab,90); pos4(slab if not serifs:+2stem_corr fi,-90); + x3=x4=x1; top y3r=cap_height; bot y4r=0; + pos5(hair,0); pos6(hair,0); % top and bottom right arms + rt x5r=rt x6r=hround(w-u); + pos7(hair,180); pos8(hair,180); % top and bottom left arms + lft x7r=lft x8r=hround(u); + y5=y7=good.y(y3l-beak)-eps; % beak in case we ever want a beaked serif! + y6=y8=good.y(y4l+beak)+eps; % watch that this doesn't get too heavy + arm(3,5,a,darkness,jut); arm(3,7,b,darkness,jut); % top left and right arms + arm(4,6,c,darkness,jut); arm(4,8,d,darkness,jut); % bottom left and right +fi +math_fit(0,.5ic#); +% the accent +uppercase_hat(x1,0,15,16,17,18,19); +penlabels(1,2,3,4,5,6,7,8,15,16,17,18,19); endchar; + +ecchar "The letter I with umlaut"; +beginchar(oct"317",max(6u#,4u#+cap_stem#),cap_height#+acc_height#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=cap_height; bot y2=0; +filldraw stroke z1e--z2e; % stem +if serifs or monospace: + dish_serif(1,2,a,1/3,1.05cap_jut,b,1/3,1.05cap_jut); % upper serif + dish_serif(2,1,c,1/3,1.05cap_jut,d,1/3,1.05cap_jut); fi % lower serif +if slitex: + pickup crisp.nib; % arms based on proportions of uppercase E + pos3(slab,90); pos4(slab if not serifs:+2stem_corr fi,-90); + x3=x4=x1; top y3r=cap_height; bot y4r=0; + pos5(hair,0); pos6(hair,0); % top and bottom right arms + rt x5r=rt x6r=hround(w-u); + pos7(hair,180); pos8(hair,180); % top and bottom left arms + lft x7r=lft x8r=hround(u); + y5=y7=good.y(y3l-beak)-eps; % beak in case we ever want a beaked serif! + y6=y8=good.y(y4l+beak)+eps; % watch that this doesn't get too heavy + arm(3,5,a,darkness,jut); arm(3,7,b,darkness,jut); % top left and right arms + arm(4,6,c,darkness,jut); arm(4,8,d,darkness,jut); % bottom left and right +fi +math_fit(0,.5ic#); +% the accent +uppercase_umlaut(0,0,15,16,17,18); +penlabels(1,2,3,4,5,6,7,8,,15,16,17,18); endchar; + +ecchar "The letter (Eth) bar D"; +beginchar(oct"320",13.5u#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve-stem_corr,0); +penpos6(cap_band,-90); penpos7(cap_band,-90); +z3r=top z1; y4=y3; y5=.51[y4,y6]; y6=y7; +z7r=bot z2; x4=x6=.5w+.25u; x5r=hround(w-u); +x4l:=x6l:=x4-.25cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +% the bar +pickup tiny.nib; +y8=y9=y5; +pos8(bar,90); pos9(bar,90); +x9=x4; +if serifs: x8=x2l-cap_jut; else: x8=.5u; fi; +filldraw stroke z8e--z9e; +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +ecchar "The letter N with tilde"; +beginchar(oct"321",13u#+width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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=cap_height; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround min(w-2u,w-3u+.5fudged.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if hefty: penpos5(fudged.cap_stem,0); penpos6(fudged.cap_stem,0); + x5l=x1; x6r=x4; y5=cap_height; y6=0; + numeric upper_notch,lower_notch; + upper_notch=cap_height-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,cap_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,-cap_jut); % upper left serif + else: serif(5,6,a,1/3,-cap_jut); fi % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + dish_serif(3,4,e,1/2,cap_jut,f,1/2,cap_jut)(dark); fi % upper right serif +% the accent +uppercase_tilde(0,0,8,9,10,11,12); +math_fit(0,max(.5ic#-.5u#,0)); penlabels(1,1',2,3,4,4',5,6,7,8,9,10,11,12,13); +endchar; + +ecchar "The letter O with gravis"; +beginchar_twice(oct"322",14u#-width_adj#,cap_height#+acc_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=cap_height+o; y3r=-o; +y2=y4=.5cap_height-vair_corr; y2l:=y4l:=.52cap_height; +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 +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); +% the accent +hpos_corr= .75u; put_gravis; +repeat_once; +penlabels(1,2,3,4); endchar; + +ecchar "The letter O with acute"; % from pl_dl (plfonts) +beginchar_twice(oct"323",14u#-width_adj#,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 + penlabels(1,2,3,4); + hpos_corr=-.75u; put_accent; +repeat_once; +endchar; % accented O + +ecchar "The letter O with circumflex"; +beginchar(oct"324",14u#-width_adj#,cap_height#+acc_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=cap_height+o; y3r=-o; +y2=y4=.5cap_height-vair_corr; y2l:=y4l:=.52cap_height; +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 +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); +% the accent +uppercase_hat(x1,0,5,6,7,8,9); +penlabels(1,2,3,4,5,6); endchar; + +ecchar "The letter O with tilde"; +beginchar(oct"325",14u#-width_adj#,cap_height#+acc_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=cap_height+o; y3r=-o; +y2=y4=.5cap_height-vair_corr; y2l:=y4l:=.52cap_height; +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 +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); +% the accent +uppercase_tilde(0,0,7,8,9,10,11); +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "The letter O with umlaut"; +beginchar(oct"326",14u#-width_adj#,cap_height#+acc_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=cap_height+o; y3r=-o; +y2=y4=.5cap_height-vair_corr; y2l:=y4l:=.52cap_height; +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 +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); +% the accent +uppercase_umlaut(0,0,5,6,7,8); +penlabels(1,2,3,4,5,6,7,8); endchar; + + +ecchar "The ligature OE"; +beginchar(oct"327",18u#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric light_stem; +light_stem=max(tiny.breadth,hround .8[mfudged.hair,mfudged.cap_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-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(mfudged.hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_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+.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 +pos8(slab if not serifs:+2stem_corr fi,-90); +pos9(mfudged.hair,0); bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +penpos11(vair,90); penpos13(vair,-90); +if monospace: penpos12(fudged.cap_stem,180); + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: penpos12(hround(cap_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,.5cap_jut); % upper serif + serif(2,1,b,1/3,.5cap_jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8,9,11,12,13,14,15); endchar; + + +ecchar "Scandinavian letter O/slash"; +beginchar(oct"330",14u#,cap_height#+.25desc_depth#,.25desc_depth#); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +penpos1(vair,90); penpos3(vair,-90); +penpos2(fudged.cap_stem,180); penpos4(fudged.cap_stem,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=cap_height+o; y2=y4=.5cap_height-vair_corr; y3r=-o; +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-vair; x6=x2+vair; 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; + + +ecchar "The letter U with gravis"; +beginchar_twice(oct"331",13u#+.5width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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(cap_stem,0); pos2(cap_stem,0); +pos2'(cap_stem,180); z2'=z2; +pos3(cap_band,-90); +pos4(cap_hair,0); pos5(cap_hair,0); +x1=x2; x3=.5[x1,x5]; x4=x5; x1l=w-x5r; +top y1=top y5=cap_height; y2=y4=1/3cap_height; bot y3r=-o; +lft x1l=hround max(2u,3u-.5cap_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,cap_jut,b,1/3,cap_jut); % left serif + dish_serif(5,4,c,1/2,cap_jut,d,1/2,cap_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3cap_height#*slant-min(cap_height#*slant,u#), + max(.5ic#-.5u#,0)); +hpos_corr= .75u; put_gravis; +repeat_once; +penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "The letter U with acute"; +beginchar_twice(oct"332",13u#+.5width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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(cap_stem,0); pos2(cap_stem,0); +pos2'(cap_stem,180); z2'=z2; +pos3(cap_band,-90); +pos4(cap_hair,0); pos5(cap_hair,0); +x1=x2; x3=.5[x1,x5]; x4=x5; x1l=w-x5r; +top y1=top y5=cap_height; y2=y4=1/3cap_height; bot y3r=-o; +lft x1l=hround max(2u,3u-.5cap_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,cap_jut,b,1/3,cap_jut); % left serif + dish_serif(5,4,c,1/2,cap_jut,d,1/2,cap_jut)(dark); fi % right serif +% the accent +put_accent; +repeat_once; +penlabels(1,2,3,4,5); endchar; + +ecchar "The letter U with circumflex"; +beginchar(oct"333",13u#+.5width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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(cap_stem,0); pos2(cap_stem,0); +pos2'(cap_stem,180); z2'=z2; +pos3(cap_band,-90); +pos4(cap_hair,0); pos5(cap_hair,0); +x1=x2; x3=.5[x1,x5]; x4=x5; x1l=w-x5r; +top y1=top y5=cap_height; y2=y4=1/3cap_height; bot y3r=-o; +lft x1l=hround max(2u,3u-.5cap_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,cap_jut,b,1/3,cap_jut); % left serif + dish_serif(5,4,c,1/2,cap_jut,d,1/2,cap_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3cap_height#*slant-min(cap_height#*slant,u#), + max(.5ic#-.5u#,0)); +% the accent +uppercase_hat(x3,0,6,7,8,9,10); +penlabels(1,2,3,4,5,6,7,6,7,8,9,10); endchar; + + +ecchar "The letter U with umlaut"; +beginchar(oct"334",13u#+.5width_adj#,cap_height#+acc_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_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(cap_stem,0); pos2(cap_stem,0); +pos2'(cap_stem,180); z2'=z2; +pos3(cap_band,-90); +pos4(cap_hair,0); pos5(cap_hair,0); +x1=x2; x3=.5[x1,x5]; x4=x5; x1l=w-x5r; +top y1=top y5=cap_height; y2=y4=1/3cap_height; bot y3r=-o; +lft x1l=hround max(2u,3u-.5cap_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,cap_jut,b,1/3,cap_jut); % left serif + dish_serif(5,4,c,1/2,cap_jut,d,1/2,cap_jut)(dark); fi % right serif +math_fit(-cap_serif_fit#-.3cap_height#*slant-min(cap_height#*slant,u#), + max(.5ic#-.5u#,0)); +% the accent +uppercase_umlaut(0,0,6,7,8,9); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + + +ecchar "The letter Y with acute"; +beginchar_twice(oct"335",13u#,cap_height#+acc_height#,0); +italcorr cap_height#*slant+.45u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,dy,alpha; +left_stem=cap_stem-stem_corr; +right_stem=min(cap_hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.05u; +x2l=x5l=hround(.5w-.5left_stem); x3r=x5r; +y1=y4=cap_height; y2=y3=y5=.4cap_height; +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+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_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,cap_jut,f,1/3,cap_jut); fi % lower serif +% the accent +put_accent; +repeat_once; +math_fit(.5u#-cap_height#*slant,ic#-4u#); +penlabels(0,1,2,3,4,5,6); endchar; + + +ecchar "The letter Thorn"; +beginchar(oct"336",11u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(cap_band,90); penpos9(cap_band,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(cap_band,-90); penpos12(cap_band,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +x12=x1; +y12r=0.26h; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h+y12r; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-1.5u); x10r=hround(w-u); +if serifs: right_curve=cap_curve-stem_corr; x4=.5[x1,w-2.5u]; +else: right_curve=cap_curve-3stem_corr; x4=.5[x1,w-2.5u]; + x4l:=x4l-.5u; x9l:=x9l-.5u; fi +x6l:=x6l-.5u; x11l:=x11l-.5u; +fill stroke z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower lobe +if serifs: dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + + +ecchar "The letter Sharp S (SS)"; +beginchar(oct"337",if monospace: 15u# else: 20u# fi ,cap_height#,0); +italcorr cap_height#*slant-u#; +normal_adjust_fit(0,0); +w:=0.5w; +numeric theta; theta=90-angle(50u,h); slope:=-h/50u; % angle at middle +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +pickup fine.nib; pos2(max(fine.breadth,s_slab-vround vair_corr),-90); +pos0(ess',theta); pos7(s_slab,-90); +x2+x7=2x0=w; x7-x2=if serifs: u else: 0 fi; top y2l=h+o; bot y7r=-o; +y0=.52h; lft x3l=hround u; rt x6r=hround(w-u); +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; +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.5u); lft x8r=hround u; + bot y1=vround 2/3h+1; top y8=vround 1/3h-1; + filldraw stroke z1e{x2-x1,10(y2-y1)}....{left}z2e; % upper arc + filldraw stroke z7e{left}....{up}z8e; % lower arc + path upper_arc, lower_arc; + upper_arc=z1{x2-x1,10(y2-y1)}....{left}z2; + lower_arc=z7{left}....{up}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(1.2flare,-100); pos8(1.2flare,-100); + x1l=good.x(x1l+w-1.75u-rt x1); lft x8r=hround .8u; + top y1l=vround .93h+o; bot y8r=vround .1h-o; + 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 +math_fit(0,.5ic#); +w:=2w; +currentpicture:=currentpicture+(currentpicture shifted (0.5w,0)); +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +endinput; diff --git a/fonts/ec/src/exsign.mf b/fonts/ec/src/exsign.mf new file mode 100644 index 0000000000..b8432d1d3f --- /dev/null +++ b/fonts/ec/src/exsign.mf @@ -0,0 +1,233 @@ +% exsign.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% special characters common to roman and italic style fonts + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Zero for p mille sign"; +beginchar(oct"030",if serifs: + if monospace: 9u#+max(6u#,2fudge*(hair#+stem#)) else: 7u# fi else: 8u# fi, + body_height#,body_height#-asc_height#); +italcorr if hefty: .4asc_height#*slant-.5u# else: h#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +numeric left_curve,right_curve; +left_curve=hround 5/6[fudged.hair,fudged.stem]; +right_curve=max(fine.breadth,hround(fudged.hair if hefty:-2stem_corr fi)); +pos1(vair,90); +pos2(left_curve,180); +pos3(vair,270); +pos4(right_curve,360); +bot y3r=-d; +rt x4r=hround(.5w +2.5u ); +lft x2r=hround(.5w -2.5u ) ; +top y1r=vround(if monospace: .3 else: .5 fi\\ asc_height); +x1=x3=.5[x2,x4]; y2=y4=.5[y1,y3]; +filldraw stroke pulled_super_arc.e(1,2)(superpull) + & pulled_super_arc.e(2,3)(superpull); % left half of lower bowl +filldraw stroke super_arc.e(3,4) & super_arc.e(4,1); % right half of lower bowl +penlabels(1,2,3,4); endchar; + + +ecchar "Straight double quotes"; +beginchar(oct"042",9u#,asc_height#,0); +numeric top_width#,spread#; +top_width#=if serifs: flare# else: stem# fi; +spread#=max(3u#,top_width#+.5u#); define_pixels(spread); +italcorr asc_height#*slant+.5top_width#+.5spread#-4u#; +adjust_fit(0,0); +x1=x2; x3=x4=w-x1; x3-x1=spread+2; y1=y3; +y2=y4=max(.5[bar_height,x_height]+.5vair,h-x_height); +if serifs: pickup crisp.nib; pos1(flare,0); pos2(vair,0); + pos3(flare,0); pos4(vair,0); + y1+.5stem=h; filldraw circ_stroke z1e--z2e; % left stem and bulb + filldraw circ_stroke z3e--z4e; % right stem and bulb +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + pos3(stem,0); pos4(vair,0); + top y1=h; filldraw stroke z1e--z2e; % left stem + filldraw stroke z3e--z4e; fi % right stem +penlabels(1,2,3,4); endchar; + + +ecchar "Hash mark (number sign)"; +if monospace: compute_spread(.6x_height#,.7x_height#); +else: compute_spread(.45x_height#,.55x_height#); fi +beginchar("#",15u#,asc_height#,asc_depth#); +italcorr (math_axis#+.5(spread#+rule_thickness#))*slant-.5u#; +adjust_fit(0,0); +pickup extra_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 +lft x6=hround 3u; rt x7=hround(w-3u); x5-x6=x7-x8; +x8=good.x if monospace: .6 else: .5 fi\\w; +top y5=top y7=h+eps; bot y6=bot y8=-d-eps; +y15=y1; z15=whatever[z5,z6]; y36=y3; z36=whatever[z5,z6]; +y27=y2; z27=whatever[z7,z8]; y48=y4; z48=whatever[z7,z8]; +draw z5--if x5>x6+1:(good.x(x15+.5),y1)--(good.x(x15-.5),y1) + --(good.x(x36+.5),y3)--(good.x(x36-.5),y3)--fi\\z6; % left diagonal +draw z7--if x7>x8+1:(good.x(x27+.5),y2)--(good.x(x27-.5),y2) + --(good.x(x48+.5),y4)--(good.x(x48-.5),y4)--fi\\z8; % right diagonal +labels(1,2,3,4,5,6,7,8,15,27,36,48); endchar; + +ecchar "Dollar sign"; +beginchar("$",9u#,body_height#,body_height#-asc_height#); +italcorr fig_height#*slant-.5u#; % same as for digits +adjust_fit(0,0); +numeric theta; theta=90-angle(50u,asc_height); slope:=-asc_height/50u; +pickup fine.nib; pos2(slab,-90); +pos0(cap_stem,theta); pos7(slab,-90); +x2=x0=x7=.5w; top y2l=asc_height+oo; bot y7r=-oo; +y0=.52asc_height; lft x3l=hround u; rt x6r=hround(w-u); +x3r-x3l=x6r-x6l=hround .35[slab,cap_stem]-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; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +if serifs: pos1(hair,0); pos8(hair,180); + pos10(flare,0); pos9(flare,180); + rt x1r=hround(w-u); lft x8r=hround u; y1=.5[y0,y2]; y8=.5[y0,y7]; + {{less_tense; pos2'(slab,90); z2'=z2; bulb(2',1,10); % upper arc and bulb + bulb(7,8,9)}}; % lower arc and bulb +else: pos1(.6[slab,flare],-100); pos8(flare,-100); + rt x1l=hround(w-1.3u); lft x8r=hround .8u; + top y1l=vround .92asc_height+oo; bot y8r=vround .1asc_height-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 +pickup crisp.nib; pos12(bar,0); pos11(bar,0); +lft x12l=lft x11l=hround(.5w-.5bar); top y12=h; bot y11=-d; +filldraw stroke z12e--z11e; % vertical crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12); endchar; + + + +ecchar "Per cent sign"; +beginchar("%",9u#+max(6u#,2fudge*(hair#+stem#)), + body_height#,body_height#-asc_height#); +italcorr if hefty: .4asc_height#*slant-.5u# else: h#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +numeric left_curve,right_curve; +left_curve=hround 5/6[fudged.hair,fudged.stem]; +right_curve=max(fine.breadth,hround(fudged.hair if hefty:-2stem_corr fi)); +pos1(vair,90); pos2(left_curve,180); pos3(vair,270); pos4(right_curve,360); +top y1r=h; lft x2r=hround u; rt x4r=hround(.5w-1.5u); +bot y3r=floor(if monospace: .7 else: .5 fi\\ asc_height); +x1=x3=.5[x2,x4]; y2=y4=.5[y1,y3]; +filldraw stroke pulled_super_arc.e(1,2)(superpull) + & pulled_super_arc.e(2,3)(superpull); % left half of upper bowl +filldraw stroke super_arc.e(3,4) & super_arc.e(4,1); % right half of upper bowl +pos5(vair,90); pos6(left_curve,180); pos7(vair,270); pos8(right_curve,360); +bot y7r=-d; rt x8r=hround(w-u); lft x6r=hround(.5w+1.5u); +top y5r=vround(if monospace: .3 else: .5 fi\\ asc_height); +x5=x7=.5[x6,x8]; y6=y8=.5[y5,y7]; +filldraw stroke pulled_super_arc.e(5,6)(superpull) + & pulled_super_arc.e(6,7)(superpull); % left half of lower bowl +filldraw stroke super_arc.e(7,8) & super_arc.e(8,5); % right half of lower bowl +pickup rule.nib; top y9=h; bot y10=-d; +if hefty: x9=good.x(x5-eps); x10=good.x(x1+eps); + draw z9--z10; % diagonal +else: rt x9=hround(w-2.5u); lft x10=hround 2.5u; draw z9--z10; % diagonal + pickup fine.nib; pos9(rule_thickness,angle(z9-z10)+90); + pos11(vair,angle(z1r-z4r)-90); pos12(vair,angle(z9-z10)+90); + path p; p=super_arc.r(1,4); z11r=point 2/3 of p; z12r=z9r; + filldraw stroke z11e{direction 2/3 of p}...{z9-z10}z12e; fi % link +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar "At sign"; +beginchar("@",14u#,asc_height#,0); +italcorr .7asc_height#*slant-.5u#; +adjust_fit(0,if hefty or monospace:-2u# else: 0 fi); +pickup fine.nib; pos0(fudged.hair,0); pos1(vair,90); +pos2(fudged.stem,180); pos3(vair,270); +pos4(fudged.stem,-180); pos5(fudged.stem,-180); +pos6(vair,-90); pos7(fudged.hair,0); +pos8(vair,90); pos9(fudged.hair,180); +pos10(vair,270); pos11(.5[vair,flare],360); +x1=x3=.5[x0,x2]; y0=y2=.5[y1,y3]; +x8=x10=.5w; y7=y9=.5[y8,y10]; +lft x9r=hround u; x7=w-x9; top y8r=h+oo; bot y10r=-oo; +top y1r=vround(.8[y10,y8]+.5vair); bot y3r=vround(.2[y10,y8]-.5vair); +x6l=1/3[x5l,x7l]; y6=y3; y11=good.y(.1[y10,y8]-.5); +x0=x4=x5; y4=.8[y3,y1]; y5=2/3[y7,y6]; +if hefty or monospace: lft x2r=hround(5u-.5fudged.stem); + rt x0r=hround(w-3u); x11r=x0r; +else: lft x2r=hround 3.4u; x0=w-x2; x11r=x7r; fi +filldraw stroke super_arc.e(1,2) & super_arc.e(2,3); % left inner bowl +filldraw stroke super_arc.e(3,0) & super_arc.e(0,1); % right inner bowl +filldraw stroke super_arc.e(8,9) & super_arc.e(9,10) + & term.e(10,11,right,1,4); % left outer bowl and terminal +if hefty or monospace: {{interim superness:=hein_super; + filldraw stroke super_arc.e(0,8)}}; % link +else: (x,y6r)=whatever[z6l,z7l]; x6r:=x; + filldraw stroke z4e---z5e...z6e{right}...{up}z7e + & super_arc.e(7,8); fi % stem and link +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Sterling sign"; +beginchar(oct"277",12u#,asc_height#,0); +adjust_fit(0,.75asc_height#*slant-.5u#); pickup fine.nib; +pos0(flare,0); pos1(hair,0); pos2(vair,90); pos3(stem,180); +pos4(stem,180); pos4'(stem,0); pos5(vair,-90); z4'=z4; +x2=2/3w-.5u; rt x3l=rt x4l=hround(.5w-u+.5stem); x5=2.5u; +y1=y3=.75h; top y2=h+oo; y4=.25h; bot y5r=-oo; +rt x1r=hround(w-1.5u); bulb(2,1,0); % bulb +filldraw stroke pulled_arc.e(2,3)..z4e; % stem +numeric light_stem; light_stem=2/3[vair,vstem]; +pos6(.5[hair,light_stem],-180); pos7(light_stem,-300); +pos8(light_stem,-300); pos9(hair,-180); +lft x6r=hround u; x7=3u; x8=w-3.5u; rt x9l=hround(w-u); +y6=.4[y5,y7]; top y7r=vround .2h; bot y8l=-oo; y9=good.y .2h; +filldraw stroke pulled_arc.e(4',5)...z6e{up}...z7e{right} + ..{right}z8e...{up}z9e; % loop and arm +pos10(bar,90); pos11(bar,90); x10=3u; x11=w-4.5u; +top y10r=top y11r=vround(.5h+.5bar); filldraw stroke z10e--z11e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + + +ecchar "Section sign"; % renovated (jk) +beginchar(oct"237",6.5u#+max(1.5u#,stem#),asc_height#,desc_depth#); +adjust_fit(0,0); pickup fine.nib; +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +numeric sstem; sstem=hround .5[s_slab,ess']-fine; +if sstem < fine.breadth: sstem:=fine.breadth; fi +pos2(vair,90); pos3(sstem,180); +pos4(ess',270); pos4'(vair,270); +pos5'(sstem,0); pos5(sstem,180); +pos6(ess',90); pos6'(vair,90); pos7(sstem,0); +pos8(vair,-90); +top y2r=h+oo; bot y8r=-d-oo; +y3=.52[y4,y2]; y5=.52[y4,y6]; y7=.52[y6,y8]; y5'=.52[y6,y4]; +y2-y4=y4-y6=y6-y8; +bot z4'=bot z4; top z6'=top z6; +lft x3r=hround 1.25u; +x2=x4=x6=x8=.5w; x5=x7=w-x3; x5'=x3; +if serifs: + pos0(stem,0); pos1(hair,0); pos9(hair,-180); pos10(stem,-180); + rt x1r=hround(w-1.5u); x9=w-x1; y2-y1=y9-y8=(y2-y8)/8; + bulb(2,1,0); bulb(8,9,10); % bulbs +else: + pos1(.6[slab,flare],-100); pos9(flare,-100); pos2'(vair,-90); + rt x1l=hround(w-1.3u); lft x9r=hround .8u; z2'=z2; + top y1l=vround .92asc_height+oo; bot y9r=vround .1asc_height-d-oo; + filldraw stroke term.e(2',1,right,.9,4); % upper arc and terminal + filldraw stroke term.e(8,9,left,.9,4); % lower arc and terminal +fi +filldraw stroke z2e{left}...z3e{down}...z4e{3(x5-x3),y5-y3} + ...z5e{down}...{left}z6'e; % upper stroke +filldraw stroke z4'e{left}...z5'e{down}...z6e{3(x7-x5'),y7-y5'} + ...z7e{down}...{left}z8e; % upper stroke +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +endinput; diff --git a/fonts/ec/src/exsixtst.mf b/fonts/ec/src/exsixtst.mf new file mode 100644 index 0000000000..fe0cc70343 --- /dev/null +++ b/fonts/ec/src/exsixtst.mf @@ -0,0 +1,85 @@ +% This is EXSIXTST.MF in text format, as of March 24, 1992 +% +% ecfonts version 1.0 +% +% [ heavily borrowed from the Computer Modern Roman family of +% fonts by D. E. Knuth ] +% +% Content: +% +% variant of 6test modified for testing of ecfonts +% should be used with exbase only +% +mode_def screenproof = % for onscreen viewing of CGA proofs (full screen) + proofing:=2; % yes, we're making full proofs + fontmaking:=0; % no, we're not making a font + tracingtitles:=1; % yes, show titles online + pixels_per_inch:=1001; % make it easy to view one char on screen + blacker:=0; % no additional blackness + fillin:=0; % no compensation for fillin + o_correction:=1; % no reduction in overshoot + aspect_ratio:=480/640; %265/640 % adjust for screen skewing also +enddef; + +\mode:=screenproof; + +mode_setup; + + +if unknown dcbase: input exbase fi % omit if CMMF can be assumed +boolean running; +def abort = hide(scrollmode; running:=false) enddef; +def pause=stop "done with char "&decimal charcode&". " enddef; +let iff=always_iff; +def ligtable text t=enddef; +def charlist text t=enddef; +def extensible text t=enddef; + +string currenttitle; +let semi=;; let echar=endchar; let endchar=enddef; +def ecchar expr s = currenttitle:=s; + let;=testchar semi quote def chartext=enddef; +def testchar = semi let;=semi; + % now `chartext echar' will generate the character to be tested + running:=true; errorstopmode; + for k=1 upto 8: + if running: if known params[k]: scantokens params[k]; font_setup; + currentwindow:=k; + currenttitle & ", " & fontname[k]; + chartext echar; fi fi endfor + pause; enddef; + +numeric fontsize[]; +numeric gensize; +string params[],fontname[]; +params[1]="roman_params"; fontsize[1]:=10; fontname[1]="dcr"; +params[2]="sans_params"; fontsize[2]:=10; fontname[2]="dcss"; +params[3]="tt_params"; fontsize[3]:=10; fontname[3]="dctt"; +params[4]="bold_params"; fontsize[4]:=10; fontname[4]="dcb"; +params[5]="quote_params"; fontsize[5]:=10; fontname[5]="dcbx"; +params[6]="ital_params"; fontsize[6]:=10; fontname[6]="dcdunh"; %vtt"; % cmti10"; + +w_rows=floor (1/2 screen_rows); w_cols=floor (1/3 screen_cols); +def open(expr k,i,j)= + openwindow k from ((i-1)*w_rows,(j-1)*w_cols) to (i*w_rows,j*w_cols) + at (-65,120) enddef; +def openit = + open(1,1,1); open(2,1,2); open(3,1,3); + open(4,2,1); open(5,2,2); open(6,2,3); enddef; + +begingroup delimiters begintext generate; + def longerkludge expr s = + if length s > 8: substring (0,3) of s & + substring(length s-3,infinity) of fi s enddef; + def makedef(expr s)(text t) = + expandafter def scantokens s = t enddef; flushtext enddef; + def flushtext suffix t = enddef; + for k=1 upto 8: if known params[k]: + gensize := fontsize[k]; + makedef(params[k]) + expandafter expandafter expandafter begintext + scantokens ("input "&longerkludge fontname[k]); fi endfor +endgroup; + + +endinput; diff --git a/fonts/ec/src/extextit.mf b/fonts/ec/src/extextit.mf new file mode 100644 index 0000000000..a51ffd007a --- /dev/null +++ b/fonts/ec/src/extextit.mf @@ -0,0 +1,76 @@ +% extextit.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% driver file, called by parameter files with italic style fonts +% +% dx r l west +% i u east +% : : : +% : : west '3xx / east '2xx +% : uppercase/lowercase +% roman / italic + +version_check(1,0); % |version_check| was introduced in dc1.3 + +input exaccess; % accessories for polish special letters +input expseudo; % pseudoparameters + +mode_setup; font_setup; pseudo_setup; + +input exileast; % +input exilwest; % +input exruwest; % identical in ecroman +input exrueast; % identical in ecroman +% +input exbraces; +input expunct; % +input exaccent; % +input exsign; % zero for mille, " # $ % @ pound sign +input exilig; % dotless i,j; letter ligatures ff fi fl ffi ffl +% +input exitalp; % $ ? # & +% +input exrulett; % upper case (majuscules) +input exillett; % lower case (minuscules) +input exidigit; % digits +% +% Fontparameter +% +font_coding_scheme:="Extended TeX Font Encoding - Latin"; +boundarychar:=oct"027"; +font_slant slant; +font_x_height x_height#; +font_cap_height cap_height#; +font_asc_height asc_height#; +font_acc_cap_height (cap_height#+acc_height#); +font_desc_depth desc_depth#; +font_max_height (max(asc_height#,body_height#, + cap_height#+acc_height#)); +font_max_depth (max(desc_depth#,paren_depth#,the_ogonek_depth#)); +% font_digit_width % set inside the digits file +% font_cap_stem % set after the programme of the capital I +font_baselineskip max(1.2*designsize,body_height#+paren_depth#); + +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; + letter_fit#:=letter_fit:=0; + input exmligtb; % do the ligature programmes for monospaced fonts +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; + input exiligtb; % do the ligature programmes for proportionally spaced fonts +fi +bye. diff --git a/fonts/ec/src/ieclb8.mf b/fonts/ec/src/ieclb8.mf new file mode 100644 index 0000000000..d9c7aab2ce --- /dev/null +++ b/fonts/ec/src/ieclb8.mf @@ -0,0 +1,92 @@ +% ieclb8.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Invisible LaTeX European Computer Modern Sans Serif Quotation Bold +% (SliTeX font with special capital I) +% +if unknown exbase: input exbase fi + +font_identifier:="ILECSSQB"; +font_size 8pt#; +u#:=22/36pt#; +width_adj#:=3/36pt#; +serif_fit#:= -12/36pt#; +cap_serif_fit#:= -15/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=200/36pt#; +x_height#:=155/36pt#; +math_axis#:=80/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=42/36pt#; +stem#:=42/36pt#; +curve#:=42/36pt#; +ess#:=40/36pt#; +flare#:=36/36pt#; +dot_size#:=41/36pt#; +cap_hair#:=42/36pt#; +cap_stem#:=46/36pt#; +cap_curve#:=46/36pt#; +cap_ess#:=46/36pt#; +rule_thickness#:=26/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=22/36pt#; +notch_cut#:=48/36pt#; +bar#:=22/36pt#; +slab#:=24/36pt#; +cap_bar#:=23/36pt#; +cap_band#:=30/36pt#; +cap_notch_cut#:=42/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=15/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=0; +fudge:=.85; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/9; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; + +extra_endchar := extra_endchar & "clearit"; + +generate exroman; +endinput; diff --git a/fonts/ec/src/iecli8.mf b/fonts/ec/src/iecli8.mf new file mode 100644 index 0000000000..7cb37d0600 --- /dev/null +++ b/fonts/ec/src/iecli8.mf @@ -0,0 +1,93 @@ +% iecli8.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Invisible LaTeX European Computer Modern Sans Serif Quotation Inclined +% (SliTeX font with special capital I) + +if unknown exbase: input exbase fi + +font_identifier:="ILECSSQI"; +font_size 8pt#; +u#:=20/36pt#; +width_adj#:=2/36pt#; +serif_fit#:= -10/36pt#; +cap_serif_fit#:= -14/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=190/36pt#; +x_height#:=150/36pt#; +math_axis#:=80/36pt#; +bar_height#:=80/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=23/36pt#; +stem#:=23/36pt#; +curve#:=23/36pt#; +ess#:=23/36pt#; +flare#:=21/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=23/36pt#; +cap_stem#:=27/36pt#; +cap_curve#:=27/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.55555pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=18/36pt#; +notch_cut#:=23/36pt#; +bar#:=18/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=23/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=.5/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=sind 12/cosd 12; +fudge:=.95; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/10; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; + +extra_endchar := extra_endchar & "clearit"; + +generate exroman; +endinput; diff --git a/fonts/ec/src/ieclo8.mf b/fonts/ec/src/ieclo8.mf new file mode 100644 index 0000000000..acb71ddf0c --- /dev/null +++ b/fonts/ec/src/ieclo8.mf @@ -0,0 +1,92 @@ +% ieclo8.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Invisible LaTeX European Computer Modern Sans Serif Quotation Bold Oblique +% (SliTeX font with special capital I) +% +if unknown exbase: input exbase fi + +font_identifier:="ILECSSQBO"; +font_size 8pt#; +u#:=22/36pt#; +width_adj#:=3/36pt#; +serif_fit#:= -12/36pt#; +cap_serif_fit#:= -15/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=200/36pt#; +x_height#:=155/36pt#; +math_axis#:=80/36pt#; +bar_height#:=85/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=42/36pt#; +stem#:=42/36pt#; +curve#:=42/36pt#; +ess#:=40/36pt#; +flare#:=36/36pt#; +dot_size#:=41/36pt#; +cap_hair#:=42/36pt#; +cap_stem#:=46/36pt#; +cap_curve#:=46/36pt#; +cap_ess#:=46/36pt#; +rule_thickness#:=26/36pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=22/36pt#; +notch_cut#:=48/36pt#; +bar#:=22/36pt#; +slab#:=24/36pt#; +cap_bar#:=23/36pt#; +cap_band#:=30/36pt#; +cap_notch_cut#:=42/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=1/36pt#; +apex_corr#:=15/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=sind 12/cosd 12; +fudge:=.85; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/9; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; + +extra_endchar := extra_endchar & "clearit"; + +generate exroman; +endinput; diff --git a/fonts/ec/src/ieclq8.mf b/fonts/ec/src/ieclq8.mf new file mode 100644 index 0000000000..d6fcf1ac3f --- /dev/null +++ b/fonts/ec/src/ieclq8.mf @@ -0,0 +1,93 @@ +% ieclq8.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Invisible LaTeX European Computer Modern Sans Serif Quotation +% (SliTeX font with special capital I) + +if unknown exbase: input exbase fi + +font_identifier:="ILECSSQ"; +font_size 8pt#; +u#:=20/36pt#; +width_adj#:=2/36pt#; +serif_fit#:= -10/36pt#; +cap_serif_fit#:= -14/36pt#; +letter_fit#:=0pt#; +body_height#:=220/36pt#; +asc_height#:=200/36pt#; +cap_height#:=197/36pt#; +fig_height#:=190/36pt#; +x_height#:=150/36pt#; +math_axis#:=80/36pt#; +bar_height#:=80/36pt#; +comma_depth#:=40/36pt#; +desc_depth#:=40/36pt#; +acc_height#:=60/36pt#; +dot_height#:=45.8/36pt#; +udot_height#:=48.2/36pt#; +crisp#:=18/36pt#; +tiny#:=18/36pt#; +fine#:=8/36pt#; +thin_join#:=8/36pt#; +hair#:=23/36pt#; +stem#:=23/36pt#; +curve#:=23/36pt#; +ess#:=23/36pt#; +flare#:=21/36pt#; +dot_size#:=28/36pt#; +cap_hair#:=23/36pt#; +cap_stem#:=27/36pt#; +cap_curve#:=27/36pt#; +cap_ess#:=27/36pt#; +rule_thickness#:=.55555pt#; +dish#:=0pt#; +bracket#:=0pt#; +jut#:=0pt#; +cap_jut#:=0pt#; +beak_jut#:=0pt#; +beak#:=0pt#; +vair#:=18/36pt#; +notch_cut#:=23/36pt#; +bar#:=18/36pt#; +slab#:=19/36pt#; +cap_bar#:=19/36pt#; +cap_band#:=19/36pt#; +cap_notch_cut#:=23/36pt#; +serif_drop#:=0pt#; +stem_corr#:=.5/36pt#; +vair_corr#:=.5/36pt#; +apex_corr#:=4/36pt#; +o#:=6/36pt#; +apex_o#:=2/36pt#; +slant:=0; +fudge:=.95; +math_spread:=0; +superness:=1/sqrt 2; +superpull:=1/10; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +slitex:=true; + +extra_endchar := extra_endchar & "clearit"; + +generate exroman; +endinput; diff --git a/fonts/ec/src/iecltt8.mf b/fonts/ec/src/iecltt8.mf new file mode 100644 index 0000000000..6574fb6cde --- /dev/null +++ b/fonts/ec/src/iecltt8.mf @@ -0,0 +1,95 @@ +% iecltt8.mf +% +% (c) Copyright 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Invisible LaTeX European Computer Modern Typewriter +% +if unknown exbase: input exbase fi + +font_identifier:="IECLTT"; +font_size 8pt#; + +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#; +acc_height# :=60/36pt#; +dot_height# :=60/36pt#; +udot_height# :=47.2/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/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +true_mono:=true; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; + +clear_extra_memory; + +extra_endchar := extra_endchar & "clearit"; + +generate exroman; +endinput; + diff --git a/fonts/ec/src/tc-chg.txt b/fonts/ec/src/tc-chg.txt new file mode 100644 index 0000000000..819c04e262 --- /dev/null +++ b/fonts/ec/src/tc-chg.txt @@ -0,0 +1,169 @@ +% tc-chg.txt +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) + +This file documents changes to the tc fonts after 17-JUN-1995 + + 1-FEB-1997 After the release of the ec fonts, this file is closed. + Further changes will be documented in ec-chg.txt. + +19-JAN-1997 Adjusted height of capital hachek accent + Added <hyphen><hyphenchar> ligature even for tc fonts. + +11-JAN-1997 Tuned the center dot to work well with catalan l.l + + 7-JAN-1997 Replaced |monospace| by |hefty| in condition for pos3 in + textsurd. + Added forgotten |pickup tiny.nib| to italic fractions + 1/2 and 1/4. + Improved shape of the low lying tilde. + Corrected |font_identifier| for tcsl (found by Ulrik Vieth) + Changed |vair| for tcso from 13 to 15 (found by Ulrik Vieth) + Added tcfs (Fibonacci Slanted) as suggeseted by Ulrik Vieth + + Finally found the bug in upwards and downwards arrows, causing + strange pathes at high resolution. Some r's and l's were + switched. + +23-DEC-1996 Made all fontnames 4 letters + 4 digits for the interpolating + fonts. Renamed tcr -> tcrm, tcb -> tcrb, tcu -> tcui. + +22-DEC-1996 Got rid of txmacros.mf by moving the few definitions either + to exbase.mf or txaccent.mf. + Consequently applied |hi.| in txpseudo.mf. + +20-DEC-1996 Starting transition to ec: Renamed files, replaced |dcchar| by + |ecchar|, changed file headers, changed |version_check| to ask + for (1,0). + +19-NOV-1996 Added more characters: New capital tie, semantic brackets, + servicemark, abzueglich + +18-NOV-1996 Added more characters: textminus, ascender height cwm, + copyleft, circled P, new tie, capital new tie, + numero sign, aestimated sign, quill brackets, + reference mark, textsurd, open bullet + +18-NOV-1996 Applied the changes in dcbi parameters also to + tcbi + +*********** Release of dc 1.3 Patchlevel 4 ************************************* + +25-AUG-1996 Applied the parameter change also to tcso at 5 pt + +*********** Release of dc 1.3 Patchlevel 3 ************************************* + +23-AUG-1996 Changed Parameters for tcsx at 5 pt. + +23-AUG-1996 Added |zero_width| to the programme for the capital compound word + mark; without this statement the chardx value is wrong. + +*********** Release of dc 1.3 ************************************************** + +31-MAY-1996 Corrected |tiny| for dcsx..tcso at 5 pt + Changed |clear_memory| to |clear_extra_memory| + Finnish + Checked parameters for several fonts (suggested + by Ulrik Vieth) + +12-MAY-1996 Added a capital cwm to the tc fonts + Changed several def's to vardef's in txpseudo.mf + Brought tcstdedt.tex up-to-date + Added tcvi (variable width italic typewriter) + Made tcr and tcsl parameters equal to dcr/dcsl + Made tcsx0500 more expanded, ditto tcso + Added the additional font dimensions 23--31 + Removed unneeded |lc_circle_height(#)| + +24-APR-1996 Changed the |basedef|-line for tcbi to contain unrounded + sizes (14.4 instead of 14 etc.) + Buildt in version consistency control + Added comma and full stop to the tc character set, + this facilates macros for oldstyle digits. + +15-APR-1996 Remade txpseudo in the style of dxpseudo, with all + consequences + +14-APR-1996 Deleted superfluous |pickup fine.nib| in \textdivide + Added italic oldstyle digits by Gert-Jan Lockhorst + +******************* Version 1.0 ***************************************** + 2-SEP-1995 Fixed bug in double hyphen and double hyphenchar (strokes + were too thin) + +31-AUG-1995 Finish: Added file headers, clean up the directory + +24-AUG-1995 Made sans serif parameters conformant with the dc sans + family + + 6-AUG-1995 Added |if .5w <> good.x .5w: change_width; fi| to the bullet + Made superscripts and fractions less wide + Adjusted Registered (tail of R) + + 4-AUG-1995 Changed depth of the big circle to + |max(desc_depth#,paren_depth#)| + Adjusted the C inside the copyright sign + + 3-AUG-1995 Changed pen for horizontal crossbars in Yen, Won, Naira, Lira, + and Peso to |extra_rule.nib| (finer than |rule.nib|) + Added Female and Male Ordinal Indicators + Added trademark + Added Copyright and Registered, made the big circle deeper for + typewriter design (replaced |paren_depth| with |desc_depth|) + There are now all characters for release 1.0 implemented. + +25-JUL-1995 Added Baht sign (Thai currency) + +22-JUL-1995 Added Won, Naira, Peso and Dong + Added base serif to the pilcrow sign, if the font bears serifs, + the original design is still available in the sans serif font + Added Centigrade + Added alternate pilcrow with one vertical bar only in oct"231" + Added fractions 1/4, 1/2, 3/4 + Added interrobang and gnaborretni + Added recipe, made provision for recipe in dxaccess.mf + +21-JUL-1995 Added superscript digits 1, 2, and 3 both for roman + and italic (New files txrsuper.mf and txisuper.mf) + Included degree sign and per ten thousand sign from + Yannis' Unicode Computer Modern fonts + Added symmetry fix from Alan Jeffrey's stmaryrd fonts to + the degree sign + Fine tuned the Lira sign to guarantee equal crossbars + Added tie accent, cm version (for lowercase) in txsymbol, + oct"023", and a new uppercase version in txaccent, oct"033". + Duplicated the double hyphen, one instance is completely inside + its box, placed on `-', the other is hanging (oct"177") + Renovated the section sign (\S), very much improved especially + for bold extended parameters. + +16-JUL-1995 Sorted accents in txaccent by their font position + Introduced |accent_gap| to the ring accent + Changed width of capital ring accent + +11-JUL-1995 Adjusted heights of capital accents + Added |cap_accent_height#| and |cap_accent_height| to txpseudo.mf + Finally got all capital accents in a consitent look (jk) + +10-JUL-1995 Adjusted umlaut, dot above and hachek accents to use with + capitals. + Added dirty trick for the sharp dimensions to txaccent.mf + Added a bunch of pseudoparameters to txpseudo.mf (jk) + +19-JUN-1995 Decided to add Ohm sign and Mho sign to the tc fonts. + Placed them on `W' and `M' respectively. + +18-JUN-1995 Added tick, double tick, back tick and double back tick + to txsymbol.mf + Added blank sign to txsymbol.mf + Created file txpseudo.mf with pseudoparameters + Added this file to the input list of txsymb.mf + +17-JUN-1995 The tc fonts are consolidated enough that I open the change log diff --git a/fonts/ec/src/tcbi.mf b/fonts/ec/src/tcbi.mf new file mode 100644 index 0000000000..29e13531fe --- /dev/null +++ b/fonts/ec/src/tcbi.mf @@ -0,0 +1,92 @@ +% tcbi.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% Text Companion Bold Extended Text Italic +% +% +font_identifier:="TCBXTI"; +font_size gensize*pt#; +basedef ( 7, 8, 9, 10, 12, 14.40, 17.28, 24.88, 35.83); +gendef [1/36pt#]( u# )( 16, 18, 19.56, 21.2, 24.8, 28.9, 37.2, 49.59, 67.6); +gendef [1/36pt#]( width_adj# )( 8.6, 9.4, 10.2, 11, 13, 15, 19.5, 26, 35.45); +serif_fit# :=0pt#; +gendef [1/36pt#]( cap_serif_fit# )( 4.6, 5.4, 6.2, 7, 8, 9.3, 12, 16, 21.8); +gendef [1/36pt#]( letter_fit# )( 8.8, 9.5, 10.22, 11, 13, 15.12, 19.48, 25.98, 35.42); +gendef [1/36pt#]( body_height# )( 189, 216, 243, 270, 324, 378, 486, 648, 972); +gendef [1/36pt#]( asc_height# )( 175, 200, 225, 250, 300, 350, 450, 600, 900); +gendef [1/36pt#]( cap_height# )(172.2, 197.6, 222.3, 247, 296.4, 345.8, 444.6, 592.8, 889); +gendef [1/36pt#]( fig_height# )(162.4, 185.6, 208.8, 232, 278.4, 324.8, 417.6, 556.8, 835); +gendef [1/36pt#]( x_height# )( 112, 128, 144, 160, 192, 224, 288, 384, 576); +gendef [1/36pt#]( math_axis# )( 63, 72, 81, 90, 108, 126, 162, 216, 324); +gendef [1/36pt#]( bar_height# )( 60.9, 67, 76, 85, 102, 119, 153, 204, 306); +gendef [1/36pt#]( comma_depth# )( 49, 56, 63, 70, 84, 98, 126, 168, 252); +gendef [1/36pt#]( desc_depth# )( 49, 56, 63, 70, 84, 98, 126, 168, 252); +gendef [1/36pt#]( acc_height# )( 52.5, 60, 67.5, 75, 90, 105, 120, 150, 210); +gendef [1/36pt#]( dot_height# )( 52.5, 60, 67.5, 75, 90, 105, 120, 150, 210); +gendef [1/36pt#]( udot_height# )( 28.5, 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 12, 12, 13, 13, 13, 11, 13, 13, 13); +gendef [1/36pt#]( tiny# )( 12, 12, 13, 13, 13, 13, 13, 13, 13); +gendef [1/36pt#]( fine# )( 10, 10, 10, 10, 10, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 10, 10, 10, 10, 10.5, 12.25, 15.75, 21, 28); +gendef [1/36pt#]( hair# )( 18.6, 19, 19.4, 20, 21.5, 25, 32.22, 42.26, 57.5); +gendef [1/36pt#]( stem# )( 30, 32, 34.7, 38, 43, 50.08, 64.43, 85.9, 117); +gendef [1/36pt#]( curve# )( 33, 36, 39.6, 43, 48, 55.98, 72, 95, 130); +gendef [1/36pt#]( ess# )( 26, 29, 31.8, 35, 40, 46.6, 60, 80, 109); +gendef [1/36pt#]( flare# )( 34, 36, 38.6, 42, 47, 54.97, 70.45, 94, 128); +gendef [1/36pt#]( dot_size# )( 38, 43, 48, 53, 58, 67.6, 87, 116, 158); +gendef [1/36pt#]( cap_hair# )( 19, 20, 21, 22, 23, 26.79, 34.5, 46, 62.6); +gendef [1/36pt#]( cap_stem# )( 37, 41, 45, 49, 54.7, 63.77, 82, 109, 148.6); +gendef [1/36pt#]( cap_curve# )( 38, 43, 47.6, 52, 57, 66.4, 85, 114, 155); +gendef [1/36pt#]( cap_ess# )( 36, 40.4, 45.5, 50, 55.5, 64.67, 83, 111, 151); +gendef [pt#]( rule_thickness#)( .51, .54, .57, .6, .66, .77, .99, 1.3, 1.8); +gendef [1/36pt#]( dish# )( 1, 1, 1, 1, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 7, 8, 9, 10, 12, 14, 18, 24, 36); +gendef [1/36pt#]( jut# )( 17, 20, 23.3, 27, 32, 37, 47.7, 63.6, 95.4); +gendef [1/36pt#]( cap_jut# )( 27, 31, 35, 39, 46, 53.6, 69, 92, 125); +gendef [1/36pt#]( beak_jut# )( 7.3, 8.5, 9.29, 10, 11.3, 13.17, 17, 21.86, 30); +gendef [1/36pt#]( beak# )( 47, 55, 62, 70, 84, 98, 126, 168, 252); +gendef [1/36pt#]( vair# )( 11.5, 12, 12.5, 13, 14.3, 16.68, 21.45, 28, 39); +gendef [pt#]( notch_cut# )( 7, 8, 9, 10, 12, 14, 18, 24, 36); +gendef [1/36pt#]( bar# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [1/36pt#]( slab# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [1/36pt#]( cap_bar# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [1/36pt#]( cap_band# )( 14, 15, 16, 17, 18.5, 21.58, 27.75, 37, 50); +gendef [pt#]( cap_notch_cut# )( 7, 8, 9, 10, 12, 14, 18, 24, 36); +gendef [1/36pt#]( serif_drop# )( 2.1, 2.4, 2.7, 3, 3.6, 4.2, 5.4, 7.2, 10.8); +gendef [1/36pt#]( stem_corr# )( 1.7, 1.8, 1.9, 2, 2, 2, 2, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1.2, 1.3, 1.4, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 5, 6, 7, 8, 9, 9.5, 10, 12, 16.3); +gendef [1/36pt#]( apex_o# )( 3, 3.5, 4, 4.5, 5, 5.6, 6, 8, 10.9); +slant:=1/4; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.1, .9, .7, .5, .4, .46, .41, .31, .23); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate txsymb; + +endinput; diff --git a/fonts/ec/src/tcbl.mf b/fonts/ec/src/tcbl.mf new file mode 100644 index 0000000000..5e8ecb9490 --- /dev/null +++ b/fonts/ec/src/tcbl.mf @@ -0,0 +1,88 @@ +% tcbl.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Bold Extended Slanted Roman + +font_identifier:="TCBXSL"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.5, 16.2, 17.9, 19.6, 21.3, 23, 27); +gendef [1/36pt#]( width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8); +gendef [1/36pt#]( letter_fit# )( 3, 2, 1, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 19, 23, 27, 31, 35, 39, 46); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=1/6; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .5); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcbm.mf b/fonts/ec/src/tcbm.mf new file mode 100644 index 0000000000..755cba5f66 --- /dev/null +++ b/fonts/ec/src/tcbm.mf @@ -0,0 +1,87 @@ +% tcbm.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% This is an experimental file, just for fun, + +if unknown exbase: input exbase fi + +font_identifier:="TCBOM"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 9.5, 11, 12.5, 14, 15.5, 17, 20.5, 29.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.5, 5.1, 5.6, 6, 6.8, 9); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, .1, .1, .1, .1, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 36.5, 45.2, 57.9, 62.6, 71.3, 80, 96.4, 143); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( .8, .9, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 29, 31, 33, 35, 37, 38, 41, 46); +gendef [1/36pt#]( curve# )( 28, 30.5, 33, 35.5, 38, 40, 43, 51); +gendef [1/36pt#]( ess# )( 22, 27, 31, 33, 35, 37, 34, 45); +gendef [1/36pt#]( flare# )( 28, 30, 33, 36, 39, 42, 45, 54); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 5, 5.5, 6, 6.5, 7, 8, 8.5, 10); +gendef [1/36pt#]( cap_stem# )( 21, 26, 30, 34, 38, 42, 45, 50); +gendef [1/36pt#]( cap_curve# )( 32, 35, 38, 41, 44, 48, 51, 59); +gendef [1/36pt#]( cap_ess# )( 21, 26, 30, 34, 38, 42, 45, 50); +gendef [pt#]( rule_thickness#)( .48, .51, .54, .56, .58, .6, .64, .8); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( .6, .68, .76, .84, .92, 1, 1.14, 1.5); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [1/36pt#]( slab# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [1/36pt#]( cap_bar# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [1/36pt#]( cap_band# )( 6, 6.5, 7, 7.5, 8, 9, 10.5, 14); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +superness:=.76; +superpull:=1/6; +beak_darkness:=15/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; + +endinput; diff --git a/fonts/ec/src/tcbx.mf b/fonts/ec/src/tcbx.mf new file mode 100644 index 0000000000..e4e932a72e --- /dev/null +++ b/fonts/ec/src/tcbx.mf @@ -0,0 +1,90 @@ +% tcbx.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% Text Comapnion Bold Extend Roman + +font_identifier:="TCBX"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.5, 16.2, 17.9, 19.6, 21.3, 23, 27); +gendef [1/36pt#]( width_adj# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 13); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.6, 5.4, 6.2, 7, 8); +gendef [1/36pt#]( letter_fit# )( 3, 2, 1, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 19, 23, 27, 31, 35, 39, 46); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .5); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcci.mf b/fonts/ec/src/tcci.mf new file mode 100644 index 0000000000..54a3f146f7 --- /dev/null +++ b/fonts/ec/src/tcci.mf @@ -0,0 +1,90 @@ +% tcci.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Classical Serif Italic + +font_identifier:="TCCI"; +font_size (gensize*pt#); +basedef ( 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.8, 15.8, 17, 18.4, 21.6); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3.5, 4.1, 4.6, 5, 5.8); +gendef [1/36pt#]( letter_fit# )( 9.4, 7.9, 8.5, 9.2, 10.8); +gendef [1/36pt#]( body_height# )( 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 172.2, 196.8, 221.4, 246, 295.2); +gendef [1/36pt#]( fig_height# )( 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 108.5, 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 60.9, 69.6, 78.3, 87, 104.4); +gendef [1/36pt#]( comma_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( tiny# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 6, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 6, 7, 7, 7, 7.5); +gendef [1/36pt#]( hair# )( 10.5, 11, 11, 11, 12); +gendef [1/36pt#]( stem# )( 18.5, 20, 22, 23, 26); +gendef [1/36pt#]( curve# )( 21.5, 23.5, 26, 28, 31); +gendef [1/36pt#]( ess# )( 21, 23, 25, 27, 29); +gendef [1/36pt#]( flare# )( 21, 24, 26, 29, 32); +gendef [1/36pt#]( dot_size# )( 29, 32, 35, 38, 42); +gendef [1/36pt#]( cap_hair# )( 9, 9.5, 10, 11, 11.5); +gendef [1/36pt#]( cap_stem# )( 21.5, 23.5, 26, 29, 32); +gendef [1/36pt#]( cap_curve# )( 24.5, 27, 30, 34, 37); +gendef [1/36pt#]( cap_ess# )( 21, 24, 27, 31, 34); +gendef [pt#]( rule_thickness#)( .34, .36, .38, .4, .44); +gendef [1/36pt#]( dish# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 14, 16, 18, 20, 24); +gendef [1/36pt#]( jut# )( 21, 24, 27, 30, 35); +gendef [1/36pt#]( cap_jut# )( 24, 27, 30.5, 34, 38); +gendef [1/36pt#]( beak_jut# )( 7.4, 7.9, 8.5, 9, 10.4); +gendef [1/36pt#]( beak# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( vair# )( 7, 8, 8, 8, 8.5); +gendef [pt#]( notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( slab# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_band# )( 9, 9.5, 10, 11, 12.5); +gendef [pt#]( cap_notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 2.8, 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( stem_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 5, 6, 7, 8, 9); +gendef [1/36pt#]( apex_o# )( 5, 6, 7, 8, 9); +slant:=1/4; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )( .6, .4, .2, 0, [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +classic_serif:=true; +clear_extra_memory; +generate txsymb; + +endinput; diff --git a/fonts/ec/src/tcdh.mf b/fonts/ec/src/tcdh.mf new file mode 100644 index 0000000000..0eef40149f --- /dev/null +++ b/fonts/ec/src/tcdh.mf @@ -0,0 +1,89 @@ +% tcdh.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Dunhill Roman +% (Still somewhat experimental) + +font_identifier:="TCDUNH"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, 0, 0, 0, 0, [-.1]); +gendef [1/36pt#]( body_height# )( 235, 262, 289, 316, 343, 370, 424, 566); +gendef [1/36pt#]( asc_height# )( 225, 250, 275, 300, 325, 350, 400, 532); +gendef [1/36pt#]( cap_height# )( 223, 247.6, 272.2, 296.8, 321.4, 346, 395.2, 525); +gendef [1/36pt#]( fig_height# )( 216, 239.2, 262.4, 285.6, 308.8, 332, 378.4, 501); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 41); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 40); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 48); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcfb.mf b/fonts/ec/src/tcfb.mf new file mode 100644 index 0000000000..29afd0b499 --- /dev/null +++ b/fonts/ec/src/tcfb.mf @@ -0,0 +1,92 @@ +% tcfb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parametesr for +% +% Text Companion Fibonacci Font +% (Experimental) +% +font_identifier:="TCFIB"; +font_size (gensize*pt#); +basedef ( 5, 8, 13, 21, 34); +gendef [1/36pt#]( u# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( width_adj# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( letter_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( body_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( asc_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( cap_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( fig_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( x_height# )( 89, 144, 233, 377, 610); +gendef [1/36pt#]( math_axis# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( bar_height# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( comma_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( desc_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( acc_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( dot_height# )( 21, 55, 89, 144, 233); +gendef [1/36pt#]( udot_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( crisp# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( tiny# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( fine# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( thin_join# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( flare# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( dot_size# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( cap_ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( rule_thickness#)( 13, 21, 34, 55, 144); +gendef [1/36pt#]( dish# )( 1, 1, 1, 2, 5); +gendef [1/36pt#]( bracket# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( beak_jut# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( beak# )( 34, 55, 89, 144, 377); +gendef [1/36pt#]( vair# )( 8, 13, 21, 34, 89); +gendef [pt#]( notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( slab# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_band# )( 8, 13, 21, 34, 89); +gendef [pt#]( cap_notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( serif_drop# )( 2, 3, 5, 8, 21); +gendef [1/36pt#]( stem_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( vair_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( apex_corr# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( o# )( 5, 8, 13, 21, 55); +gendef [1/36pt#]( apex_o# )( 5, 8, 13, 21, 55); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )(.375, .375, .375, .375, .375); +superness:=1/sqrt 2; +superpull:=1/13; +beak_darkness:=5/13; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/tcff.mf b/fonts/ec/src/tcff.mf new file mode 100644 index 0000000000..5f55382e15 --- /dev/null +++ b/fonts/ec/src/tcff.mf @@ -0,0 +1,89 @@ +% tcff.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Funny Roman +% (Experimental) + +font_identifier:="TCFF"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 12, 13.9, 16, 19.7); +gendef [1/36pt#]( width_adj# )( [-16], [-16], [-16], [-16]); +gendef [1/36pt#]( serif_fit# )( [-3], [-3], [-3], [-3]); +gendef [1/36pt#]( cap_serif_fit# )( [-4], [-4], [-4], [-4]); +gendef [1/36pt#]( letter_fit# )( 2, 2, 2, 2); +gendef [1/36pt#]( body_height# )( 190, 215, 240, 290); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 181, 203, 225, 269); +gendef [1/36pt#]( fig_height# )( 166, 188, 210, 254); +gendef [1/36pt#]( x_height# )( 159, 174.5, 190, 221); +gendef [1/36pt#]( math_axis# )( 33, 44, 55, 77); +gendef [1/36pt#]( bar_height# )( 44, 52, 60, 76); +gendef [1/36pt#]( comma_depth# )( 54, 62, 70, 86); +gendef [1/36pt#]( desc_depth# )( 84, 92, 100, 116); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 8, 10, 11, 14); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 11, 13, 14, 15); +gendef [1/36pt#]( hair# )( 8, 10, 11, 14); +gendef [1/36pt#]( stem# )( 13, 15, 16, 19); +gendef [1/36pt#]( curve# )( 17, 19, 20, 23); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 20, 22, 24, 27); +gendef [1/36pt#]( dot_size# )( 21, 23, 26, 29); +gendef [1/36pt#]( cap_hair# )( 13, 15, 16, 19); +gendef [1/36pt#]( cap_stem# )( 21, 23, 24, 27); +gendef [1/36pt#]( cap_curve# )( 23, 25, 26, 29); +gendef [1/36pt#]( cap_ess# )( 25, 27, 28, 31); +gendef [pt#]( rule_thickness#)( .46, .48, .5, .54); +gendef [1/36pt#]( dish# )( 5, 5, 5, 5); +gendef [1/36pt#]( bracket# )( 20, 20, 20, 20); +gendef [1/36pt#]( jut# )( 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( cap_jut# )( 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( beak_jut# )( [-8], [-8], [-8], [-8]); +gendef [1/36pt#]( beak# )( 8, 9, 10, 12); +gendef [1/36pt#]( vair# )( 11, 13, 14, 17); +gendef [1/36pt#]( notch_cut# )( 2, 2, 2, 2); +gendef [1/36pt#]( bar# )( 14, 16, 17, 20); +gendef [1/36pt#]( slab# )( 17, 19, 20, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 14, 16, 17, 20); +gendef [1/36pt#]( cap_notch_cut# )( 3, 3, 3, 3); +gendef [1/36pt#]( serif_drop# )( [-10], [-10], [-10], [-10]); +gendef [1/36pt#]( stem_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( vair_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( apex_corr# )( 4, 5, 6, 7); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 9, 9, 9, 10); +gendef ( fudge )( 1, 1, 1, 1); +gendef ( math_spread )( .5, .5, .5, .5); +slant:=-.1; +superness:=2/3; +superpull:=-1/8; +beak_darkness:=.5; +square_dots:=true; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcfi.mf b/fonts/ec/src/tcfi.mf new file mode 100644 index 0000000000..56b156f326 --- /dev/null +++ b/fonts/ec/src/tcfi.mf @@ -0,0 +1,89 @@ +% tcfi.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Funny Italic +% (Experimental) + +font_identifier:="TCFI"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( [-16], [-16], [-16], [-16]); +gendef [1/36pt#]( serif_fit# )( [-3], [-3], [-3], [-3]); +gendef [1/36pt#]( cap_serif_fit# )( [-4], [-4], [-4], [-4]); +gendef [1/36pt#]( letter_fit# )( 2, 2, 2, 2); +gendef [1/36pt#]( body_height# )( 190, 215, 240, 290); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 181, 203, 225, 269); +gendef [1/36pt#]( fig_height# )( 166, 188, 210, 254); +gendef [1/36pt#]( x_height# )( 159, 174.5, 190, 221); +gendef [1/36pt#]( math_axis# )( 33, 44, 55, 77); +gendef [1/36pt#]( bar_height# )( 44, 52, 60, 76); +gendef [1/36pt#]( comma_depth# )( 54, 62, 70, 86); +gendef [1/36pt#]( desc_depth# )( 84, 92, 100, 116); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 8, 10, 11, 14); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 11, 13, 14, 15); +gendef [1/36pt#]( hair# )( 8, 10, 11, 14); +gendef [1/36pt#]( stem# )( 14, 16, 17, 20); +gendef [1/36pt#]( curve# )( 18, 20, 21, 24); +gendef [1/36pt#]( ess# )( 20, 22, 23, 26); +gendef [1/36pt#]( flare# )( 21, 23, 25, 28); +gendef [1/36pt#]( dot_size# )( 21, 23, 26, 29); +gendef [1/36pt#]( cap_hair# )( 12, 14, 15, 18); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 24, 26, 27, 30); +gendef [1/36pt#]( cap_ess# )( 26, 28, 29, 32); +gendef [pt#]( rule_thickness#)( .46, .48, .5, .54); +gendef [1/36pt#]( dish# )( 5, 5, 5, 5); +gendef [1/36pt#]( bracket# )( 20, 20, 20, 20); +gendef [1/36pt#]( jut# )( 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( cap_jut# )( 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( beak_jut# )( [-8], [-8], [-8], [-8]); +gendef [1/36pt#]( beak# )( 8, 9, 10, 12); +gendef [1/36pt#]( vair# )( 12, 14, 15, 18); +gendef [1/36pt#]( notch_cut# )( 2, 2, 2, 2); +gendef [1/36pt#]( bar# )( 15, 17, 18, 21); +gendef [1/36pt#]( slab# )( 18, 20, 21, 26); +gendef [1/36pt#]( cap_bar# )( 20, 22, 23, 26); +gendef [1/36pt#]( cap_band# )( 15, 17, 18, 21); +gendef [1/36pt#]( cap_notch_cut# )( 3, 3, 3, 3); +gendef [1/36pt#]( serif_drop# )( [-10], [-10], [-10], [-10]); +gendef [1/36pt#]( stem_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( vair_corr# )( [-1], [-1], [-1], [-1]); +gendef [1/36pt#]( apex_corr# )( 4, 5, 6, 7); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 9, 9, 9, 10); +gendef ( fudge )( 1, 1, 1, 1); +gendef ( math_spread )( .5, .5, .5, .5); +slant:=.1; +superness:=2/3; +superpull:=-1/8; +beak_darkness:=.5; +square_dots:=true; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcfs.mf b/fonts/ec/src/tcfs.mf new file mode 100644 index 0000000000..76973b40fc --- /dev/null +++ b/fonts/ec/src/tcfs.mf @@ -0,0 +1,92 @@ +% tcfs.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% Text Companion Fibonacci SLanted Font +% (Experimental) +% +font_identifier:="TCFIBS"; +font_size (gensize*pt#); +basedef ( 5, 8, 13, 21, 34); +gendef [1/36pt#]( u# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( width_adj# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( letter_fit# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( body_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( asc_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( cap_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( fig_height# )(144, 233, 377, 610, 1597); +gendef [1/36pt#]( x_height# )( 89, 144, 233, 377, 610); +gendef [1/36pt#]( math_axis# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( bar_height# )( 55, 89, 144, 233, 377); +gendef [1/36pt#]( comma_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( desc_depth# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( acc_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( dot_height# )( 21, 55, 89, 144, 233); +gendef [1/36pt#]( udot_height# )( 34, 55, 89, 144, 233); +gendef [1/36pt#]( crisp# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( tiny# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( fine# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( thin_join# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( flare# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( dot_size# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_hair# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_stem# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( cap_curve# )( 24, 39, 63, 102, 254); +gendef [1/36pt#]( cap_ess# )( 21, 34, 55, 89, 233); +gendef [1/36pt#]( rule_thickness#)( 13, 21, 34, 55, 144); +gendef [1/36pt#]( dish# )( 1, 1, 1, 2, 5); +gendef [1/36pt#]( bracket# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( cap_jut# )( 13, 21, 34, 55, 144); +gendef [1/36pt#]( beak_jut# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( beak# )( 34, 55, 89, 144, 377); +gendef [1/36pt#]( vair# )( 8, 13, 21, 34, 89); +gendef [pt#]( notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( slab# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_bar# )( 8, 13, 21, 34, 89); +gendef [1/36pt#]( cap_band# )( 8, 13, 21, 34, 89); +gendef [pt#]( cap_notch_cut# )( 3, 8, 13, 21, 55); +gendef [1/36pt#]( serif_drop# )( 2, 3, 5, 8, 21); +gendef [1/36pt#]( stem_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( vair_corr# )( 0, 1, 1, 2, 5); +gendef [1/36pt#]( apex_corr# )( 0, 0, 1, 1, 3); +gendef [1/36pt#]( o# )( 5, 8, 13, 21, 55); +gendef [1/36pt#]( apex_o# )( 5, 8, 13, 21, 55); +slant:=sqrt5-2; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )(.375, .375, .375, .375, .375); +superness:=1/sqrt 2; +superpull:=1/13; +beak_darkness:=5/13; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; + +clear_extra_memory; + +generate exroman + +endinput; diff --git a/fonts/ec/src/tcit.mf b/fonts/ec/src/tcit.mf new file mode 100644 index 0000000000..4f742380b5 --- /dev/null +++ b/fonts/ec/src/tcit.mf @@ -0,0 +1,89 @@ +% tcit.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Italic Typewriter Text + +font_identifier:="TCITT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 15, 15, 15, 15); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 34, 42, 50, 66); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 33, 37, 40, 45); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +slant:=1/4; +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +true_mono:=true; +variant_g:=true; +low_asterisk:=true; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcrb.mf b/fonts/ec/src/tcrb.mf new file mode 100644 index 0000000000..9914287050 --- /dev/null +++ b/fonts/ec/src/tcrb.mf @@ -0,0 +1,90 @@ +% tcrb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Parameters were contributed by Tomas Vanhala (vanhala@cc.helsinki.fi) +% +% Content: +% +% Parameters for +% +% Text Companion Roman Bold (Non-Extended) + +font_identifier:="TCRB"; +font_size (gensize*pt#); +basedef ( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5); +gendef [1/36pt#]( width_adj# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 12); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3, 3.8, 4.5, 5.1, 5.6, 6, 6.8); +gendef [1/36pt#]( letter_fit# )( 3, 2, 1, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 123.5, 148.2, 172.9, 197.6, 222.3, 247, 296.4); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 80, 96, 112, 128, 144, 160, 192); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 40, 49, 58, 67, 76, 85, 102); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 37.5, 45, 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 29.5, 35.5, 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 9, 10, 11, 12, 13, 13, 13); +gendef [1/36pt#]( fine# )( 8, 9, 9, 10, 10, 10, 10); +gendef [1/36pt#]( thin_join# )( 8, 9, 9, 10, 10, 10, 10.5); +gendef [1/36pt#]( hair# )( 15, 15.4, 15.8, 16.2, 16.6, 17, 18.3); +gendef [1/36pt#]( stem# )( 24, 28, 32, 35, 38, 41, 47); +gendef [1/36pt#]( curve# )( 27, 31, 35, 39, 43, 46, 52); +gendef [1/36pt#]( ess# )( 19, 25, 29, 32, 35, 38, 44); +gendef [1/36pt#]( flare# )( 27, 31, 35, 39, 42, 45, 51); +gendef [1/36pt#]( dot_size# )( 31, 36, 41, 46, 51, 56, 62); +gendef [1/36pt#]( cap_hair# )( 17, 18, 18, 19, 19, 19, 20); +gendef [1/36pt#]( cap_stem# )( 28, 33, 38, 43, 47, 51, 57); +gendef [1/36pt#]( cap_curve# )( 31, 36, 41, 46, 51, 55, 61); +gendef [1/36pt#]( cap_ess# )( 24, 31, 37, 43, 48, 53, 59); +gendef [pt#]( rule_thickness#)( .43, .47, .51, .54, .57, .60, .66); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( jut# )( 13, 15, 17, 19, 22, 25, 30); +gendef [1/36pt#]( cap_jut# )( 14, 17, 22, 26, 30, 34, 41); +gendef [1/36pt#]( beak_jut# )( 7, 7.8, 8.6, 9.4, 10.2, 11, 12.4); +gendef [1/36pt#]( beak# )( 25, 36, 46, 55, 63, 70, 84); +gendef [1/36pt#]( vair# )( 10, 11, 11.5, 12, 12.5, 13, 14.3); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( slab# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_bar# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [1/36pt#]( cap_band# )( 12, 13, 14, 15, 16, 17, 18.5); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 1.5, 1.8, 2.1, 2.4, 2.7, 3, 3.6); +gendef [1/36pt#]( stem_corr# )( 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2); +gendef [1/36pt#]( vair_corr# )( 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.5); +gendef [1/36pt#]( apex_corr# )( 9, 5, 2, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 3, 3, 3, 4, 4, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 3, 3, 3, 4); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1.5, 1.3, 1.1, .9, .7, .5, .4); +superness:=8/11; +superpull:=1/8; +beak_darkness:=.4; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; + +endinput; diff --git a/fonts/ec/src/tcrm.mf b/fonts/ec/src/tcrm.mf new file mode 100644 index 0000000000..a423c3dc98 --- /dev/null +++ b/fonts/ec/src/tcrm.mf @@ -0,0 +1,88 @@ +% tcrm.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Roman Medium + +font_identifier:="TCRM"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, 0, 0, 0, 0, [-.1]); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 42, 46.6, 51.2, 56, 60.4, 66, 77.2, 100); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 40); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 41); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 47); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=0; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcsi.mf b/fonts/ec/src/tcsi.mf new file mode 100644 index 0000000000..ebd2acc9d3 --- /dev/null +++ b/fonts/ec/src/tcsi.mf @@ -0,0 +1,88 @@ +% tcsi.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Sans Serif Inclined + +font_identifier:="TCSSI"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 12, 13, 15, 17, 24); +gendef [1/36pt#]( serif_fit# )( [-6], [-6.5], [-7], [-9], [-12]); +gendef [1/36pt#]( cap_serif_fit# )( [-8.5], [-9], [-10], [-13], [-17]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 205, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )( 200, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )( 189, 212, 236, 283, 408); +gendef [1/36pt#]( x_height# )( 128, 144, 160, 192, 267.8); +gendef [1/36pt#]( math_axis# )( 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 97, 136); +gendef [1/36pt#]( comma_depth# )( 37, 41, 45, 54, 78); +gendef [1/36pt#]( desc_depth# )( 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 60, 65, 70, 82, 110); +gendef [1/36pt#]( dot_height# )( 45.8, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 48.2, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 15, 16, 17, 20, 24); +gendef [1/36pt#]( hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( stem# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( curve# )( 25, 27, 28, 30, 33); +gendef [1/36pt#]( ess# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( flare# )( 22, 24, 25, 30, 33); +gendef [1/36pt#]( dot_size# )( 26, 28, 30, 35, 40); +gendef [1/36pt#]( cap_hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( cap_stem# )( 29, 31, 32, 33, 39); +gendef [1/36pt#]( cap_curve# )( 29, 31, 32, 37, 42); +gendef [1/36pt#]( cap_ess# )( 28, 31, 32, 37, 42); +gendef [pt#]( rule_thickness#)( .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( .4, .5, .5, .6, .8); +gendef [1/36pt#]( vair# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( notch_cut# )( 16, 17, 18, 22, 32); +gendef [1/36pt#]( bar# )( 18, 20, 21, 25, 30); +gendef [1/36pt#]( slab# )( 20, 22, 23, 27, 32); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( cap_band# )( 17, 19, 20, 24, 30); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 31, 36); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 4, 4.5, 5, 6, 7); +gendef [1/36pt#]( o# )( 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +gendef ( fudge )( .93, .95, .96, .98, .98); +gendef ( math_spread )( .4, .2, 0, [-.2], [-.2]); +slant:=sind 12/cosd 12; +superness:=1/sqrt 2; +superpull:=1/20; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcsl.mf b/fonts/ec/src/tcsl.mf new file mode 100644 index 0000000000..8aee3646d4 --- /dev/null +++ b/fonts/ec/src/tcsl.mf @@ -0,0 +1,88 @@ +% tcsl.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Roman Slanted + +font_identifier:="TCSL"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 5, 3, 2, 0, 0, 0, 0, [-.1]); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 42, 46.6, 51.2, 56, 60.4, 66, 77.2, 100); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 40); +gendef [1/36pt#]( ess# )( 12, 17, 21, 23, 25, 27, 30, 35); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 41); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 47); +gendef [1/36pt#]( cap_ess# )( 14, 19, 23, 27, 31, 35, 38, 43); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +slant:=1/6; +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcso.mf b/fonts/ec/src/tcso.mf new file mode 100644 index 0000000000..2248bd2617 --- /dev/null +++ b/fonts/ec/src/tcso.mf @@ -0,0 +1,88 @@ +% tcso.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% Text Companion Sans Serif Bold Extended Oblique + +font_identifier:="TCSSBXO"; +font_size gensize*pt#; +basedef ( 5, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12, 19, 22, 27, 40); +gendef [1/36pt#]( width_adj# )( 12, 19, 22, 19, 27); +gendef [1/36pt#]( serif_fit# )([-5], [-8], [-9], [-10], [-14]); +gendef [1/36pt#]( cap_serif_fit# )([-6], [-9], [-11], [-15], [-20]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )(135, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )(130, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )(125, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )(125, 212, 250, 283, 408); +gendef [1/36pt#]( x_height# )( 83, 149, 165, 198, 280); +gendef [1/36pt#]( math_axis# )( 45, 80, 90, 108, 150); +gendef [1/36pt#]( bar_height# )( 45, 80, 90, 95, 135); +gendef [1/36pt#]( comma_depth# )( 19, 34, 38, 54, 75); +gendef [1/36pt#]( desc_depth# )( 35, 62, 70, 84, 120); +gendef [1/36pt#]( acc_height# )( 45, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 38, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( udot_height# )( 30, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 12, 25, 26, 26, 26); +gendef [1/36pt#]( tiny# )( 12, 24, 26, 26, 26); +gendef [1/36pt#]( fine# )( 5, 7, 9, 9, 9); +gendef [1/36pt#]( thin_join# )( 11, 18, 19, 21, 25); +gendef [1/36pt#]( hair# )( 25, 40, 49, 50, 67); +gendef [1/36pt#]( stem# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( curve# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( ess# )( 22, 35, 43, 44, 60); +gendef [1/36pt#]( flare# )( 20, 39, 40, 41, 58); +gendef [1/36pt#]( dot_size# )( 24, 40, 47, 48, 65); +gendef [1/36pt#]( cap_hair# )( 24, 41, 48, 50, 67); +gendef [1/36pt#]( cap_stem# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_curve# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_ess# )( 26, 43, 51, 52, 68); +gendef [1/36pt#]( rule_thickness#)( 16, 29, 30, 31, 36); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )(.75, 1.1, 1.5, 1.8, 3.5); +gendef [1/36pt#]( vair# )( 15, 22, 26, 27, 35); +gendef [1/36pt#]( notch_cut# )( 25, 42, 49, 50, 57); +gendef [1/36pt#]( bar# )( 13, 26, 26, 27, 35); +gendef [1/36pt#]( slab# )( 18, 35, 36, 37, 45); +gendef [1/36pt#]( cap_bar# )( 17, 33, 34, 35, 42); +gendef [1/36pt#]( cap_band# )( 16, 30, 31, 32, 40); +gendef [1/36pt#]( cap_notch_cut# )( 23, 44, 45, 46, 53); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( apex_corr# )( 15, 17, 18, 19, 20); +gendef [1/36pt#]( o# )( 5, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +gendef ( fudge )(.88, .88, .88, .88, .88); +gendef ( math_spread )(.45, .45, .5, .5, .5); +slant:=sind 12/cosd 12; +superness:=3/4; +superpull:=1/18; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcss.mf b/fonts/ec/src/tcss.mf new file mode 100644 index 0000000000..d79782b87e --- /dev/null +++ b/fonts/ec/src/tcss.mf @@ -0,0 +1,88 @@ +% tcss.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Sans Serif + +font_identifier:="TCSS"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 12, 13, 15, 17, 24); +gendef [1/36pt#]( serif_fit# )( [-6], [-6.5], [-7], [-9], [-12]); +gendef [1/36pt#]( cap_serif_fit# )( [-8.5], [-9], [-10], [-13], [-17]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 205, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )( 200, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )( 189, 212, 236, 283, 408); +gendef [1/36pt#]( x_height# )( 128, 144, 160, 192, 267.8); +gendef [1/36pt#]( math_axis# )( 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 97, 136); +gendef [1/36pt#]( comma_depth# )( 37, 41, 45, 54, 78); +gendef [1/36pt#]( desc_depth# )( 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 60, 65, 70, 82, 110); +gendef [1/36pt#]( dot_height# )( 45.8, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 48.2, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( fine# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( thin_join# )( 15, 16, 17, 20, 24); +gendef [1/36pt#]( hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( stem# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( curve# )( 25, 27, 28, 30, 33); +gendef [1/36pt#]( ess# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( flare# )( 22, 24, 25, 30, 33); +gendef [1/36pt#]( dot_size# )( 26, 28, 30, 35, 40); +gendef [1/36pt#]( cap_hair# )( 25, 27, 28, 33, 37); +gendef [1/36pt#]( cap_stem# )( 29, 31, 32, 33, 39); +gendef [1/36pt#]( cap_curve# )( 29, 31, 32, 37, 42); +gendef [1/36pt#]( cap_ess# )( 28, 31, 32, 37, 42); +gendef [pt#]( rule_thickness#)( .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( .4, .5, .5, .6, .8); +gendef [1/36pt#]( vair# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( notch_cut# )( 16, 17, 18, 22, 32); +gendef [1/36pt#]( bar# )( 18, 20, 21, 25, 30); +gendef [1/36pt#]( slab# )( 20, 22, 23, 27, 32); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 26, 31); +gendef [1/36pt#]( cap_band# )( 17, 19, 20, 24, 30); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 31, 36); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 4, 4.5, 5, 6, 7); +gendef [1/36pt#]( o# )( 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +slant:=0; +gendef ( fudge )( .93, .95, .96, .98, .98); +gendef ( math_spread )( .4, .2, 0, [-.2], [-.2]); +superness:=1/sqrt 2; +superpull:=1/20; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcst.mf b/fonts/ec/src/tcst.mf new file mode 100644 index 0000000000..4254d42376 --- /dev/null +++ b/fonts/ec/src/tcst.mf @@ -0,0 +1,88 @@ +% tcst.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Slanted Typewriter Text + +font_identifier:="TCSLTT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 40, 45, 50, 60); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +slant:=1/6; +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcstdedt.tex b/fonts/ec/src/tcstdedt.tex new file mode 100644 index 0000000000..de20eb8ea9 --- /dev/null +++ b/fonts/ec/src/tcstdedt.tex @@ -0,0 +1,345 @@ +% tcstdedt.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in dcdoc.tex (needs LaTeX2e) +% +% Generating MF-files for TC fonts EC Version 1.0 / 1-JAN-1997 +% +% Running TeX with this file as an input results in a lot of +% Metafont font driver files (tcrm5.mf, tcrm6.mf, ..). The files +% which should be generated are marked in the following macro +% \FontsToBeGenerated. For each font there has to be an entry +% with the pt sizes the font should be generate with. Additionally +% in the heading \tablevalues all used pt sizes have to be mentioned, +% just to get an fine printout. +% +% Furthermore there is a batch file which can be customized for the +% Metafont batch run. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% please change only here: +% +\long\def\FontsToBeGenerated{ + + \tablevalues ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + + \makefont tcrm ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcsl ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcbx ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcbl ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) +% \makefont tcfb ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] +% 10[1000] 10.95[1095] 12[1200] 14.4[1440] +% 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] +% 35.83[3583]) + \makefont tcrb ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) +% \makefont tcdh ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] +% 10[1000] 10.95[1095] 12[1200] 14.4[1440] +% 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] +% 35.83[3583]) + \makefont tctt (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcvt (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcvi (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcst (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcit (% 5[0500] 6[0600] 7[0700] + 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcss ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcsi ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcsx ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcso ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) +% \makefont tcff ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] +% 10[1000] 10.95[1095] 12[1200] 14.4[1440] +% 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] +% 35.83[3583]) +% \makefont tcfi ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] +% 10[1000] 10.95[1095] 12[1200] 14.4[1440] +% 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] +% 35.83[3583]) + \makefont tcbi ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcti ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcui ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) + \makefont tcci ( 5[0500] 6[0600] 7[0700] 8[0800] 9[0900] + 10[1000] 10.95[1095] 12[1200] 14.4[1440] + 17.28[1728] 20.74[2074] 24.88[2488] 29.86[2986] + 35.83[3583]) +} +% If a font with a fraction, e.g. "7.5", should be generated +% and the file name is not allowed to contain a period, an +% optional file name part can be specified. +% +% 7.5[0750] +% +% result in - may be - "tcr0750.mf" and an entry of "gensize:=7.5;" +% (The new value has to be specified in the \tablevalues-line too! +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% The Batch file entries ( #1 contains the fontname ) +% +% should be of the following form: +% +% \def\BatchOutput{\BatchLine{...}% +% ... +% \BatchLine{...}} +% +% +% preset value, change \BatchOutput if you like .... +% +\def\BatchOutput#1{ + \BatchLine{$ MF "\string\mode=localfont; input #1"} +% \BatchLine{mf/batch "&exbase \string\mode:=imagen; input #1"} +} +% +% File naming conventions: +% +\def\BatchFileName{tcfonts.com} +% +% +\def\MetafontFileExtension{.mf} +% +\def\modedef{} % e.g. \def\modedef{\string\mode:=hplaser;} +% +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% please n o changes from here, thanks ! +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% +% (Avoiding inspecting the macros (sigh!) +% +% Norbert Schwarz, Dezember 1990 +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\magnification\magstep1 +\overfullrule=0pt +%\tracingonline1 +%\tracingcommands=1 +%\tracingmacros=1 +% some token handling +\let\EA\expandafter +\def\JoinToks#1=(#2+#3){#1=\EA\EA\EA{\EA\the\EA#2\the#3}} +\def\UpToHere{\relax} +\def\IgnoreRest#1#2\UpToHere{#1} +\def\IgnoreFirst#1#2\relax\UpToHere{#2} +\def\First#1{\EA\IgnoreRest\the#1{}\UpToHere} +\def\FirstOf#1{\EA\EA\EA{\EA\IgnoreRest\the#1{}\UpToHere}} +\def\MoveFirst(#1to#2){#2\FirstOf#1} +\def\Rest#1{\EA\IgnoreFirst\the#1\relax\UpToHere} +\def\RestOf#1{\EA\EA\EA{\EA\IgnoreFirst\the#1\relax\UpToHere}} +\def\MoveRest(#1to#2){#2=\RestOf{#1}} +% borrowed from p. 132 in N.Schwarz, Introduction to TeX (some advertising ..) + +\newtoks\Basis +\newtoks\Table +\def\storetoks#1{\toks0={#1}\JoinToks\Table=(\Table+\toks0)} +\Table={} +% +\def\hash{##} +\newwrite \batchoutput +\newwrite \fontoutput +\def\today{\ifcase\month\or + January\or Februar\or March\or April\or May\or June\or + July\or August\or September\or October\or November\or December\fi, + \number\day, + \space\number\year} + +\def\BatchLine#1{\immediate\write\batchoutput{#1}} +\immediate\openout\batchoutput=\BatchFileName + +\def\empty{} +\def\minus{-} +\def\blank{ } +\def\singlefont#1 {% + \def\fontsize{#1}%\message{<#1>}% + \ifx\fontsize\minus\let\next\relax + \else + \ifx\fontsize\empty\let\next\singlefont + \else + \ifx\fontsize\blank\let\next\singlefont + \else + \let\next\dofont + \fi\fi\fi + \next} + +\def\doentry{\MoveFirst(\Workbase to\Htok)% + \Workbase=\RestOf\Workbase + \edef\doou{\the\Htok}% + \ifx\doou\fontsize + \def\dooU{\storetoks{\hfill $\bullet$\hfill&}}% + \let\weiter\dooU + \else + \def\weiter{\storetoks{~\hfill&}\doentry}% + \fi\weiter} + + +\def\singletablevalue#1 {% + \def\fontsize{#1}% + \ifx\fontsize\blank\let\next\singletablevalue + \else + \ifx\minus\fontsize\let\next\relax + \else\let\next\dotablevalue\fi + \fi + \next} + +\newtoks\Htok +\newtoks\Workbase +\def\dotablevalue{\edef\dooo{\Htok={{\fontsize}}}% + \dooo + \EA\storetoks\EA{\fontsize&}% + \JoinToks\Basis=(\Basis+\Htok)\singletablevalue} + +\def\tablevalues(#1){\storetoks{\bf Fonts &}\singletablevalue#1 - + \storetoks{\cr}} + +\def\makefont #1 (#2){\JoinToks\Workbase=(\Basis+\Basis)% + \myc=0\immediate\write15{}% + \edef\fontnamebody{#1}% + \def\dostoretoks{\storetoks{#1 &}}\dostoretoks + \singlefont #2 - \storetoks{\cr}} + +\def~{\ifdim\dimen0>0pt + \message{\number\dimen0}% + \global\advance\dimen0 by -5.25pt + \message{ }\fi} + +\newcount\myc +\def\extraspaces{\setbox0=\hbox{\tt\fontname}% +\dimen0=78.75pt +\advance\dimen0 by -\wd0\relax + \advance\myc by 1 + \ifnum \myc=5 + \immediate\write15{}% + \myc=0 \fi} + + +\def\dofonttest#1[#2]#3\nothing{% +\def\fontsize{#2}% +\ifx\fontsize\empty + \def\fontsizename{#1}% + \def\fontsize{#1}% +\else + \def\fontsize{#1}% + \def\fontsizename{#2}% +\fi} +\def\dofont{\doentry\expandafter\dofonttest\fontsize[]\nothing\Dofont} + +{\catcode`\%=11 +\catcode`\|=14 +\gdef\Dofont{| + \edef\fontname{\fontnamebody\fontsizename\MetafontFileExtension}| + \edef\dowrite{| + \immediate\openout \fontoutput = \fontname| + \immediate\write + \fontoutput {% This is \fontname\space + in text format as of \today}| + \immediate\write \fontoutput {if unknown exbase: input exbase fi;}| + \immediate\write \fontoutput {}| + \immediate\write \fontoutput {\modedef}| + \immediate\write \fontoutput {gensize:=\fontsize;}| + \immediate\write \fontoutput {generate \fontnamebody}| + \immediate\closeout \fontoutput| + \BatchOutput{\fontnamebody\fontsizename} + \message{\fontname\blank}|\extraspaces~~~~~~~~~~~| +}\dowrite\singlefont}} +\immediate\write15{generated mf-files:} +\immediate\write15{-------------------} + +\nopagenumbers + +\def\minimumbox#1{\setbox0=\hbox{#1}% + \ifdim\wd0>15pt \box0\else \hbox to 15pt{\hfil + \box0\hfil}\fi} +\storetoks{\hrule +\medskip +\centerline{Overview TC - Standard font set} +\medskip +\hrule +\bigskip +\noindent The following table describes the generated {*.mf} files which +are needed for the setup of the standard TC-font set. +\bigskip +\bigskip +$$\vbox\bgroup\nointerlineskip\halign\bgroup\hash\hfil\quad&&\strut + \quad\minimumbox{\hash}\cr +\noalign{\medskip}} + + + +%\tracingonline1 +%\tracingmacros2 +%\tracingcommands1 + +\FontsToBeGenerated + +\storetoks{\egroup\egroup$$} + +\let\hash=# +\the\Table +\end diff --git a/fonts/ec/src/tcsx.mf b/fonts/ec/src/tcsx.mf new file mode 100644 index 0000000000..255b133abb --- /dev/null +++ b/fonts/ec/src/tcsx.mf @@ -0,0 +1,88 @@ +% tcsx.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% Text Comapnion Sans Serif Bold Extended + +font_identifier:="TCSSBX"; +font_size gensize*pt#; +basedef ( 5, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12, 19, 22, 27, 40); +gendef [1/36pt#]( width_adj# )( 12, 19, 22, 19, 27); +gendef [1/36pt#]( serif_fit# )([-5], [-8], [-9], [-10], [-14]); +gendef [1/36pt#]( cap_serif_fit# )([-6], [-9], [-11], [-15], [-20]); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )(135, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )(130, 235, 260, 315, 445); +gendef [1/36pt#]( cap_height# )(125, 225, 250, 300, 425); +gendef [1/36pt#]( fig_height# )(125, 212, 250, 283, 408); +gendef [1/36pt#]( x_height# )( 83, 149, 165, 198, 280); +gendef [1/36pt#]( math_axis# )( 45, 80, 90, 108, 150); +gendef [1/36pt#]( bar_height# )( 45, 80, 90, 95, 135); +gendef [1/36pt#]( comma_depth# )( 19, 34, 38, 54, 75); +gendef [1/36pt#]( desc_depth# )( 35, 62, 70, 84, 120); +gendef [1/36pt#]( acc_height# )( 45, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 38, 67.5, 75, 90, 127.5); +gendef [1/36pt#]( udot_height# )( 30, 53.1, 59, 70.8, 100.3); +gendef [1/36pt#]( crisp# )( 12, 25, 26, 26, 26); +gendef [1/36pt#]( tiny# )( 12, 24, 26, 26, 26); +gendef [1/36pt#]( fine# )( 5, 7, 9, 9, 9); +gendef [1/36pt#]( thin_join# )( 11, 18, 19, 21, 25); +gendef [1/36pt#]( hair# )( 25, 40, 49, 50, 67); +gendef [1/36pt#]( stem# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( curve# )( 25, 41, 49, 50, 67); +gendef [1/36pt#]( ess# )( 22, 35, 43, 44, 60); +gendef [1/36pt#]( flare# )( 20, 39, 40, 41, 58); +gendef [1/36pt#]( dot_size# )( 24, 40, 47, 48, 65); +gendef [1/36pt#]( cap_hair# )( 24, 41, 48, 50, 67); +gendef [1/36pt#]( cap_stem# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_curve# )( 26, 43, 51, 54, 70); +gendef [1/36pt#]( cap_ess# )( 26, 43, 51, 52, 68); +gendef [1/36pt#]( rule_thickness#)( 16, 29, 30, 31, 36); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( beak# )(.75, 1.1, 1.5, 1.8, 3.5); +gendef [1/36pt#]( vair# )( 15, 22, 26, 27, 35); +gendef [1/36pt#]( notch_cut# )( 25, 42, 49, 50, 57); +gendef [1/36pt#]( bar# )( 13, 26, 26, 27, 35); +gendef [1/36pt#]( slab# )( 18, 35, 36, 37, 45); +gendef [1/36pt#]( cap_bar# )( 17, 33, 34, 35, 42); +gendef [1/36pt#]( cap_band# )( 16, 30, 31, 32, 40); +gendef [1/36pt#]( cap_notch_cut# )( 23, 44, 45, 46, 53); +gendef [1/36pt#]( serif_drop# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( stem_corr# )( 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( 2, 2, 2, 2, 2); +gendef [1/36pt#]( apex_corr# )( 15, 17, 18, 19, 20); +gendef [1/36pt#]( o# )( 5, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 0, 0, 0, 0, 0); +slant:=0; +gendef ( fudge )(.88, .88, .88, .88, .88); +gendef ( math_spread )(.45, .45, .5, .5, .5); +superness:=3/4; +superpull:=1/18; +beak_darkness:=0; +square_dots:=true; +hefty:=true; +serifs:=false; +monospace:=false; +variant_g:=false; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcti.mf b/fonts/ec/src/tcti.mf new file mode 100644 index 0000000000..b04bc0ff9c --- /dev/null +++ b/fonts/ec/src/tcti.mf @@ -0,0 +1,90 @@ +% tcti.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Text Italic +% +% +font_identifier:="TCTI"; +font_size (gensize*pt#); +basedef ( 7, 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 14.8, 15.8, 17, 18.4, 21.6); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 3.5, 4.1, 4.6, 5, 5.8); +gendef [1/36pt#]( letter_fit# )( 9.4, 7.9, 8.5, 9.2, 10.8); +gendef [1/36pt#]( body_height# )( 189, 216, 243, 270, 324); +gendef [1/36pt#]( asc_height# )( 175, 200, 225, 250, 300); +gendef [1/36pt#]( cap_height# )( 172.2, 196.8, 221.4, 246, 295.2); +gendef [1/36pt#]( fig_height# )( 162.4, 185.6, 208.8, 232, 278.4); +gendef [1/36pt#]( x_height# )( 108.5, 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 63, 72, 81, 90, 108); +gendef [1/36pt#]( bar_height# )( 60.9, 69.6, 78.3, 87, 104.4); +gendef [1/36pt#]( comma_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( desc_depth# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( acc_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 52.5, 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 41.3, 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( tiny# )( 7, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 6, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 6, 7, 7, 7, 7.5); +gendef [1/36pt#]( hair# )( 10.5, 11, 11, 11, 12); +gendef [1/36pt#]( stem# )( 18.5, 20, 22, 23, 26); +gendef [1/36pt#]( curve# )( 21.5, 23.5, 26, 28, 31); +gendef [1/36pt#]( ess# )( 21, 23, 25, 27, 29); +gendef [1/36pt#]( flare# )( 21, 24, 26, 29, 32); +gendef [1/36pt#]( dot_size# )( 29, 32, 35, 38, 42); +gendef [1/36pt#]( cap_hair# )( 9, 9.5, 10, 11, 11.5); +gendef [1/36pt#]( cap_stem# )( 21.5, 23.5, 26, 29, 32); +gendef [1/36pt#]( cap_curve# )( 24.5, 27, 30, 34, 37); +gendef [1/36pt#]( cap_ess# )( 21, 24, 27, 31, 34); +gendef [pt#]( rule_thickness#)( .34, .36, .38, .4, .44); +gendef [1/36pt#]( dish# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 14, 16, 18, 20, 24); +gendef [1/36pt#]( jut# )( 21, 24, 27, 30, 35); +gendef [1/36pt#]( cap_jut# )( 24, 27, 30.5, 34, 38); +gendef [1/36pt#]( beak_jut# )( 7.4, 7.9, 8.5, 9, 10.4); +gendef [1/36pt#]( beak# )( 49, 56, 63, 70, 84); +gendef [1/36pt#]( vair# )( 7, 8, 8, 8, 8.5); +gendef [pt#]( notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( slab# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_bar# )( 9, 9.5, 10, 11, 12.5); +gendef [1/36pt#]( cap_band# )( 9, 9.5, 10, 11, 12.5); +gendef [pt#]( cap_notch_cut# )( 7, 8, 9, 10, 12); +gendef [1/36pt#]( serif_drop# )( 2.8, 3.2, 3.6, 4, 4.8); +gendef [1/36pt#]( stem_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .9, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 5, 6, 7, 8, 9); +gendef [1/36pt#]( apex_o# )( 5, 6, 7, 8, 9); +slant:=1/4; +gendef ( fudge )( 1, 1, 1, 1, 1); +gendef ( math_spread )( .6, .4, .2, 0, [-.2]); +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +classic_serif:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tctt.mf b/fonts/ec/src/tctt.mf new file mode 100644 index 0000000000..6d7c77a36c --- /dev/null +++ b/fonts/ec/src/tctt.mf @@ -0,0 +1,89 @@ +% tctt.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Typewriter Text + +font_identifier:="TCTT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 40, 45, 50, 60); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +slant:=0; +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=true; +true_mono:=true; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcui.mf b/fonts/ec/src/tcui.mf new file mode 100644 index 0000000000..6b60c4811c --- /dev/null +++ b/fonts/ec/src/tcui.mf @@ -0,0 +1,88 @@ +% tcui.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameter for +% +% European Computer Modern Unslanted Italic + +font_identifier:="TCUI"; +font_size gensize*pt#; +basedef ( 5, 6, 7, 8, 9, 10, 12, 17.28); +gendef [1/36pt#]( u# )( 12.5, 14, 15.5, 17, 18.5, 20, 23.5, 32.5); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 2, 2.8, 3.5, 4.1, 4.6, 5, 5.8, 8); +gendef [1/36pt#]( letter_fit# )( 10, 10, 10, 10, 10, 10, 10, 10); +gendef [1/36pt#]( body_height# )( 135, 162, 189, 216, 243, 270, 324, 466); +gendef [1/36pt#]( asc_height# )( 125, 150, 175, 200, 225, 250, 300, 432); +gendef [1/36pt#]( cap_height# )( 123, 147.6, 172.2, 196.8, 221.4, 246, 295.2, 425); +gendef [1/36pt#]( fig_height# )( 116, 139.2, 162.4, 185.6, 208.8, 232, 278.4, 401); +gendef [1/36pt#]( x_height# )( 77.5, 93, 108.5, 124, 139.5, 155, 186, 267.8); +gendef [1/36pt#]( math_axis# )( 45, 54, 63, 72, 81, 90, 108, 155.5); +gendef [1/36pt#]( bar_height# )( 43.5, 52.2, 60.9, 69.6, 78.3, 87, 104.4, 150); +gendef [1/36pt#]( comma_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( desc_depth# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( acc_height# )( 42.5, 49, 55.5, 62, 68.5, 75, 90, 127.5); +gendef [1/36pt#]( dot_height# )( 32, 36.6, 41.2, 46, 50.4, 56, 67.2, 90); +gendef [1/36pt#]( udot_height# )( 33.5, 38.5, 43.3, 48.4, 53.1, 59, 70.8, 95); +gendef [1/36pt#]( crisp# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( tiny# )( 6, 7, 7, 8, 8, 8, 8, 8); +gendef [1/36pt#]( fine# )( 5, 6, 6, 7, 7, 7, 7, 7); +gendef [1/36pt#]( thin_join# )( 5, 6, 6, 7, 7, 7, 7.5, 9); +gendef [1/36pt#]( hair# )( 7.5, 8, 8.5, 9, 9, 9, 9.5, 11); +gendef [1/36pt#]( stem# )( 16, 18, 20, 22, 24, 25, 28, 33); +gendef [1/36pt#]( curve# )( 18, 20.5, 23, 25.5, 28, 30, 33, 41); +gendef [1/36pt#]( ess# )( 7, 12, 16, 18, 20, 22, 25, 30); +gendef [1/36pt#]( flare# )( 19, 21, 24, 27, 30, 33, 36, 45); +gendef [1/36pt#]( dot_size# )( 22, 26, 29, 32, 35, 38, 42, 51); +gendef [1/36pt#]( cap_hair# )( 8, 8.5, 9, 9.5, 10, 11, 11.5, 13); +gendef [1/36pt#]( cap_stem# )( 19, 21.5, 24, 26.5, 29, 32, 35, 40); +gendef [1/36pt#]( cap_curve# )( 21, 24, 27, 30, 33, 37, 40, 48); +gendef [1/36pt#]( cap_ess# )( 11, 16, 20, 24, 28, 32, 35, 40); +gendef [pt#]( rule_thickness#)( .28, .31, .34, .36, .38, .4, .44, .6); +gendef [1/36pt#]( dish# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( bracket# )( 10, 12, 14, 16, 18, 20, 24, 34); +gendef [1/36pt#]( jut# )( 15, 17, 19, 22, 25, 28, 33, 42); +gendef [1/36pt#]( cap_jut# )( 20, 23, 26, 29, 33, 37, 41, 50); +gendef [1/36pt#]( beak_jut# )( 6, 6.8, 7.6, 8.4, 9.2, 10, 11.4, 15); +gendef [1/36pt#]( beak# )( 35, 42, 49, 56, 63, 70, 84, 121); +gendef [1/36pt#]( vair# )( 6, 7, 7, 8, 8, 8, 8.5, 10); +gendef [pt#]( notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( slab# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_bar# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [1/36pt#]( cap_band# )( 8, 8.5, 9, 9.5, 10, 11, 12.5, 16); +gendef [pt#]( cap_notch_cut# )( 5, 6, 7, 8, 9, 10, 12, 17); +gendef [1/36pt#]( serif_drop# )( 2, 2.4, 2.8, 3.2, 3.6, 4, 4.8, 7); +gendef [1/36pt#]( stem_corr# )( .7, .8, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( vair_corr# )( .5, .7, .9, 1, 1, 1, 1, 1); +gendef [1/36pt#]( apex_corr# )( 0, 0, 0, 0, 0, 0, 0, 0); +gendef [1/36pt#]( o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef [1/36pt#]( apex_o# )( 4, 4.5, 5, 6, 7, 8, 9, 10); +gendef ( fudge )( 1, 1, 1, 1, 1, 1, 1, 1); +gendef ( math_spread )( 1, .8, .6, .4, .2, 0, [-.2], [-.4]); +slant:=0; +superness:=1/sqrt 2; +superpull:=1/6; +beak_darkness:=11/30; +square_dots:=false; +hefty:=false; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=false; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcvi.mf b/fonts/ec/src/tcvi.mf new file mode 100644 index 0000000000..035dc5ea83 --- /dev/null +++ b/fonts/ec/src/tcvi.mf @@ -0,0 +1,88 @@ +% tcvi.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Variable Width Italic Typewriter Text + +font_identifier:="TCVITT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 15, 15, 15, 15); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 34, 42, 50, 66); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 33, 37, 40, 45); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +slant:=1/4; +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=false; +variant_g:=true; +low_asterisk:=true; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/tcvt.mf b/fonts/ec/src/tcvt.mf new file mode 100644 index 0000000000..dae6b27843 --- /dev/null +++ b/fonts/ec/src/tcvt.mf @@ -0,0 +1,88 @@ +% tcvt.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% (c) Copyright 1990, 1992 Norbert Schwarz +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Content: +% +% Parameters for +% +% Text Companion Variable-Width Typewriter Text + +font_identifier:="TCVTT"; +font_size (gensize*pt#); +basedef ( 8, 9, 10, 12); +gendef [1/36pt#]( u# )( 17, 18.9, 21, 24.7); +gendef [1/36pt#]( width_adj# )( 0, 0, 0, 0); +gendef [1/36pt#]( serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( cap_serif_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( letter_fit# )( 0, 0, 0, 0); +gendef [1/36pt#]( body_height# )( 200, 225, 250, 300); +gendef [1/36pt#]( asc_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( cap_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( fig_height# )( 176, 198, 220, 264); +gendef [1/36pt#]( x_height# )( 124, 139.5, 155, 186); +gendef [1/36pt#]( math_axis# )( 88, 99, 110, 132); +gendef [1/36pt#]( bar_height# )( 63, 71, 79, 95); +gendef [1/36pt#]( comma_depth# )( 40, 45, 50, 60); +gendef [1/36pt#]( desc_depth# )( 64, 72, 80, 96); +gendef [1/36pt#]( acc_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( dot_height# )( 60, 67.5, 75, 90); +gendef [1/36pt#]( udot_height# )( 47.2, 53.1, 59, 70.8); +gendef [1/36pt#]( crisp# )( 19, 21, 22, 25); +gendef [1/36pt#]( tiny# )( 19, 21, 22, 25); +gendef [1/36pt#]( fine# )( 18, 20, 21, 22); +gendef [1/36pt#]( thin_join# )( 18, 20, 21, 22); +gendef [1/36pt#]( hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( ess# )( 19, 21, 22, 25); +gendef [1/36pt#]( flare# )( 28, 30, 32, 35); +gendef [1/36pt#]( dot_size# )( 31, 33, 36, 39); +gendef [1/36pt#]( cap_hair# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_stem# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_curve# )( 22, 24, 25, 28); +gendef [1/36pt#]( cap_ess# )( 22, 24, 25, 28); +gendef [1/36pt#]( rule_thickness#)( 22, 24, 25, 28); +gendef [1/36pt#]( dish# )( 0, 0, 0, 0); +gendef [1/36pt#]( bracket# )( 0, 0, 0, 0); +gendef [1/36pt#]( jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( cap_jut# )( 27, 31, 34, 39); +gendef [1/36pt#]( beak_jut# )( 0, 0, 0, 0); +gendef [1/36pt#]( beak# )( 27, 31, 34, 39); +gendef [1/36pt#]( vair# )( 19, 21, 22, 25); +gendef [1/36pt#]( notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( slab# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_bar# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_band# )( 19, 21, 22, 25); +gendef [1/36pt#]( cap_notch_cut# )( 22, 24, 25, 28); +gendef [1/36pt#]( serif_drop# )( 0, 0, 0, 0); +gendef [1/36pt#]( stem_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( vair_corr# )( 0, 0, 0, 0); +gendef [1/36pt#]( apex_corr# )( 8, 9, 10, 11); +gendef [1/36pt#]( o# )( 3, 3.5, 4, 5); +gendef [1/36pt#]( apex_o# )( 3, 3, 3, 4); +gendef ( fudge )( .81, .81, .81, .81); +gendef ( math_spread )( [-1], [-1], [-1], [-1]); +slant:=0; +superness:=1/sqrt 2; +superpull:=0; +beak_darkness:=0; +square_dots:=false; +hefty:=true; +serifs:=true; +monospace:=false; +variant_g:=false; +low_asterisk:=true; +math_fitting:=false; +clear_extra_memory; +generate txsymb; +endinput; diff --git a/fonts/ec/src/txaccent.mf b/fonts/ec/src/txaccent.mf new file mode 100644 index 0000000000..8c8615582c --- /dev/null +++ b/fonts/ec/src/txaccent.mf @@ -0,0 +1,180 @@ +% txaccent.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% ec Version 1.0 +% +% Content: +% +% Accents for capital letters + +version_check(1,0); % |version_check| was introduced in dc1.3 + +% A dirty trick, better left unseen. |cap_height| and |cap_height#| +% are restored at the end of this file. + +numeric saved_cap_height; saved_cap_height=cap_height; +cap_height:=hi.x_height; +numeric saved_cap_height#; saved_cap_height#=cap_height#; +cap_height#:=hi.x_height#; + +vardef is_cap = true enddef; + +ecchar"Grave accent"; +beginchar_twice(oct"0",9u#,x_height#,0); % |put_gravis| changes the height +adjust_fit(0,0); +put_gravis; +repeat_once; +endchar; + + +ecchar"Acute accent"; % using acute from plfonts +beginchar_twice(oct"1",9u#,x_height#,0); % |put_accent| changes the height +italcorr h#*slant-if serifs: 1.5 fi u#; +adjust_fit(0,0); +put_accent; +repeat_once; +endchar; + +ecchar"Circumflex (hat) accent"; +beginchar(oct"002",9u#,cap_accent_height#,0); +if serifs: italcorr .5[x_height#,h#]*slant+.5hair#-1.75u#; +else: italcorr 2/3[x_height#,h#]*slant-.5stem#+.5vair#-.75u#; +fi +adjust_fit(0,0); +uppercase_hat(.5w,0,1,2,3,4,5); +penlabels(1,2,3,4,5); endchar; + +ecchar"Tilde (squiggle) accent"; +beginchar(oct"003",9u#,cap_accent_height#,0); +italcorr h#*slant-u#; +adjust_fit(0,0); +uppercase_tilde(0,0,1,2,3,4,5); +penlabels(1,2,3,4,5); endchar; + +ecchar"Umlaut (double dot) accent"; +beginchar(oct"004",9u#,cap_accent_height#,0); +adjust_fit(0,0); +uppercase_umlaut(0,0,1,2,3,4); +penlabels(1,2,3,4); +endchar; + +ecchar"Double acute accent (Long Hungarian umlaut accent)"; +beginchar_twice(oct"005",9u#,min(asc_height#,2x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); +if monospace: hpos_corr=-2u; put_accent; hpos_corr=2u; put_accent; +else: hpos_corr=-1.5u; put_accent; hpos_corr=1.5u; put_accent; fi +repeat_once; +endchar; + +ecchar"Scandinavian circle accent"; +beginchar(oct"006",13u#+.5width_adj#,cap_accent_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +y[-1]= cap_height+if hefty: .5 fi accent_gap; +uppercase_circle(.5w,y[-1],1,2,3,4); +penlabels(1,2,3,4); endchar; + +ecchar"Hachek (check) accent"; +beginchar(oct"007",9u#,cap_accent_height#,0); +adjust_fit(0,0); +uc_hachek_accent(.5w); +endchar; + +ecchar"Breve accent"; +beginchar(oct"10",9u#,cap_accent_height#,0); +italcorr h#*slant+.5vair#-1.5u#; +adjust_fit(0,0); +uppercase_breve(.5w,0,1,2,3); +penlabels(1,2,3); endchar; + +ecchar"Macron (bar) accent"; +numeric macron_breadth#; macron_breadth#=.2[vair#,stem#]; +beginchar(oct"011",9u#,cap_accent_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=h+o; lft x1=w-rt x2=hround 1.25u; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +ecchar"Dot accent"; +beginchar_twice(oct"012",5u#,x_height#,0); +adjust_fit(0,0); +put_dot(tiny,max(dot_size#,cap_curve#)); +repeat_once; +endchar; + +ecchar"Cedilla accent"; +beginchar(oct"013",8u#,0,.875desc_depth#); +adjust_fit(0,0); +uppercase_cedilla(.5w,0,1,2,3,4,5); +penlabels(1,2,3,4,5); endchar; + +ecchar"Ogonek"; +beginchar(oct"014",5u#,0,desc_depth#); +italcorr 0; +adjust_fit(0,0); +ogon_one := 1; +ogon_two := 2; +ogon_three := 3; +if serifs: + x[ogon_one]r=0.7w; + %+outer_jut; +else: + x[ogon_one]r=0.6w; +fi + pickup crisp.nib; + pos[ogon_one]( + if 0.9vair>currentbreadth: 0.9vair else: currentbreadth+eps fi,-60); + pos[ogon_two](stem,0); + pos[ogon_three](vair,145); + x[ogon_two]=x[ogon_one]-2.5u if monospace: /expansion_factor fi ; + x[ogon_three]=x[ogon_one]+0.5u if monospace: /expansion_factor fi; + bot y[ogon_one]r = 0; + bot y[ogon_three]=0.5(-d-o); %0.4 + bot y[ogon_two]=0.5(-d-o); + filldraw stroke z[ogon_one]e{dir 225}... + z[ogon_two]e{dir -110}...{dir 60}z[ogon_three]e; % hook +penlabels(1,2,3); endchar; + +iff not is_small_cap: +ecchar"Capital tie accent"; +beginchar(oct"033",max(6u#,4u#+cap_stem#),uc_acc_height#,0); % same width as `I' +italcorr 4/9[x_height#,uc_acc_height#]*slant+5u#+2letter_fit#+.5hair#; +adjust_fit(if monospace:2u#,2u# else:serif_fit#,serif_fit# fi); +pickup fine.nib; pos1(hair,180); pos2(vround 1/5[vair,stem],90); +pos3(hair,0); +lft x1r=hround(.5w-.5hair); x2=.5[x1,x3]; +rt x3r=hround(w+4.5u+2letter_fit+.5hair); +y1=y3=cap_height + if hefty: .5 fi accent_gap; top y2r=cap_height+acc_height; +filldraw stroke super_arc.e(1,2) & super_arc.e(2,3); % arc +penlabels(1,2,3); endchar; + +iff not is_small_cap: +ecchar"New capital tie accent"; % centered +beginchar(oct"035",9u#,asc_height#,0); +italcorr 4/9[x_height#,uc_acc_height#]*slant+5u#+2letter_fit#+.5hair#; +adjust_fit(if monospace:2u#,2u# else:serif_fit#,serif_fit# fi); +pickup fine.nib; pos1(hair,180); pos2(vround 1/5[vair,stem],90); +pos3(hair,0); +lft x1r=w-rt x3r=hround(u-.5vair); x2=.5w; +y1=y3=cap_height + if hefty: .5 fi accent_gap; top y2r=cap_height+acc_height; +filldraw stroke super_arc.e(1,2) & super_arc.e(2,3); % arc +penlabels(1,2,3); endchar; + + +% Restore original values of |cap_height| and |cap_height#| +cap_height:=saved_cap_height; numeric saved_cap_height; +cap_height#:=saved_cap_height#; numeric saved_cap_height#; + +endinput; diff --git a/fonts/ec/src/txgen.mf b/fonts/ec/src/txgen.mf new file mode 100644 index 0000000000..787b6f6dc4 --- /dev/null +++ b/fonts/ec/src/txgen.mf @@ -0,0 +1,111 @@ +% txgen.mf +% +% (c) Copyright 1995, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% was originally |gen.mf| by DEK +% changed |cmchar| to |ecchar| +% moved divorced symbol to position "c" (was "1") +% +% characters for Jill's genealogy publications + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Cross (death symbol)"; +beginchar("d",9u#,.65[x_height#,asc_height#],.1(asc_height#-x_height#)); +adjust_fit(0,0); pickup tiny.nib; +numeric light_stem; light_stem=Vround .5[vair,stem]; +pos1(stem,0); pos2(.4[hair,stem],0); pos3(stem,0); +%pos4(stem,90); pos5(.5[vair,stem],90); pos6(stem,90); +pos4(light_stem,90); pos5(.5[vair,light_stem],90); pos6(light_stem,90); +x1=x2=x3=.5w; top y1=h; bot y3=-d; y2=y4r; +y4=y5=y6; y4l=good.y .6[-d,h]; x4=good.x u; x6=r-x4; x5=x2; +filldraw z1l...z2l{down}...z3l--z3r...z2r{up}...z1r--cycle; % vertical stroke +filldraw z4l...z5l...z6l--z6r...z5r...z4r--cycle; % horizontal stroke +penlabels(1,2,3,4,5,6); endchar; + +ecchar "Rings (marriage symbol)"; +beginchar("m",9u#,v_center(x_height#)); +adjust_fit(0,0); pickup tiny.nib; +numeric light_stem; light_stem=Vround .5[vair,stem]; +pos1(light_stem,90); pos3(light_stem,-90); +pos2(light_stem,180); pos4(.3[hair,light_stem],0); +x1=x3=.5[x2,x4]; lft x2r=hround(-u-.5light_stem); rt x4r=hround(.6w+.5stem); +%top y1r=vround(h+.5light_stem); y2=y4=.5[y1,y3]; +%bot y3r=vround(-d-.5light_stem); +top y1r=h; y2=y4=.5[y1,y3]; +bot y3r=-d; +pos5(light_stem,90); pos7(light_stem,-90); +pos6(.3[hair,light_stem],180); pos8(light_stem,0); +x5-x1=x6-x2=x7-x3=x8-x4; rt x8r=hround(w+u+.5light_stem); +y5-y1=y6-y2=y7-y3=y8-y4=0; +filldraw stroke pulled_arc.e(1,2)&pulled_arc.e(2,3)&pulled_arc.e(3,4) + &pulled_arc.e(4,1); % left ring +filldraw stroke pulled_arc.e(5,6)&pulled_arc.e(6,7)&pulled_arc.e(7,8) + &pulled_arc.e(8,5); % right ring +penlabels(1,2,3,4,5,6,7,8); endchar; + +ecchar "Five-pointed star (birth symbol)"; +beginchar("b",9u#,v_center(x_height#)); +adjust_fit(0,0); pickup tiny.nib; +numeric theta; theta=360/5; % degrees between points +pos0(curve,0); pos1(rule_thickness,90); x0=x1=good.x .5w; +top y1r=vround(math_axis+.5x_height+.5rule_thickness); +ypart(.5[z1,z0+(z1-z2) rotated 2theta])=math_axis; +pos2(curve,theta); pos3(rule_thickness,90+theta); +z2=z0; z3-z0=(z1-z0) rotated theta; +z4=whatever[z0l,z1r]=whatever[z2r,z3r]; +filldraw for n=0 upto 4: + z0+(z1r-z0)rotated(n*theta)--z0+(z4-z0)rotated(n*theta)--endfor + cycle; % star +penlabels(0,1,2,3,4); endchar; + +ecchar "Divided rings (divorce symbol)"; +beginchar("c",9u#,v_center(x_height#)); +adjust_fit(0,0); pickup tiny.nib; +numeric light_stem; light_stem=Vround .5[vair,stem]; +pos11(stem,0); pos12(.4[hair,stem],0); pos13(stem,0); +x11=x12=x13=.5w; top y11=round 1.3h; bot y13=round(-d-.3h); y12=.6[y13,y11]; +filldraw z11l...z12l{down}...z13l + --z13r...z12r{up}...z11r--cycle; % vertical stroke +pos1(light_stem,90); pos3(light_stem,-90); +pos2(light_stem,180); pos4(.3[hair,light_stem],0); +x1=x3=.5[x2,x4]; lft x2r=hround(-3u-.5light_stem); rt x4r=hround(.25w+.5stem); +top y1r=h; y2=y4=.5[y1,y3]; +bot y3r=-d; +pos5(light_stem,90); pos7(light_stem,-90); +pos6(.3[hair,light_stem],180); pos8(light_stem,0); +x5-x1=x6-x2=x7-x3=x8-x4; rt x8r=hround(w+3u+.5light_stem); +y5-y1=y6-y2=y7-y3=y8-y4=0; +filldraw stroke pulled_arc.e(1,2)&pulled_arc.e(2,3)&pulled_arc.e(3,4) + &pulled_arc.e(4,1); % left ring +filldraw stroke pulled_arc.e(5,6)&pulled_arc.e(6,7)&pulled_arc.e(7,8) + &pulled_arc.e(8,5); % right ring +penlabels(1,2,3,4,5,6,7,8,11,12,13); endchar; + +ecchar "Leaf"; +beginchar("l",18u#,asc_height#,0); +adjust_fit(0,0); pickup pencircle scaled .6rule_thickness; +z1=(0,0); z2=(w,h); +z3=.5[z1,z2]+.25((z2-z1)rotated 90); +z4=.5[z1,z2]+.25((z2-z1)rotated-90); +path p[]; p3=z1...z3{z2-z1}...z2; p4=z1...z4{z2-z1}...z2; +draw p3; % upper edge +draw p4; % lower edge +draw z1 -- z2; % stem +z5=1/4[z1,z2]; z6=.55[z1,z2]; +z35=p3 intersectionpoint (z5--(x5,2h)); +z36=p3 intersectionpoint (z6--(x6,2h)); +z45=p4 intersectionpoint (z5--(2w,y5)); +z46=p4 intersectionpoint (z6--(2w,y6)); +draw z35--z5--z45; % vein +draw z36--z6--z46; % vein +labels(1,2,3,4,5,6,35,36,45,46); endchar; + +endinput; diff --git a/fonts/ec/src/txifract.mf b/fonts/ec/src/txifract.mf new file mode 100644 index 0000000000..b81aa02ea6 --- /dev/null +++ b/fonts/ec/src/txifract.mf @@ -0,0 +1,141 @@ +% txifract.mf +% +% (c) Copyright 1995, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Ready made fractions 1/2, 1/4, 3/4 in italic style + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar"Italic fraction one quarter"; +beginchar(oct"274",8u#,body_height#,desc_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup tiny.nib; +numeric c_height; c_height=good.y .5[h,-d]+.5rule_thickness; +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); +top y1=h+apex_o; bot y2=c_height+rule_thickness; +filldraw stroke z1e--z2e; % stem +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+apex_o; top y4l=.8[y2,h]+apex_o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+apex_o+1)--(x3l,h+apex_o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..{left}z4e; % point +penlabels(1,2,3,4); +clearxy; +numeric hh; hh=c_height-2rule_thickness; +pos1(stem,0); pos6(stem,0); pos7(stem,0); +pos2(bar,-45); pos3(bar,-90); pos4(bar,-90); pos5(bar,-45); +rt x1r=hround(.5w+.5u+.5stem); lft x2l=hround .25u; +x3=2.75u; x4=w-2u; rt x5r=hround(w-.25u); +rt x6r=rt x7r=hround(2/3w+.5stem); +y1+.5stem=hh+o; bot y2r=0; bot y3r=vround(.08hh-.5bar); +bot y4r=vround-.5bar; bot y5r=vround(.03hh-.5bar); +y6+.5stem=bar_height; y7-.5stem=-d; +filldraw circ_stroke z1e{down}...{3(x2-x1),y2-y1}z2e; % diagonal +filldraw stroke z2e{z1-z2}...z3e{right}..{right}z4e + ...{x5-x4,2(y5-y4)}z5e; % bar +filldraw z6l---z7l..z7r---z6r..cycle; % stem +penlabels(1,2,3,4,5,6,7); +pickup rule.nib; +top y98=top y99=c_height; x98=w-x99=hround .5u; +draw z98--z99; % fraction bar +labels(98,99); endchar; + +ecchar"Italic fraction one half"; +beginchar(oct"275",8u#,body_height#,desc_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup tiny.nib; +numeric c_height; c_height=good.y .5[h,-d]+.5rule_thickness; +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); +top y1=h+apex_o; bot y2=c_height+rule_thickness; +filldraw stroke z1e--z2e; % stem +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+apex_o; top y4l=.8[y2,h]+apex_o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+apex_o+1)--(x3l,h+apex_o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..{left}z4e; % point +penlabels(1,2,3,4); +clearxy; +pickup fine.nib; +numeric hh; hh=c_height-2rule_thickness; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(curve,-360); pos7(hair,-405); pos8(hair,-360); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); +x3=.6[x2,x4]; lft x4r=hround(u-.5hair); +x5=x7=.5w-.5u; rt x6r=hround(w-u); lft x8l=hround(1.5u-.5hair); +y1=.5[.5x_height-d,hh]; y2=1/3[y1,y3]; y4=.5x_height-d; +bot y3r=vround .78[-d,y4]; +top y5r=hh+o; y6=.5[y5,y7]; y7=.52[-d,y4]; bot y8=-d-o; +filldraw stroke + if not hefty: z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6) + ...z7e{2(x7-x6),y7-y6}...{down}z8e; % main stroke +pos9(vair,-90); pos10(vstem+curve-stem,-90); pos11(hair,0); +x9=w-x10=2.5u; rt x11r=hround(w-.5u+.5hair); +y9=.25[y10,y7]; bot y10r=-d-o; y11=.38[-d,.5x_height]; +filldraw stroke z8e{up}...z9e{right}..{right}z10e...{up}z11e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10,11); +pickup rule.nib; +top y98=top y99=c_height; x98=w-x99=hround .5u; +draw z98--z99; % fraction bar +labels(98,99); endchar; + +ecchar"Italic fraction three quarters"; +beginchar(oct"276",8u#,body_height#,desc_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); +numeric c_height; c_height=good.y .5[h,-d]+.5rule_thickness; +numeric dd; dd=c_height+rule_thickness; +pickup fine.nib; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(stem,-360); pos7(bar,-450); pos8(bar,-450); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); x3=.5[x2,x4]; lft x4r=hround u; +x5=x7=.5w; rt x6r=hround(w-u); x8=x7-u; +y1=.5[x_height,h]; y2=.5[y1,y3]; y7=y8=.52[dd,h]; bot y3r=vround 1/4[y7,h]; +y4=1/3[y3,y5]; top y5r=h+o; y6=.5[y5,y7]; +filldraw stroke if not hefty: +z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6) & pulled_arc.e(6,7)..z8e; % upper arc +pos7'(vair,90); z7'l=z7r; +pos9(curve,0); pos10(vair,-90); pos11(hair,-180); pos12(flare,-180); +rt x9r=hround(w-u); x10=.5w-.5u; lft x11r=hround .75u; +y9=.25[dd,h]; bot y10r=dd-o; y11=dd+1/3x_height; bulb(10,11,12); % bulb +filldraw stroke pulled_arc.e(7',9) & pulled_arc.e(9,10); % lower arc +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); +clearxy; +numeric hh; hh=c_height-2rule_thickness; +pos1(stem,0); pos6(stem,0); pos7(stem,0); +pos2(bar,-45); pos3(bar,-90); pos4(bar,-90); pos5(bar,-45); +rt x1r=hround(.5w+.5u+.5stem); lft x2l=hround .25u; +x3=2.75u; x4=w-2u; rt x5r=hround(w-.25u); +rt x6r=rt x7r=hround(2/3w+.5stem); +y1+.5stem=hh+o; bot y2r=0; bot y3r=vround(.08hh-.5bar); +bot y4r=vround-.5bar; bot y5r=vround(.03hh-.5bar); +y6+.5stem=bar_height; y7-.5stem=-d; +filldraw circ_stroke z1e{down}...{3(x2-x1),y2-y1}z2e; % diagonal +filldraw stroke z2e{z1-z2}...z3e{right}..{right}z4e + ...{x5-x4,2(y5-y4)}z5e; % bar +filldraw z6l---z7l..z7r---z6r..cycle; % stem +penlabels(1,2,3,4,5,6,7); +pickup rule.nib; +top y98=top y99=c_height; x98=w-x99=hround .5u; +draw z98--z99; % fraction bar +labels(98,99); endchar; + +endinput; diff --git a/fonts/ec/src/txisuper.mf b/fonts/ec/src/txisuper.mf new file mode 100644 index 0000000000..8e1b9ccb30 --- /dev/null +++ b/fonts/ec/src/txisuper.mf @@ -0,0 +1,122 @@ +% txisuper.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Superscript digits 1,2,3 in italic style +% Male and female ordinal indicators + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Italic superscipt numeral 1"; +beginchar(oct"271",8u#,body_height#,0); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup tiny.nib; +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); top y1=h+apex_o; +bot y2=.5asc_height; +filldraw stroke z1e--z2e; % stem +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+apex_o; top y4l=.8[bot y2,h]+apex_o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+apex_o+1)--(x3l,h+apex_o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..{left}z4e; % point +penlabels(1,2,3,4); endchar; + + +ecchar "Italic superscript numeral 2"; +beginchar(oct"262",8u#,body_height#,0); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(curve,-360); pos7(hair,-405); pos8(hair,-360); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); +x3=.6[x2,x4]; lft x4r=hround(u-.5hair); +x5=x7=.5w-.5u; rt x6r=hround(w-u); lft x8l=hround(1.5u-.5hair); +y1=.5[y4,h]; y2=1/3[y1,y3]; +bot y8=.5asc_height-oo; +y4=.78[bot y8,h]; +bot y3r=vround .78[bot y8,y4]; +top y5r=h+o; y6=.5[y5,y7]; y7=.52[bot y8,y4]; +filldraw stroke if not hefty:z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6)...z7e{2(x7-x6),y7-y6}...{down}z8e; % main stroke +pos9(vair,-90); pos10(vstem+curve-stem,-90); pos11(hair,0); +x9=w-x10=2.5u; rt x11r=hround(w-.5u+.5hair); +y9=.25[y10,y7]; bot y10r=bot y8; y11=.38[bot y8,y4]; +filldraw stroke z8e{up}...z9e{right}..{right}z10e...{up}z11e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Italic superscript numeral 3"; +beginchar(oct"263",8u#,body_height#,0); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(stem,-360); pos7(bar,-450); pos8(bar,-450); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); x3=.5[x2,x4]; lft x4r=hround u; +x5=x7=.5w; rt x6r=hround(w-u); x8=x7-u; +y[-1]=.5asc_height; % dummy point +y1=.5[y[-1]+x_height,h]; y2=.5[y1,y3]; y7=y8=.52[y[-1],h]; +bot y3r=vround 1/4[y7,h]; +y4=1/3[y3,y5]; top y5r=h+o; y6=.5[y5,y7]; +filldraw stroke if not hefty: + z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6) & pulled_arc.e(6,7)..z8e; % upper arc +pos7'(vair,90); z7'l=z7r; +pos9(curve,0); pos10(vair,-90); pos11(hair,-180); pos12(flare,-180); +rt x9r=hround(w-u); x10=.5w-.5u; lft x11r=hround .75u; +y9=.25[y[-1],h]; bot y10r=y[-1]-o; y11=1/3x_height+y[-1]; +bulb(10,11,12); % bulb +filldraw stroke pulled_arc.e(7',9) & pulled_arc.e(9,10); % lower arc +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar"Italic female ordinal indicator"; +beginchar(oct"252",8u#,body_height#,0); +italcorr .7body_height#*slant; +adjust_fit(0,0); +numeric hh; hh=vround .5body_height; +pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +pos4(stem,0); x4=x0; y4+.5stem=vround .98hh; +x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +rt x4r=hround(w-2.5u+.5stem); +top y1r=hh+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x4; x7=w; hook_out(5,6,7); % closing hook +filldraw circ_stroke z4e--z5e; % stem +pickup extra_rule.nib; +x14=hround u; x15=hround(w-.5u); +top y14=-rule_thickness; y15=y14; +draw z14--z15; % underline +currentpicture:=currentpicture shifted (0,hh); +penlabels(0,1,2,3,4,5,6,7,14,15); endchar; + +ecchar"Italic male ordinal indicator"; +beginchar(oct"272",8u#,body_height#,0); +numeric hh; hh=vround .5body_height; +italcorr .7body_height#*slant; +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=hh+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 +pickup extra_rule.nib; +x5=w-x6=hround u; +top y5=-rule_thickness; y6=y5; +draw z5--z6; % underline +currentpicture:=currentpicture shifted (0,hh); +penlabels(1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/ec/src/txitlod.mf b/fonts/ec/src/txitlod.mf new file mode 100644 index 0000000000..3726ac3077 --- /dev/null +++ b/fonts/ec/src/txitlod.mf @@ -0,0 +1,292 @@ +% txitlod.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Included with permission of the original author +% +% This file contains the ten ITALIC digits in so-called old style. +% Character codes \0060 through \0071 are generated. +% GJC LOKHORST March 3, 1995 + +version_check(1,0); % |version_check| was introduced in dc1.3 + +% All digits have the same width +font_digit_width 9u#; + +%% FROM OLDDIG + +ecchar "Oldstyle numeral 0"; +beginchar("0",9u#,x_height#,0); +italcorr .7x_height#*slant-max(.2u#,.95u#-.5curve#); +adjust_fit(0,0); +penpos1(vair,90); penpos3(vair,-90); penpos2(curve,180); penpos4(curve,0); +if not monospace: interim superness:=sqrt(more_super*hein_super); fi +x2r=hround max(.7u,1.45u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=h+o; y3r=-o; +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; + +ecchar "Oldstyle numeral 1"; +beginchar("1",9u#,x_height#,0); +italcorr x_height#*slant+.5cap_stem#-4.25u#; +adjust_fit(0,0); +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pickup tiny.nib; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); top y1=h+apex_o; bot y2=0; +filldraw stroke z1e--z2e; % stem +if not serifs: save slab; slab=bar; fi +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+apex_o; top y4l=if monospace: .8 else: .9 fi\\ h+apex_o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); +tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+apex_o+1)--(x3l,h+apex_o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..z4e{left}; % point +penlabels(1,2,3,4); endchar; + +ecchar "Oldstyle numeral 5"; +beginchar("5",9u#,x_height#,desc_depth#); +italcorr x_height#*slant-u#; +adjust_fit(0,0); +numeric bot_thickness,light_hair; +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +light_hair=hround(cap_hair if hefty: -2stem_corr fi); +pickup tiny.nib; pos5(vair,180); pos6(vair,90); +bot y5=vround(.53[-d,h]-vair); +top y6r=max((vround .61803[-d,h])+o,top y6r+y5+eps-y6l); +pos3(light_hair,0); pos4(light_hair,0); +lft x3l=max(1.35u,2.1u-.5light_hair); x3=x4=x5; y4=y5; +top y3=h if not hefty: +o fi; +filldraw stroke z3e--z4e; % thin stem +penpos7(cap_stem-fine,0); penpos8(bot_thickness-fine,-90); +fine.rt x7r=hround(w-.9u); x8=.5[u,x7]; x6=.5[x5,x7]; +erase fill z5--bot z5--(x6,bot y5)--z6{left} + ..tension .9 and 1..{x5-x6,3(y5-y6)}cycle; % erase excess in middle +filldraw stroke z6e{left}..tension .9 and 1..{x5-x6,3(y5-y6)}z5e; % link +pickup fine.nib; pos6'(vair,90); z6'=z6; +y7=.5[y6,y8]; bot y8r=-d-o; +filldraw stroke pulled_arc.e(6',7) & pulled_arc.e(7,8); % bowl +if serifs: pos9(hair,-180); y9=.5[-d,y5]; lft x9r=hround .9u; + pos10(flare+1/3(cap_stem-stem),-180); bulb(8,9,10); % bulb +else: pos9(3/7[bot_thickness,flare],angle(-7u,-h-d)); + lft x9r=hround .9u; bot y9r=(vround .15[-d,h])-o; + x9l:=good.x x9l; y9l:=good.y y9l; + filldraw stroke term.e(8,9,left,1,4); fi % terminal +if hefty: pickup crisp.nib; pos1(slab,90); pos2(hair,0); + top y1r=h; x1=x4; rt x2r=hround(w-1.5u); + y2=y1l-eps; arm(1,2,a,0,0); % arm +else: numeric flag_breadth; flag_breadth=7/8[vair,cap_curve]; + pos1(flag_breadth,90); pos2(flag_breadth,60); + pos0(vair,90); top y1r=tiny.top y3; top y2r=(vround .95[-d,h])+o; y0r=y1r; + lft x1=tiny.lft x3l; x2r=.5[x1,x0]; rt x0=hround(w-1.6u); + erase fill top z1r--z1r...{right}z2r + --(x2r,top y1r)--cycle; % erase excess at top + filldraw stroke z1e...{right}z2e...z0e; fi % flag +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Oldstyle numeral 6"; +beginchar("6",9u#,fig_height#,0); +italcorr fig_height#*slant-u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(top_thickness,-270); +pos3(side_thickness,-180); pos4(bot_thickness,-90); +pos5(side_thickness,0); pos6(vair,90); +lft x3r=w-rt x5r=hround max(.75u,1.5u-.5side_thickness); +x4=x6-.1u=x2-u=.5w; +top y2r=h+o; y3=.5[y2,y4]; bot y4r=-o; +y5=.5[y4,y6]; top y6=vround 5/8h+o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,180); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=min(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{left}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-360); pos0(flare,-360); + rt x0r=max(rt x2+eps,hround(w-1.2u)); + y0=vround min(.9h-.5flare,.85h+.5flare)+o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(vround .1[top_thickness,flare],90); + top y1r=vround .97h+o; rt x1=hround(x5-.5); + filldraw stroke term.e(2,1,right,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Oldstyle numeral 8"; +beginchar("8",9u#,fig_height#,0); +italcorr fig_height#*slant-u#; +adjust_fit(0,0); +numeric top_thickness,mid_thickness,bot_thickness,upper_side,lower_side,theta; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +x0=.5w; y0=.54h; +if hefty: mid_thickness=vround 2/3vair; upper_side=hround(stem-3stem_corr); + lower_side=hround min(.5[curve,cap_curve]-stem_corr,upper_side+.25u); + penpos1(top_thickness,90); penpos2(upper_side,180); + penpos3(mid_thickness,270); penpos8(upper_side,360); + penpos4(mid_thickness,90); penpos7(lower_side,180); + penpos6(bot_thickness,270); penpos5(lower_side,360); + penpos0(vair,90); z3l=z0r; z4l=z0l; + x1=x6=.5w; x2r=w-x8r=hround u; x7r=w-x5r=hround .75u; + top y1r=h+o; bot y6r=-o; y2=y8=.5[y1l,y3l]; y7=y5=.5[y4l,y6l]; + filldraw stroke pulled_arc.e(1,2) + & pulled_arc.e(2,3); % left half of upper bowl + filldraw stroke pulled_arc.e(4,5) + & pulled_arc.e(5,6); % right half of lower bowl + filldraw stroke pulled_arc.e(6,7) + & pulled_arc.e(7,4); % left half of lower bowl + filldraw stroke pulled_arc.e(3,8) + & pulled_arc.e(8,1); % right half of upper bowl +else: pickup fine.nib; theta=90-angle(18u,h); slope:=-h/18u; + upper_side=max(fine.breadth,hround(.5[hair,stem]-stem_corr)); + lower_side=hround(.5[hair,stem]+stem_corr); + if lower_side>1.2upper_side: upper_side:=lower_side; fi + pos1(top_thickness,-90); pos6(bot_thickness,-90); + x1=x6=.5w; top y1l=h+o; bot y6r=-o; pos0(cap_stem,theta); + lft x2l=w-rt x8l=hround 1.25u; lft x7r=w-rt x5r=hround .75u; + x2r-x2l=upper_side-fine; x5r-x5l=lower_side-fine; + ellipse_set(1l,2l,3l,0l); ellipse_set(1r,2r,3r,0r); + ellipse_set(6l,5l,4l,0l); ellipse_set(6r,5r,4r,0r); + numeric tau; tau=max(.8,.20710678/(superness-.5)); + filldraw stroke z1e{left}..tension atleast tau..z2e{down} + ..z3e---z4e..z5e{down}..tension atleast tau..z6e{left}; % S stroke + pos7(lower_side,180); pos8(upper_side,180); + y7=.5[y5l,y5r]; y8=.5[y2l,y2r]; pos9(vair,90); z9=z0; + filldraw stroke z1e{right}..tension atleast tau..z8e{down} + ..tension atleast tau and atleast 1..{-18u,-.618h}z9e; % upper right stroke + filldraw stroke z6e{left}..tension atleast tau..z7e{up} + ..tension atleast tau and atleast 1..{18u,.5h}z9e; fi % lower left stroke +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Oldstyle numeral 9"; +beginchar("9",9u#,x_height#,desc_depth#); +italcorr x_height#*slant-u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(bot_thickness,-90); +pos3(side_thickness,0); pos4(top_thickness,90); +pos5(side_thickness,180); pos6(vair,270); +w-rt x3r=lft x5r=hround max(.75u,1.5u-.5side_thickness); +x4-.1u=x6+.1u=x2+.75u=.5w; +bot y2r=-d-o; y3=.5[y2,y4]; top y4r=h+o; +y5=.5[y4,y6]; bot y6=(vround 3/8[-d,h])-o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,360); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=max(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{right}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-180); pos0(flare,-180); + lft x0r=min(lft x2-eps,hround 1.2u); + y0=vround max(.1[-d,h]+.5flare,.15[-d,h]-.5flare)-o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(.1[bot_thickness,flare],-120); + bot y1r=(vround .07[-d,h])-o; lft x1r=hround 1.3u; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + + +%% ADAPTED FROM ITALD + +ecchar "Oldstyle numeral 2"; +beginchar("2",9u#,x_height#,0); +italcorr .8x_height#*slant-.4u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(curve,-360); pos7(hair,-405); pos8(hair,-360); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); +% GJC LOKHORST x3=.6[x2,x4]; lft x4r=hround(u-.5hair); +x3=.5[x2,x4]; lft x4r=hround u; +x5=x7=.5w-.5u; rt x6r=hround(w-u); lft x8l=hround(1.5u-.5hair); +y1=.5[.67x_height,h]; y2=.5[y1,y3]; +y4=1/3[y3,y5];y3=bar_height; +top y5r=h+o; y6=.5[y5,y7]; y7=.52y4; bot y8=-o; +filldraw stroke if not hefty:z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6) + ...z7e{2(x7-x6),y7-y6}...{down}z8e; % main stroke +pos9(vair,-90); pos10(vstem+curve-stem,-90); pos11(hair,0); +x9=w-x10=2.5u; rt x11r=hround(w-.5u+.5hair); +y9=.25[y10,y7]; bot y10r=-o; y11=.26x_height; +filldraw stroke z8e{up}...z9e{right}..{right}z10e...{up}z11e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Oldstyle numeral 3"; +beginchar("3",9u#,x_height#,desc_depth#); +italcorr .8x_height#*slant-.4u#; +adjust_fit(0,0); pickup fine.nib; +pos1(vair,45); pos2(vair,0); pos3(vair,-90); pos4(hair,-180); +pos5(vair,-270); pos6(stem,-360); pos7(bar,-450); pos8(bar,-450); +x1=x2-.5u; rt x2r=hround(3.5u+.5vair); x3=.5[x2,x4]; lft x4r=hround u; +x5=x7=.5w; rt x6r=hround(w-u); x8=x7-u; +y1=.5[.67x_height,h]; y2=.5[y1,y3]; y7=y8=.52[-d,h]; bot y3r=vround 1/4[y7,h]; +y4=1/3[y3,y5]; top y5r=h+o; y6=.5[y5,y7]; +filldraw stroke if not hefty: z1e{2(x2-x1),y2-y1}...{down}z2e...{left}z3e...fi + z4e{up}...pulled_arc.e(5,6) & pulled_arc.e(6,7)..z8e; % upper arc +pos7'(vair,90); z7'l=z7r; +pos9(curve,0); pos10(vair,-90); pos11(hair,-180); pos12(flare,-180); +rt x9r=hround(w-u); x10=.5w-.5u; lft x11r=hround .75u; +y9=.25[-d,h]; +bot y10r=-d-o; +y11=.22[-d,h];bulb(10,11,12); % bulb +filldraw stroke pulled_arc.e(7',9) & pulled_arc.e(9,10); % lower arc +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar "Oldstyle numeral 4"; +beginchar("4",9u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-2.5u#; +adjust_fit(0,0); pickup fine.nib; +pos1(stem,0); pos6(stem,0); pos7(stem,0); +pos2(bar,-45); pos3(bar,-90); pos4(bar,-90); pos5(bar,-45); +rt x1r=hround(.5w+.5u+.5stem); lft x2l=hround .25u; +x3=2.75u; x4=w-2u; rt x5r=hround(w-.25u); +rt x6r=rt x7r=hround(2/3w+.5stem); +y1+.5stem=h+o; bot y2r=0; bot y3r=vround(.08h-.5bar); +bot y4r=vround-.5bar; bot y5r=vround(.03h-.5bar); +y6+.5stem=bar_height; y7-.5stem=-d; +filldraw circ_stroke z1e{down}...{3(x2-x1),y2-y1}z2e; % diagonal +filldraw stroke z2e{z1-z2}...z3e{right}..{right}z4e + ...{x5-x4,2(y5-y4)}z5e; % bar +filldraw z6l---z7l..z7r---z6r..cycle; % stem +penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "Oldstyle numeral 7"; +beginchar("7",9u#,x_height#,desc_depth#); +italcorr x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +numeric fat_curve; fat_curve=1.4[stem,curve]; +pos1(hair,0); pos2(hair,0); pos3(vstem+curve-stem,-90); +pos4(vair,-90); pos5(hair,0); pos6(fat_curve,0); +top y1=h+o; y2=bar_height; y3l=y5=y1; +bot y4r=vround(.5[y2,h]-.5vair); y6-.5fat_curve=-d-o; +lft x2l=hround(.5u-.5hair); x3=.5w-.5u; x4=2/3w; +rt x5r=hround(w-.75u+.5hair); rt x6r=hround(.5w+u+.5fat_curve); +z1=z2+whatever*(z5-z6); filldraw stroke z1e--z2e; % serif +filldraw stroke z2e{z1-z2}...z3e{right}..{right}z4e + ...{2(x5-x6),y5-y6}z5e; % bar +filldraw circ_stroke z6e{up}...{2(x5-x6),y5-y6}z5e; % diagonal +penlabels(1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/ec/src/txpseudo.mf b/fonts/ec/src/txpseudo.mf new file mode 100644 index 0000000000..40fdbe9683 --- /dev/null +++ b/fonts/ec/src/txpseudo.mf @@ -0,0 +1,66 @@ +% txpseudo.mf +% +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% This file contains pseudoparameters which are not entered in the +% parameter files, but are computed from the initial parameter set. +% There are also ad hoc parameters needed only once, and scratch +% parameters with different values at each occuerence (like |theta|). +% + +version_check(1,0); % |version_check| was introduced in dc1.3 + +% Diameters of dots + +numeric idot_diam#,udot_diam#,pdot_diam#; +idot_diam#=max(dot_size#,cap_curve#); % dot of letters `i' and `j' +udot_diam#=max(dot_size#,cap_curve#); % umlaut dots +pdot_diam#=if monospace: 5/4 fi\\ dot_size#; % punctuation dots + +% |limit_dist| is used in |put_cross| +% (the value of |u| is changed by |mono_adjust|, hence the global setting) + +vardef limit_dist=5/4u enddef; + +% More parametrisations for accents from csaccent.mf (csfonts): + +numeric uc_acc_height, uc_acc_height#, + lc_acute_height, lc_acute_height#, + lc_hachek_height, lc_hachek_height#, + accent_u, accent_u#, + accent_thin, + uc_acc_shift, asc_acc_shift; +if unknown circ_weight: circ_weight:=1; fi + +uc_acc_height# = cap_height#+asc_height#-hi.x_height#; +lc_acute_height# = asc_height#; +lc_hachek_height# = hi.x_height#+acc_height#; +accent_u# = u#; % unexpanded dimension unit + +vardef accent_thin = if thin_join > crisp: thin_join else: crisp+eps fi enddef; + +vardef uc_acc_shift = cap_height - hi.x_height enddef; +vardef asc_acc_shift = asc_height - hi.x_height enddef; + +% Height of floating accents for capitals (note, that TeX raises them +% by |uc_acc_shift|) + +numeric cap_accent_height, cap_accent_height#; +cap_accent_height# = acc_height# + hi.x_height#; + +def pseudo_setup= + define_whole_blacker_pixels(idot_diam,udot_diam,pdot_diam); + define_whole_vertical_pixels(uc_acc_height,lc_acute_height, + lc_hachek_height); + define_pixels(accent_u); + define_whole_vertical_pixels(cap_accent_height); +enddef; +endinput; diff --git a/fonts/ec/src/txrfract.mf b/fonts/ec/src/txrfract.mf new file mode 100644 index 0000000000..40fd56f781 --- /dev/null +++ b/fonts/ec/src/txrfract.mf @@ -0,0 +1,200 @@ +% txrfract.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Ready made fractions 1/2, 1/4, 3/4 in roman style + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar"Fraction one quarter"; +beginchar(oct"274",8u#,body_height#,desc_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); +numeric c_height; c_height=good.y .5[h,-d]+.5rule_thickness; +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pickup tiny.nib; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); +top y1=h+o; bot y2=c_height+rule_thickness; +filldraw stroke z1e--z2e; % stem +if not serifs: save slab; slab=bar; fi +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+o; top y4l=if monospace: .8 else: .9 fi\\ [bot y2,h]+o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); +tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+o+1)--(x3l,h+o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..z4e{left}; % point +penlabels(1,2,3,4); +clearxy; +numeric hh; hh=c_height-2rule_thickness; +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-d,hh-light_stem]+1 + else:.35[-d,hh-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=hh+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<hh-cut:{z3r-z4r}...{up}(x1l-1,hh-cut) + --(x1l,hh-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=-d; +pos2'(light_stem,0); x2'=x7; +filldraw stroke z2'e--z7e; % lower stem +if serifs: dish_serif(7,2',a,1/3,1.75u, + b,1/3,min(1.75u,w-.5u-rt x7r)); fi % serif +penlabels(0,1,2,3,4,5,6,7); +pickup rule.nib; +top y98=top y99=c_height; x98=w-x99=hround .5u; +draw z98--z99; % fraction bar +labels(98,99); endchar; + +ecchar"Fraction one half"; +beginchar(oct"275",8u#,body_height#,desc_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); +numeric c_height; c_height=good.y .5[h,-d]+.5rule_thickness; +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pickup tiny.nib; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); +top y1=h+o; bot y2=c_height+rule_thickness; +filldraw stroke z1e--z2e; % stem +if not serifs: save slab; slab=bar; fi +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+o; top y4l=if monospace: .8 else: .9 fi\\ [bot y2,h]+o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); +tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+o+1)--(x3l,h+o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..z4e{left}; % point +penlabels(1,2,3,4); +clearxy; +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,0); +bot y7r=-d; lft x7=hround .9u; rt x8r=hround(w-.9u); +y8=good.y(y7l+beak/2)+eps; +arm(7,8,a,.3beak_darkness,beak_jut); % arm and beak +pickup fine.nib; pos2(slab,90); pos3(.4[curve,cap_curve],0); +top y2r=c_height-2rule_thickness+o; +x2=.5(w-.5u); rt x3r=hround(w-.9u); y3+.5vair=.75[-d,top y2r]; +if serifs: numeric bulb_diam; bulb_diam=hround(flare+2/3(cap_stem-stem)); + pos0(bulb_diam,180); pos1(cap_hair,180); + lft x1r=hround .9u; y1-.5bulb_diam=2/3[-d,top y2r]; + (x,y2l)=whatever[z1l,z2r]; x2l:=x; bulb(2,1,0); % bulb and arc +else: x2l:=x2l-.25u; pos1(flare,angle(-9u,h)); + lft x1r=hround .75u; bot y1l=vround .7[-d,top y2r]; + y1r:=good.y y1r+eps; x1l:=good.x x1l; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal and arc +pos4(.25[hair_vair,cap_stem],0); +pos5(hair_vair,0); pos6(hair_vair,0); +y5=arm_thickness-d; y4=.3[y5,y3]; top y6=min(y5,slab-d,top y7l); +lft x6l=crisp.lft x7; z4l=whatever[z6l,(x3l,bot .58[-d,top y2r])]; +z5l=whatever[z6l,z4l]; +erase fill z4l--z6l--lft z6l--(lft x6l,y4l)--cycle; % erase excess at left +filldraw stroke z2e{right}..tension atleast .9 and atleast 1 + ..z3e{down}.. z4e---z5e--z6e; % stroke +penlabels(0,1,2,3,4,5,6,7,8); +pickup rule.nib; +top y98=top y99=c_height; x98=w-x99=hround .5u; +draw z98--z99; % fraction bar +labels(98,99); endchar; + +ecchar"Fraction three quarters"; +beginchar(oct"276",8u#,body_height#,desc_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); +numeric c_height; c_height=good.y .5[h,-d]+.5rule_thickness; +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,90); top y2r=h+o; +pos3(max(fine.breadth,.6[curve,cap_curve]-stem_corr),0); +rt x3r=hround(w-1.25u); +pos4(vair,-90); pos5(vair,-90); +pos6(mid_thickness,90); x2=x6=x8=.5[1.5u,x7]; +pos7(cap_curve,0); rt x7r=hround(w-.75u); lft x5=min(hround 3u,lft x6)-eps; +pos8(bot_thickness,-90); bot y8r=c_height+rule_thickness-o; +y3=.6[top y4l,bot y2l]; y7=.5[bot y6l,top y8l]; +top y5l=vround(.54[bot y8r,h]+.5vair); y5r=y6l; +x4=1/3[x5,x3l]; z4=z5+whatever*(150u,h); +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 +if serifs: numeric bulb_diam[]; + bulb_diam1=flare+.5(cap_stem-stem); bulb_diam2=flare+cap_stem-stem; + pos0(bulb_diam1,180); pos1(hair,180); + lft x0r=hround 1.25u; + y0=min(.9[bot y8r,h]-.5bulb_diam1,.75[bot y8r,h]+.5bulb_diam1); + bulb(2,1,0); % upper bulb + pos10(bulb_diam2,-180); pos9(cap_hair,-180); + lft x10r=hround .75u; + y10=max(.1[bot y8r,h]+.5bulb_diam2,.3[bot y8r,h]-.5bulb_diam2); + bulb(8,9,10); % lower bulb +else: pos1(.5[vair,flare],angle(-8u,h)); + lft x1r=hround u; bot y1l=vround .75[bot y8r,h]+o; + y1r:=good.y y1r+eps; x1l:=good.x x1l; + pos9(bot_thickness,angle(-2u,-h)); + lft x9r=hround .75u; top y9l=vround .25[bot y8r,h]-o; + y9r:=good.y y9r-eps; x9l:=good.x x9l; + filldraw stroke term.e(2,1,left,1,4); % upper terminal + filldraw stroke term.e(8,9,left,1,4); fi % lower terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); +clearxy; +numeric hh; hh=c_height-2rule_thickness; +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-d,hh-light_stem]+1 + else:.35[-d,hh-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=hh+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<hh-cut:{z3r-z4r}...{up}(x1l-1,hh-cut) + --(x1l,hh-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=-d; +pos2'(light_stem,0); x2'=x7; +filldraw stroke z2'e--z7e; % lower stem +if serifs: dish_serif(7,2',a,1/3,1.75u, + b,1/3,min(1.75u,w-.5u-rt x7r)); fi % serif +pickup rule.nib; +top y98=top y99=c_height; x98=w-x99=hround .5u; +draw z98--z99; % fraction bar +labels(98,99); endchar; + +endinput; diff --git a/fonts/ec/src/txromod.mf b/fonts/ec/src/txromod.mf new file mode 100644 index 0000000000..8afa935d5c --- /dev/null +++ b/fonts/ec/src/txromod.mf @@ -0,0 +1,334 @@ +% txromod.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% This was olddig.mf from The Computer Modern Fonts by D. E. Knuth +% Changed |cmchar| to |ecchar| +% This file contains the ten digits in so-called old style. +% Character codes \0060 through \0071 are generated. + +version_check(1,0); % |version_check| was introduced in dc1.3 + +% All digits have the same width +font_digit_width 9u#; + +ecchar "Oldstyle numeral 0"; +beginchar("0",9u#,x_height#,0); +italcorr .7x_height#*slant-max(.2u#,.95u#-.5curve#); +adjust_fit(0,0); +penpos1(vair,90); penpos3(vair,-90); penpos2(curve,180); penpos4(curve,0); +if not monospace: interim superness:=sqrt(more_super*hein_super); fi +x2r=hround max(.7u,1.45u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=h+o; y3r=-o; +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; + +ecchar "Oldstyle numeral 1"; +beginchar("1",9u#,x_height#,0); +italcorr x_height#*slant+.5cap_stem#-4.25u#; +adjust_fit(0,0); +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pickup tiny.nib; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); top y1=h+apex_o; bot y2=0; +filldraw stroke z1e--z2e; % stem +if not serifs: save slab; slab=bar; fi +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+apex_o; top y4l=if monospace: .8 else: .9 fi\\ h+apex_o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); +tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+apex_o+1)--(x3l,h+apex_o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..z4e{left}; % point +penlabels(1,2,3,4); endchar; + +ecchar "Oldstyle numeral 2"; +beginchar("2",9u#,x_height#,0); +italcorr .8x_height#*slant-.4u#; +adjust_fit(0,0); +numeric arm_thickness, hair_vair; hair_vair=.25[vair,hair]; +arm_thickness=Vround(if hefty:slab+2stem_corr else:.75[vair,cap_stem] fi); +pickup crisp.nib; pos7(arm_thickness,-90); pos8(hair,0); +bot y7r=0; lft x7=hround .8u; rt x8r=hround(w-.9u); y8=good.y(y7l+beak/3)+eps; +arm(7,8,a,.3beak_darkness,beak_jut); % arm and beak +pickup fine.nib; pos2(slab,90); pos3(.4[curve,cap_curve],0); +top y2r=h+o; x2=.5(w-.5u); rt x3r=hround(w-.9u); y3+.5vair=.75h; +if serifs: numeric bulb_diam; bulb_diam=hround .8[hair,flare]; + pos0(bulb_diam,180); pos1(cap_hair,180); + lft x1r=hround u; y1-.5bulb_diam=2/3h; + (x,y2l)=whatever[z1l,z2r]; x2l:=x; bulb(2,1,0); % bulb and arc +else: x2l:=x2l-.25u; pos1(flare,angle(-9u,h)); + lft x1r=hround .75u; bot y1l=vround .7h; y1r:=good.y y1r+eps; x1l:=good.x x1l; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal and arc +pos4(.25[hair_vair,cap_stem],0); +pos5(hair_vair,0); pos6(hair_vair,0); +y5=arm_thickness; y4=.3[y5,y3]; top y6=min(y5,slab,top y7l); +lft x6l=crisp.lft x7; z4l=whatever[z6l,(x3l,bot .58h)]; z5l=whatever[z6l,z4l]; +erase fill z4l--z6l--lft z6l--(lft x6l,y4l)--cycle; % erase excess at left +filldraw stroke z2e{right}..tension atleast .9 and atleast 1 + ..z3e{down}.. z4e---z5e--z6e; % stroke +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +ecchar "Oldstyle numeral 3"; +beginchar("3",9u#,x_height#,desc_depth#); +italcorr .8x_height#*slant-.4u#; +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,90); top y2r=h+o; +pos3(max(fine.breadth,.6[curve,cap_curve]-stem_corr),0); +rt x3r=hround(w-1.25u); +pos4(vair,-90); pos5(vair,-90); +pos6(mid_thickness,90); x2=x6=x8=.5[1.5u,x7]; +pos7(cap_curve,0); rt x7r=hround(w-.75u); lft x5=min(hround 3u,lft x6); +pos8(bot_thickness,-90); bot y8r=-d-o; +y3=.6[top y4l,bot y2l]; y7=.5[bot y6l,top y8l]; +top y5l=vround(.54[-d,h]+.5vair); y5r=y6l; +x4=1/3[x5,x3l]; z4=z5+whatever*(150u,h+d); +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 +if serifs: numeric bulb_diam[]; + bulb_diam1=flare+.5(cap_stem-stem); bulb_diam2=flare+cap_stem-stem; + pos0(bulb_diam1,180); pos1(hair,180); + lft x0r=hround 1.25u; y0=min(.9[-d,h]-.5bulb_diam1,.75[-d,h]+.5bulb_diam1); + bulb(2,1,0); % upper bulb + pos10(bulb_diam2,-180); pos9(cap_hair,-180); + lft x10r=hround .75u; y10=max(.1[-d,h]+.5bulb_diam2,.3[-d,h]-.5bulb_diam2); + bulb(8,9,10); % lower bulb +else: pos1(.5[vair,flare],angle(-8u,h+d)); lft x1r=hround u; + bot y1l=(vround .75[-d,h])+o; y1r:=good.y y1r+eps; x1l:=good.x x1l; + pos9(bot_thickness,angle(-2u,-h-d)); + lft x9r=hround .75u; top y9l=(vround .25[-d,h])-o; + y9r:=good.y y9r-eps; x9l:=good.x x9l; + filldraw stroke term.e(2,1,left,1,4); % upper terminal + filldraw stroke term.e(8,9,left,1,4); fi % lower terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Oldstyle numeral 4"; +beginchar("4",9u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-2.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); bot y5l=0; +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); pos2'(light_stem,0); x2'=x7; +rt x7r=x1r; bot y7=-d if not serifs:-o fi; +filldraw stroke z2'e--z7e; % lower stem +if serifs: dish_serif(7,2',a,1/3,1.75u, + b,1/3,min(1.75u,w-.5u-rt x7r)); fi % serif +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Oldstyle numeral 5"; +beginchar("5",9u#,x_height#,desc_depth#); +italcorr x_height#*slant-u#; +adjust_fit(0,0); +numeric bot_thickness,light_hair; +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +light_hair=hround(cap_hair if hefty: -2stem_corr fi); +pickup tiny.nib; pos5(vair,180); pos6(vair,90); +bot y5=vround(.53[-d,h]-vair); +top y6r=max((vround .61803[-d,h])+o,top y6r+y5+eps-y6l); +pos3(light_hair,0); pos4(light_hair,0); +lft x3l=max(1.35u,2.1u-.5light_hair); x3=x4=x5; y4=y5; +top y3=h if not hefty: +o fi; +filldraw stroke z3e--z4e; % thin stem +penpos7(cap_stem-fine,0); penpos8(bot_thickness-fine,-90); +fine.rt x7r=hround(w-.9u); x8=.5[u,x7]; x6=.5[x5,x7]; +erase fill z5--bot z5--(x6,bot y5)--z6{left} + ..tension .9 and 1..{x5-x6,3(y5-y6)}cycle; % erase excess in middle +filldraw stroke z6e{left}..tension .9 and 1..{x5-x6,3(y5-y6)}z5e; % link +pickup fine.nib; pos6'(vair,90); z6'=z6; +y7=.5[y6,y8]; bot y8r=-d-o; +filldraw stroke pulled_arc.e(6',7) & pulled_arc.e(7,8); % bowl +if serifs: pos9(hair,-180); y9=.5[-d,y5]; lft x9r=hround .9u; + pos10(flare+1/3(cap_stem-stem),-180); bulb(8,9,10); % bulb +else: pos9(3/7[bot_thickness,flare],angle(-7u,-h-d)); + lft x9r=hround .9u; bot y9r=(vround .15[-d,h])-o; + x9l:=good.x x9l; y9l:=good.y y9l; + filldraw stroke term.e(8,9,left,1,4); fi % terminal +if hefty: pickup crisp.nib; pos1(slab,90); pos2(hair,0); + top y1r=h; x1=x4; rt x2r=hround(w-1.5u); + y2=y1l-eps; arm(1,2,a,0,0); % arm +else: numeric flag_breadth; flag_breadth=7/8[vair,cap_curve]; + pos1(flag_breadth,90); pos2(flag_breadth,60); + pos0(vair,90); top y1r=tiny.top y3; top y2r=(vround .95[-d,h])+o; y0r=y1r; + lft x1=tiny.lft x3l; x2r=.5[x1,x0]; rt x0=hround(w-1.6u); + erase fill top z1r--z1r...{right}z2r + --(x2r,top y1r)--cycle; % erase excess at top + filldraw stroke z1e...{right}z2e...z0e; fi % flag +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Oldstyle numeral 6"; +beginchar("6",9u#,fig_height#,0); +italcorr fig_height#*slant-u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(top_thickness,-270); +pos3(side_thickness,-180); pos4(bot_thickness,-90); +pos5(side_thickness,0); pos6(vair,90); +lft x3r=w-rt x5r=hround max(.75u,1.5u-.5side_thickness); +x4=x6-.1u=x2-u=.5w; +top y2r=h+o; y3=.5[y2,y4]; bot y4r=-o; +y5=.5[y4,y6]; top y6=vround 5/8h+o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,180); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=min(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{left}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-360); pos0(flare,-360); + rt x0r=max(rt x2+eps,hround(w-1.2u)); + y0=vround min(.9h-.5flare,.85h+.5flare)+o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(vround .1[top_thickness,flare],90); + top y1r=vround .97h+o; rt x1=hround(x5-.5); + filldraw stroke term.e(2,1,right,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +ecchar "Oldstyle numeral 7"; +beginchar("7",9u#,x_height#,desc_depth#); +italcorr x_height#*slant; +adjust_fit(0,0); +numeric arm_thickness, bot_width, top_shift, top_hair; +if hefty: arm_thickness=Vround(slab+2stem_corr); top_shift=0; + bot_width=hround .51[curve,cap_curve]; top_hair=.4[thin_join,bot_width]; +else: arm_thickness=Vround .4[stem,cap_stem]; top_shift=.5u; + bot_width=flare; top_hair=cap_hair; fi +if top_hair<tiny.breadth: top_hair:=tiny.breadth; fi +pickup crisp.nib; pos2(arm_thickness,90); pos1(hair,180); +top y2r=h; rt x2=hround(w-.75u+top_shift); +lft x1r=hround(.75u+.5top_shift); y1=good.y(y2l-beak/2)-eps; +arm(2,1,a,.3beak_darkness,-beak_jut); % arm and beak +pos3(hair,180); y3=good.y(y2r+beak/6)+eps; z3r=whatever[z1r,z.a0]; +penpos2'(2epsilon,-90); z2'=z2r; +arm(2',3,b,beak_darkness,x3r-x.a0); % upward extension of beak +pickup tiny.nib; pos4(top_hair,0); pos6(bot_width,0); +bot y4=max(h-arm_thickness,h-slab,bot y2l); rt x4r=crisp.rt x2; +lft x6l=hround(3.5u+top_shift-.5bot_width); +if serifs: y6-.5bot_width=-d-o; filldraw z6l{down}..{up}z6r--cycle; % bulb +else: bot y6=-d-oo; fi +if hefty: erase fill rt z4r--z4r...{down}z6r + --(rt x4r,y6)--cycle; % erase excess at top + filldraw stroke z4e...{down}z6e; % stroke +else: pos5(top_hair,0); y5=2/3[-d,h]; z5=whatever[z4,(.75u,y6)]; + erase fill rt z4r--z4r--z5r--(rt x4r,y5)--cycle; % erase excess at top + filldraw stroke z4e---z5e...{down}z6e; fi % stroke +penlabels(1,2,3,4,5,6); endchar; + +ecchar "Oldstyle numeral 8"; +beginchar("8",9u#,fig_height#,0); +italcorr fig_height#*slant-u#; +adjust_fit(0,0); +numeric top_thickness,mid_thickness,bot_thickness,upper_side,lower_side,theta; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +x0=.5w; y0=.54h; +if hefty: mid_thickness=vround 2/3vair; upper_side=hround(stem-3stem_corr); + lower_side=hround min(.5[curve,cap_curve]-stem_corr,upper_side+.25u); + penpos1(top_thickness,90); penpos2(upper_side,180); + penpos3(mid_thickness,270); penpos8(upper_side,360); + penpos4(mid_thickness,90); penpos7(lower_side,180); + penpos6(bot_thickness,270); penpos5(lower_side,360); + penpos0(vair,90); z3l=z0r; z4l=z0l; + x1=x6=.5w; x2r=w-x8r=hround u; x7r=w-x5r=hround .75u; + top y1r=h+o; bot y6r=-o; y2=y8=.5[y1l,y3l]; y7=y5=.5[y4l,y6l]; + filldraw stroke pulled_arc.e(1,2) + & pulled_arc.e(2,3); % left half of upper bowl + filldraw stroke pulled_arc.e(4,5) + & pulled_arc.e(5,6); % right half of lower bowl + filldraw stroke pulled_arc.e(6,7) + & pulled_arc.e(7,4); % left half of lower bowl + filldraw stroke pulled_arc.e(3,8) + & pulled_arc.e(8,1); % right half of upper bowl +else: pickup fine.nib; theta=90-angle(18u,h); slope:=-h/18u; + upper_side=max(fine.breadth,hround(.5[hair,stem]-stem_corr)); + lower_side=hround(.5[hair,stem]+stem_corr); + if lower_side>1.2upper_side: upper_side:=lower_side; fi + pos1(top_thickness,-90); pos6(bot_thickness,-90); + x1=x6=.5w; top y1l=h+o; bot y6r=-o; pos0(cap_stem,theta); + lft x2l=w-rt x8l=hround 1.25u; lft x7r=w-rt x5r=hround .75u; + x2r-x2l=upper_side-fine; x5r-x5l=lower_side-fine; + ellipse_set(1l,2l,3l,0l); ellipse_set(1r,2r,3r,0r); + ellipse_set(6l,5l,4l,0l); ellipse_set(6r,5r,4r,0r); + numeric tau; tau=max(.8,.20710678/(superness-.5)); + filldraw stroke z1e{left}..tension atleast tau..z2e{down} + ..z3e---z4e..z5e{down}..tension atleast tau..z6e{left}; % S stroke + pos7(lower_side,180); pos8(upper_side,180); + y7=.5[y5l,y5r]; y8=.5[y2l,y2r]; pos9(vair,90); z9=z0; + filldraw stroke z1e{right}..tension atleast tau..z8e{down} + ..tension atleast tau and atleast 1..{-18u,-.618h}z9e; % upper right stroke + filldraw stroke z6e{left}..tension atleast tau..z7e{up} + ..tension atleast tau and atleast 1..{18u,.5h}z9e; fi % lower left stroke +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Oldstyle numeral 9"; +beginchar("9",9u#,x_height#,desc_depth#); +italcorr x_height#*slant-u#; +adjust_fit(0,0); +numeric top_thickness,bot_thickness,side_thickness,pull; +top_thickness=max(fine.breadth,vround(slab-2vair_corr)); +bot_thickness=max(fine.breadth,vround(slab-vair_corr)); +side_thickness=max(fine.breadth,hround 1/3[curve,cap_curve]); +pull=min(.25,1.5superpull); +pickup fine.nib; pos2(bot_thickness,-90); +pos3(side_thickness,0); pos4(top_thickness,90); +pos5(side_thickness,180); pos6(vair,270); +w-rt x3r=lft x5r=hround max(.75u,1.5u-.5side_thickness); +x4-.1u=x6+.1u=x2+.75u=.5w; +bot y2r=-d-o; y3=.5[y2,y4]; top y4r=h+o; +y5=.5[y4,y6]; bot y6=(vround 3/8[-d,h])-o; +path p; p=pulled_super_arc.l(3,4)(pull); +numeric t; t=xpart(p intersectiontimes((x3r,y5)--(x4,y5))); +pos7(thin_join,360); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=max(x,.5[x5r,x6]); +filldraw stroke pulled_super_arc.e(2,3)(pull) + & {{interim superness:=more_super; pulled_super_arc.e(3,4)(pull)}} + & {{less_tense; pulled_super_arc.e(4,5)(pull) & pulled_super_arc.e(5,6)(pull)}} + & z6e{right}...{direction t of p}z7e; % arc and bowl +if serifs: pos1(hair,-180); pos0(flare,-180); + lft x0r=min(lft x2-eps,hround 1.2u); + y0=vround max(.1[-d,h]+.5flare,.15[-d,h]-.5flare)-o; + {{less_tense; bulb(2,1,0)}}; % arc and bulb +else: pos1(.1[bot_thickness,flare],-120); + bot y1r=(vround .07[-d,h])-o; lft x1r=hround 1.3u; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7); endchar; + +endinput; diff --git a/fonts/ec/src/txrsuper.mf b/fonts/ec/src/txrsuper.mf new file mode 100644 index 0000000000..b9a3ca99ed --- /dev/null +++ b/fonts/ec/src/txrsuper.mf @@ -0,0 +1,186 @@ +% txrsuper.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% Superscript digits 1,2,3 in roman style +% Male and female ordinal indicator in roman style + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar "Superscript numeral 1"; +beginchar(oct"271",8u#,body_height#,0); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); +numeric light_stem; light_stem=hround .4[stem',cap_stem']; +pickup tiny.nib; +pos1(light_stem,0); pos2(light_stem,0); +lft x1l=lft x2l=hround(.5(w+.5u)-.5cap_stem'); top y1=h+o; +bot y2=.5asc_height; +filldraw stroke z1e--z2e; % stem +if not serifs: save slab; slab=bar; fi +dish_serif(2,1,a,1/3,min(2.25u,lft x2l-1.5u), + b,1/3,min(2.25u,w-1.25u-rt x2r)); % serif +pickup crisp.nib; pos3(slab,-90); pos4(bar,-90); +top y3l=h+o; top y4l=if monospace: .85 else: .9 fi\\ h+o; +lft x4=max(1.25u,tiny.lft x1l-2.35u); +tiny.rt x1r=lft x3+.25[tiny,hair]; +erase fill z3l{x4l-x3l,3(y4l-y3l)}...z4l{left} + --(x4l,h+o+1)--(x3l,h+o+1)--cycle; % erase excess at top +filldraw stroke z3e{x4e-x3e,3(y4e-y3e)}..z4e{left}; % point +penlabels(1,2,3,4); endchar; + +ecchar "Superscript numeral 2"; +beginchar(oct"262",8u#,body_height#,0); +italcorr body_height#*slant-.5u#; +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,0); +bot y7r=.5asc_height; +lft x7=hround .9u; rt x8r=hround(w-.9u); y8=good.y(y7l+beak/2)+eps; +arm(7,8,a,.3beak_darkness,beak_jut); % arm and beak +pickup fine.nib; pos2(slab,90); pos3(.4[curve,cap_curve],0); +top y2r=h+o; x2=.5(w-.5u); rt x3r=hround(w-.9u); +y3+.5vair=.75[bot y7r,h]; +if serifs: numeric bulb_diam; bulb_diam=hround(flare+2/3(cap_stem-stem)); + pos0(bulb_diam,180); pos1(cap_hair,180); + lft x1r=hround .9u; y1-.5bulb_diam=2/3[bot y7r,h]; + (x,y2l)=whatever[z1l,z2r]; x2l:=x; bulb(2,1,0); % bulb and arc +else: x2l:=x2l-.25u; pos1(flare,angle(-9u,h)); + lft x1r=hround .75u; bot y1l=vround .7[bot y7r,h]; + y1r:=good.y y1r+eps; x1l:=good.x x1l; + filldraw stroke term.e(2,1,left,.9,4); fi % terminal and arc +pos4(.25[hair_vair,cap_stem],0); +pos5(hair_vair,0); pos6(hair_vair,0); +y5=arm_thickness+bot y7r; +y4=.3[y5,y3]; top y6=min(y5,slab+bot y5r,top y7l); +lft x6l=crisp.lft x7; z4l=whatever[z6l,(x3l,bot .58[bot y7r,h])]; +z5l=whatever[z6l,z4l]; +erase fill z4l--z6l--lft z6l--(lft x6l,y4l)--cycle; % erase excess at left +filldraw stroke z2e{right}..tension atleast .9 and atleast 1 + ..z3e{down}.. z4e---z5e--z6e; % stroke +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +ecchar "Superscript numeral 3"; +beginchar(oct"263",8u#,body_height#,0); +italcorr body_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,90); top y2r=h+o; +pos3(max(fine.breadth,.6[curve,cap_curve]-stem_corr),0); +rt x3r=hround(w-1.25u); +pos4(vair,-90); pos5(vair,-90); +pos6(mid_thickness,90); x2=x6=x8=.5[1.5u,x7]; +pos7(cap_curve,0); rt x7r=hround(w-.75u); lft x5=min(hround 3u,lft x6)-eps; +pos8(bot_thickness,-90); +bot y8r=.5asc_height-oo; +y3=.6[top y4l,bot y2l]; y7=.5[bot y6l,top y8l]; +top y5l=vround(.54[bot y8r,h]+.5vair); y5r=y6l; +x4=1/3[x5,x3l]; z4=z5+whatever*(150u,h); +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 +if serifs: numeric bulb_diam[]; + bulb_diam1=flare+.5(cap_stem-stem); bulb_diam2=flare+cap_stem-stem; + pos0(bulb_diam1,180); pos1(hair,180); + lft x0r=hround 1.25u; + y0=min(.9h-.5bulb_diam1,.75[bot y8r,h]+.5bulb_diam1); + bulb(2,1,0); % upper bulb + pos10(bulb_diam2,-180); pos9(cap_hair,-180); + lft x10r=hround .75u; + y10=max(.1[bot y8r,h]+.5bulb_diam2,.3[bot y8r,h]-.5bulb_diam2); + bulb(8,9,10); % lower bulb +else: pos1(.5[vair,flare],angle(-8u,h)); + lft x1r=hround u; bot y1l=vround .75[bot y8r,h]+oo; + y1r:=good.y y1r+eps; x1l:=good.x x1l; + pos9(bot_thickness,angle(-2u,-h)); + lft x9r=hround .75u; top y9l=vround .25[bot y8r,h]-oo; + y9r:=good.y y9r-eps; x9l:=good.x x9l; + filldraw stroke term.e(2,1,left,1,4); % upper terminal + filldraw stroke term.e(8,9,left,1,4); fi % lower terminal +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar"Female ordinal indicator"; +beginchar(oct"252",8u#,body_height#,0); +numeric hh; hh=vround .5body_height; +bh#:=min(.7bar_height#,.5body_height#-bar_height#); define_pixels(bh); +italcorr .7body_height#*slant; +adjust_fit(0,0); +pickup fine.nib; top y3r=hh+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,hh]-.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-2.5u+.5stem); y4=1/3[bh,hh]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(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 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); + 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 +pickup extra_rule.nib; +x14=w-x15=hround u; +top y14=-rule_thickness; y15=y14; +draw z14--z15; % underline +currentpicture:=currentpicture shifted (0,hh); +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar; + +ecchar"Male ordinal indicator"; +beginchar(oct"272",8u#,body_height#,0); +numeric hh; hh=vround .5body_height; +italcorr .7body_height#*slant; +adjust_fit(0,0); +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=hh+vround 1.5oo; y3r=-oo; +y2=y4=.5hh-vair_corr; y2l:=y4l:=.52hh; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +pickup extra_rule.nib; +x5=w-x6=hround u; +top y5=-rule_thickness; y6=y5; +draw z5--z6; % underline +currentpicture:=currentpicture shifted (0,hh); +penlabels(1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/ec/src/txsymb.mf b/fonts/ec/src/txsymb.mf new file mode 100644 index 0000000000..6d4e2755fa --- /dev/null +++ b/fonts/ec/src/txsymb.mf @@ -0,0 +1,70 @@ +% txsymb.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% EC Version 1.0 +% 19-JAN-1997 +% +% Driver file for the tc fonts +% + +version_check(1,0); % |version_check| was introduced in dc1.3 + +input exaccess; % accent accessories +input txpseudo; % pseudoparameters + +mode_setup; font_setup; pseudo_setup; + +input txaccent; % flat accents for capital letters +input txgen; % genealogical symbols (by DEK) +input txsymbol; % misc. symbols +if variant_g: % italics? + input txitlod; % old style digits (by GJL) + input txisuper; % superscript 1,2,3 + input txifract; % fractions 1/4, 1/2, 3/4 +else: % roman + input txromod; % old style digits (by DEK) + input txrsuper; % superscript 1,2,3 + input txrfract; % fractions 1/4, 1/2, 3/4 +fi; + +% Ligtable + +if not monospace: + ligtable "-": oct"177" =: oct"177"; % <hyphen><hyphenchar> => <hyphenchar> +fi + +% Fontparameter +% +font_coding_scheme:="TeX text companion symbols 1---TS1"; +boundarychar:=oct"027"; +font_slant slant; +font_x_height x_height#; +font_cap_height cap_height#; +font_asc_height asc_height#; +font_acc_cap_height (cap_height#+acc_height#); +font_desc_depth desc_depth#; +font_max_height(max(asc_height#,body_height#, + cap_height#+acc_height#)); +font_max_depth(max(desc_depth#,paren_depth#,the_ogonek_depth#)); +% font_digit_width % set inside the digits file +font_cap_stem cap_stem#; % No letter capital I in the symbols +font_baselineskip max(1.2*designsize,body_height#+paren_depth#); + +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 + +bye. diff --git a/fonts/ec/src/txsymbol.mf b/fonts/ec/src/txsymbol.mf new file mode 100644 index 0000000000..ac28619324 --- /dev/null +++ b/fonts/ec/src/txsymbol.mf @@ -0,0 +1,2183 @@ +% txsymbol.mf +% +% (c) Copyright 1995, 1996, 1997 J"org Knappen +% +% This file is part of ecfonts version 1.0 +% +% Please read the files 00readme.txt, 00inst.txt, 00error.txt, and +% copyrite.txt for further information +% +% You find some documentation in ecdoc.tex (needs LaTeX2e) +% +% EC Version 1.0 +% 31-DEC-1996 +% +% Miscellaneous symbols for the TS1 encoding +% +% Heavily borrowing from existent fonts, like Computer Modern, AMS symbols +% and wasy symbols + +version_check(1,0); % |version_check| was introduced in dc1.3 + +ecchar"Single straight base quote"; % jk +beginchar(oct"015",7u#,asc_height#,0); + numeric shifth_down; + adjust_fit(0,0); + x1=x2=.5w; + y2=max(.5[bar_height,x_height]+.5vair,h-x_height)-the_shift; + if serifs: + y1=flare/2; the_shift=h-.5stem-y1; + pickup crisp.nib; + pos1(flare,0); pos2(vair,0); + filldraw circ_stroke (z1e--z2e); % stem and bulb + else: + top y1=stem; the_shift=h-y1; + pickup fine.nib; + pos1(stem,0); pos2(vair,0); + filldraw stroke z1e--z2e; % stem + fi + charht:=dot_size#; chardp:=desc_depth#; + penlabels(1,2,3,4); +endchar; + +ecchar"Double straight base quotes"; % from pl_cud (plfonts) +beginchar(oct"022",9u#,asc_height#,0); + numeric top_width#,spread#,shifth_down; + top_width#=if serifs: flare# else: stem# fi; + spread#=max(3u#,top_width#+.5u#); define_pixels(spread); + adjust_fit(0,0); + numeric the_shift; + x1=x2; x3=x4=w-x1; x3-x1=spread+2; y1=y3; + y2=y4=max(.5[bar_height,x_height]+.5vair,h-x_height)-the_shift; + if serifs: + y1=flare/2; the_shift=h-.5stem-y1; + pickup crisp.nib; + pos1(flare,0); pos2(vair,0); pos3(flare,0); pos4(vair,0); + filldraw circ_stroke (z1e--z2e); % left stem and bulb + filldraw circ_stroke (z3e--z4e); % right stem and bulb + else: + top y1=stem; the_shift=h-y1; + pickup fine.nib; + pos1(stem,0); pos2(vair,0); pos3(stem,0); pos4(vair,0); + filldraw stroke z1e--z2e; % left stem + filldraw stroke z3e--z4e; % right stem + fi + charht:=dot_size#; chardp:=desc_depth#; + penlabels(1,2,3,4); +endchar; + +ecchar "twelve u dash"; +beginchar(oct"025",12u#,x_height#,0); +italcorr .61803x_height#*slant+.5u#; +adjust_fit(letter_fit#,letter_fit#); +pickup crisp.nib; pos1(vair,90); pos2(vair,90); +top y1r=top y2r=vround(.61803h+.5vair); lft x1=-eps; rt x2=w+eps; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +ecchar "three quarters em dash"; +beginchar(oct"026",13.5u#,x_height#,0); +italcorr .61803x_height#*slant+.5u#; +adjust_fit(letter_fit#,letter_fit#); +pickup crisp.nib; pos1(vair,90); pos2(vair,90); +top y1r=top y2r=vround(.61803h+.5vair); lft x1=-eps; rt x2=w+eps; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +ecchar "Capital compound word mark"; +beginchar(oct"027",0,cap_height#,0); +zero_width; +endchar; + +ecchar "Leftward arrow"; % from sym.mf (cmfonts) +compute_spread(.45x_height#,.55x_height#); +beginchar(oct"030",18u#,v_center(spread#+rule_thickness#)); +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=math_axis; x1+.5rule_thickness=hround(w-u); lft x0=hround u; +y3-y0=y0-y4=if monospace:.24 else:.36 fi asc_height+eps; +x3=x4=x0+if monospace:3u else:4u 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; + +ecchar "Rightward arrow"; % from sym.mf (cmfonts) +compute_spread(.45x_height#,.55x_height#); +beginchar(oct"031",18u#,v_center(spread#+rule_thickness#)); +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=math_axis; x1-.5rule_thickness=hround u; rt x0=hround(w-u); +y3-y0=y0-y4=if monospace:.24 else:.36 fi asc_height+eps; +x3=x4=x0-if monospace:3u else:4u 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) + --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; + +ecchar"Tie accent"; % from italms (cmfonts) +beginchar(oct"032",5u#,asc_height#,0); +italcorr 4/9[x_height#,asc_height#]*slant+4.5u#+2letter_fit#+.5hair#; +adjust_fit(if monospace:2u#,2u# else:serif_fit#,serif_fit# fi); +pickup fine.nib; pos1(hair,180); pos2(vround 1/5[vair,stem],90); +pos3(hair,0); +lft x1r=hround(.5w-.5hair); x2=.5[x1,x3]; +rt x3r=hround(w+4u+2letter_fit+.5hair); +y1=y3=4/9[x_height,asc_height]; top y2r=vround 8/9[x_height,asc_height]; +filldraw stroke super_arc.e(1,2) & super_arc.e(2,3); % arc +penlabels(1,2,3); endchar; + +ecchar"New tie accent"; % centered +beginchar(oct"034",9u#,asc_height#,0); +italcorr 4/9[x_height#,asc_height#]*slant+4.5u#+2letter_fit#+.5hair#; +adjust_fit(if monospace:2u#,2u# else:serif_fit#,serif_fit# fi); +pickup fine.nib; pos1(hair,180); pos2(vround 1/5[vair,stem],90); +pos3(hair,0); +lft x1r=w-rt x3r=hround(2u-.5vair); x2=.5w; +y1=y3=4/9[x_height,asc_height]; top y2r=vround 8/9[x_height,asc_height]; +filldraw stroke super_arc.e(1,2) & super_arc.e(2,3); % arc +penlabels(1,2,3); endchar; + +ecchar "Ascender height compound word mark"; +beginchar(oct"037",0,asc_height#,0); +zero_width; +endchar; + +iff not variant_g: % not italic +ecchar"Blank symbol"; % jk +beginchar(oct"040",10u#+serif_fit#,asc_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); top y1=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 +put_cross(.5stem+if serifs: .9max(limit_dist,jut) else: 1.8u fi,.5stem+3u); +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +iff variant_g: % italic +ecchar"Blank symbol"; % jk +beginchar(oct"040",8u#,asc_height#,0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup tiny.nib; +pos1(stem,0); pos2(stem,0); x1=x2; +lft x1l=hround(1.5u-.5stem); top y1=h; y2=.5x_height; +filldraw stroke z1e--z2e; % stem +sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +pickup fine.nib; pos2'(stem,-180); pos3(vair,-90); +pos4(curve,0); pos5(vair,90); pos0(hair,180); +z0=z2=z2'; x3=x5=.5[x2,x4]; rt x4r=hround(w-1.5u+.5curve); +bot y3r=-oo; top y5r=x_height+oo; y4=y2; +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4) + & pulled_arc.e(4,5) & super_arc.e(5,0); % bowl +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +put_cross(.5stem+if serifs: .9max(limit_dist,jut) else: 1.8u fi,.5stem+3u); +penlabels(0,1,2,3,4,5); endchar; + +ecchar"Dollar sign"; % from romanp (cm) +beginchar("$",9u#,body_height#,body_height#-asc_height#); +italcorr fig_height#*slant-.5u#; % same as for digits +adjust_fit(0,0); +numeric theta; theta=90-angle(50u,asc_height); slope:=-asc_height/50u; +pickup fine.nib; pos2(slab,-90); +pos0(cap_stem,theta); pos7(slab,-90); +x2=x0=x7=.5w; top y2l=asc_height+oo; bot y7r=-oo; +y0=.52asc_height; lft x3l=hround u; rt x6r=hround(w-u); +x3r-x3l=x6r-x6l=hround .35[slab,cap_stem]-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; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +if serifs: pos1(hair,0); pos8(hair,180); + pos10(flare,0); pos9(flare,180); + rt x1r=hround(w-u); lft x8r=hround u; y1=.5[y0,y2]; y8=.5[y0,y7]; + {{less_tense; pos2'(slab,90); z2'=z2; bulb(2',1,10); % upper arc and bulb + bulb(7,8,9)}}; % lower arc and bulb +else: pos1(.6[slab,flare],-100); pos8(flare,-100); + rt x1l=hround(w-1.3u); lft x8r=hround .8u; + top y1l=vround .92asc_height+oo; bot y8r=vround .1asc_height-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 +pickup crisp.nib; pos12(bar,0); pos11(bar,0); +lft x12l=lft x11l=hround(.5w-.5bar); top y12=h; bot y11=-d; +filldraw stroke z12e--z11e; % vertical crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12); endchar; + + +ecchar "Straight single quote"; % from romsub (cm) +beginchar(oct"047",5u#,asc_height#,0); +italcorr asc_height#*slant+.5 if serifs: flare# else: stem# fi -2u#; +adjust_fit(0,0); +x1=x2=.5w; y2=max(.5[bar_height,x_height]+.5vair,h-x_height); +if serifs: pickup crisp.nib; pos1(flare,0); pos2(vair,0); + y1+.5stem=h; filldraw circ_stroke z1e--z2e; % stem and bulb +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + top y1=h; filldraw stroke z1e--z2e; fi % stem +penlabels(1,2); endchar; + +ecchar "Comma"; +beginchar(",",5u#,pdot_diam#,comma_depth#); +adjust_fit(0,0); +x1-.5pdot_diam=hround(.5w-.5pdot_diam); y1-.5pdot_diam=0; +comma(1,a,pdot_diam,.2u,comma_depth); % dot and tail +penlabels(1); endchar; + +ecchar "Double hyphen or short equals sign"; % jk +compute_spread(.45x_height#,.55x_height#); +beginchar(oct"055",6u#,v_center(spread#+rule_thickness#)); +italcorr h#*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); +pos3(thickness,90); pos4(thickness,90); +y1=y2; y3=y4; +top y1=vround .5h+.5thickness+.5spread; +top y3=vround .5h+.5thickness-.5spread; +rt x2=hround(w-u)+eps; +if monospace: x2=w-x1 else: lft x1=hround .2u-eps fi; +x3=x1; x4=x2; +filldraw stroke z1e--z2e; % upper bar +filldraw stroke z3e--z4e; % lower bar +penlabels(1,2,3,4); endchar; + +ecchar "Period"; +beginchar(".",5u#,pdot_diam#,0); +adjust_fit(0,0); pickup fine.nib; +pos1(pdot_diam,0); pos2(pdot_diam,90); +lft x1l=hround(.5w-.5pdot_diam); bot y2l=0; z1=z2; dot(1,2); % dot +penlabels(1,2); endchar; + +ecchar "Asterisk at the axis"; % from mathsy +beginchar(oct"052",9u#,v_center(x_height#)); +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; + +ecchar "Fraction"; % from punct (cm)" 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; + +ecchar "Left angle bracket"; +beginchar(oct"074",7u#,body_height#,paren_depth#); +adjust_fit(0,0); pickup rule.nib; +rt x1=hround(w-u)+eps; x1=x3; lft x2=hround 2u-1-eps; +top y1=h+eps; .5[y1,y3]=y2=math_axis; +draw z1--z2--z3; % diagonals +labels(1,2,3); endchar; + +ecchar "Minus sign"; +beginarithchar("="); pickup extra_rule.nib; +lft x3=hround u-eps; x4=w-x3; y3=y4=math_axis; +draw z3--z4; % crossbar +labels(1,2,3,4); endchar; + +ecchar "Right angle bracket"; +beginchar(oct"076",7u#,body_height#,paren_depth#); +adjust_fit(0,0); pickup rule.nib; +rt(w-x1)=hround(w-u)+eps; x1=x3; lft(w-x2)=hround 2u-1-eps; +top y1=h+eps; .5[y1,y3]=y2=math_axis; +draw z1--z2--z3; % diagonals +labels(1,2,3); endchar; + +ecchar"Mho sign (turned Omega)"; % from lasy +beginchar(oct"115",13u#,cap_height#,0); +italcorr cap_height#*slant-.35u#; %italcorr .75cap_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(vair,-90); pos2(cap_curve,0); +pos3(vair,0); pos4(cap_curve,180); pos5(vair,180); +x1=.5w; bot y1r=0-o; lft x4r=hround u; y2=y4=1/3h; x2=w-x4; +rt x5l=hround(1/3(w+.5u)+.5hair); top y3=top y5=h; x3=w-x5; +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_thickness=Vround(if hefty:slab+2stem_corr else:.75[slab,cap_vstem] fi); +pickup crisp.nib; pos6(arm_thickness,90); pos7(fudged.hair,0); +top y6r=h; x6=x3; rt x7r=hround (w-.8u); y7=good.y(y6l-.5beak)+eps; +(x,y)=p intersectionpoint((0,y6l)--(w+h,y6l)); x6l:=x; +arm(6,7,a,.5beak_darkness,1.2beak_jut); % right arm and beak +pos8(arm_thickness,90); pos9(fudged.hair,180); +y8=y6; y9=y7; x8+x6=x9+x7=w; x8l:=w-x6l; +arm(8,9,b,.5beak_darkness,-1.2beak_jut); % left arm and beak +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +ecchar"Big circle for copyright, etc"; +beginchar("O",20u#,body_height#,max(paren_depth#,desc_depth#)); autorounded; +adjust_fit(if monospace:-3u#,-3u# else: 0,0 fi); pickup rule.nib; +if .5w <> good.x .5w: change_width; fi +lft x6=hround u; x2=w-x6; top y8=h+o; bot y4=-d-o; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); endchar; + +ecchar"Ohm sign (ISO 6937)"; % from greeku (cmfonts) +beginchar(oct"127",13u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(vair,90); pos2(cap_curve,180); +pos3(vair,180); pos4(cap_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; + +ecchar"Musical note (one eigth note)"; % jk +beginchar("n",11u#,asc_height#,0); +pickup rule.nib; +x1=3/5w; x2=x1; top y1=h; bot y2=.5bar_height; +lft x3=u; x5= x2; x4=x6=.5[x3,x5]; +y3=y5=vround(.5bar_height); y4=y6-bar_height=-oo; +x7=x1; rt x9=w-u; x8=.5[x7,x9]; +y7=y1; bot y9=vround(.5bar_height); y8=.5[y7,y9]; +draw z1--z2; % stem +filldraw z3{down}...z4{right}...z5{up}...z6{left}...cycle; % body +draw z7{down}...z8...{down}z9; % flag +endchar; + +ecchar "Left semantic bracket"; % [[ from stmaryrd +beginchar(oct"133",7.25u#,body_height#,paren_depth#); +adjust_fit(0,0); +pickup crisp.nib; pos1(rule_thickness,0); pos2(rule_thickness,0); +top y1=h; bot y2=-d; lft x1l=lft x2l=hround(2.5u-.5rule_thickness)-1-eps; +filldraw stroke z1e--z2e; % left stem +pos7(rule_thickness,0); pos8(rule_thickness,0); +top y7=h; bot y8=-d; lft x7l=lft x8l=hround(4.75u-.5rule_thickness)-1-eps; +filldraw stroke z7e--z8e; % right stem +pos3(rule_thickness,90); pos4(rule_thickness,90); +pos5(rule_thickness,90); pos6(rule_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,7,8); endchar; + + +ecchar "Right semantic bracket"; % ]] from stmaryrd +beginchar(oct"135",7.25u#,body_height#,paren_depth#); +adjust_fit(0,0); +pickup crisp.nib; pos1(rule_thickness,0); pos2(rule_thickness,0); +top y1=h; bot y2=-d; rt x1r=rt x2r=hround(w-2.5u+.5rule_thickness)+1+eps; +filldraw stroke z1e--z2e; % left stem +pos7(rule_thickness,0); pos8(rule_thickness,0); +top y7=h; bot y8=-d; rt x7r=rt x8r=hround(w-4.75u+.5rule_thickness)+1+eps; +filldraw stroke z7e--z8e; % right stem +pos3(rule_thickness,90); pos4(rule_thickness,90); +pos5(rule_thickness,90); pos6(rule_thickness,90); +x3=x5=x1l; lft x4=lft x6=ceiling(.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,7,8); endchar; + +ecchar "Upward arrow"; % from sym +beginchar(oct"136",9u#,asc_height#,asc_depth#); +italcorr .76asc_height#*slant+.5crisp#-u#; +adjust_fit(0,0); pickup crisp.nib; +pos1(rule_thickness,0); pos2(rule_thickness,0); +pos3(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:4u fi+eps; +y3=y4=y0-if monospace:.24 else:.36 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; +numeric t; path p; p=z4l{z9-z4}..z6l; +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; + +ecchar "Downward arrow"; % from sym +beginchar(oct"137",9u#,asc_height#,asc_depth#); +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:4u fi+eps; +y3=y4=y0+if monospace:.24 else:.36 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; +t=xpart(p intersectiontimes((x2l,-d)--(x2l,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; + +ecchar"Backwards tick mark"; % from accent (cmfonts, grave accent) +beginchar(oct"140",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; + +ecchar "Low lying tilde (squiggle)"; +beginchar(oct"176",11u#,min(bar_height#,2/7x_height#),0); +italcorr h#*slant-u#; +adjust_fit(0,0); +if serifs: numeric theta; + theta=angle(1/8(7u if monospace: /expansion_factor fi-vair),1/4acc_height); +% theta=angle(1/6(6u-vair),1/4h); + 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=0; + 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=0; + 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; + +iff not monospace: +ecchar "Double hyphen-hyphenchar"; % jk +compute_spread(.45x_height#,.55x_height#); +beginchar(oct"177",3u#,v_center(spread#+rule_thickness#)); +italcorr h#*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); +pos3(thickness,90); pos4(thickness,90); +y1=y2; y3=y4; +top y1=vround .5h+.5thickness+.5spread; +top y3=vround .5h+.5thickness-.5spread; +rt x2=hround(2w-u)+eps; +lft x1=hround .2u-eps; +x3=x1; x4=x2; +filldraw stroke z1e--z2e; % upper bar +filldraw stroke z3e--z4e; % lower bar +penlabels(1,2,3,4); endchar; + +iff monospace: +ecchar "Double hyphen-hyphenchar"; % jk +compute_spread(.45x_height#,.55x_height#); +beginchar(oct"177",6u#,v_center(spread#+rule_thickness#)); +italcorr h#*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); +pos3(thickness,90); pos4(thickness,90); +y1=y2; y3=y4; y1-y3=spread; .5[y1,y3]=math_axis; +rt x2=hround(w-u)+eps; +if monospace: x2=w-x1 else: lft x1=hround .2u-eps fi; +x3=x1; x4=x2; +filldraw stroke z1e--z2e; % upper bar +filldraw stroke z3e--z4e; % lower bar +penlabels(1,2,3,4); endchar; + +ecchar"Breve"; +beginchar(oct"200",11u#,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; + +ecchar "Hachek (Caron)"; +beginchar(oct"201",11u#,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'(.5[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; + +ecchar"Double tick mark (inch sign)"; % from accent (hungarian long umlaut) +beginchar(oct"202",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; + +ecchar"Double backwards tick mark"; % jk +beginchar(oct"203",9u#,min(asc_height#,2x_height#),0); +adjust_fit(0,0); +x3-x1=x4-x2=hround 3u; y3=y1; y4=y2; +if serifs: pickup crisp.nib; x1-.5stem=hround 1.5u; x2=3.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; + + +ecchar "Dagger mark"; % from mathsy +beginchar(oct"204",8u#,asc_height#,desc_depth#); +adjust_fit(0,0); pickup fine.nib; +pos1(stem,0); pos2(thin_join,0); pos3(stem,0); pos4(hair,0); +pos5(stem,90); pos2'(thin_join,90); pos6(stem,90); z2'=z2; +x1=x2=x3=x4; x1-.5stem=hround(.5w-.5stem); center_on(x1); +x5-.5stem=hround u; x6=w-x5; +y1+.5stem=h+oo; y2=y5=y6; y3=.57y2; bot y4=-d-o; +y5+.5stem=floor(x_height+.5stem); +filldraw circ_stroke z1e{down}..z2e{down}..z3e{down}..z4e; % stem +filldraw circ_stroke z5e{right}..{right}z2'e; % left bulb +filldraw circ_stroke z6e{left}..{left}z2'e; % right bulb +penlabels(1,2,3,4,5,6); endchar; + +ecchar "Double dagger mark"; % from mathsy +beginchar(oct"205",8u#,asc_height#,desc_depth#); +adjust_fit(0,0); pickup fine.nib; +pos1(stem,0); pos2(thin_join,0); pos3(stem,0); +pos4(stem,90); pos2'(thin_join,90); pos5(stem,90); z2'=z2; +x1=x2=x3; x1-.5stem=hround(.5w-.5stem); center_on(x1); +x4-.5stem=hround u; x5=w-x4; +y1+.5stem=h+oo; y2=y4=y5=.5[y1,y3]; y3-.5stem=ceiling(.5[-d,h]); +filldraw circ_stroke z1e{down}..{down}z2e; % top stem +filldraw circ_stroke z3e{up}..{up}z2e; % upper middle stem +filldraw circ_stroke z4e{right}..{right}z2'e; % top left bulb +filldraw circ_stroke z5e{left}..{left}z2'e; % top right bulb +pos6(stem,0); pos7(thin_join,0); pos8(stem,0); +pos9(stem,90); pos7'(thin_join,90); pos0(stem,90); z7'=z7; +x6=x7=x8=x1; x9=x4; x0=x5; +y6=y3-stem-1; y7=y9=y0=.5[y6,y8]; y8-.5stem=-d-oo; +filldraw circ_stroke z6e{down}..{down}z7e; % lower middle stem +filldraw circ_stroke z8e{up}..{up}z7e; % bottom stem +filldraw circ_stroke z9e{right}..{right}z7'e; % bottom left bulb +filldraw circ_stroke z0e{left}..{left}z7'e; % bottom right bulb +penlabels(1,2,3,4,5,6,7,8,9,0); endchar; + +ecchar "Double vertical line (norm or cardinality)"; % from mathsy +% Change (jk): Made the two lines as close as in \P +beginchar(oct"206",9u#,body_height#,paren_depth#); +adjust_fit(0,0); pickup rule.nib; +x1=x2; top y1=h; .5[y1,y2]=math_axis; +x3=x4=w-x1; y3=y1; y4=y2; +x3-x1=ceiling(rule_thickness+1.25u); +draw z1--z2; draw z3--z4; % stems +labels(1,2,3,4); endchar; + +ecchar "Per mill sign"; % by Emma Pease +beginchar(oct"207",15u#+max(6u#,2fudge*(hair#+stem#)), + body_height#,body_height#-asc_height#); +italcorr if hefty: .4asc_height#*slant-.5u# else: h#*slant-u# fi; +adjust_fit(0,0); pickup fine.nib; +numeric left_curve,right_curve; +left_curve=hround 5/6[fudged.hair,fudged.stem]; +right_curve=max(fine.breadth,hround(fudged.hair if hefty:-2stem_corr fi)); +pos1(vair,90); pos2(left_curve,180); pos3(vair,270); pos4(right_curve,360); +top y1r=h; lft x2r=hround u; rt x4r=hround(.5(w-6u)-1.5u); +bot y3r=floor(if monospace: .7 else: .5 fi\\ asc_height); +x1=x3=.5[x2,x4]; y2=y4=.5[y1,y3]; +filldraw stroke pulled_super_arc.e(1,2)(superpull) + & pulled_super_arc.e(2,3)(superpull); % left half of upper bowl +filldraw stroke super_arc.e(3,4) & super_arc.e(4,1); % right half of upper bowl +% +pos5(vair,90); pos6(left_curve,180); pos7(vair,270); pos8(right_curve,360); +bot y7r=-d; rt x8r=hround(w-7u); lft x6r=hround(.5(w-6u)+1.5u); +top y5r=vround(if monospace: .3 else: .5 fi\\ asc_height); +x5=x7=.5[x6,x8]; y6=y8=.5[y5,y7]; +filldraw stroke pulled_super_arc.e(5,6)(superpull) + & pulled_super_arc.e(6,7)(superpull); % left half of lower bowl +filldraw stroke super_arc.e(7,8) & super_arc.e(8,5); % right half of lower bowl +% +pos13(vair,90); pos14(left_curve,180); pos15(vair,270); +pos16(right_curve,360); +bot y15r=-d; rt x16r=hround(w-u); lft x14r=hround(.5(w-6u)+1.5u+6u); +top y13r=vround(if monospace: .3 else: .5 fi\\ asc_height); +x13=x15=.5[x14,x16]; y14=y16=.5[y13,y15]; +filldraw stroke pulled_super_arc.e(13,14)(superpull) + & pulled_super_arc.e(14,15)(superpull); % left half of lower bowl +filldraw stroke super_arc.e(15,16) & super_arc.e(16,13); % right half of lower bowl +% +pickup rule.nib; top y9=h; bot y10=-d; +if hefty: x9=good.x(x5-eps); x10=good.x(x1+eps); + draw z9--z10; % diagonal +else: rt x9=hround(w-6u-2.5u); lft x10=hround 2.5u; draw z9--z10; % diagonal + pickup fine.nib; pos9(rule_thickness,angle(z9-z10)+90); + pos11(vair,angle(z1r-z4r)-90); pos12(vair,angle(z9-z10)+90); + path p; p=super_arc.r(1,4); z11r=point 2/3 of p; z12r=z9r; + filldraw stroke z11e{direction 2/3 of p}...{z9-z10}z12e; fi % link +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar; + +ecchar "Bullet"; % from mathsy +beginchar(oct"210",9u#,v_center(7u#)); +adjust_fit(0,0); pickup rule.nib; autorounded; +if .5w <> good.x .5w: change_width; fi +lft x6=hround u; x2=w-x6; top y8=h; y2=math_axis; circle_points; +filldraw z8{right}...z1{z2-z8}...z2{down}...z3{z4-z2}...z4{left} + ...z5{z6-z4}...z6{up}...z7{z8-z6}...cycle; % circle and interior +labels(1,2,3,4,5,6,7,8); endchar; + +ecchar"Centigrade sign"; +if serifs: beginchar(oct"211",13u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(4u#,0); + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(w-u); 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,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(h-y1),y4l+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)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=h+o; + x1r-x1'=2cap_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 +else: beginchar(oct"211",11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(4u#,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .08h-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +penlabels(1,1',2,3,4,5,6); +clearxy; +pickup rule.nib; autorounded; +lft x6=-4u; rt x2=0; top y8=h; y8-y2=x2-x8; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +endchar; + +ecchar "Oldstyle dollar sign"; % based on romanp (cm) +beginchar(oct"212",11u#,body_height#,body_height#-asc_height#); +italcorr fig_height#*slant-.5u#; % same as for digits +adjust_fit(0,0); +numeric theta; theta=90-angle(50u,asc_height); slope:=-asc_height/50u; +pickup fine.nib; pos2(slab,-90); +pos0(cap_stem,theta); pos7(slab,-90); +x2=x0=x7=.5w; top y2l=asc_height+oo; bot y7r=-oo; +y0=.52asc_height; lft x3l=hround u; rt x6r=hround(w-u); +x3r-x3l=x6r-x6l=hround .35[slab,cap_stem]-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; +filldraw stroke super_arc.e(2,3) & z3e{down} + ..z4e---z5e..z6e{down} & super_arc.e(6,7); % main stroke +if serifs: pos1(hair,0); pos8(hair,180); + pos10(flare,0); pos9(flare,180); + rt x1r=hround(w-u); lft x8r=hround u; y1=.5[y0,y2]; y8=.5[y0,y7]; + {{less_tense; pos2'(slab,90); z2'=z2; bulb(2',1,10); % upper arc and bulb + bulb(7,8,9)}}; % lower arc and bulb +else: pos1(.6[slab,flare],-100); pos8(flare,-100); + rt x1l=hround(w-1.3u); lft x8r=hround .8u; + top y1l=vround .92asc_height+oo; bot y8r=vround .1asc_height-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 +pickup crisp.nib; pos12(bar,0); pos11(bar,0); pos13(bar,0); pos14(bar,0); +x11=x12; x13=x14=w-x11; x13-x11=ceiling(rule_thickness+1.25u); +top y12=top y14=h; bot y11=bot y13=-d; +filldraw stroke z12e--z11e; % left vertical crossbar +filldraw stroke z14e--z13e; %right vertical crossbar +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14); endchar; + +ecchar "Oldstyle cent sign"; % jk, based on cm `c' +beginchar(oct"213",9u#,x_height#+.5desc_depth#,.5desc_depth#); +italcorr x_height#*slant-.2u#; +adjust_fit(0,0); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(x_height+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5x_height; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,x_height]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=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); 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 +pickup crisp.nib; +x7=x3; x6=w-x7; y6=h; y7=-d; +numeric theta; theta=angle(z7-z6)-90; +pos6(vair,theta); pos7(vair,theta); +filldraw stroke z6e--z7e; % diagonal +penlabels(0,1,2,3,4,5,6,7); endchar; + +iff variant_g: % I use this as marker for italic fonts +ecchar "Italic florin sign (italic letter f)"; % from itall (cm) +beginchar(oct"214",max(1.5u#,stem#)+max(3.5u#,2flare#), + asc_height#,desc_depth#); +italcorr asc_height#*slant+.75u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +numeric theta; z88=(.5w-.5u,h); z89=(.5w+.5u,-d); theta=angle(z88-z89); +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos3(.5[hair,stem],180); pos4(stem,theta+90); +pos5(stem,theta-90); pos6(.5[hair,stem],0); +pos7(vair,-90); pos8(hair,-180); pos9(flare,-180); +rt x1r=hround(w+.25u); lft x8r=hround-.35u; x2=.6[x1,x4]; x7=.6[x8,x5]; +y9-.5flare=vround -.85d; y2-y0=y9-y7; top y2r=h+oo; bot y7r=-d-oo; +y4=.25[x_height,h]; y5=.5[-d,y4]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; x6=.8[x7+x5-x89,x89]; y3=.8[y4,y2]; y6=.8[y5,y7]; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{z89-z88}...z6e...{left}z7e; % lower arc +pickup crisp.nib; pos20(bar,90); pos21(bar,90); +top y20r=top y21r=x_height; +lft x20=lft x4r-.5stem-u; rt x21=rt x4l+.5stem+1.5u; +filldraw stroke z20e--z21e; % crossbar +math_fit(desc_depth#*slant+u#,x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,20,21,88,89); endchar; + + +iff not variant_g: +ecchar "Florin sign (The letter f)"; % from romanl (cm) +beginchar(oct"214",5.5u#,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(2.5u-.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); +rt x4=hround(w-if monospace:.75u+1 else:1/3u fi); +filldraw stroke z3e--z4e; % bar +penlabels(1,2,3,4); endchar; + +ecchar"Colon sign or Cedi sign"; % Panamese or Ghanese currency +if serifs: beginchar(oct"215",13u#,body_height#,body_height#-asc_height#); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(w-u); lft x3r=hround u; x2=x4=.55[x3,x1]; + numeric hh; hh=cap_height; + top y2r=hh+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6hh,x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(hh-y1),y4l+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)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=hh+o; + x1r-x1'=2cap_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 crisp.nib; pos12(bar,0); pos11(bar,0); + lft x12l=lft x11l=hround(x2-.5bar); top y12=h; bot y11=-d; + filldraw stroke z12e--z11e; % vertical crossbar +else: beginchar(oct"215",11.5u#,body_height#,body_height#-asc_height#); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + numeric hh; hh=cap_height; + top y1r=vround .95hh+o; top y2r=hh+o; y3=.5hh; + bot y4r=-o; bot y5r=vround .08hh-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); % arc and terminals + pickup crisp.nib; pos12(bar,0); pos11(bar,0); + lft x12l=lft x11l=hround(x2-.5bar); top y12=h; bot y11=-d; + filldraw stroke z12e--z11e; % vertical crossbar +fi +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6,11,12); endchar; + +ecchar"Won sign"; % Korean currency +beginchar(oct"216",18u#,cap_height#,0); +italcorr cap_height#*slant+.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric stem[],outer_jut,upper_notch,alpha,mid_corr; +outer_jut=.7cap_jut; x1l=w-x8r=l+letter_fit+outer_jut+.25u; +stem1=fudged.cap_stem-stem_corr; +stem4=min(fudged.hair if hefty:-2stem_corr fi,stem1); +stem2=stem4 if hefty:-2stem_corr fi; +stem3=stem1 if hefty:-2stem_corr fi; +x2-x1=x4-x3=x6-x5=x8-x7; x2l+apex_corr=x3l; x6l+apex_corr=x7l; +y1=y8=h; y2=y3=y6=y7=-apex_o; y4=y5=if monospace: vround .6 fi\\ h; +mid_corr=if monospace or hefty:-apex_corr else: 1/3jut 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+mid_corr| $\approx$ |x4r| +z23=whatever[z1r,z2r]=whatever[z3l,z4l]; +z45=whatever[z3r,z4r]=whatever[z5l,z6l]; +z67=whatever[z5r,z6r]=whatever[z7l,z8l]; upper_notch=y4-cap_notch_cut; +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>cap_notch_cut:(x67,cap_notch_cut)+.5right{down} + --(x67,cap_notch_cut)+.5left{up} else: z67&z67 fi + ...{z5-z6}special_diag_end(6,5,4,3){z3-z4} + ...if y23>cap_notch_cut:(x23,cap_notch_cut)+.5right{down} + --(x23,cap_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.5cap_jut; + elseif hefty: inner_jut1=inner_jut4=cap_jut; + else: fill diag_end(6r,5r,1,1,5l,6l) + --.5[z5l,z6l]--.5[z5r,z6r]--cycle; % middle stem + inner_jut2=.7inner_jut1; inner_jut4=1.1inner_jut3; + if rt x1'r+cap_jut+.5u+1<=lft x5'l-.7cap_jut: inner_jut1=cap_jut; + else: rt x1'r+inner_jut1+.5u+1=lft x5'l-inner_jut2; fi + if rt x5'r+cap_jut+.5u+1<=lft x8'l-1.1cap_jut: inner_jut3=cap_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 +pickup extra_rule.nib; +x9=x11=x1l; x10=x12=x8r; y9=y10; +top y9=bar_height; y11=y12; draw z9--z10; +y11-y9=spread; draw z11--z12; % crossing bars +math_fit(.75u#-cap_height#*slant,ic#-2.5u#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,23,45,67); endchar; + +ecchar"Naira sign"; % Nigerian currency +beginchar(oct"217",13u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+ +min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#+.25u#,cap_serif_fit#+.25u#); +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.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if hefty: penpos5(fudged.cap_stem,0); penpos6(fudged.cap_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,cap_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,-cap_jut); % upper left serif + else: serif(5,6,a,1/3,-cap_jut); fi % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + dish_serif(3,4,e,1/2,cap_jut,f,1/2,cap_jut)(dark); fi % upper right serif +pickup extra_rule.nib; +x8=x10=0; x9=x11=w; y10=y11; +top y8=bar_height; y8=y9; draw z8--z9; +y10-y8=spread; draw z10--z11; % crossing bars +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(1,1',2,3,4,4',5,6,7,8,9,10,11); endchar; + +ecchar"Guarani sign"; % Currency of Paraguay +if serifs: beginchar(oct"220",14u#,body_height#,body_height#-asc_height#); + italcorr cap_height#*slant-1.5u#-.5cap_serif_fit#; + adjust_fit(0,.5cap_serif_fit#); + numeric hh; hh=cap_height; + pickup tiny.nib; pos0(cap_stem,0); pos7(cap_stem,0); + rt x0r=hround(w-2u); y0=good.y(.1[bar_height,x_height]+1); x7=x0; + pickup fine.nib; + if hefty: bot y7=0; pos5(cap_stem,0); x5=x0; top y5=tiny.top y0; + else: pos5(cap_hair,0); pos8(cap_stem,0); + y7=.5bar_height; z5l=z8l; z8=z7; x9=x8r; bot y9=0; + filldraw z8l{down}..{4(x9-x8),y9-y8}z9--z8r--cycle; fi % spur + pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); + rt x1r=hround(w-2u); lft x3r=hround u; x2=x4=.55[x3,x1]; + top y2r=hh+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6hh,x_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,cap_hair],0); x6r=x1r; top y6=hh+o; + x1r-x1'=2cap_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(cap_jut,2.25u),b,1/3,1.25u); % serif + pickup crisp.nib; pos12(bar,0); pos11(bar,0); + lft x12l=lft x11l=hround(x2-.5bar); top y12=h; bot y11=-d; + filldraw stroke z12e--z11e; % vertical crossbar + math_fit(-.3cap_height#*slant-.5u#,ic#); +else: beginchar(oct"220",14u#,body_height#,body_height#-asc_height#); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + numeric hh; hh=cap_height; + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,270); + rt x1r=hround(w-1.35u); x2=x4=.5w+u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5l=hround(w-1.2u); + top y1r=vround .93hh+o; top y2r=hh+o; y3=.5hh; + bot y4r=-o; bot y5r=vround .07hh-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[bar_height,x_height]; + filldraw stroke z0e--z7e; % stem + pos8(cap_bar,90); pos9(cap_bar,90); + z0r=z9r; y8=y9; lft x8=hround x4; + filldraw stroke z8e--z9e; % bar + pickup crisp.nib; pos12(bar,0); pos11(bar,0); + lft x12l=lft x11l=hround(x2-.5bar); top y12=h; bot y11=-d; + filldraw stroke z12e--z11e; % vertical crossbar + math_fit(-.3cap_height#*slant-.5u#,.5ic#); fi +penlabels(0,1,1',2,3,4,5,6,7,8,9,11,12); endchar; + +ecchar"Peso sign"; +beginchar(oct"221",12u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#+.25u#,0); +pickup tiny.nib; penpos1(cap_stem'-tiny,0); penpos2(cap_stem-tiny,0); +pos0(cap_stem',0); pos0'(cap_stem,0); +lft x1l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +x1l=x2l=x0l=x0'l; y0=y0'=y7; +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(.5[vair,cap_band],-90); penpos7(.5[vair,cap_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-.25cap_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,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,0',c,1/3,cap_jut,d,1/3,cap_jut); fi % lower serif +pickup extra_rule.nib; +x8=0; x9=.5[x1r,x5r]; top y8=bar_height; y8=y9; draw z8--z9; +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7); labels(8,9); +endchar; + +ecchar "Lira sign"; % +compute_spread(.35x_height#,.45x_height#); +beginchar(oct"222",12u#,asc_height#,0); +adjust_fit(0,.75asc_height#*slant-.5u#); pickup fine.nib; +pos0(flare,0); pos1(hair,0); pos2(vair,90); pos3(stem,180); +pos4(stem,180); pos4'(stem,0); pos5(vair,-90); z4'=z4; +x2=2/3w-.5u; rt x3l=rt x4l=hround(.5w-u+.5stem); x5=2.5u; +y1=y3=.75h; top y2=h+oo; y4=.25h; bot y5r=-oo; +rt x1r=hround(w-1.5u); bulb(2,1,0); % bulb +filldraw stroke pulled_arc.e(2,3)..z4e; % stem +numeric light_stem; light_stem=2/3[vair,vstem]; +pos6(.5[hair,light_stem],-180); pos7(light_stem,-300); +pos8(light_stem,-300); pos9(hair,-180); +lft x6r=hround u; x7=3u; x8=w-3.5u; rt x9l=hround(w-u); +y6=.4[y5,y7]; top y7r=vround .2h; bot y8l=-oo; y9=good.y .2h; +filldraw stroke pulled_arc.e(4',5)...z6e{up}...z7e{right} + ..{right}z8e...{up}z9e; % loop and arm +pickup extra_rule.nib; +x10=3u; x11=w-4.5u; x12=3u; x13=w-4.5u; +top y12=bar_height; +y11=y10; y13=y12; y10-y12=spread; +draw z10--z11; % upper bar +draw z12--z13; % lower bar +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +ecchar"Recipe sign"; +beginchar(oct"223",if serifs: 12u#+.5max(2u#,cap_curve#) + else:12.5u#-.5width_adj# fi,cap_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(cap_serif_fit#,0); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround(.5h+.5vair); x4=x6; +if serifs: x4=.5w-.5u; x5r=hround(w-2.25u); +else: x4=.5w+.5u; x5r=hround(w-u); fi +x4l:=x6l:=x4-.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(cap_stem,180); + pos8(cap_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5cap_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + bot y9r=-o; rt x10r=hround(w-.05u); y10=1/4[y2,y7]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{up}; % tail + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); % lower serif +else: penpos8(cap_stem-2stem_corr,0); penpos9(cap_stem,0); + x8=x6+.5u; y8=y6; x9r=hround(w-.5u); y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +x1:=x8; +put_cross(.5cap_stem+if serifs: .9max(limit_dist,cap_jut) else: .8u fi, + .5cap_stem+if serifs: 3u else: 4u fi); +math_fit(0,.75ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +iff not variant_g: % not italic +ecchar"Interrobang"; +beginchar(oct"224",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=hround .9h+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); +clearxy; +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; + +iff not variant_g: % not italic +ecchar"Gnaborretni"; +beginchar(oct"225",8.5u#,asc_height#-desc_depth#,desc_depth#); +adjust_fit(0,0); +pickup tiny.nib; pos7(dot_size,0); pos8(dot_size,90); +lft x7l=hround(.5w-.25u-.5dot_size); top y8r=h; z7=z8; % dot(7,8); % dot +numeric top_width; +top_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos2(vair,270); pos3(curve,180); +pos4(vair,90); pos5(top_width,180); pos6(top_width,180); +x2=x4=x5=x6=x7; lft x3r=hround u; top y6=.25[bot y8l,h-x_height]-1; +bot y2r=hround .1asc_height-d-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,0); pos0(flare,0); + rt x1r=hround(w-u); y1=y3; bulb(2,1,0); % bulb +else: pos1(Vround 5/7[vair,flare],-70); + rt x1r=hround(w-u); bot y1r=vround .9[y6,bot y2r]; + filldraw stroke term.e(2,1,right,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7,8); +clearxy; +pickup tiny.nib; pos3(dot_size,0); pos4(dot_size,90); +lft x3l=hround(.5w-.5dot_size); top y4r=h; z3=z4; dot(3,4); % dot +numeric top_width; +top_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos1(dot_size,0); pos2(top_width,0); +x1=x2=x3; top y2=.25[bot y4l,h-x_height]-1; +if square_dots: bot y1=-d; + filldraw stroke z1e--z2e; % stem +else: bot z0=(x1,-d-o); y1-.5dot_size=-d-o; + filldraw z1l...z0...z1r---z2r--z2l---cycle; fi % stem and bulb +penlabels(0,1,2,3,4); endchar; + +iff variant_g: % italic +ecchar"Interrobang"; +beginchar(oct"224",9u#,asc_height#,0); +italcorr asc_height#*slant-u#; +adjust_fit(0,0); +adjust_fit(0,0); pickup tiny.nib; pos10(dot_size,0); pos11(dot_size,90); +lft x10l=hround(.5w-.5dot_size); bot y11l=0; z10=z11; % dot(10,11); % dot +pickup fine.nib; pos1(flare,180); pos2(hair,180); pos3(vair,90); +lft x1r=hround u; x3=.5w; +y1-.5flare=x_height; top y3r=hround .9h+o; bulb(3,2,1); % bulb +pos8(vair,-90); x8=.5w; bot y8r=.25[top y11r,x_height]+1; +numeric theta; theta=90+angle(10u,y3-y8); slope:=(y3-y8)/10u; +pos3'(vair,-90); z3'=z3; pos0(vstem,theta); x0=x3; y0=1/3[y8,y3]; +rt x4l=hround(w-1.5u); lft x7r=hround 1/3w; +x4l-x4r=x7l-x7r=hround .5[vair,vstem]-fine; +ellipse_set(3'l,4l,5l,0l); ellipse_set(3'r,4r,5r,0r); y4=y4r; +ellipse_set(8l,7l,6l,0l); ellipse_set(8r,7r,6r,0r); y7=y7r; +pos9(hair,0); rt x9r=hround(2/3w+.5hair); y9=good.y .5[y8,y0]; +filldraw stroke super_arc.e(3',4) & z4e{down} + ..z5e---z6e..z7e{down} & super_arc.e(7,8)...{up}z9e; % main stroke +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); +clearxy; +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; + +iff variant_g: % italic +ecchar"Gnaborretni"; +beginchar(oct"225",9u#,asc_height#-desc_depth#,desc_depth#); +adjust_fit(0,0); +pickup tiny.nib; pos10(dot_size,0); pos11(dot_size,90); +lft x10l=hround(.5w-.5dot_size); top y11r=h; z10=z11; % dot(10,11); % dot +pickup fine.nib; pos1(flare,0); pos2(hair,0); pos3(vair,-90); +rt x1r=hround(w-u); x3=.5w; y1+.5flare=asc_height-x_height-d; +bot y3r=hround .1asc_height-d-o; bulb(3,2,1); % bulb +pos8(vair,90); x8=.5w; top y8r=.25[bot y11l,y1+.5flare]-1; +numeric theta; theta=angle(10u,y8-y3)-90; slope:=(y8-y3)/10u; +pos3'(vair,90); z3'=z3; pos0(vstem,theta); x0=x3; y0=1/3[y8,y3]; +lft x4l=hround 1.5u; rt x7r=hround 2/3w; +x4r-x4l=x7r-x7l=hround .5[vair,vstem]-fine; +ellipse_set(3'l,4l,5l,0l); ellipse_set(3'r,4r,5r,0r); y4=y4r; +ellipse_set(8l,7l,6l,0l); ellipse_set(8r,7r,6r,0r); y7=y7r; +pos9(hair,180); lft x9r=hround(1/3w-.5hair); y9=good.y .5[y8,y0]; +filldraw stroke super_arc.e(3',4) & z4e{up} + ..z5e---z6e..z7e{up} & super_arc.e(7,8)...{down}z9e; % main stroke +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); +clearxy; +pickup tiny.nib; pos3(dot_size,0); pos4(dot_size,90); +lft x3l=hround(.5w-.5dot_size); top y4r=h; z3=z4; dot(3,4); % dot +numeric top_width; +top_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos1(dot_size,0); pos2(top_width,0); +x1=x2=x3; top y2=.25[bot y4l,h-x_height]-1; +if square_dots: bot y1=-d; + filldraw stroke z1e--z2e; % stem +else: bot z0=(x1,-d-o); y1-.5dot_size=-d-o; + filldraw z1l...z0...z1r---z2r--z2l---cycle; fi % stem and bulb +penlabels(0,1,2,3,4); endchar; + +iff not variant_g: % not italic +ecchar"Dong sign"; % Vietnamese currency +beginchar(oct"226",10u#+serif_fit#,body_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(0,serif_fit#); +numeric hh; hh=asc_height; +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0r=z0'r; x0'=x1; x0=x2; +rt x1r=hround(w-2.5u+.5stem'); top y1=hh; +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 if monospace: -hair fi; +lft x5r=hround max(1.35u-.5curve,.6u); y5=.5x_height if monospace: -.5hair fi; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=max(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=max(x',.5[x5r,x6]); +filldraw stroke z3e{up}...pulled_arc.e(4,5) + & pulled_arc.e(5,6)...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{left}z4l)); +pickup tiny.nib; bot y2=if serifs:-min(oo,serif_drop) else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + sloped_serif.r(2,0,b,1/3,jut,min(oo,serif_drop)); fi % lower serif +% + pos8(bar,90); pos9(bar,90); + x8=.5[x4,x5]; + if serifs: x9=x2r+jut; else: x9=w; fi + if serifs: y8=y9=.5[y.a2-.5slab,y4+.5vair]; + else: y8=y9=.5[x_height,asc_height-serif_drop]; fi + filldraw stroke z8e--z9e; +currentpicture:=currentpicture shifted (0,body_height-asc_height); +pickup rule.nib; +x10=x5; x11=x9; top y10=0; y10=y11; +draw z10--z11; +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +iff variant_g: %italic +ecchar"Italic Dong sign"; % Vietnamese currency +beginchar(oct"226",9u#,body_height#,0); +italcorr max(1/3x_height#*slant+.5hair#+.5u#, + h#*slant+.5stem#-2u#) if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270); +x0=x4; x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve); +x4+.5stem=hround(w-2.5u+.5stem); +top y1r=x_height+oo; bot y3r=-oo; y0=y2=.5[y1,y3]; +filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2) + & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl +x5=x0; x7=w; hook_out(5,6,7); % closing hook +pickup tiny.nib; pos5'(stem,0); pos4(stem,0); +z5'=z5; top y4=h; filldraw stroke z4e--z5'e; % stem +sloped_serif.l(4,5',a,1/3,jut,serif_drop); % serif +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +% the bar + pos8(bar,90); pos9(bar,90); + x8=x1; % .5[x1,x4]; + x9=x6; + y8=y9=.5[y.a2-.5slab,y1+.5vair]; + filldraw stroke z8e--z9e; +currentpicture:=currentpicture shifted (0,body_height-asc_height); +pickup rule.nib; +x10=x2; x11=x9; top y10=0; y10=y11; +draw z10--z11; +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar"Trademark"; % jk, design based on logo font +beginchar(oct"227",12u#,body_height#,0); +italcorr .7body_height#; +adjust_fit(0,0); +numeric ww, hh; ww=.5w; hh=vround .5body_height; +pickup pencircle xscaled hair yscaled vair; +lft x1=-eps; x2=ww-x1; x3=x4=.5ww; +y1=y2=y3; top y1=hh; bot y4=-o; +draw z1--z2; draw z3--z4; +labels(1,2,3,4); +clearxy; +x1=x2=hround(ww+u); x4=x5=hround(w-u); x3=hround .5[x1,x4]; +y1=y5; y2=y4; bot y1=-o; +top y2=hh+o; y3=vround (y1+.5bar_height); +draw z1--z2--z3--z4--z5; +labels(1,2,3,4,5); +currentpicture:=currentpicture shifted (0,hh); +endchar; + +ecchar"Per ten thousand sign"; % Yannis, Unicode Computer Modern +beginchar(oct"230",9u#+max(6u#,2fudge*(hair#+stem#)), + body_height#,body_height#-asc_height#); +italcorr if hefty: .4asc_height#*slant-.5u# else: h#*slant-u# fi; +adjust_fit(0, + 2*(.5*(9u#+max(6u#,2fudge*(hair#+stem#))) + -2.5u#+5/6[fudged.hair#,fudged.stem#])); +pickup fine.nib; +numeric left_curve,right_curve; +left_curve=hround 5/6[fudged.hair,fudged.stem]; +right_curve=max(fine.breadth,hround(fudged.hair if hefty:-2stem_corr fi)); +pos1(vair,90); pos2(left_curve,180); pos3(vair,270); pos4(right_curve,360); +top y1r=h; lft x2r=hround u; rt x4r=hround(.5w-1.5u); +bot y3r=floor(if monospace: .7 else: .5 fi\\ asc_height); +x1=x3=.5[x2,x4]; y2=y4=.5[y1,y3]; +pos5(vair,90); pos6(left_curve,180); pos7(vair,270); pos8(right_curve,360); +bot y7r=-d; rt x8r=hround(w-u); lft x6r=hround(.5w+1.5u); +top y5r=vround(if monospace: .3 else: .5 fi\\ asc_height); +x5=x7=.5[x6,x8]; y6=y8=.5[y5,y7]; +filldraw stroke pulled_super_arc.e(5,6)(superpull) + & pulled_super_arc.e(6,7)(superpull); % left half of lower bowl +filldraw stroke super_arc.e(7,8) & super_arc.e(8,5); % right half of lower bowl +hihi:=(.5*(9u#+max(6u#,2fudge*(hair#+stem#))) + -2.5u#+5/6[fudged.hair#,fudged.stem#]) +if monospace: *expansion_factor fi *hppp; +picture petit_zero; petit_zero := currentpicture; +pickup rule.nib; top y9=h; bot y10=-d; +if hefty: x9=good.x(x5-eps); x10=good.x(x1+eps); + draw z9--z10; % diagonal +else: rt x9=hround(w-2.5u); lft x10=hround 2.5u; draw z9--z10; % diagonal + pickup fine.nib; pos9(rule_thickness,angle(z9-z10)+90); + pos11(vair,angle(z1r-z4r)-90); pos12(vair,angle(z9-z10)+90); + path p; p=super_arc.r(1,4); z11r=point 2/3 of p; z12r=z9r; + filldraw stroke z11e{direction 2/3 of p}...{z9-z10}z12e; fi % link +pickup fine.nib; +filldraw stroke pulled_super_arc.e(1,2)(superpull) + & pulled_super_arc.e(2,3)(superpull); % left half of upper bowl +filldraw stroke super_arc.e(3,4) & super_arc.e(4,1); % right half of upper bowl +addto currentpicture also (petit_zero shifted (hihi,0)); +addto currentpicture also (petit_zero shifted (2hihi,0)); +picture petit_zero; % Release resources allocated to the picture variable +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar "Alternate pilcrow sign"; % one vertical bar only +beginchar(oct"231",8.5u#,asc_height#,desc_depth#); +adjust_fit(0,0); pickup rule.nib; autorounded; +top y1=h; bot y6=-d-eps; y4=y9=y1; +y3=y5=good.y .5[y1,y6]; +lft x2=hround u; y2=.5[y1,y3]; rt x9=hround(w-.5u); x4=x5=x6=good.x(x9-1.5u); +x1=x3=min(.5w,x4); +filldraw z4..z1{left}...z2{down}...{right}z5--cycle; % filled bowl +draw z9--z4--z6; % left stem and upper serif +if serifs: + x11=x9; x10-x6=x4-x9; + bot y10=-d-eps; y10=y11; + draw z10--z11; % lower serif +fi +labels(1,2,3,4,5,6,9,10,11); endchar; + +ecchar"Baht sign"; % currency of Thailand +beginchar(oct"232",12.5u#,body_height#,body_height#-asc_height#); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric hh; hh=cap_height; +numeric left_stem,right_curve,middle_weight; +left_stem=cap_stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5left_stem); top y1=hh; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(middle_weight,90); penpos9(middle_weight,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(cap_band,-90); penpos12(cap_band,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +z12r=bot z2; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52hh; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-1.5u); x10r=hround(w-u); +if serifs: right_curve=cap_curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=cap_curve-3stem_corr; x4=.5[x1,w-2.5u]; + x4l:=x4l-.5u; x9l:=x9l-.5u; fi +x6l:=x6l-.5u; x11l:=x11l-.5u; +fill stroke z3e..super_arc.e(4,5) & super_arc.e(5,6)..z7e; % upper lobe +fill stroke z8e..super_arc.e(9,10) & super_arc.e(10,11)..z12e; % lower lobe +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +pickup crisp.nib; pos13(bar,0); pos14(bar,0); +rt x13r=rt x14r=rt x4; top y13=h; bot y14=-d; +filldraw stroke z13e--z14e; % vertical crossbar +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +ecchar"Numero sign"; % from wncyr +beginchar(oct"233",15u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant + -cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit# + if serifs: +.5(flare#+(cap_stem#-stem#)) fi ,cap_serif_fit#); +w:=if serifs: 10u else: 11u fi; +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); +top y1=h; +if serifs: top y3=.79h; bot y2=.21h; +else: top y3=h; bot y2=0; fi +bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround min(w-2u,w-3u+.5fudged.cap_stem); +x91=x2-.75flare; bot y91r=-oo; x92=w-x91; +top y92l=h+oo; +pos91(thin_stem,-90); pos92(thin_stem,-90); +if serifs: + filldraw stroke z1e--z2e & pulled_arc.e(2,91); % left stem + filldraw stroke z4e--z3e & pulled_arc.e(3,92); % right stem +else: + filldraw stroke z1e--z2e; filldraw stroke z4e--z3e; % stems +fi +if hefty: + penpos5(fudged.cap_stem,0); penpos6(fudged.cap_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,cap_stem-3stem_corr-tiny),0) rotated (angle(z5l-z6l)-90); + z5r=z7+whatever*(z5l-z6l); z6r=z7+whatever*(z5l-z6l); + filldraw stroke z5e--z6e; % diagonal +fi +if serifs: + if hefty: serif(1,2,a,1/3,-cap_jut); % upper left serif + else: serif(5,6,a,1/3,-cap_jut); fi % upper left serif +fi +pickup tiny.nib; +if serifs: + x93=x2-1.5flare; + y93=.75flare; + pos95(flare+(cap_stem-stem),-180); + x94=x3+1.5flare; + y94=h-y93; + pos96(flare+(cap_stem-stem),0); + pos92'(thin_stem,90); + z92'=z92; + pos93(cap_hair,-180); + pos94(cap_hair,0); + bulb(91,93,95); bulb(92',94,96); +fi +w:=15u; +penpos71(vair,90); penpos73(vair',-90); penpos72(.8curve,180); +penpos74(.8curve,0); x72r=hround max(.5u,1.25u-.4curve)+9.5u; +x74r=w-x72r+9u; x71=x73=12u; y71r=h-3u+vround 1.5oo; y73r=x_height-3u-oo; +y72=y74=.5[h,x_height]-3u-vair_corr; y72l:=y74l:=.52[h,x_height]-3u; +penstroke pulled_arc.e(71,72) & pulled_arc.e(72,73) & pulled_arc.e(73,74) & +pulled_arc.e(74,71) & cycle; +x81=max(lft x72r,x73-(lft w-x73)); +x82=min(rt x74r,lft w); y81=y82=.8x_height-3u; +pos81(bar,90); pos82(bar,90); +filldraw stroke z81e--z82e; +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(1,1',2,3,4,4',5,6,7); endchar; + +ecchar "Abzueglich sign"; % jk +beginchar(oct"234",9u#,body_height#,0); +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=-eps; +draw z1--z2; % diagonal +x3=w-x5=good.x (lft x1 - .5dot_size); +bot y4 = good.y .5dot_size; +top y6 = good.y h-.5dot_size; +pos3(dot_size,0); pos4(dot_size,90); z3=z4; +pos5(dot_size,0); pos6(dot_size,90); z5=z6; +dot(3,4); dot(5,6); % dots +penlabels(1,2,3,4,5,6); endchar; + +ecchar"Aestimated sign (large e)"; % jk +beginchar(oct"235",(11.25u#+max(.75u#,.5cap_curve#)),cap_height#,0); +italcorr .76cap_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+3stem_corr=cap_curve if not serifs: -1.5stem_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 .52h; 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; + +ecchar "Open bullet"; % derived from Circle operator +beginchar(oct"236",9u#,v_center(7u#)); +adjust_fit(0,0); pickup rule.nib; autorounded; +if .5w <> good.x .5w: change_width; fi +lft x6=hround u; x2=w-x6; top y8=h; y2=math_axis; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); endchar; + +ecchar"Servicemark"; % jk, design based on logo font +beginchar(oct"237",12u#,body_height#,0); +italcorr .7body_height#; +adjust_fit(0,0); +numeric ww, hh; ww=.5w; hh=vround .5body_height; +pickup pencircle xscaled hair yscaled vair; +x3=x8= u; +x2=x4=.382[x3,ww-x3]; +x1=ww-x3; +x5=x7=.618[x3,ww-x3]; +x6=.5[ww-x3,lft ww]; +top y1=hh; y4=good.y .55hh; bot y8=0; +y1=y2; y3=.5[y2,y4]; y4=y5; y6=.5[y5,y7]; y7=y8; +draw z1--z2; draw z4--z5; draw z7--z8; +super_crescent(2,3,4); +super_crescent(5,6,7); +labels(1,2,3,4,5,6,7,8); +clearxy; +x1=x2=hround(ww+u); x4=x5=hround(w-u); x3=hround .5[x1,x4]; +y1=y5; y2=y4; bot y1=-o; +top y2=hh+o; y3=vround (y1+.5bar_height); +draw z1--z2--z3--z4--z5; +labels(1,2,3,4,5); +currentpicture:=currentpicture shifted (0,hh); +endchar; + +ecchar "Left square bracket with quill"; % from Haralambous/Plaice +beginchar(oct"240",9u#,body_height#,paren_depth#); +italcorr math_axis#*slant+.5vair#-u#; +adjust_fit(if monospace: -1.5u#,u# else: -2.5u#,0 fi); +pickup fine.nib; +forsuffixes $=1,1',4,4',7,7',11,11',17,17': + pos$(vair,0); endfor +forsuffixes $=2,3,5,6: pos$(stem,0); endfor +x2=x3=x5=x6; x1=x1'=x7=x7'=w-x4=w-x4'; +rt x4r=hround(w-1.5u+.5vair); rt x2r=hround(.5w+.5stem); +top y1=h; bot y7=-d; .5[y4,y4']=.5[y1,y7]=.5[y2,y6]=.5[y3,y5]; +y1-y2=y3-y4=(y1-y4)/4; +y1-y1'=y4-y4'=y7'-y7=y11-y11'=y17-y17'=vair-fine; +x11=x11'=x17=x17'; x11-x2=x2-x1; y11=y1; y17=y7; +filldraw z11'l{left}...z2r---z3r...{right}z4r + --z4'r{left}...z5r---z6r...{right}z17l + --z17r--z17'r{left}...z6l---z5l...{right}.5[z4l,z4'l]{left} + ...z3l---z2l...{right}z11r--z11'r--cycle; % stroke +penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "Right square bracket with quill"; % from Haralambous/Plaice +beginchar(oct"241",9u#,body_height#,paren_depth#); +italcorr body_height#*slant+.5vair#-u#; +adjust_fit(if monospace: u#,-1.5u# else: 0,-2.5u# fi); +pickup fine.nib; +forsuffixes $=1,1',4,4',7,7',11,11',17,17': + pos$(vair,0); endfor +forsuffixes $=2,3,5,6: pos$(stem,0); endfor +x2=x3=x5=x6; x1=x1'=x7=x7'=w-x4=w-x4'; +lft x4l=hround(1.5u-.5vair); lft x2l=hround(.5w-.5stem); +top y1=h; bot y7=-d; .5[y4,y4']=.5[y1,y7]=.5[y2,y6]=.5[y3,y5]; +y1-y2=y3-y4=(y1-y4)/4; y1-y1'=y4-y4'=y7'-y7=vair-fine; +x11=x11'; x17=x17'; +y11=y1; y17=y7; +x1-x2=x2-x11; x17=x11; y11-y11'=y17'-y17=vair-fine; +filldraw z11'r{right}...z2l---z3l...{left}z4l + --z4'l{right}...z5l---z6l...{left}z17'r +--z17'l--z17l{right}...z6r---z5r...{left}.5[z4r,z4'r]{right} + ...z3r---z2r...{left}z11l--z11'l--cycle; % stroke +penlabels(1,2,3,4,5,6,7); endchar; + +ecchar "Cent sign"; % from wasychr (wasy) +% Modified height and depth (jk) +% Modified: Bar instead of broken bar +beginchar(oct"242",9u#,x_height#+.5desc_depth#,.5desc_depth#); +italcorr x_height#*slant-.2u#; +adjust_fit(0,0); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(x_height+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5x_height; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,x_height]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=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); 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 +pickup crisp.nib; +x6=x7=x8=x9=x2; y7=y2; y8=y4; bot y9=-d; y6-y7 = y8-y9; +pos6(bar,0); pos7(bar,0); +pos8(bar,0); pos9(bar,0); +filldraw stroke z6e--z9e; % bar +%filldraw stroke z6e--z7e; % upper bar +%filldraw stroke z8e--z9e; % lower bar +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Sterling sign"; % from italp (cm) +% already contains bug fix found by Yannis Haralambous +beginchar(oct"243",12u#,asc_height#,0); +adjust_fit(0,.75asc_height#*slant-.5u#); pickup fine.nib; +pos0(flare,0); pos1(hair,0); pos2(vair,90); pos3(stem,180); +pos4(stem,180); pos4'(stem,0); pos5(vair,-90); z4'=z4; +x2=2/3w-.5u; rt x3l=rt x4l=hround(.5w-u+.5stem); x5=2.5u; +y1=y3=.75h; top y2=h+oo; y4=.25h; bot y5r=-oo; +rt x1r=hround(w-1.5u); bulb(2,1,0); % bulb +filldraw stroke pulled_arc.e(2,3)..z4e; % stem +numeric light_stem; light_stem=2/3[vair,vstem]; +pos6(.5[hair,light_stem],-180); pos7(light_stem,-300); +pos8(light_stem,-300); pos9(hair,-180); +lft x6r=hround u; x7=3u; x8=w-3.5u; rt x9l=hround(w-u); +y6=.4[y5,y7]; top y7r=vround .2h; bot y8l=-oo; y9=good.y .2h; +filldraw stroke pulled_arc.e(4',5)...z6e{up}...z7e{right} + ..{right}z8e...{up}z9e; % loop and arm +pos10(bar,90); pos11(bar,90); x10=3u; x11=w-4.5u; +top y10r=top y11r=vround(.5h+.5bar); filldraw stroke z10e--z11e; % bar +penlabels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Currency sign"; % from rsym (wasy) +beginchar(oct"244",1.13 min(asc_height#,9/7x_height#)+2u#, + min(asc_height#,9/7x_height#),0); +italcorr x_height#*slant; +adjust_fit(if monospace: u#,u# else: 0,0 fi); +pickup rule.nib; autorounded; +x4 = good.x .5w; x2-x6=y8-y4; y2=good.y .5h; bot y4=-oo; +circle_points; +z9 = 1.30[z5,z1]; +z10 = 1.30[z7,z3]; +z11 = 1.30[z1,z5]; +z12 = 1.30[z3,z7]; +draw_circle; +draw z1--z9; +draw z3--z10; +draw z5--z11; +draw z7--z12; +labels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + + +ecchar "Yen symbol"; % from asymbols (msam) +% Change (jk): Use correct pen for horizontal bars +compute_spread(.45x_height#, .55x_height#); +beginchar(oct"245",13u#,cap_height#,0); %% adapted from "Y" +italcorr cap_height#*slant+.45u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); numeric +left_stem,right_stem,outer_jut,dy,alpha; +left_stem=cap_stem-stem_corr; right_stem=min(cap_hair if +hefty:-2stem_corr fi,left_stem); outer_jut=.75cap_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 & 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+cap_jut+.5u+1<=lft x4'l-cap_jut: +inner_jut=cap_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,cap_jut,f,1/3,cap_jut); fi % lower serif +pickup extra_rule.nib; +x7=x9=x1l; x8=x10=x4r; y9=y10; +top y7=bar_height; y7=y8; draw z7--z8; +y9-y7=spread; draw z9--z10; % crossing bars +penlabels(0,1,2,3,4,5,6,1',2',3',4',5',6',7,8,9,10); endchar; + +ecchar "Broken vertical bar"; % jk +beginchar(oct"246",3u#,body_height#,paren_depth#); +italcorr body_height#*slant - u#; +adjust_fit(0,0); pickup rule.nib; +top y1=h; .5[y1,y4]=math_axis; +compute_spread(.45x_height#,.55x_height#); y2-y3=spread; +.5[y2,y3]=math_axis; +x1=x2=x3=x4=good.x .5w; +draw z1--z2; draw z3--z4; +labels(1,2,3,4); endchar; + +ecchar "Section sign"; % from mathsy, renovated (jk) +beginchar(oct"247",6.5u#+max(1.5u#,stem#),asc_height#,desc_depth#); +adjust_fit(0,0); pickup fine.nib; +numeric s_slab; s_slab=if serifs:slab else:vround .2[slab,cap_stem] fi; +numeric ess'; ess'=max(fine.breadth,cap_ess); +numeric sstem; sstem=hround .5[s_slab,ess']-fine; +if sstem < fine.breadth: sstem:=fine.breadth; fi +pos2(vair,90); pos3(sstem,180); +pos4(ess',270); pos4'(vair,270); +pos5'(sstem,0); pos5(sstem,180); +pos6(ess',90); pos6'(vair,90); pos7(sstem,0); +pos8(vair,-90); +top y2r=h+oo; bot y8r=-d-oo; +y3=.52[y4,y2]; y5=.52[y4,y6]; y7=.52[y6,y8]; y5'=.52[y6,y4]; +y2-y4=y4-y6=y6-y8; +bot z4'=bot z4; top z6'=top z6; +lft x3r=hround 1.25u; +x2=x4=x6=x8=.5w; x5=x7=w-x3; x5'=x3; +if serifs: + pos0(stem,0); pos1(hair,0); pos9(hair,-180); pos10(stem,-180); + rt x1r=hround(w-1.5u); x9=w-x1; y2-y1=y9-y8=(y2-y8)/8; + bulb(2,1,0); bulb(8,9,10); % bulbs +else: + pos1(.6[slab,flare],-100); pos9(flare,-100); pos2'(vair,-90); + rt x1l=hround(w-1.3u); lft x9r=hround .8u; z2'=z2; + top y1l=vround .92asc_height+oo; bot y9r=vround .1asc_height-d-oo; + filldraw stroke term.e(2',1,right,.9,4); % upper arc and terminal + filldraw stroke term.e(8,9,left,.9,4); % lower arc and terminal +fi +filldraw stroke z2e{left}...z3e{down}...z4e{3(x5-x3),y5-y3} + ...z5e{down}...{left}z6'e; % upper stroke +filldraw stroke z4'e{left}...z5'e{down}...z6e{3(x7-x5'),y7-y5'} + ...z7e{down}...{left}z8e; % upper stroke +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar "Umlaut (double dot) accent"; % from accent (cm) +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(oct"250",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; + +ecchar"Copyright"; +beginchar(oct"251",20u#,body_height#,max(paren_depth#,desc_depth#)); +autorounded; +adjust_fit(if monospace:-3u#,-3u# else: 0,0 fi); pickup rule.nib; +if .5w <> good.x .5w: change_width; fi +lft x6=hround u; x2=w-x6; top y8=h+o; bot y4=-d-o; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); +clearxy; autorounding:=0; +numeric hh,ll,rr; hh=vround .7cap_height; ll=hround(.5w-6u); +rr=hround(.5w+5u); +if serifs: + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,90); + pos3(cap_curve,180); pos4(cap_band,270); pos5(hair,360); + rt x1r=rt x5r=hround(rr-u); lft x3r=hround(ll+u); x2=x4=.55[x3,x1]; + top y2r=hh+o; bot y4r=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6hh,.7x_height-.5vair),bot y2l-eps); + y5=max(good.y .95(hh-y1),y4l+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)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6r=x1r; top y6=hh+o; + x1r-x1'=2cap_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 +else: + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(rr-1.1u); x2=x4=.5w+1.25u; + lft x3r=ll+hround max(u,2u-.5cap_curve); rt x5r=hround(rr-.9u); + top y1r=vround .95hh+o; top y2r=hh+o; y3=.5hh; + bot y4r=-o; bot y5r=vround .08hh-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +penlabels(1,1',2,3,4,5,6); endchar; + +ecchar"Copyleft"; +beginchar(oct"253",20u#,body_height#,max(paren_depth#,desc_depth#)); +autorounded; +adjust_fit(if monospace:-3u#,-3u# else: 0,0 fi); pickup rule.nib; +if .5w <> good.x .5w: change_width; fi +lft x6=hround u; x2=w-x6; top y8=h+o; bot y4=-d-o; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); +clearxy; autorounding:=0; +numeric hh,ll,rr; hh=vround .7cap_height; ll=hround(.5w-5u); +rr=hround(.5w+6u); +if serifs: + pickup fine.nib; pos1(cap_hair,0); pos2(cap_band,-90); + pos3(cap_curve,-180); pos4(cap_band,-270); pos5(hair,-360); + lft x1l=lft x5l=hround(ll+u); rt x3l=hround(rr-u); x2=x4=.55[x3,x1]; + top y2l=hh+o; bot y4l=-o; y3=.5[y2,y4]; + bot y1=min(vround max(.6hh,.7x_height-.5vair),bot y2r-eps); + y5=max(good.y .95(hh-y1),y4r+eps); + (x2r',y2r)=whatever[z2l,z1r]; x2r:=min(x2r',x2r+.5u); + (x4r',y4r)=whatever[z4l,z5r]; x4r:=min(x4r',x4r+.5u); + filldraw stroke z1e{x2-x1,10(y2-y1)} + ...pulled_arc.e(2,3) & pulled_arc.e(3,4)...{up}z5e; % arc + pos6(.3[fine.breadth,cap_hair],0); x6l=x1l; top y6=hh+o; + x1l-x1'=2cap_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x2-x1,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6r--z1')); + filldraw z1l--z6l--z6r--subpath(t,0) of upper_arc--cycle; % barb +else: + pickup fine.nib; pos1(1.2flare,-80); pos2(slab,-90); + pos3(cap_curve,-180); pos4(slab,-270); pos5(flare,-275); + lft x1l=hround(ll+1.1u); x2=x4=.5w-1.25u; + rt x3l=rr-hround max(u,2u-.5cap_curve); lft x5l=hround(ll+.9u); + top y1l=vround .95hh+o; top y2l=hh+o; y3=.5hh; + bot y4l=-o; bot y5l=vround .08hh-o; y5r:=good.y y5r; x5r:=good.x x5r; + filldraw stroke rterm.e(2,1,left,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,left,.8,4); fi % arc and terminals +penlabels(1,1',2,3,4,5,6); endchar; + +ecchar "Logical not sign"; % from sym +beginchar(oct"254",12u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); pickup rule.nib; +lft x1=hround u-eps; x2=x3=w-x1; +y1=y2=good.y .5[bar_height,h]; y2-y3=1.2(h-bar_height); +draw z1--z2--z3; % bar and stem +labels(1,2,3); endchar; + +ecchar"Circled P"; % Sound recording copyright sign % jk +beginchar(oct"255",20u#,body_height#,max(paren_depth#,desc_depth#)); +autorounded; +adjust_fit(if monospace:-3u#,-3u# else: 0,0 fi); pickup rule.nib; +if .5w <> good.x .5w: change_width; fi +lft x6=hround u; x2=w-x6; top y8=h+o; bot y4=-d-o; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); +clearxy; autorounding:=0; +numeric hh,ll,rr; hh=vround .7cap_height; ll=hround(.5w-6u); +rr=hround(.5w+6u); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +pos0(cap_stem',0); pos0'(cap_stem,0); +lft x1l=ll+hround max(2u,3u-.5cap_stem'); top y1=hh; bot y2=0; +x1l=x2l=x0l=x0'l; y0=y0'=y7; +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(.5[vair,cap_band],-90); penpos7(.5[vair,cap_band],-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround(.5hh); x4=x6=.5w+.75u; x5r=hround(rr-u); +x4l:=x6l:=x4-.25cap_curve; +filldraw stroke z1e--z2e; % stem +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif +fi +penlabels(0,1,2,3,4,5,6); endchar; + +ecchar"Registered"; % jk +beginchar(oct"256",20u#,body_height#,max(paren_depth#,desc_depth#)); +autorounded; +adjust_fit(if monospace:-3u#,-3u# else: 0,0 fi); pickup rule.nib; +if .5w <> good.x .5w: change_width; fi +lft x6=hround u; x2=w-x6; top y8=h+o; bot y4=-d-o; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); +clearxy; autorounding:=0; +numeric hh,ll,rr; hh=vround .7cap_height; ll=hround(.5w-6u); +rr=hround(.5w+6u); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +lft x1l=lft x2l=ll+hround max(2u,3u-.5cap_stem'); top y1=hh; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(cap_curve if hefty:-3stem_corr fi,0); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; +x7=x2; y7l=vround(.5hh+.5vair); x4=x6; +if serifs: x4=.5w-.5u; x5r=hround(rr-2.25u); +else: x4=.5w+.5u; x5r=hround(rr-u); fi +x4l:=x6l:=x4-.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +if serifs: pos6'(vair,-90); pos0(cap_stem,180); + pos8(cap_curve,180); pos9(vair,-90); pos10(hair,0); + z6'=z6; lft x0r=lft x8r=hround(x5-2/3u-.5cap_curve); + y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r]; + bot y9r=-o; rt x10r=hround(rr-.25u); y10=1/3[y2,y7]; + filldraw stroke z6'e{right}..z0e---z8e....z9e{right}..z10e{up}; % tail + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif +else: penpos8(cap_stem-2stem_corr,0); penpos9(cap_stem,0); + x8=x6+.5u; y8=y6; x9r=hround(rr-.5u); y9=0; + fill z8l--diag_end(8l,9l,.5,1,9r,8r)--z8r--cycle; fi % tail +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +ecchar"High bar (Macron)"; % jk +beginchar(oct"257",14u#,min(asc_height#,2x_height#),0); +adjust_fit(0,0); pickup rule.nib; +lft x1=hround 1.5u-eps; x2=w-x1; top y1=top y2=h; +draw z1--z2; % bar +labels(1,2); endchar; + +ecchar "Plus-or-minus sign"; % from sym +beginarithchar(oct"261"); pickup rule.nib; +numeric shiftup; shiftup=vround 1.5u; +x1=x2=.5w; lft x3=lft x5=hround u-eps; x4=x6=w-x3; +.5[y1,y2]=y3=y4=math_axis+shiftup; top y1=h+shiftup; y5=y6=y2; +draw z1--z2; % stem +draw z3--z4; % plus bar +draw z5--z6; % minus bar +labels(1,2,3,4,5,6); endchar; + +ecchar"Degree sign"; % Yannis, Unicode Computer Modern +beginchar(oct"260",4u#,cap_height#,0); +adjust_fit(if monospace: 1.5u#,1.5u# else: u#,u# fi); +pickup rule.nib; autorounded; +if .5w <> good.x .5w: change_width; fi +lft x6=0; x2=w-x6; top y8=h; y8-y2=x2-x8; +circle_points; draw_circle; % circle +labels(1,2,3,4,5,6,7,8); endchar; + +ecchar"Tick mark"; % from accent (cmfonts, acute accent) +beginchar(oct"264",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; + +iff not variant_g: +ecchar"Micro sign"; % jk, based on cm `u' +beginchar(oct"265",10u#,x_height#,desc_depth#); +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); pos7(stem,0); +pos3(stem,0); pos4(stem',0); +lft x1l=hround(2.5u-.5stem); x1=x2=x7; x3=w-x1; x3r=x4r; +if serifs: top y1=h+min(oo,serif_drop); 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'; bot y7=-d; +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--z7e; % 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: sloped_serif.l(1,2,a,1/3,jut,serif_drop); % upper left serif + sloped_serif.l(3,0,b,1/3,jut,serif_drop); % upper right serif + sloped_serif.r(4,0',c,1/3,jut,min(oo,serif_drop)); % lower right serif + pickup crisp.nib; + dish_serif(7,1,d,1/3,jut,e,1/3,jut); fi % lower left serif +penlabels(1,2,3,4,5,7); labels(6); endchar; + +iff variant_g: % This triggers italics +ecchar "Micro sign"; % from greekl (cm) +beginchar(oct"265",9u#,x_height#,desc_depth#); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +pos1(stem,-180); pos2(stem,-180); x1=x2=x3; lft x1r=hround(1.5u-.5stem); +y1+.5stem=h+oo; y2-.5stem=-d-o; +filldraw z1r---z2r..z2l---z1l..cycle; % left stem +pos3(stem,-180); pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); +x5=x6=x7; x9=w; hook_out(7,8,9); % closing hook +y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h; +filldraw stroke super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e; % right stem +math_fit(desc_depth#*slant+.5stem#-u#,ic#); +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Paragraph mark"; % from mathsy +beginchar(oct"266",11u#,asc_height#,desc_depth#); +adjust_fit(0,0); pickup rule.nib; autorounded; +top y1=h; bot y6=-d-eps; y4=y7=y9=y1; +y8=y6; y3=y5=good.y .5[y1,y6]; +x7-x4=ceiling(rule_thickness+1.25u); +lft x2=hround u; y2=.5[y1,y3]; x4=x5=x6; rt x9=hround(w-.5u); +x7=x8=good.x(x9-1.5u); x1=x3=min(.5w,x4); +filldraw z4..z1{left}...z2{down}...{right}z5--cycle; % filled bowl +draw z9--z4--z6; % left stem and upper serif +draw z7--z8; % right stem +if serifs: + x11=x9; x10-x8=x4-x9; + bot y10=-d-eps; y10=y11; + draw z10--z11; % lower serif +fi +labels(1,2,3,4,5,6,7,8,9,10,11); endchar; + +ecchar "Centered dot"; % reengineered for catalan l.l +beginchar(oct"267",(11u#-width_adj#-2max(2u#+.5cap_stem#,3u#)), + x_height#,0); +adjust_fit(0,0); +pickup fine.nib; +pos1(udot_diam,0); pos2(udot_diam,90); +lft x1l=hround(.5w-.5udot_diam); y1+.5udot_diam=vround(bar_height+.5udot_diam); +z1=z2; dot(1,2); % dot +penlabels(1,2); endchar; + +ecchar "Reference mark"; % From Haralambous/Plaice +beginchar(oct"270",1/3[x_height#,asc_height#], + 1/3[x_height#,asc_height#],0); +italcorr .5x_height#*slant-.5u#; +adjust_fit(if monospace: + -1/3[x_height#,asc_height#] + mono_charwd#, + -1/3[x_height#,asc_height#] + mono_charwd# + else: u#,u# fi); +pickup rule.nib; +Dot_size:=min(dot_size,max(1,.25h-rule_thickness)); +lft x1=0; top y1=h; +x2=x3=w-x1; x4=x1; .5[y1,y2]=.5[y3,y4]=.5h; y2=y4; +draw z1--z2; draw z3--z4; % diagonals +top z1'=.5[top z1,top z3]-(0,.5Dot_size); +rt z3'=.5[rt z3,rt z2]-(.5Dot_size,0); +bot z2'=.5[bot z2,bot z4]+(0,.5Dot_size); +lft z4'=.5[lft z4,lft z1]+(.5Dot_size,0); +z1'=z1''; z2'=z2''; z3'=z3''; z4'=z4''; +penpos1'(Dot_size,0); +penpos1''(Dot_size,90); dot(1',1''); +penpos2'(Dot_size,0); +penpos2''(Dot_size,90); dot(2',2''); +penpos3'(Dot_size,0); +penpos3''(Dot_size,90); dot(3',3''); +penpos4'(Dot_size,0); +penpos4''(Dot_size,90); dot(4',4''); +labels(1,2,3,4,1',2',3',4',1'',2'',3'',4'',1'r,1'l,1''r,1''l); +endchar; + +ecchar"Root sign"; % textsurd, from wnri +beginchar(oct"273",8.5u#,body_height#,paren_depth#-rule_thickness#); +italcorr body_height#*slant; +adjust_fit(0,-letter_fit#); +pickup rule.nib; + w':=7u; + x1=good.x (1/9w'+2.5u); x2=good.x (.65w'+2.5u); + bot y1=-.5d; bot y2=asc_height; + draw z1--z2; % diagonal + pickup crisp.nib; + pos3(if hefty: else: .7 fi max(curve,rule_thickness),0); + x3l=1.5[x2,x1]; y3=.5[y1,y2]; + pos4(rule_thickness,0); x4=x1; bot y4=-.5d; + pos5(vair,-45); x5l=good.x(x3l-u); z5l=whatever[z3r,z2]; + z6=z5r+whatever*(z2-z3r)=whatever[z3l,z4l]; + z7=whatever[z1,z2]=z3r+whatever*(z4l-z3l); + filldraw z5r--z6--z4l--z4--z7--z3r--z5l--cycle; % left diagonal and serif +x8=x2+2u; y8=y2; +pickup rule.nib; +draw z2--z8; +penlabels(1,2,3,4,5,6,7,8); +endchar; + +ecchar "Euro currency sign"; % jk +beginchar(oct"277",14u#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(0,0); +pickup fine.nib; +pos2(slab,90); pos1(hair,0); +top y2r=h; x2=hround 9u; rt x1r=hround(w-u); y1=good.y(y2l-beak)-eps; +arm(2,1,a,beak_darkness,beak_jut); % upper arm and beak +pos3(cap_curve,180); pos4(slab,270); pos5(hair,0); +bot y4r=0; x4=x2; rt x5r=hround(w-u); y5=good.y(y4l+7/6beak)+eps; +arm(4,5,b,beak_darkness,1.5beak_jut); % lower arm and beak +lft x3r =hround 2.5u; y3=.52h; +filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % arc +pos6(slab,-90); pos7(hair,0); pos8(slab,90); pos9(hair,0); +bot y6r=top y8r+if hefty: 1.333 else: 2 fi vair + =vround(y3+if hefty: .667 fi vair+eps); +y7=good.y(y6l+beak)+eps; y9=good.y(y8l-beak)-eps; +x6=x8=hround u; rt x7r=rt x9r=hround 10u; +arm(6,7,c,beak_darkness,0); arm(8,9,d,beak_darkness,0); % middle arms +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +ecchar "Times operator"; % from mathsy +beginarithchar(oct"326"); pickup rule.nib; +x1=good.x(1/sqrt2)[.5w,rt u]; y1=good.y(1/sqrt2)[math_axis,bot h]; +x2=x3=w-x1; x4=x1; .5[y1,y2]=.5[y3,y4]=math_axis; y2=y4; +draw z1--z2; draw z3--z4; % diagonals +labels(1,2,3,4); endchar; + +ecchar "Elementary division operator"; % from mathsy +beginarithchar(oct"366"); pickup rule.nib; +numeric del; del=dot_size-currentbreadth; +x3-.5del=good.x(.5w-.5del); center_on(x3); +y3+.5del=good.y(math_axis+math_spread[.5x_height,.6x_height]+.5del); +lft x1=hround u-eps; x2=w-x1; y1=y2=math_axis; +draw z1--z2; % bar +pos3(dot_size,0); pos4(dot_size,90); z3=z4; +pos5(dot_size,0); pos6(dot_size,90); z5=z6; x5=x3; .5[y3,y5]=math_axis; +dot(3,4); dot(5,6); % dots +penlabels(1,2,3,4,5,6); endchar; + + +endinput; |