diff options
Diffstat (limited to 'fonts/jknappen/fc')
288 files changed, 16615 insertions, 0 deletions
diff --git a/fonts/jknappen/fc/ready-mf/fcbx10.mf b/fonts/jknappen/fc/ready-mf/fcbx10.mf new file mode 100644 index 0000000000..e9b3a2ff23 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx11.mf b/fonts/jknappen/fc/ready-mf/fcbx11.mf new file mode 100644 index 0000000000..12ce93a21c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx12.mf b/fonts/jknappen/fc/ready-mf/fcbx12.mf new file mode 100644 index 0000000000..3a979153c2 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx14.mf b/fonts/jknappen/fc/ready-mf/fcbx14.mf new file mode 100644 index 0000000000..cc483c617a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx17.mf b/fonts/jknappen/fc/ready-mf/fcbx17.mf new file mode 100644 index 0000000000..52f6f508ac --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx20.mf b/fonts/jknappen/fc/ready-mf/fcbx20.mf new file mode 100644 index 0000000000..5d2765b2d3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx25.mf b/fonts/jknappen/fc/ready-mf/fcbx25.mf new file mode 100644 index 0000000000..a622b26fc0 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx5.mf b/fonts/jknappen/fc/ready-mf/fcbx5.mf new file mode 100644 index 0000000000..8653444f6c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx6.mf b/fonts/jknappen/fc/ready-mf/fcbx6.mf new file mode 100644 index 0000000000..416cef98ab --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx7.mf b/fonts/jknappen/fc/ready-mf/fcbx7.mf new file mode 100644 index 0000000000..9c553ca25b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx8.mf b/fonts/jknappen/fc/ready-mf/fcbx8.mf new file mode 100644 index 0000000000..7a3bd3aae2 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbx9.mf b/fonts/jknappen/fc/ready-mf/fcbx9.mf new file mode 100644 index 0000000000..34b6c0bb3e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbx9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcbx; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi10.mf b/fonts/jknappen/fc/ready-mf/fcbxi10.mf new file mode 100644 index 0000000000..0ced91c4a2 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi11.mf b/fonts/jknappen/fc/ready-mf/fcbxi11.mf new file mode 100644 index 0000000000..83bd66e7d5 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi12.mf b/fonts/jknappen/fc/ready-mf/fcbxi12.mf new file mode 100644 index 0000000000..51d2053ab9 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi14.mf b/fonts/jknappen/fc/ready-mf/fcbxi14.mf new file mode 100644 index 0000000000..501da2ea4f --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi17.mf b/fonts/jknappen/fc/ready-mf/fcbxi17.mf new file mode 100644 index 0000000000..b401554c9c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi20.mf b/fonts/jknappen/fc/ready-mf/fcbxi20.mf new file mode 100644 index 0000000000..92851c8e1a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi25.mf b/fonts/jknappen/fc/ready-mf/fcbxi25.mf new file mode 100644 index 0000000000..7c79a5016e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi5.mf b/fonts/jknappen/fc/ready-mf/fcbxi5.mf new file mode 100644 index 0000000000..721f5b9cc3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi6.mf b/fonts/jknappen/fc/ready-mf/fcbxi6.mf new file mode 100644 index 0000000000..72d77aa777 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi7.mf b/fonts/jknappen/fc/ready-mf/fcbxi7.mf new file mode 100644 index 0000000000..209918d7e9 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi8.mf b/fonts/jknappen/fc/ready-mf/fcbxi8.mf new file mode 100644 index 0000000000..536760c9d8 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxi9.mf b/fonts/jknappen/fc/ready-mf/fcbxi9.mf new file mode 100644 index 0000000000..de56c1b41e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxi9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcbxi; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl10.mf b/fonts/jknappen/fc/ready-mf/fcbxsl10.mf new file mode 100644 index 0000000000..b61307a7e4 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl11.mf b/fonts/jknappen/fc/ready-mf/fcbxsl11.mf new file mode 100644 index 0000000000..581f754f47 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl12.mf b/fonts/jknappen/fc/ready-mf/fcbxsl12.mf new file mode 100644 index 0000000000..812c641070 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl14.mf b/fonts/jknappen/fc/ready-mf/fcbxsl14.mf new file mode 100644 index 0000000000..d812af85bc --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl17.mf b/fonts/jknappen/fc/ready-mf/fcbxsl17.mf new file mode 100644 index 0000000000..f865ae9b14 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl20.mf b/fonts/jknappen/fc/ready-mf/fcbxsl20.mf new file mode 100644 index 0000000000..acdcda3ab1 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl25.mf b/fonts/jknappen/fc/ready-mf/fcbxsl25.mf new file mode 100644 index 0000000000..f9adc77c46 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl5.mf b/fonts/jknappen/fc/ready-mf/fcbxsl5.mf new file mode 100644 index 0000000000..c9d6658f0e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl6.mf b/fonts/jknappen/fc/ready-mf/fcbxsl6.mf new file mode 100644 index 0000000000..a7a226373b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl7.mf b/fonts/jknappen/fc/ready-mf/fcbxsl7.mf new file mode 100644 index 0000000000..78538c3c5d --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl8.mf b/fonts/jknappen/fc/ready-mf/fcbxsl8.mf new file mode 100644 index 0000000000..c5fc485ff3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxsl9.mf b/fonts/jknappen/fc/ready-mf/fcbxsl9.mf new file mode 100644 index 0000000000..92e71f2548 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxsl9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcbxsl; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu10.mf b/fonts/jknappen/fc/ready-mf/fcbxu10.mf new file mode 100644 index 0000000000..c897a39296 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu11.mf b/fonts/jknappen/fc/ready-mf/fcbxu11.mf new file mode 100644 index 0000000000..32a75eb96b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu12.mf b/fonts/jknappen/fc/ready-mf/fcbxu12.mf new file mode 100644 index 0000000000..b2a5cd8e75 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu14.mf b/fonts/jknappen/fc/ready-mf/fcbxu14.mf new file mode 100644 index 0000000000..3b1403d230 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu17.mf b/fonts/jknappen/fc/ready-mf/fcbxu17.mf new file mode 100644 index 0000000000..1153a940c8 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu20.mf b/fonts/jknappen/fc/ready-mf/fcbxu20.mf new file mode 100644 index 0000000000..9b09841c87 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu25.mf b/fonts/jknappen/fc/ready-mf/fcbxu25.mf new file mode 100644 index 0000000000..3a580bff2b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu5.mf b/fonts/jknappen/fc/ready-mf/fcbxu5.mf new file mode 100644 index 0000000000..8642abb397 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu6.mf b/fonts/jknappen/fc/ready-mf/fcbxu6.mf new file mode 100644 index 0000000000..08d3efe51c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu7.mf b/fonts/jknappen/fc/ready-mf/fcbxu7.mf new file mode 100644 index 0000000000..7eb363c8f8 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu8.mf b/fonts/jknappen/fc/ready-mf/fcbxu8.mf new file mode 100644 index 0000000000..bf640fa780 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fcbxu9.mf b/fonts/jknappen/fc/ready-mf/fcbxu9.mf new file mode 100644 index 0000000000..37a85f1bd3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcbxu9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcbxu; diff --git a/fonts/jknappen/fc/ready-mf/fccsc10.mf b/fonts/jknappen/fc/ready-mf/fccsc10.mf new file mode 100644 index 0000000000..2dfa97601e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc11.mf b/fonts/jknappen/fc/ready-mf/fccsc11.mf new file mode 100644 index 0000000000..a58161702e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc12.mf b/fonts/jknappen/fc/ready-mf/fccsc12.mf new file mode 100644 index 0000000000..5cf623580f --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc14.mf b/fonts/jknappen/fc/ready-mf/fccsc14.mf new file mode 100644 index 0000000000..7e049d4c7b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc17.mf b/fonts/jknappen/fc/ready-mf/fccsc17.mf new file mode 100644 index 0000000000..e91cbde83f --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc20.mf b/fonts/jknappen/fc/ready-mf/fccsc20.mf new file mode 100644 index 0000000000..32c92be4f0 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc25.mf b/fonts/jknappen/fc/ready-mf/fccsc25.mf new file mode 100644 index 0000000000..9aa3258d29 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc5.mf b/fonts/jknappen/fc/ready-mf/fccsc5.mf new file mode 100644 index 0000000000..2e8825c7e8 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc6.mf b/fonts/jknappen/fc/ready-mf/fccsc6.mf new file mode 100644 index 0000000000..46010c47e7 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc7.mf b/fonts/jknappen/fc/ready-mf/fccsc7.mf new file mode 100644 index 0000000000..90cd98e0dc --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc8.mf b/fonts/jknappen/fc/ready-mf/fccsc8.mf new file mode 100644 index 0000000000..c8bc50deb6 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fccsc9.mf b/fonts/jknappen/fc/ready-mf/fccsc9.mf new file mode 100644 index 0000000000..f83d1f6048 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fccsc9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fccsc; diff --git a/fonts/jknappen/fc/ready-mf/fci10.mf b/fonts/jknappen/fc/ready-mf/fci10.mf new file mode 100644 index 0000000000..ff10c5f84f --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci11.mf b/fonts/jknappen/fc/ready-mf/fci11.mf new file mode 100644 index 0000000000..5f24728386 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci12.mf b/fonts/jknappen/fc/ready-mf/fci12.mf new file mode 100644 index 0000000000..04c971b7c3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci14.mf b/fonts/jknappen/fc/ready-mf/fci14.mf new file mode 100644 index 0000000000..c51549e0dd --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci17.mf b/fonts/jknappen/fc/ready-mf/fci17.mf new file mode 100644 index 0000000000..225d4f08af --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci20.mf b/fonts/jknappen/fc/ready-mf/fci20.mf new file mode 100644 index 0000000000..cfa60ffe09 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci25.mf b/fonts/jknappen/fc/ready-mf/fci25.mf new file mode 100644 index 0000000000..3269559420 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci5.mf b/fonts/jknappen/fc/ready-mf/fci5.mf new file mode 100644 index 0000000000..861c52fdee --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci6.mf b/fonts/jknappen/fc/ready-mf/fci6.mf new file mode 100644 index 0000000000..3197ba1f0f --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci7.mf b/fonts/jknappen/fc/ready-mf/fci7.mf new file mode 100644 index 0000000000..c824389a58 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci8.mf b/fonts/jknappen/fc/ready-mf/fci8.mf new file mode 100644 index 0000000000..99b018364f --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fci9.mf b/fonts/jknappen/fc/ready-mf/fci9.mf new file mode 100644 index 0000000000..93aa380a56 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fci9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fci; diff --git a/fonts/jknappen/fc/ready-mf/fcitt10.mf b/fonts/jknappen/fc/ready-mf/fcitt10.mf new file mode 100644 index 0000000000..b445c9cafb --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt11.mf b/fonts/jknappen/fc/ready-mf/fcitt11.mf new file mode 100644 index 0000000000..8aa86dff18 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt12.mf b/fonts/jknappen/fc/ready-mf/fcitt12.mf new file mode 100644 index 0000000000..8a1ac2c506 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt14.mf b/fonts/jknappen/fc/ready-mf/fcitt14.mf new file mode 100644 index 0000000000..bd77d53b65 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt17.mf b/fonts/jknappen/fc/ready-mf/fcitt17.mf new file mode 100644 index 0000000000..8371023f87 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt20.mf b/fonts/jknappen/fc/ready-mf/fcitt20.mf new file mode 100644 index 0000000000..a313e42b28 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt25.mf b/fonts/jknappen/fc/ready-mf/fcitt25.mf new file mode 100644 index 0000000000..ea3709a56e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt5.mf b/fonts/jknappen/fc/ready-mf/fcitt5.mf new file mode 100644 index 0000000000..fd2a5e7fe9 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt6.mf b/fonts/jknappen/fc/ready-mf/fcitt6.mf new file mode 100644 index 0000000000..d17f7eb777 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt7.mf b/fonts/jknappen/fc/ready-mf/fcitt7.mf new file mode 100644 index 0000000000..8933fe35dd --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt8.mf b/fonts/jknappen/fc/ready-mf/fcitt8.mf new file mode 100644 index 0000000000..78016ed8f5 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcitt9.mf b/fonts/jknappen/fc/ready-mf/fcitt9.mf new file mode 100644 index 0000000000..f14831b082 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcitt9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcitt; diff --git a/fonts/jknappen/fc/ready-mf/fcr10.mf b/fonts/jknappen/fc/ready-mf/fcr10.mf new file mode 100644 index 0000000000..c7e1b79b4d --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr11.mf b/fonts/jknappen/fc/ready-mf/fcr11.mf new file mode 100644 index 0000000000..ff2ae68617 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr12.mf b/fonts/jknappen/fc/ready-mf/fcr12.mf new file mode 100644 index 0000000000..e49eb12232 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr14.mf b/fonts/jknappen/fc/ready-mf/fcr14.mf new file mode 100644 index 0000000000..7773122e69 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr17.mf b/fonts/jknappen/fc/ready-mf/fcr17.mf new file mode 100644 index 0000000000..9f94a76f75 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr20.mf b/fonts/jknappen/fc/ready-mf/fcr20.mf new file mode 100644 index 0000000000..6ebc8f341a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr25.mf b/fonts/jknappen/fc/ready-mf/fcr25.mf new file mode 100644 index 0000000000..620331f69c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr5.mf b/fonts/jknappen/fc/ready-mf/fcr5.mf new file mode 100644 index 0000000000..738ecc5a9d --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr6.mf b/fonts/jknappen/fc/ready-mf/fcr6.mf new file mode 100644 index 0000000000..e679a968f9 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr7.mf b/fonts/jknappen/fc/ready-mf/fcr7.mf new file mode 100644 index 0000000000..e3a04bd9f7 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr8.mf b/fonts/jknappen/fc/ready-mf/fcr8.mf new file mode 100644 index 0000000000..11d804496a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcr9.mf b/fonts/jknappen/fc/ready-mf/fcr9.mf new file mode 100644 index 0000000000..212b45b42e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcr9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcr; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx10.mf b/fonts/jknappen/fc/ready-mf/fcsibx10.mf new file mode 100644 index 0000000000..de87fe4739 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx11.mf b/fonts/jknappen/fc/ready-mf/fcsibx11.mf new file mode 100644 index 0000000000..56d6851c6d --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx12.mf b/fonts/jknappen/fc/ready-mf/fcsibx12.mf new file mode 100644 index 0000000000..4a3cc799e1 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx14.mf b/fonts/jknappen/fc/ready-mf/fcsibx14.mf new file mode 100644 index 0000000000..24f9396e3d --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx17.mf b/fonts/jknappen/fc/ready-mf/fcsibx17.mf new file mode 100644 index 0000000000..f2be02d82e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx20.mf b/fonts/jknappen/fc/ready-mf/fcsibx20.mf new file mode 100644 index 0000000000..83849ab982 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx25.mf b/fonts/jknappen/fc/ready-mf/fcsibx25.mf new file mode 100644 index 0000000000..80da2c4bde --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx5.mf b/fonts/jknappen/fc/ready-mf/fcsibx5.mf new file mode 100644 index 0000000000..23d6fd8e82 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx6.mf b/fonts/jknappen/fc/ready-mf/fcsibx6.mf new file mode 100644 index 0000000000..8201b9775c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx7.mf b/fonts/jknappen/fc/ready-mf/fcsibx7.mf new file mode 100644 index 0000000000..3d30fe57f7 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx8.mf b/fonts/jknappen/fc/ready-mf/fcsibx8.mf new file mode 100644 index 0000000000..a654857130 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsibx9.mf b/fonts/jknappen/fc/ready-mf/fcsibx9.mf new file mode 100644 index 0000000000..dbf56c8d59 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsibx9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcsibx; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt10.mf b/fonts/jknappen/fc/ready-mf/fcsitt10.mf new file mode 100644 index 0000000000..88815f26de --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt11.mf b/fonts/jknappen/fc/ready-mf/fcsitt11.mf new file mode 100644 index 0000000000..20f635775e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt12.mf b/fonts/jknappen/fc/ready-mf/fcsitt12.mf new file mode 100644 index 0000000000..6a2b79c7c5 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt14.mf b/fonts/jknappen/fc/ready-mf/fcsitt14.mf new file mode 100644 index 0000000000..19801a0163 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt17.mf b/fonts/jknappen/fc/ready-mf/fcsitt17.mf new file mode 100644 index 0000000000..7cc293711c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt20.mf b/fonts/jknappen/fc/ready-mf/fcsitt20.mf new file mode 100644 index 0000000000..0174c833aa --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt25.mf b/fonts/jknappen/fc/ready-mf/fcsitt25.mf new file mode 100644 index 0000000000..5fdb68214a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt5.mf b/fonts/jknappen/fc/ready-mf/fcsitt5.mf new file mode 100644 index 0000000000..25846e9fc3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt6.mf b/fonts/jknappen/fc/ready-mf/fcsitt6.mf new file mode 100644 index 0000000000..b3bddf3034 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt7.mf b/fonts/jknappen/fc/ready-mf/fcsitt7.mf new file mode 100644 index 0000000000..4054948fdc --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt8.mf b/fonts/jknappen/fc/ready-mf/fcsitt8.mf new file mode 100644 index 0000000000..f3f266c2ef --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsitt9.mf b/fonts/jknappen/fc/ready-mf/fcsitt9.mf new file mode 100644 index 0000000000..6dd7653997 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsitt9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcsitt; diff --git a/fonts/jknappen/fc/ready-mf/fcsl10.mf b/fonts/jknappen/fc/ready-mf/fcsl10.mf new file mode 100644 index 0000000000..b91c91ca0d --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl11.mf b/fonts/jknappen/fc/ready-mf/fcsl11.mf new file mode 100644 index 0000000000..5d4ec9ba5a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl12.mf b/fonts/jknappen/fc/ready-mf/fcsl12.mf new file mode 100644 index 0000000000..eb62d9ba93 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl14.mf b/fonts/jknappen/fc/ready-mf/fcsl14.mf new file mode 100644 index 0000000000..1009fd6cfd --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl17.mf b/fonts/jknappen/fc/ready-mf/fcsl17.mf new file mode 100644 index 0000000000..e2ac8b8014 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl20.mf b/fonts/jknappen/fc/ready-mf/fcsl20.mf new file mode 100644 index 0000000000..da6fa6183e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl25.mf b/fonts/jknappen/fc/ready-mf/fcsl25.mf new file mode 100644 index 0000000000..515b54740e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl5.mf b/fonts/jknappen/fc/ready-mf/fcsl5.mf new file mode 100644 index 0000000000..9c2cd27b77 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl6.mf b/fonts/jknappen/fc/ready-mf/fcsl6.mf new file mode 100644 index 0000000000..09860d1223 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl7.mf b/fonts/jknappen/fc/ready-mf/fcsl7.mf new file mode 100644 index 0000000000..63098beaaf --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl8.mf b/fonts/jknappen/fc/ready-mf/fcsl8.mf new file mode 100644 index 0000000000..7bd0935060 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcsl9.mf b/fonts/jknappen/fc/ready-mf/fcsl9.mf new file mode 100644 index 0000000000..d51b3cc539 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsl9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcsl; diff --git a/fonts/jknappen/fc/ready-mf/fcss10.mf b/fonts/jknappen/fc/ready-mf/fcss10.mf new file mode 100644 index 0000000000..1cb69788c1 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss11.mf b/fonts/jknappen/fc/ready-mf/fcss11.mf new file mode 100644 index 0000000000..c72233bdce --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss12.mf b/fonts/jknappen/fc/ready-mf/fcss12.mf new file mode 100644 index 0000000000..b19b1eb65c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss14.mf b/fonts/jknappen/fc/ready-mf/fcss14.mf new file mode 100644 index 0000000000..b7a4d1888f --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss17.mf b/fonts/jknappen/fc/ready-mf/fcss17.mf new file mode 100644 index 0000000000..d5cd565470 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss20.mf b/fonts/jknappen/fc/ready-mf/fcss20.mf new file mode 100644 index 0000000000..30b335e036 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss25.mf b/fonts/jknappen/fc/ready-mf/fcss25.mf new file mode 100644 index 0000000000..5535118a48 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss5.mf b/fonts/jknappen/fc/ready-mf/fcss5.mf new file mode 100644 index 0000000000..6a5f6a5032 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss6.mf b/fonts/jknappen/fc/ready-mf/fcss6.mf new file mode 100644 index 0000000000..2e650d3ff5 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss7.mf b/fonts/jknappen/fc/ready-mf/fcss7.mf new file mode 100644 index 0000000000..a81d09d9c7 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss8.mf b/fonts/jknappen/fc/ready-mf/fcss8.mf new file mode 100644 index 0000000000..bc3fb3536c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcss9.mf b/fonts/jknappen/fc/ready-mf/fcss9.mf new file mode 100644 index 0000000000..b2277fb142 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcss9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcss; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx10.mf b/fonts/jknappen/fc/ready-mf/fcssbx10.mf new file mode 100644 index 0000000000..9e616f9f8e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx11.mf b/fonts/jknappen/fc/ready-mf/fcssbx11.mf new file mode 100644 index 0000000000..5452335cbf --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx12.mf b/fonts/jknappen/fc/ready-mf/fcssbx12.mf new file mode 100644 index 0000000000..52d1cc89e7 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx14.mf b/fonts/jknappen/fc/ready-mf/fcssbx14.mf new file mode 100644 index 0000000000..fcc1b6d8a1 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx17.mf b/fonts/jknappen/fc/ready-mf/fcssbx17.mf new file mode 100644 index 0000000000..fb27cc134a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx20.mf b/fonts/jknappen/fc/ready-mf/fcssbx20.mf new file mode 100644 index 0000000000..c7141d9ede --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx25.mf b/fonts/jknappen/fc/ready-mf/fcssbx25.mf new file mode 100644 index 0000000000..1054da063b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx5.mf b/fonts/jknappen/fc/ready-mf/fcssbx5.mf new file mode 100644 index 0000000000..9d14311ddd --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx6.mf b/fonts/jknappen/fc/ready-mf/fcssbx6.mf new file mode 100644 index 0000000000..260dae1f76 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx7.mf b/fonts/jknappen/fc/ready-mf/fcssbx7.mf new file mode 100644 index 0000000000..1b234fe35c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx8.mf b/fonts/jknappen/fc/ready-mf/fcssbx8.mf new file mode 100644 index 0000000000..626c0db327 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssbx9.mf b/fonts/jknappen/fc/ready-mf/fcssbx9.mf new file mode 100644 index 0000000000..d6e9ea8ba3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssbx9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcssbx; diff --git a/fonts/jknappen/fc/ready-mf/fcssi10.mf b/fonts/jknappen/fc/ready-mf/fcssi10.mf new file mode 100644 index 0000000000..810f0f0933 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi11.mf b/fonts/jknappen/fc/ready-mf/fcssi11.mf new file mode 100644 index 0000000000..a768856b29 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi12.mf b/fonts/jknappen/fc/ready-mf/fcssi12.mf new file mode 100644 index 0000000000..b17335fef3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi14.mf b/fonts/jknappen/fc/ready-mf/fcssi14.mf new file mode 100644 index 0000000000..aca5fa2ffb --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi17.mf b/fonts/jknappen/fc/ready-mf/fcssi17.mf new file mode 100644 index 0000000000..2033330a58 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi20.mf b/fonts/jknappen/fc/ready-mf/fcssi20.mf new file mode 100644 index 0000000000..acb9a42cdb --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi25.mf b/fonts/jknappen/fc/ready-mf/fcssi25.mf new file mode 100644 index 0000000000..acbb5f49a8 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi5.mf b/fonts/jknappen/fc/ready-mf/fcssi5.mf new file mode 100644 index 0000000000..662dbd06f6 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi6.mf b/fonts/jknappen/fc/ready-mf/fcssi6.mf new file mode 100644 index 0000000000..3909ce43dd --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi7.mf b/fonts/jknappen/fc/ready-mf/fcssi7.mf new file mode 100644 index 0000000000..e054b77a15 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi8.mf b/fonts/jknappen/fc/ready-mf/fcssi8.mf new file mode 100644 index 0000000000..b8f0e67444 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcssi9.mf b/fonts/jknappen/fc/ready-mf/fcssi9.mf new file mode 100644 index 0000000000..b4257abd96 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcssi9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcssi; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt10.mf b/fonts/jknappen/fc/ready-mf/fcsstt10.mf new file mode 100644 index 0000000000..4047e2473c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt11.mf b/fonts/jknappen/fc/ready-mf/fcsstt11.mf new file mode 100644 index 0000000000..ee3984a814 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt12.mf b/fonts/jknappen/fc/ready-mf/fcsstt12.mf new file mode 100644 index 0000000000..ae16ef1487 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt14.mf b/fonts/jknappen/fc/ready-mf/fcsstt14.mf new file mode 100644 index 0000000000..7369e09fa4 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt17.mf b/fonts/jknappen/fc/ready-mf/fcsstt17.mf new file mode 100644 index 0000000000..68540773a2 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt20.mf b/fonts/jknappen/fc/ready-mf/fcsstt20.mf new file mode 100644 index 0000000000..44d7714d03 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt25.mf b/fonts/jknappen/fc/ready-mf/fcsstt25.mf new file mode 100644 index 0000000000..45648f6574 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt5.mf b/fonts/jknappen/fc/ready-mf/fcsstt5.mf new file mode 100644 index 0000000000..7342dbadf3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt6.mf b/fonts/jknappen/fc/ready-mf/fcsstt6.mf new file mode 100644 index 0000000000..fed8619d88 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt7.mf b/fonts/jknappen/fc/ready-mf/fcsstt7.mf new file mode 100644 index 0000000000..fed6e1659a --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt8.mf b/fonts/jknappen/fc/ready-mf/fcsstt8.mf new file mode 100644 index 0000000000..45498cfb9b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fcsstt9.mf b/fonts/jknappen/fc/ready-mf/fcsstt9.mf new file mode 100644 index 0000000000..a6ca879074 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcsstt9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcsstt; diff --git a/fonts/jknappen/fc/ready-mf/fctt10.mf b/fonts/jknappen/fc/ready-mf/fctt10.mf new file mode 100644 index 0000000000..bb6ee4d91c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt11.mf b/fonts/jknappen/fc/ready-mf/fctt11.mf new file mode 100644 index 0000000000..360e490622 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt12.mf b/fonts/jknappen/fc/ready-mf/fctt12.mf new file mode 100644 index 0000000000..467f2d3635 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt14.mf b/fonts/jknappen/fc/ready-mf/fctt14.mf new file mode 100644 index 0000000000..3f79af317d --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt17.mf b/fonts/jknappen/fc/ready-mf/fctt17.mf new file mode 100644 index 0000000000..7ac151b066 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt20.mf b/fonts/jknappen/fc/ready-mf/fctt20.mf new file mode 100644 index 0000000000..3c79682f65 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt25.mf b/fonts/jknappen/fc/ready-mf/fctt25.mf new file mode 100644 index 0000000000..15d7a2dc31 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt5.mf b/fonts/jknappen/fc/ready-mf/fctt5.mf new file mode 100644 index 0000000000..72b10dbc48 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt6.mf b/fonts/jknappen/fc/ready-mf/fctt6.mf new file mode 100644 index 0000000000..a6ebcccce6 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt7.mf b/fonts/jknappen/fc/ready-mf/fctt7.mf new file mode 100644 index 0000000000..1a38cc7497 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt8.mf b/fonts/jknappen/fc/ready-mf/fctt8.mf new file mode 100644 index 0000000000..3a589d49f1 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fctt9.mf b/fonts/jknappen/fc/ready-mf/fctt9.mf new file mode 100644 index 0000000000..a1e41767a4 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fctt9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fctt; diff --git a/fonts/jknappen/fc/ready-mf/fcu10.mf b/fonts/jknappen/fc/ready-mf/fcu10.mf new file mode 100644 index 0000000000..af7f6e177c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu10.mf @@ -0,0 +1,2 @@ +design_size=10; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu11.mf b/fonts/jknappen/fc/ready-mf/fcu11.mf new file mode 100644 index 0000000000..f4d2033984 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu11.mf @@ -0,0 +1,2 @@ +design_size=10.95; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu12.mf b/fonts/jknappen/fc/ready-mf/fcu12.mf new file mode 100644 index 0000000000..ff6155bb1c --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu12.mf @@ -0,0 +1,2 @@ +design_size=12; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu14.mf b/fonts/jknappen/fc/ready-mf/fcu14.mf new file mode 100644 index 0000000000..29bbec4bf9 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu14.mf @@ -0,0 +1,2 @@ +design_size=14.4; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu17.mf b/fonts/jknappen/fc/ready-mf/fcu17.mf new file mode 100644 index 0000000000..7d06f22162 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu17.mf @@ -0,0 +1,2 @@ +design_size=17.28; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu20.mf b/fonts/jknappen/fc/ready-mf/fcu20.mf new file mode 100644 index 0000000000..1895def3b3 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu20.mf @@ -0,0 +1,2 @@ +design_size=20.74; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu25.mf b/fonts/jknappen/fc/ready-mf/fcu25.mf new file mode 100644 index 0000000000..44b4e8ed8e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu25.mf @@ -0,0 +1,2 @@ +design_size=24.88; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu5.mf b/fonts/jknappen/fc/ready-mf/fcu5.mf new file mode 100644 index 0000000000..ad438e93f0 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu5.mf @@ -0,0 +1,2 @@ +design_size=5; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu6.mf b/fonts/jknappen/fc/ready-mf/fcu6.mf new file mode 100644 index 0000000000..7b82a809c4 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu6.mf @@ -0,0 +1,2 @@ +design_size=6; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu7.mf b/fonts/jknappen/fc/ready-mf/fcu7.mf new file mode 100644 index 0000000000..ae3894abc2 --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu7.mf @@ -0,0 +1,2 @@ +design_size=7; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu8.mf b/fonts/jknappen/fc/ready-mf/fcu8.mf new file mode 100644 index 0000000000..e64a5a080e --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu8.mf @@ -0,0 +1,2 @@ +design_size=8; +input b-fcu; diff --git a/fonts/jknappen/fc/ready-mf/fcu9.mf b/fonts/jknappen/fc/ready-mf/fcu9.mf new file mode 100644 index 0000000000..cbdb46760b --- /dev/null +++ b/fonts/jknappen/fc/ready-mf/fcu9.mf @@ -0,0 +1,2 @@ +design_size=9; +input b-fcu; diff --git a/fonts/jknappen/fc/src/b-fcbx.mf b/fonts/jknappen/fc/src/b-fcbx.mf new file mode 100644 index 0000000000..db11aaba78 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcbx.mf @@ -0,0 +1,10 @@ +% African Computer Modern Bold Extended Roman +if unknown cmbase: input cmbase fi + +font_identifier:="FCBX"; font_size design_size * pt#; + +univ_acc_breadth:=0.4; % zusatz parameter for the universal accent +input c-cmbx; % compute cm bold extended parameters + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcbxi.mf b/fonts/jknappen/fc/src/b-fcbxi.mf new file mode 100644 index 0000000000..b2884c7ac5 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcbxi.mf @@ -0,0 +1,70 @@ +% African Computer Modern Bold Extended Text Italic +if unknown cmbase: input cmbase fi + +font_identifier:="FCBXI"; font_size design_size * pt#; + +univ_acc_breadth:=.4; % zusatz parameter for the universal accent + +% This font is a modification of Computer Modern Bold Extended. + +input c-cmbx; + +u#:= % unit width + ((u#*360pt#) - (design_size * 1.8))/360pt#; + +letter_fit#:= % extra space added to all sidebars + ((letter_fit#*360pt#) + (design_size * 11))/360pt#; + +crisp#:= % diameter of serif corners + ((crisp#*360pt#) + (design_size * 13))/360pt#; + +hair#:= % lowercase hairline breadth + ((hair#*360pt#) + (design_size * 3))/360pt#; + +stem#:= % lowercase stem breadth + ((stem#*360pt#) - (design_size * 3))/360pt#; + +curve#:= % lowercase curve breadth + ((curve#*360pt#) - (design_size * 3))/360pt#; + +ess#:= % breadth in middle of lowercase s + ((ess#*360pt#) - (design_size * 3))/360pt#; + +flare#:= % diameter of bulbs or breadth of terminals + ((flare#*360pt#) - (design_size * 3))/360pt#; + +dot_size#:= % diameter of dots + ((dot_size#*360pt#) - (design_size * 3))/360pt#; + +cap_hair#:= % uppercase hairline breadth + ((cap_hair#*360pt#) + (design_size * 3))/360pt#; + +cap_stem#:= % uppercase stem breadth + ((cap_stem#*360pt#) - (design_size * 2))/360pt#; + +cap_curve#:= % uppercase curve breadth + ((cap_curve#*360pt#) - (design_size * 3))/360pt#; + +cap_ess#:= % breadth in middle of uppercase s + ((cap_ess#*360pt#) - (design_size * 3) - 0.001)/360pt#; + +jut#:= % protrusion of lowercase serifs + ((jut#*360pt#) + (design_size * 2))/360pt#; + +beak_jut#:= % horizontal protrusion of beak serifs + ((beak_jut#*360pt#) - (design_size * 1) - 0.00032)/360pt#; + +o#:= % amount of overshoot for curves + ((o#*360pt#) + (design_size * 2))/360pt#; + +apex_o#:= % amount of overshoot for diagonal junctions + ((apex_o#*360pt#) + (design_size * 3) + 0.00091)/360pt#; + +slant:= % tilt ratio $(\Delta x/\Delta y)$ + 0.25; + +variant_g:= % should an italic-style g be used? + true; + + +generate fcitalic % switch to the driver file diff --git a/fonts/jknappen/fc/src/b-fcbxsl.mf b/fonts/jknappen/fc/src/b-fcbxsl.mf new file mode 100644 index 0000000000..a8e607114c --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcbxsl.mf @@ -0,0 +1,11 @@ +% African Computer Modern Bold Extended Roman Slanted +if unknown cmbase: input cmbase fi + +font_identifier:="FCBXSL"; font_size design_size * pt#; + +univ_acc_breadth:=0.4; % zusatz parameter for the universal accent +input c-cmbx; % compute cm bold extended parameters +slant:=1/6; % change slant + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcbxu.mf b/fonts/jknappen/fc/src/b-fcbxu.mf new file mode 100644 index 0000000000..037668da04 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcbxu.mf @@ -0,0 +1,66 @@ +% African Computer Modern Bold Extended Unslanted Text Italic +if unknown cmbase: input cmbase fi + +font_identifier:="FCBXU"; font_size design_size * pt#; + +univ_acc_breadth:=.4; % zusatz parameter for the universal accent + +% This font is a modification of Computer Modern Bold Extended. + +input c-cmbx; + +u#:= % unit width + ((u#*360pt#) - (design_size * 1.8))/360pt#; + +letter_fit#:= % extra space added to all sidebars + ((letter_fit#*360pt#) + (design_size * 11))/360pt#; + +crisp#:= % diameter of serif corners + ((crisp#*360pt#) + (design_size * 13))/360pt#; + +hair#:= % lowercase hairline breadth + ((hair#*360pt#) + (design_size * 3))/360pt#; + +stem#:= % lowercase stem breadth + ((stem#*360pt#) - (design_size * 3))/360pt#; + +curve#:= % lowercase curve breadth + ((curve#*360pt#) - (design_size * 3))/360pt#; + +ess#:= % breadth in middle of lowercase s + ((ess#*360pt#) - (design_size * 3))/360pt#; + +flare#:= % diameter of bulbs or breadth of terminals + ((flare#*360pt#) - (design_size * 3))/360pt#; + +dot_size#:= % diameter of dots + ((dot_size#*360pt#) - (design_size * 3))/360pt#; + +cap_hair#:= % uppercase hairline breadth + ((cap_hair#*360pt#) + (design_size * 3))/360pt#; + +cap_stem#:= % uppercase stem breadth + ((cap_stem#*360pt#) - (design_size * 2))/360pt#; + +cap_curve#:= % uppercase curve breadth + ((cap_curve#*360pt#) - (design_size * 3))/360pt#; + +cap_ess#:= % breadth in middle of uppercase s + ((cap_ess#*360pt#) - (design_size * 3) - 0.001)/360pt#; + +jut#:= % protrusion of lowercase serifs + ((jut#*360pt#) + (design_size * 2))/360pt#; + +beak_jut#:= % horizontal protrusion of beak serifs + ((beak_jut#*360pt#) - (design_size * 1) - 0.00032)/360pt#; + +o#:= % amount of overshoot for curves + ((o#*360pt#) + (design_size * 2))/360pt#; + +apex_o#:= % amount of overshoot for diagonal junctions + ((apex_o#*360pt#) + (design_size * 3) + 0.00091)/360pt#; + +variant_g:= % should an italic-style g be used? + true; + +generate fcitalic % switch to the driver file diff --git a/fonts/jknappen/fc/src/b-fccsc.mf b/fonts/jknappen/fc/src/b-fccsc.mf new file mode 100644 index 0000000000..085608e01d --- /dev/null +++ b/fonts/jknappen/fc/src/b-fccsc.mf @@ -0,0 +1,247 @@ +% This is B-FCCSC.MF +% African Computer Modern Roman Caps and Small Caps +% +% This is a parameter and driver file in one +% Version 1.3 +% Date 5-MAR-1998 +% +% (c) Copyright 1991--1998 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Barbarossaring 43 +% D 55118 Mainz + +if unknown cmbase: input cmbase fi + +font_identifier:="FCCSC"; font_size design_size * pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +% These parameters are nearly the same as the Computer Modern Roman +% parameters. + +input c-cmr; +univ_acc_breadth:=0.5; % zusatz parameter for the universal accent +u#:= % unit width + ((u#*360pt#) + (design_size * 1))/360pt#; + +letter_fit#:= % extra space added to all sidebars + ((letter_fit#*360pt#) + (design_size * 5))/360pt#; + +ligs:=1; % level of ligatures to be included + +mode_setup; +font_setup; + +input fcmacros; +input fccoding; +input olddig; % oldstyle numbers from computer modern +input fcpunct; +input fcaccent; +input fcrompct; +input uppera; +input upperbcd; +input uppere; +input upperfgh; +input upperij; +input upperklm; +input uppern; +input uppero; +input upperpqr; +input upperst; +input upperuvw; +input upperxyz; + +input fcscligt.mf; +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; +def lig_o_table (expr k) = + "o" kern k, open_o kern k, open_o_tilde kern k, + o_grave kern k, o_dot kern k, o_hat kern k, + o_tilde kern k, o_umlaut kern k, oe_lig kern k, + crossed_o kern k, o_dotu kern k, o_uline kern k, + o_bar kern k, o_hachek kern k +enddef; +% +def lig_a_table (expr k) = + "a" kern k, a_tilde kern k, ae_lig kern k +enddef; +% +def lig_u_table (expr k)= + "u" kern k, u_dotu kern k, u_tilde kern k, var_u kern k +enddef; +% +def lig_A_table (expr k) = + "A" kern k, A_tilde kern k, AE_lig kern k +enddef; +% +def lig_O_table (expr k) = + "O" kern k, open_o kern k, open_O_tilde kern k, + O_grave kern k, O_dot kern k, O_hat kern k, + O_tilde kern k, O_umlaut kern k, OE_lig kern k, + crossed_O kern k, O_dotu kern k, O_uline kern k, + O_bar kern k, O_hachek kern k +enddef; +% +def lig_U_table (expr k)= + "U" kern k, U_dotu kern k, U_tilde kern k, var_U kern k +enddef; +% + + + k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + ligtable "P": "T": hooktop_P: hooktop_T: "Y": hooktop_Y: + lig_a_table(kk#), lig_A_table(kk#); + ligtable "F": long_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#), "c" kern k#, "C" kern k#, + hooktop_c kern k#, hooktop_C kern k#, c_cedilla kern k#, + C_cedilla kern k#, + "g" kern k#, "G" kern k#, "q" kern k#, "Q" kern k#; + ligtable "O": "D": Edh: hooktop_D: open_O: open_O_tilde: O_grave: O_dot: + O_hat: O_tilde: O_umlaut: crossed_O: O_dotu: O_bar: O_hachek: + "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#, "Y" kern k#, hooktop_y kern k#, hooktop_Y kern k#; + ligtable "A": A_tilde: if serifs: "R": fi + "c" kern k#, "C" kern k#, hooktop_c kern k#, hooktop_C kern k#, + c_cedilla kern k#, C_cedilla kern k#, + lig_o_table(k#), lig_O_table(k#), "g" kern k#, "G" kern k#, + lig_u_table(k#), lig_U_table(k#), "q" kern k#, "Q" kern k#, + "L": latin_Iota: + "T" kern kk#, "t" kern kk#, long_T kern k#, long_t kern k#, + "Y" kern kk#, "y" kern kk#, hooktop_Y kern k#, hooktop_y kern k#, + "V" kern kkk#, "v" kern kkk#, "W" kern kkk#, "w" kern kkk#; + ligtable "I": "I" kern -k#; fi % Richard III + + +% now come replacements used to set the lowercase caps +% Since the number of strings is critical in the FC font, I decided to +% overwrite the uppercase settings. + +u#:= % unit width + (u#*36pt#*16)/(21*36pt#); + +width_adj#:= % width adjustment for certain characters + width_adj#; + +cap_serif_fit#:= % extra sidebar near uppercase serifs + (cap_serif_fit#*36pt#*4)/(5*36pt#); + +letter_fit#:= % extra space added to all sidebars + (letter_fit#*36pt#*24)/(5*360pt#); + +body_height#:= % height of tallest characters + (body_height#*36pt#*20.0)/(27.0*36pt#); + +cap_height#:= % height of caps + (cap_height#*36pt#*18.5)/(24.6*36pt#); + +x_height#:= % height of lowercase without ascenders + (x_height#*3.6pt#*116)/(155*3.6pt#); + +bar_height#:= % height of crossbar in lowercase e + (bar_height#*36pt#*65)/(87*36pt#); + +comma_depth#:= % depth of comma below baseline + (comma_depth#*36pt#*52)/(70*36pt#); + +stem#:= % lowercase stem breadth + (stem#*36pt#*21)/(25*36pt#); + +flare#:= % diameter of bulbs or breadth of terminals + (flare#*36pt#*25)/(33*36pt#); + +cap_hair#:= % uppercase hairline breadth + (cap_hair#*3.6pt#*91)/(11*36pt#); + +cap_stem#:= % uppercase stem breadth + (cap_stem#*36pt#*26)/(32*36pt#); + +cap_curve#:= % uppercase curve breadth + (cap_curve#*36pt#*31)/(37*36pt#); + +cap_ess#:= % breadth in middle of uppercase s + (cap_ess#*36pt#*28)/(35*36pt#); + +cap_jut#:= % protrusion of uppercase serifs + (cap_jut#*36pt#*26)/(37*36pt#); + +beak_jut#:= % horizontal protrusion of beak serifs + (beak_jut#*36pt#*7)/(10*36pt#); + +beak#:= % vertical protrusion of beak serifs + (beak#*36pt#*52)/(7*360pt#); + +slab#:= % serif and arm thickness + (slab#*36pt#*91)/(11*360pt#); + +cap_bar#:= % uppercase bar thickness + (cap_bar#*36pt#*91)/(11*360pt#); + +cap_band#:= % uppercase thickness above/below lobes + (cap_band#*36pt#*91)/(11*360pt#); + +cap_notch_cut#:= % max breadth above/below uppercase notches + cap_notch_cut#; + +o#:= % amount of overshoot for curves + (o#*36pt#*5)/(8*36pt#); + +apex_o#:= % amount of overshoot for diagonal junctions + (apex_o#*36pt#*4)/(8*36pt#); + +fudge:= % factor applied to weights of heavy characters + fudge; + +font_setup; % now try again with |lower| settings +extra_endchar:=extra_endchar&"charcode:=charcode+code_offset"; +code_offset:=ASCII"a" - ASCII"A"; +input uppera; +input upperbcd; +input uppere; +input upperfgh; +input upperij; +input upperklm; +input uppern; +input uppero; +input upperpqr; +input upperst; +input upperuvw; +input upperxyz; + +code_offset:=0; +input fccscspu; % some specials +if not monospace: + k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + ligtable "p": "t": "y": hooktop_p: hooktop_t: hooktop_y: + lig_a_table(kk#); + ligtable "f": long_f: "v": "w": + lig_a_table(if serifs: kkk# else: kk#\\fi), + "k": "x": + lig_o_table(k#), "c" kern k#, hooktop_c kern k#, + c_cedilla kern k#, + "g" kern k#, "q" kern k#; + ligtable "o": "d": open_o: open_o_tilde: o_grave: o_dot: + o_hat: o_tilde: o_umlaut: crossed_o: o_dotu: o_uline: + o_bar: o_hachek: crossed_d: tailed_d: hooktop_d: + "x" kern k#, "w" kern k#, lig_a_table(k#), + "v" kern k#, "y" kern k#, hooktop_y kern k#; + ligtable "a": if serifs: "r": fi + "c" kern k#, c_cedilla kern k#, hooktop_c kern k#, + lig_o_table(k#), + "g" kern k#, "u" kern k#, "q" kern k#, + "l": latin_iota: oct"033": oct"037": + "'" kern kk#, "t" kern kk#, long_t kern kk#, "y" kern kk#, + hooktop_y kern kk#, "v" kern kkk#, "w" kern kkk#; + ligtable "i": "i" kern -k#; fi % skiing +bye. diff --git a/fonts/jknappen/fc/src/b-fci.mf b/fonts/jknappen/fc/src/b-fci.mf new file mode 100644 index 0000000000..646b2b59ef --- /dev/null +++ b/fonts/jknappen/fc/src/b-fci.mf @@ -0,0 +1,9 @@ +% African Computer Modern Text Italic +if unknown cmbase: input cmbase fi + +font_identifier:="FCI"; font_size design_size * pt#; + +univ_acc_breadth:=.5; % zusatz parameter for the universal accent +input c-cmti; + +generate fcitalic % switch to the driver file diff --git a/fonts/jknappen/fc/src/b-fcitt.mf b/fonts/jknappen/fc/src/b-fcitt.mf new file mode 100644 index 0000000000..2fbad8f844 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcitt.mf @@ -0,0 +1,25 @@ +% African Computer Modern Italic Typewriter Text +if unknown cmbase: input cmbase fi + +font_identifier:="FCITT"; font_size design_size * pt#; + +% This font is a modification of African Computer Modern Typewriter Text + +univ_acc_breadth:=0.5; % zusatz parameter for the universal accent +input c-cmtt; % compute cm typewriter parameters + % ... but change the following ones: + +letter_fit#:= % extra space added to all sidebars + ((letter_fit#*360pt#) + (design_size * 15))/360pt#; + +jut#:= % protrusion of lowercase serifs + ((jut#*360pt#) + (design_size * 6))/360pt#; + +slant:= % tilt ratio $(\Delta x/\Delta y)$ + 0.25; + +variant_g:= % should an italic-style g be used? + true; + +generate fcitalic; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcr.mf b/fonts/jknappen/fc/src/b-fcr.mf new file mode 100644 index 0000000000..640307e3f2 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcr.mf @@ -0,0 +1,9 @@ +% African Computer Modern Roman +if unknown cmbase: input cmbase fi + +font_identifier:="FCR"; font_size design_size*pt#; + +univ_acc_breadth:=.5; % zusatz parameter for the universal accent +input c-cmr; % compute size parameters for CMR family + +generate fcroman % switch to the driver file diff --git a/fonts/jknappen/fc/src/b-fcsibx.mf b/fonts/jknappen/fc/src/b-fcsibx.mf new file mode 100644 index 0000000000..c2e34c77f0 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcsibx.mf @@ -0,0 +1,11 @@ +% African Computer Modern Bold Extended Sans Serif +if unknown cmbase: input cmbase fi + +font_identifier:="FCSSBX"; font_size design_size * pt#; + +univ_acc_breadth:=0.4; % zusatz parameter for the universal accent +input c-cmssbx; +slant:=sind 12/cosd 12; % change slant + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcsitt.mf b/fonts/jknappen/fc/src/b-fcsitt.mf new file mode 100644 index 0000000000..92e5389052 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcsitt.mf @@ -0,0 +1,13 @@ +% b-fcsitt.mf v1.0 of 28-APR-1993 +% This file is part of the fc-package. Read fc.rme for more information +% African Computer Modern Sans Serif Inclined Typewriter Text +if unknown cmbase: input cmbase fi + +font_identifier:="FCSITT"; font_size design_size * pt#; + +univ_acc_breadth:=.5; % zusatz parameter for the universal accent +input c-fcsstt; % compute sans serif typewriter parameters +slant:=sind 12/cosd 12; % change slant + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcsl.mf b/fonts/jknappen/fc/src/b-fcsl.mf new file mode 100644 index 0000000000..32dc6289db --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcsl.mf @@ -0,0 +1,13 @@ +% African Computer Modern Slanted Roman +if unknown cmbase: input cmbase fi + +font_identifier:="FCSL"; font_size design_size * pt#; + +% This font is a simple modification of African Computer Modern Roman. + +univ_acc_breadth:=0.5; % zusatz parameter for the universal accent +input c-cmr; % compute the cm roman parameters +slant:=1/6; % change slant + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcss.mf b/fonts/jknappen/fc/src/b-fcss.mf new file mode 100644 index 0000000000..722af40161 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcss.mf @@ -0,0 +1,10 @@ +% African Computer Modern Sans Serif +if unknown cmbase: input cmbase fi + +font_identifier:="FCSS"; font_size design_size * pt#; + +univ_acc_breadth:=0.5; % zusatz parameter for the universal accent +input c-cmss; % compute cm sans serif parameters + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcssbx.mf b/fonts/jknappen/fc/src/b-fcssbx.mf new file mode 100644 index 0000000000..14a99c558e --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcssbx.mf @@ -0,0 +1,10 @@ +% African Computer Modern Bold Extended Sans Serif +if unknown cmbase: input cmbase fi + +font_identifier:="FCSSBX"; font_size design_size * pt#; + +univ_acc_breadth:=0.4; % zusatz parameter for the universal accent +input c-cmssbx; + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcssi.mf b/fonts/jknappen/fc/src/b-fcssi.mf new file mode 100644 index 0000000000..576890d574 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcssi.mf @@ -0,0 +1,13 @@ +% African Computer Modern Slanted Sans Serif +if unknown cmbase: input cmbase fi + +font_identifier:="FCSSI"; font_size design_size * pt#; + +% This font is a simple modification of FCSS. + +univ_acc_breadth:=0.5; % zusatz parameter for the universal accent +input c-cmss; % compute cm sans serif parameters +slant:=sind 12/cosd 12; % change slant + +generate fcroman; % switch to the driver file +endinput; diff --git a/fonts/jknappen/fc/src/b-fcsstt.mf b/fonts/jknappen/fc/src/b-fcsstt.mf new file mode 100644 index 0000000000..93fd18a1b8 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcsstt.mf @@ -0,0 +1,12 @@ +% b-fcsstt.mf +% v 1.1 28-DEC-1992 + +% African Computer Modern Sans Serif Typewriter Text +if unknown cmbase: input cmbase fi + +font_identifier:="FCSSTT"; font_size design_size * pt#; + +univ_acc_breadth:=.5; % zusatz parameter for the universal accent +input c-fcsstt; % compute cm typewriter parameters + +generate fcroman; % switch to the driver file diff --git a/fonts/jknappen/fc/src/b-fctt.mf b/fonts/jknappen/fc/src/b-fctt.mf new file mode 100644 index 0000000000..cb1d8a7fb1 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fctt.mf @@ -0,0 +1,9 @@ +% African Computer Modern Typewriter Text +if unknown cmbase: input cmbase fi + +font_identifier:="FCTT"; font_size design_size * pt#; + +univ_acc_breadth:=.5; % zusatz parameter for the universal accent +input c-cmtt; % compute cm typewriter parameters + +generate fcroman % switch to the driver file diff --git a/fonts/jknappen/fc/src/b-fcu.mf b/fonts/jknappen/fc/src/b-fcu.mf new file mode 100644 index 0000000000..76badf82d9 --- /dev/null +++ b/fonts/jknappen/fc/src/b-fcu.mf @@ -0,0 +1,10 @@ +% African Computer Modern Unslanted Text Italic +if unknown cmbase: input cmbase fi + +font_identifier:="FCU"; font_size design_size * pt#; + +univ_acc_breadth:=.5; % zusatz parameter for the universal accent +input c-cmti; % compute cm text italic parameters +slant:=0; + +generate fcitalic % switch to the driver file diff --git a/fonts/jknappen/fc/src/c-fcsstt.mf b/fonts/jknappen/fc/src/c-fcsstt.mf new file mode 100644 index 0000000000..ec5bd502a2 --- /dev/null +++ b/fonts/jknappen/fc/src/c-fcsstt.mf @@ -0,0 +1,246 @@ +% c-fcsstt.mf +% Compute the font construction parameters for the Computer +% Modern Sans Serif Typewriter Text family. +% J"org Knappen 21-MAR-1992 + +u#:= % unit width + (if design_size < 10: ((design_size*design_size*1) + + (design_size*2)+90) + else: ((design_size*18.5)+25)fi)/360pt#; + +width_adj#:= % width adjustment for certain characters + 0pt#; + +serif_fit#:= % extra sidebar near lowercase serifs + 0pt#; + +cap_serif_fit#:= % extra sidebar near uppercase serifs + 0/360pt#; + +letter_fit#:= % extra space added to all sidebars + 0/360pt#; + +body_height#:= % height of tallest characters + (design_size*250)/360pt#; + +asc_height#:= % height of lowercase ascenders + (design_size*220)/360pt#; + +cap_height#:= % height of caps + (design_size*220)/360pt#; + +fig_height#:= % height of numerals + (design_size*220)/360pt#; + +x_height#:= % height of lowercase without ascenders + (design_size*155)/360pt#; + +math_axis#:= % axis of symmetry for math symbols + (design_size*110)/360pt#; + +bar_height#:= % height of crossbar in lowercase e + ((design_size*80)-10)/360pt#; + +comma_depth#:= % depth of comma below baseline + (design_size*50)/360pt#; + +desc_depth#:= % depth of lowercase descenders + (design_size*80)/360pt#; + +crisp#:= % diameter of serif corners + 0/360pt#; + +tiny#:= % diameter of rounded corners + (if design_size < 9: ((design_size*20)+30) + elseif design_size < 10: ((design_size*10)+120) + else: ((design_size*15)+70)fi)/360pt#; + +fine#:= % diameter of sharply rounded corners + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 340) + else: ((design_size*5)+160)fi)/360pt#; + +thin_join#:= % width of extrafine details + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 340) + else: ((design_size*5)+160)fi)/360pt#; + +hair#:= % lowercase hairline breadth + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +stem#:= % lowercase stem breadth + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +curve#:= % lowercase curve breadth + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +ess#:= % breadth in middle of lowercase s + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 330) + else: ((design_size*15)+70)fi)/360pt#; + +flare#:= % diameter of bulbs or breadth of terminals + (if design_size < 10: ((design_size*20)+120) + else: ((design_size*15)+170)fi)/360pt#; + +dot_size#:= % diameter of dots + (if design_size < 9: ((design_size*20)+150) + elseif design_size < 10: ((design_size*30)+60) + else: ((design_size*15)+210)fi)/360pt#; + +cap_hair#:= % uppercase hairline breadth + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +cap_stem#:= % uppercase stem breadth + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +cap_curve#:= % uppercase curve breadth + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +cap_ess#:= % breadth in middle of uppercase s + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +rule_thickness#:= % thickness of lines in math symbols + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +dish#:= % amount erased at top or bottom of serifs + 0/360pt#; + +bracket#:= % vertical distance from serif base to tangent + 0/360pt#; + +jut#:= % protrusion of lowercase serifs + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*125) - 410) + else: ((design_size*25)+90)fi)/360pt#; + +cap_jut#:= % protrusion of uppercase serifs + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*125) - 410) + else: ((design_size*25)+90)fi)/360pt#; + +beak_jut#:= % horizontal protrusion of beak serifs + 0/360pt#; + +beak#:= % vertical protrusion of beak serifs + (if design_size < 9: ((design_size*1)-4) + elseif design_size < 10: (5) +%elseif design_size < 12: (design_size*0.5) + else: ((-(0.01665001665*design_size*design_size) + + (0.8663003663*design_size) - + (1.998001998))-0.00048)fi)/360pt#; + +vair#:= % vertical diameter of hairlines + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 330) + else: ((design_size*15)+70)fi)/360pt#; + +notch_cut#:= % maximum breadth above or below notches + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +bar#:= % lowercase bar thickness + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 330) + else: ((design_size*15)+70)fi)/360pt#; + +slab#:= % serif and arm thickness + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 330) + else: ((design_size*15)+70)fi)/360pt#; + +cap_bar#:= % uppercase bar thickness + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 330) + else: ((design_size*15)+70)fi)/360pt#; + +cap_band#:= % uppercase thickness above/below lobes + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 330) + else: ((design_size*15)+70)fi)/360pt#; + +cap_notch_cut#:= % max breadth above/below uppercase notches + (if design_size < 10: (-(design_size*design_size*5) + + (design_size*105) - 300) + else: ((design_size*15)+100)fi)/360pt#; + +serif_drop#:= % vertical drop of sloped serifs + 0/360pt#; + +stem_corr#:= % for small refinements of stem breadth + 0/360pt#; + +vair_corr#:= % for small refinements of hairline height + 0/360pt#; + +apex_corr#:= % extra width at diagonal junctions + (if design_size < 10: (design_size*10) + else: ((design_size*5)+50)fi)/360pt#; + +o#:= % amount of overshoot for curves + ((design_size*5)-10)/360pt#; + +apex_o#:= % amount of overshoot for diagonal junctions + (if design_size < 10: (30) + else: ((design_size*5)-20)fi)/360pt#; + +slant:= % tilt ratio $(\Delta x/\Delta y)$ + 0; + +fudge:= % factor applied to weights of heavy characters + (if design_size < 10: (81) + elseif design_size < 17.6: ((design_size*2.5)+56) + else: (100)fi)/100; + +math_spread:= % extra openness of math symbols + -1; + +superness:= % parameter for superellipses + 1/sqrt2; + +superpull:= % extra openness inside bowls + 0; + +beak_darkness:= % fraction of triangle inside beak serifs + 0; + +ligs:= % level of ligatures to be included + 0; + +square_dots:= % should dots be square? + false; + +hefty:= % should we try hard not to be overweight? + true; + +serifs:= % should serifs and bulbs be attached? + false; + +monospace:= % should all characters have the same width? + true; + +variant_g:= % should an italic-style g be used? + false; + +low_asterisk:= % should the asterisk be centered at the axis? + true; + +math_fitting:= % should math-mode spacing be used? + false; diff --git a/fonts/jknappen/fc/src/fc.bug b/fonts/jknappen/fc/src/fc.bug new file mode 100644 index 0000000000..d8e24df965 --- /dev/null +++ b/fonts/jknappen/fc/src/fc.bug @@ -0,0 +1,345 @@ +fc.bug v1.5a of 1-JUN-2004 +(C) Copyright 1992--2004 J"org Knappen + + f c. b u g + +Created 28-DEC-1992 + +This file documents bugs and changes in the fc fonts for aFrican languages +which occurred after the date of starting this file. It contains three +sections: +1. METAFONT-files +2. TeX-files +3. other files (Documentation etc.) +and an Appendix +A. List of files with version number and date + +Notation: + ** #n. fixed bug + !! #n. known bug, not fixed (so called feature) + + 1. METAFONT files + +!! 1. The ogonek does not work in several modes, especially im small sizes + or at low resolutions. (fcaccent.mf) + +** 2. For italic fonts, the f-ligatures are still misssing. Hope, I find + the time to add them soon. (fcilig.mf) Added 17-NOV-1994. + +** 3. b-fcsstt.mf calls now c-fcsstt.mf instead of c-cmsstt.mf. + Renamed c-cmsstt.mf to c-fcsstt.mf. (28-DEC-1992) + +** 4. Added more parameter files to make the system complete (6-MAY-1993) + +!! 5. The fc fonts should have included a `dotless i with dot below' for + further accenting. Since the fc encoding scheme is fixed, this + cannot be cured. However, the necessary code was added to + lowerij.mf and italij.mf to have it available on demand. + +** 6. Computing larger sizes caused an arithmetic overflow in b-fccsc.mf. + Fixed by reducing some fractions. + +** 7. Corrected error concerning \~\i in monospaced fonts (lowerij.mf) + (8-MAY-1993). + +!! 8. With the mode for the HP laserjet, the explicit space sign [32] + causes an error in 5pt size for several parameter sets. The error + causes no visible damage. + +*! 9. With the hefty parameter sets b-fcssbx, b-fcsibx, b-fcsstt, and + b-fcsitt, the following characters show up errors: + Capital letters hooktop B, hooktop C, hooktop D, hooktop K, hooktop P, + and hooktop T (quite frequently), + lowercase ipa gamma [166] and round v [174] only with ssbx and sibx + in some small sizes. + + Makro |left_hook| in fcmacros.mf redone, fixing the errors on + hooktop B, D, P, and T (6-OCT-1996) + +!! 10. With the b-fcitt parameters, the italic lower ezh [182] shows up an + bad position error for some sizes (12, 7, 5). + + Remark: The bad (pen)pos-erros in Capital Hooktop C, Hooktop K, + ipa gamma, round v and italic ezh don't cause any visible harm. + +** 11. Corrected silly typo in lowerij.mf (Reported by Ron Whitney + 20-JUN-1993) + +** 12. Lowercase hooktop d had a serif even in sans serif faces. Corrected + 21-JUN-1993. + +** 13. Changed the ligtables to contain the following ligatures: + For all fonts: "-""hyphenchar" -> "hyphenchar" + For monospaced fonts: "-""-" -> "n-dash" (looks identical to "-") + Both changes were originally proposed by Alan Jeffrey for T1 (Cork) + encoded fonts. (15-NOV-1994) + +** 14. Redesigned en-dash and em-dash to look like hyphen in monospaced + fonts. (15-NOV-1994) + +** 15. b-fccsc.mf loaded fcttligt.mf instead of fcscligt.mf. (15-NOV-1994) + +** 16. The letter var_u (round v) looked very spindly on its upper right. + This was caused by a side effekt of |sloped_serif.l| on |vbulb|. + Cured by commuting two lines in the programme. (17-NOV-1994) + +** 17. Added font_coding_scheme:="African Latin (fc)" to coding.fc. + (18-NOV-1994) + +** 18. Since the italic ligatures are now ready, I added them to the + ligtable fcitligt.mf. (18-NOV-1994) + +** 19. Added t_esh_lig to the ligtable of f-like characters which need + antikerning against apostrophes. (25-NOV-1994) + +** 20. By mistake, t_esh_lig occurred twice in the ligtable. Corrected + 6-OCT-1996 + +** 21. The change mentioned in mf/3 did not make it to the archives. + Corrected 6-OCT-1996 + +** 22. The macro zero_width was missing in the compound word mark, leading + to wrong pk files. + +** 23. I gave the compound word mark x_height in order to increase its + functionality (6-OCT-1996) + +** 24. Renamed the file coding.fc to fccoding.mf in order to make + producing of CD-ROMs like the TeX life CD easier. Subsequent + changes to some other files. + +** 25. The height of the compound word mark should be given in + sharp dimensions (12-MAR-2004) + +** 26. There is a nasty bug in the capital letter EZH, causing a + "Value too large" error in really high res mode (2540 dpi). + Closer inspection shows a very strange formula for z97 to be + changed (12-MAR-2004) + +** 27. Bug 26 applies also to the lower ezh. Found by Werner Lemberg. + (6-APR-2004) + + 2. TeX files + +** 1. The \sfcodes were missing for the upper 128 characters. Fixed in + version 1.1b of fclfont.sty. (24-NOV-1992) + +** 2. Added the definition of \$ and \pound of the NFSS to fclfont.sty. + This is redundant at the moment, but may not stay so. (28-DEC-1992) + +** 3. Corrected several typos in fcuse.sty (29-DEC-1992) + +** 4. Reworked fontdef.fc in the stile of fontdef.sau and gave it a more + compact shape. Added the new fonts. (7-MAY-1993) + Note that in deviation from the NFSS for cm fonts, typewriter is + handled as a weight rather than a family. The reason lies in the + existence of the sans serif typewriter fonts in the fc font + package. + +** 5. Inserted appropriate changes in fclfont.sty (definition of \ptt and + \ttdefault). + +** 6. Added \r for ring above accent to fclfont.sty (8-MAY-1993) + +** 7. Fixed math mode bugs in fcuse.sty (8-MAY-1993) + +** 8. Added +v as an alternative to +u in fcuse.sty. Removed bogus + definition of +h. (8-MAY-1993) + +** 9. \l printed as \L with fclfont.sty. (12-NOV-1994) + +** 10. Renamed the NFSS1 specific file fclfont.sty and fontdef.fc to + fclfont.sty_old and fontdef.fc_old. These two files are now obsolete + and frozen. + +** 11. Added support files for LaTeX2e: fclfont.sty, T4enc.def, T4cmr.fd, + T4cmss.fd, T4cmtt.fd, T4fcr.fd. (11/12-NOV-1994) + Note that the new fclfont.sty is incompatible with fclfont.sty_old. + +** 12. Unfortunately, the idea of using \~{\m E} for open E with Tilde + did not really work with LaTeX2e. Therefore, a new control sequence + \T was assigned for the four provided modified letters with tilde + (E,e,O,o). (T4enc.def, 15-NOV-1994). + [The argument above is no longer true, LaTeX2e now allows kerning + and ligature building everywhere. Remark added 6-OCT-1996] + +** 13. The protection mechanism of LaTeX2e currently inhibits kerning and + ligature building at some places. Added therefore \tsh to produce + the t-esh-ligature. (T4enc.def, fc.rme, 22-NOV-1994) + [The argument above is no longer true, LaTeX2e now allows kerning + and ligature building everywhere. Remark added 6-OCT-1996] + +*! 14. The file fctugbot.tex does no longer run with recent versions of + ltugboat.{sty,cls}. So you'll have to fix any problems yourself. + +** 15. The polish \l was still wrong, printing `ffll'. Corrected + 6-OCT-1996 + +** 16. T4enc.def should be named t4enc.def 1-JUN-2004 + +** 17. A bunch of LaTeX commands aren't right in T4enc.def (Reported + by Frank Mittelbach in 2000). Renovated t4enc.def completely on + 1-JUN-2004. New commands added: \I for the single universal accent + and \TSH to produce capital T-ESH-ligature. + +** 18. Added a new file t4phonet.sty providing some of the text commands + from the tipa package for the T4 encoding. + +** 19. The command \texttt did not work with fclfont.sty. Added it. + 1-JUN-2004 + + 3. Other files + +** 1. Added b-fcsstt.mf, c-fcsstt.mf, and fcscligt.mf to the filelist in + fc.rme (28-DEC-1992) + +** 2. Removed Appendix B (list of files) from fc.rme. Corrected some + typos in fc.rme. Updated the address of the Stuttgart server in + fc.rme (8-MAY-1993). + +** 3. Updated the GNU licence to version 2 + +** 4. Updated the file fc.rme (12-NOV-1994): + -- Point to the CTAN ftp servers + -- Completely rewrote section IV (updated to LaTeX2e) + -- Added the input suggested by T4enc.def to Appendix A + +*! 5. German Postcodes have changed, the University of Mainz has now + the Postcode D-55099 Mainz. This change will be applied to any + file, if there is something to change in it. Ignore the old postal + code in older files. + +** 6. Added \copyleft to Appendix A of fc.rme. Did some stilistic and + orthographic corrections (13-NOV-1994). + +** 7. Added the file fctugbot.tex which is the source for the publication of + the fc fonts in TUGboat V14 N2 to the distribution. + +** 8. Updated fc.rme according to #12 of TeX file bugs. + +** 9. Updated fc.rme according to #13 of TeX file bugs. + +*! 10. My adress has changed, currently it is + + J\"org Knappen + Dieselstra\ss{}e 13 + 66123 Saarbr\"ucken + Allemagne + + Note that if you write to that address and expect a reply to add + (a) a pre-stamped and self addressed envelope, if writing from + inside germany + (b) a suitable amount of international reply coupons else. + + I also give my e-mail address joerg.knappen@uni-mainz.de, + tho I don't know how long it will last. + + Inside the files, you may find other addresses, please ignore them. + +** 11. Updated fc.rme: Corrected typos, list of CTAN archives, other minor + points. + +** 12. Added a T4-to-UCS correspondence table to fc.rme, giving Unicode + points for the characters in the fc fonts. + + A. List of files with version number and date + +A1 METAFONT files + +B-FCBX.MF (none) (none) +B-FCBXI.MF (none) (none) +B-FCBXSL.MF (none) (none) +B-FCBXU.MF (none) (none) +B-FCCSC.MF 1.3 5-MAR-1998 +B-FCI.MF (none) (none) +B-FCITT.MF (none) (none) +B-FCR.MF (none) (none) +B-FCSIBX.MF (none) (none) +B-FCSITT.MF 1.0 28-APR-1993 +B-FCSL.MF (none) (none) +B-FCSS.MF (none) (none) +B-FCSSBX (none) (none) +B-FCSSI.MF (none) (none) +B-FCSSTT.MF 1.2 28-DEC-1992 +B-FCTT.MF (none) (none) +B-FCU.MF (none) (none) + +C-FCSSTT.MF 1.0 21-MAR-1992 + +CODING.FC renamed to FCCODING.MF +FCACCENT.MF 1.0a 8-SEP-1991 +FCCODING.MF 1.2 5-MAR-1998 +FCCSCSPU.MF 1.1a 19-MAR-1992 +FCILIG.MF 1.1 17-NOV-1994 +FCITALIC.MF 1.2 5-MAR-1998 +FCITLIGT.MF 1.3a 25-NOV-1994 +FCITLPCT.MF 1.0a 8-SEP-1991 +FCMACROS.MF 1.2 6-OCT-1996 +FCPUNCT.MF 1.3a 12-MAR-2004 +FCRLIG.MF 1.1 6-OCT-1996 +FCROLIGT.MF 1.3b 6-OCT-1996 +FCROMAN.MF 1.2 5-MAR-1998 +FCROMPCT.MF 1.0a 8-SEP-1991 +FCSCLIGT.MF 1.2 15-NOV-1994 +FCSFLIGT.MF 1.3 6-OCT-1996 +FCTTLIGT.MF 1.2 15-NOV-1994 + +ITALA.MF 1.0a 8-SEP-1991 +ITALBCD.MF 1.1a 13-MAR-1992 +ITALE.MF 1.0a 8-SEP-1991 +ITALFGH.MF 1.0a 8-SEP-1991 +ITALIJ.MF 1.0b 8-MAY-1993 +ITALKLM.MF 1.0a 8-SEP-1991 +ITALN.MF 1.0a 8-SEP-1991 +ITALO.MF 1.0a 8-SEP-1991 +ITALPQR.MF 1.1a 13-MAR-1992 +ITALST.MF 1.1a 13-MAR-1992 +ITALUVW.MF 1.0a 8-SEP-1991 +ITALXYZ.MF 1.0a 8-SEP-1991 + +LOWERA.MF 1.0a 8-SEP-1991 +LOWERBCD.MF 1.1c 22-JUN-1993 +LOWERE.MF 1.0c 22-MAR-1992 +LOWERFGH.MF 1.0b 13-MAR-1992 +LOWERIJ.MF 1.0e 22-JUN-1993 +LOWERKLM.MF 1.0b 8-APR-1992 +LOWERN.MF 1.0a 8-SEP-1991 +LOWERO.MF 1.0a 8-SEP-1991 +LOWERPQR.MF 1.1a 13-MAR-1992 +LOWERST.MF 1.0b 13-MAR-1992 +LOWERUVW.MF 1.0b 17-NOV-1994 +LOWERXYZ.MF 1.0b 6-APR-2004 + +UPPERA.MF 1.0b 17-MAR-1992 +UPPERBCD.MF 1.1a 13-MAR-1992 +UPPERE.MF 1.0b 17-MAR-1992 +UPPERFGH.MF 1.0a 8-SEP-1991 +UPPERIJ.MF 1.0b 8-APR-1992 +UPPERKLM.MF 1.0b 8-APR-1992 +UPPERN.MF 1.0b 17-MAR-1992 +UPPERO.MF 1.0b 17-MAR-1992 +UPPERPQR.MF 1.1a 13-MAR-1992 +UPPERST.MF 1.1a 13-MAR-1992 +UPPERUVW.MF 1.1b 21-MAR-1992 +UPPERXYZ.MF 1.0d 12-MAR-2004 + +A2 TeX Files + +FCLFONT.STY 1.2 1-JUN-2004 +T4CMR.FD 1.0 11-NOV-1994 +T4CMSS.FD 1.0 11-NOV-1994 +T4CMTT.FD 1.0 11-NOV-1994 +T4ENC.DEF 2.0 1-JUN-2004 +T4FCR.FD 1.0 11-NOV-1994 +FCUSE.STY 1.1 8-MAY-1993 +FONTDEF.FC_OLD 1.1 12-NOV-1994 obsolete & frozen +FCLFONT.STY_OLD 1.3 12-NOV-1994 obsolete & frozen + +A3 Readme and documentation files + +FC.BUG 1.5a 1-JUN-2004 +FC.RME 1.4b 1-JUN-2004 +FCTUGBOT.TEX (none) (none) +LICENCE.GNU 2 JUN-1991 + +[THE END] diff --git a/fonts/jknappen/fc/src/fc.rme b/fonts/jknappen/fc/src/fc.rme new file mode 100644 index 0000000000..1680523dc5 --- /dev/null +++ b/fonts/jknappen/fc/src/fc.rme @@ -0,0 +1,600 @@ +fc.rme version 1.4b of 1-JUN-2004 +(c) Copyright 1992--2004 by J"org Knappen + +This is the documentation of the fc-Fonts for African languages + +Contents: + +I) Introduction + +II) About the FC-Scheme + a) The language base + b) Technical points + c) Copiing conditions + +III) How to generate the fonts with METAFONT + +IV) How to use the FC-Fonts with LaTeX2e + +V) Availability + +VI) Acknowledgements + +Appendix A) The FC encoding scheme (codes 128 -- 255) +Appendix B) Removed -- see file fc.bug +Appendix C) Shortcomings and known bugs of the first release +Appendix D) T4-to-UCS correspondence + + I. Introduction + + TeX is a typesetting system for high quality typesetting. It is available + free due to the generosity of its developper, Prof D. E. Knuth. It is + available for many different platforms, from microcomputers (PC, Atari, Mac) + to mainframes and even supercomputers. TeX files can be interchanged between + different systems and will produce identical output. TeX is well documented + in D. E. Knuth, Computers and typesetting, Vol. A -- The Texbook. + + The release of TeX Version 3 stimulated lots of work in the area of adapting + TeX to the needs of other languages than english. One outstanding project was + the creation of a font encoding scheme with 256 characters for international + use. It soon turned out, that with 256 code points only the needs of european + languages could be satisfied (the EC scheme proceeds this way), and there had + to be other fonts for non-european languages. The FC (aFrican Computer) + scheme fits the needs of african languages with latin writing. This scheme + comes together with an implementation of the fonts in METAFONT. The fonts + created by METAFONT can also be used by other system than TeX. + + II. About the FC-Scheme + + a) The language base + + There is a great diversity of languages spoken in africa, and it was + impossible to check all of them for their alphabets. This work is based on + the examination of the ``critical languages'' according to a definition of + the US department of education in 1985. They include all those languages + with more than 1 mio speakers. + + Only orthographical writing is considered. Transscription systems devolopped + by linguists are outside the scope of this work. Obsolete orthographies are + also not included (for example the obsolete uppercase form of hooktop B in + Xhosa and Zulu or the obsolete (catholic) orthography of \d{I}gb\d{o}). + + Even these constraints showed the lack of code space. Therefore some accented + letters did not enter the fc scheme. Generally, accented letters were omitted, + if the accent denotes a tonal mark. This is in consistency with the current + trend in orthography to suppress tonal marks, except if ambiguities occur. + Also omitted are consonants with tilde to denote nasalisation. The mentioned + letters can be created in TeX by the use of macros (e.g. \~y). + + The following languages are supported: + + Akan, Bamileke, Basa (Kru), Bemba, Ciokwe, Dinka, Dholuo (Luo), Efik, + Ewe-Fon, Fulani (Fulful), G\~a, Gbaya, Hausa, Igbo, Kanuri, Kikuyu, + Kikongo, Kpelle, Krio, Luba, Mandekan (Bambara), Mende, More, Ngala, + Nyanja, Oromo, Rundi, Kinya Rwanda, Sango, Serer, Shona, Somali, Songhai, + Sotho (two different writing systems), Suaheli, Tiv, Yao, Yoruba, Xhosa + and Zulu. + + I decided to support two european languages, which are not covered by the + EC-scheme, namely Maltese and Sami. + + Currency symbols (Like Naira and Cedi) aren't part of the fc fonts. They + are available from the tc (Text companion symbols) fonts distributed + together with the ec (European Computer Modern) fonts. + + b) Technical points + + The fc encoding scheme will not be changed anymore. Every font, which begins + with the two characters fc should be encoded according to the fc scheme. + + The fonts named fcr etc. contain what you expect from TeX naming conventions. + They are currently maintained by the author. + + The code points are choosen from scratch, according to the following rules: + + * The lower 128 codes are identical to the Cork (ec) scheme + + * A glyph also occurring in the Cork scheme is placed on the same code point + as in the Cork scheme + + * Each letter from TeX's original cm-fonts is saved. Thus, you can print + polish L, skandinavian crossed O and some other letters with the fc fonts. + + * The difference between uppercase and corresponding lowercase letter is + a constant. + + c) Copying conditions + + The fc fonts are copyrighted but free according to the conditions of the GNU + licence, version 2. You should receive a copy of the file licence.gnu + containing this licence. If not, complain to the person from which you + received these fonts. Read the licence carefully. + + + III) How to generate the fonts with METAFONT + + Besides the files of the fc package, you need the following: + + * plain.mf (or a METAFONT with plain preloaded) + * cmbase.mf (or a METAFONT with cmbase preloaded) + + * The files romand.mf, itald.mf, and olddig.mf (the original digits from the + cm fonts) + + * The Sauter tools. These are a bunch of files, named like c-cmr.mf and so on. + They are available from the CTAN archive sites and their mirros. The CTAN + sites are ftp.dante.de and ftp.tex.ac.uk. + The Sauter tools are located there under tex-archive/fonts/cm/sauter. + + Make sure, that all files are in appropriate directories, where METAFONT + finds them. + + Now you are ready to create the fc fonts at any size you want, for example to + create the font fcr10 do the following: + + mf "\mode=localfont; design_size:=10; input b-fcr" + gftopk b-fcr.300gf fcr10.pk + rename b-fcr.tfm fcr10.tfm + + and move the .pk and .tfm-files to their directories. The exact form of the + calls depends a little on your operating system. + + You might find it helpful to make yourself little mf-files of the type + + % fcr10.mf + design_size:=10; + input b-fcr; + endinput; + % end of fcr10.mf + + These files are especially usefull, if you have an automagic procedure + invoking METAFONT. Note, that for the sizes 11pt and >12pt, the design_size + is not identical to the last digits of the fontname. It is + + fcr11 design_size:=10.95; + fcr14 design_size:=14.4; + fcr17 design_size:=17.28; + fcr20 design_size:=20.74; + fcr24 design_size:=24.88; + + Note that there is only one fc italic font, called fci. It is not planned to + add fc math fonts to the distribution. Use the cm math fonts (or the not yet + released ec math fonts). + + IV) How to use the FC-Fonts with LaTeX2e + + The LaTeX3 team has assigned the encoding T4 to fc encoded fonts. So you + can use the fc fonts in LaTeX2e simply by saying + \usepackage[T4]{fontenc} + + This call loads the following files, which must be located in the search + path of LaTeX2e: + + t4enc.def, t4cmr.fd, t4cmss.fd, t4cmtt.fd. + + There is another option which aemulates the behaviour of the previous + LaTeX209 with NFSS1 implementation. It gives you easy access to the + sans serif typerwriter font included in this package by simply typing + \ss\tt or \tt\ss. This option is called by + + \usepackage{fclfont} + + and requires the four abovementioned file plus + + fclfont.sty and t4fcr.fd. + + The files fclfont.sty_old and fontdef.fc_old from the previous release + are obsolete and now frozen. They have been renamed to make this notion + clear. + + fcuse.sty shows you how to make the input easy by employing active + characters. It is an example rather than a standard package. Its use is + only recomended, if you want to use the complete fc character set. Usually + you only want to typeset text in one or two languages, and a language + specific style option will be more appropriate. Look into existing language + dependent style options (e.g. german.sty) or into the babel system by + J. Braams to figure out how to create a new one. + + V) Availability + + The fc package is available per anonymous ftp or e-mail from the DANTE-server + at Heidelberg, which is the primary site of its distribution. Since the main + TeX archives cooperate, it will be available from other sites, too. + + The address of the DANTE-Server is: + (ftp:) ftp.dante.de + (e-mail:) mailserver@rusinfo.rus.uni-stuttgart.de + + Update notices are distributed via the mailing list CTAN-Ann@shsu.edu. + + + VI) Acknowledgements + + Without the work of other authors on META-fonts, these fonts would surely + never have come out. I took deliberately from all available free metafont + sources ideas, macros, and even whole characters. All bugs and mistakes in + this code are mine, noone of the acknowledged authors should be blamed for + them. + + The first acknoledgement goes to Donald E. Knuth, the author of the TeX and + METAFONT programs and also of the computer modern (cm) family of fonts. + His work is the base of this one. + + I also want to acknowledge the following persons: + + Julian Bradfield, who made the cmoe old english font. + Malcolm Clark, editor of the newsletter TeXline. + Nana Glonti and Aleksander Samarin, who made the cmcyr cyrillic fonts. + Yannis Haralambous, who created of the 128-char greek fonts (and many others) + Emma Pease, who made the cmph phonetic fonts (Her work is used in the + Hausa--English dictionary by Rosanna Ma Newman) + J"orgen Pind, who made icelandic TeX and fonts for it. + Tom Ridgeway of the University of Washington, who made the wncyr cyrillic + fonts and experiments with a new ipa font. + Norbert Schwarz, who made the dc-fonts, a first implementation of the + ec- (Cork-) scheme. + Janene Winter, who made the wsuipa international phonetic fonts, from which + I learned much. + + For help in the africanist part of the work, I want to thank Prof. Norbert + Ciffer, Institut f"ur Ethnologie und Afrikastudien Mainz, for pointing me to + the critical languages and help in finding references. I thank Prof. Fiona + McLaughlin, University of Kansas, Lawrence, Kansas, for good references on + Serer and Prof Michael MacMahon, University of Glasgow for sending samples + of african letters. + + + Appendix A: The fc encoding scheme (octal 200 -- 377) + +octal code description input + +200 uppercase hooktop B \m B +201 uppercase hooktop D \m D +202 uppercase open E (\varepsilon-like) \m E +203 uppercase reversed E (like \exists) \M E +204 uppercase long F \m F +205 uppercase E with ha\v{c}ek \v E +206 uppercase ipa Gamma \m G +207 uppercase double barred H \B H + +210 uppercase hooktop K \m K +211 uppercase Enj \m J +212 uppercase open O (revesed C) \m O +213 uppercase N with acute \'N +214 uppercase Esh \m S +215 uppercase Eng \m N +216 uppercase variant U (\upsilon-like) \m U or \m V +217 uppercase hooktop Y \m Y + +220 uppercase hooktop C \m C +221 uppercase hooktop P \m P +222 uppercase S with ha\v{c}ek \v S +223 uppercase N with dot above \.N +224 uppercase N with line below \b N +225 uppercase S with dot below \d S +226 uppercase Ezh \m Z +227 uppercase crossed T \B T + +230 uppercase E with dot above \.E +231 uppercase E with dot below \d E +232 uppercase hooktop T \m T +233 uppercase T with tail \M T +234 ligature t-esh \tsh +235 ligature fj fj +236 lowercase crossed d \B d +237 double grave accent \G + +240 lowercase hooktop b \m b +241 lowercase hooktop d \m d +242 lowercase open e \m e +243 lowercase inverted e \M e +244 lowercase long f \m f +245 lowercase e with ha\v{c]ek \v e +246 lowercase ipa gamma \m g +247 lowercase crossed h \B h + +250 lowercase hooktop k \m k +251 lowercase enj \m j +252 lowercase open o \m o +253 lowercase n with acute \'n +254 lowercase esh \m s +255 lowercase eng \m n +256 lowercase variant u \m u or \m v +257 lowercase hooktop y \m y + +260 lowercase hooktop c \m c +261 lowercase hooktop p \m p +262 lowercase s with ha\v{c}ek \v s +263 lowercase n with dot above \.n +264 lowercase n with line below \b n +265 lowercase s with dot below \d s +266 lowercase ezh \m z +267 lowercase crossed t \B t + +270 lowercase e with dot above \.e +271 lowercase e with dot below \d e +272 lowercase hooktop t \m t +273 lowercase t with tail \M t +274 double universal accent \U +275 inverted exclamation mark !` +276 inverted question mark ?` +277 unversal accent \I + +300 uppercase latin Iota \m I +301 uppercase I with dot below \d I +302 uppercase open E with tilde \T E +303 uppercase A with tilde \~A +304 uppercase M with acute \'M +305 uppercase Open O with tilde \T O +306 uppercase ligature AE \AE +307 uppercase C with cedilla \c C + +310 uppercase E with grave \`E +311 uppercase E with acute \'E +312 uppercase E with circumflex \^E +313 uppercase E with diaresis \"E +314 uppercase E with line below \b E +315 uppercase E with macron \=E +316 uppercase E with tilde \~E +317 uppercase I with tilde \~I + +320 uppercase crossed D \B D + uppercase D with tail \M D + uppercase Edh \DH +321 uppercase N with tilde \~N +322 uppercase O with grave \`O +323 uppercase O with dot above \.O +324 uppercase O with circumflex \^O +325 uppercase O with tilde \~O +326 uppercase O with diaresis \"O +327 uppercase ligature OE \OE + +330 uppercase crossed O (skandinavian) \O +331 uppercase O with dot below \d O +332 uppercase O with line below \b O +333 uppercase O with macron \= O +334 uppercase O with ha\v{c}ek \v O +335 uppercase U with dot below \d U +336 uppercase U with tilde \~U +337 cross piece for polish L and l \char'337 +Macro uppercase polish L with crossbar \L +Macro lowercase polish l with crossbar \l + +340 lowercase latin iota \m i +341 lowercase i with dot below \d i +342 lowercase open e with tilde \T e +343 lowercase a with tilde \~a +344 lowercase m with acute \'m +345 lowercase open o with tilde \T o +346 lowercase ligature ae \ae +347 lowercase c with cedilla \c c + +350 lowercase e with grave \`e +351 lowercase e with acute \'e +352 lowercase e with circumflex \^e +353 lowercase e with diaresis \"e +354 lowercase e with line below \b e +355 lowercase e with macron \=e +356 lowercase e with tilde \~e +357 lowercase i with tilde \~i + +360 lowercase d with tail (note: not edh!) \M d +361 lowercase n with tilde \~n +362 lowercase o with grave \`o +363 lowercase o with dot above \.o +364 lowercase o with circumflex \^o +365 lowercase o with tilde \~o +366 lowercase o with diaresis \"o +367 lowercase ligature oe \oe + +370 lowercase crossed o (skandinavian) \o +371 lowercase o with dot below \d o +372 lowercase o with line below \b o +373 lowercase o with macron \= o +374 lowercase o with ha\v{c}ek \v o +375 lowercase u with dot below \d u +376 lowercase u with tilde \~u +377 lowercase scharfes s \ss + +Macro Copyleft sign (circled open o) \copyleft + + Appendix B: List of files + +Please find the list of files together with the current version number +and date in fc.bug. + + Appendix C: Bugs + + Unfortunately, one has to expect bugs (sigh!) in this package, allthough + I'm trying to get rid of them. For a list of already known (and maybe + fixed) bugs, see the file fc.bug. + + The fonts were developped on a 300dpi write white device, and + probably even a bit optimised to it. They are also tested on a 300dpi + write black engine and a 600dpi write black engine. Some times + strange path error messages occurred, but they did not seem to cause visible + harm. There might be visible errors, too, which I did not discover. + + If you find an bug or mistake, send it to me, including the following + information: + + Which parameters caused the error/bug? + (e.g. design_size=6; b-fctt) + + Which mode did you use? + (Please don't say ``localfont', this tells nothing to me... + e.g. lowres from cmbase, + ricoh from Karl Berry's modes.mf) + + Which character contains the bug? + (e.g. [162] open_e) + + Is the damage visible in the printout? What does it look like? + (e.g. Nothing at all is printed, or some part of the letter is missing) + + Send bug reports to: + + J\"org Knappen + Dieselstra\ss{}e 13 + 66123 Saarbr\"ucken + R.F.A. + + e-mail joerg.knappen@uni-mainz.de. + + P.S if you know a fix, it is greatly appreciated... + + Appendix D: T4-to-UCS correspondence + +This appendix contains a correspondence between the characters encoded in +the T4 encoding and the Universal Character Set (UCS) as defined in the ISO +Standard ISO-10646. The UCS is also popularly known as UNicode. + +The following characters are not part of the UCS: + + latin small ligature fj + latin [small|capital] letter e with line below + latin [small|capital] letter o with line below + latin [small|capital] letter open e with tilde + latin [small|capital] letter open o with tilde + +The ligature character of the fj ligature is ignored here and it is +mapped to the two characters f j. The remaining 8 characters are coded using +combining diacritics. There are two digraphs added at the end of the list +for the polish l with stroke. + + +T4 Unicode latex2e macro +128 0x0181 \m B +129 0x018a \m D +130 0x0190 \m E +131 0x018e \M E +132 0x0191 \m F +133 0x011a \v E +134 0x0194 \m G +135 0x0126 \B H +136 0x0198 \m K +137 0x019d \m J +138 0x0186 \m O +139 0x0134 \'N +140 0x01a9 \m S +141 0x014a \NG{} +142 0x01b2 \m U +143 0x01b3 \m Y +144 0x0187 \m C +145 0x01a4 \m P +146 0x0160 \v S +147 0x1e44 \.N +148 0x1e48 \b N +149 0x1e62 \d S +150 0x0167 \m Z +151 0x0166 \B T +152 0x0166 \.E +153 0x1eb8 \d E +154 0x01ac \m T +155 0x01ae \M T +156 0x02a7 \tsh{} +157 0x0066,0x0069 fj +158 0x0111 \dj{} +159 0x030f \G{} +160 0x0253 \m b +161 0x0257 \m d +162 0x0258 \m e +163 0x01dd \M e +164 0x0192 \m f +165 0x011b \v e +166 0x0263 \m g +167 0x0127 \B h +168 0x0199 \m k +169 0x0272 \m j +170 0x0254 \m o +171 0x0144 \'n +172 0x03a3 \m s +173 0x028b \ng{} +174 0x014b \m u +175 0x01b4 \m y +176 0x0188 \m c +177 0x01a5 \m p +178 0x0161 \v s +179 0x1e45 \.n +180 0x1e49 \b n +181 0x1e63 \d s +182 0x0292 \m z +183 0x0167 \B t +184 0x0117 \.e +185 0x1eb9 \d e +186 0x01ad \m t +187 0x0288 \M t +188 0x030e \U{} +189 0x00a1 \textexclamdown{} +190 0x00bf \textquestiondown{} +191 0x030d \I{} +192 0x0196 \m I +193 0x1eca \d I +194 0x0190,0x0303 \~{\m E} +195 0x00c3 \~A +196 0x1e3e \'M +197 0x0186,0x0303 \~{\m O} +198 0x00c6 \AE{} +199 0x00c7 \c C +200 0x00c8 \^E +201 0x00c9 \'E +202 0x00ca \^E +203 0x00cb \"E +204 0x0045,0x0331 \b E +205 0x0112 \=E +206 0x1ebc \~E +207 0x0128 \~I +208 0x0189 \M D +209 0x00d1 \~N +210 0x00d2 \NG{} +211 0x022e \.O +212 0x00d4 \^O +213 0x00d5 \~O +214 0x00d6 \"O +215 0x0152 \OE{} +216 0x00d8 \O{} +217 0x1ecc \d O +218 0x004f,0x0331 \b O +219 0x014c \=O +220 0x01d1 \v O +221 0x1ee4 \d U +222 0x0168 \~U +223 0x0337 {\fontencoding[T4]\selectfont \char223 } +224 0x0269 \m i +225 0x1ecb \d i +226 0x0258,0x0303 \~{\m e} +227 0x00e3 \~a +228 0x1e3f \'m +229 0x0254,0x0303 \~{\m o} +230 0x00e6 \ae{} +231 0x00e7 \c c +232 0x00e8 \^e +233 0x00e9 \'e +234 0x00ea \^e +235 0x00eb \"e +236 0x0065,0x0331 \b e +237 0x0113 \=e +238 0x1ebd \~e +239 0x0129 \~\i +240 0x0256 \M d +241 0x00f1 \~n +242 0x00f2 \ng{} +243 0x022f \.o +244 0x00f4 \^o +245 0x00f5 \~o +246 0x00f6 \"o +247 0x0153 \oe{} +248 0x00f8 \o{} +249 0x1ecd \d o +250 0x006f,0x0331 \b o +251 0x014d \=o +252 0x01d2 \v o +253 0x1ee5 \.u +254 0x0169 \~u +255 0x00df \ss{} + +T4 digraph Unicode latex2e macro +223,76 0x0141 \L{} +223,108 0x0142 \l{} + + [The End] diff --git a/fonts/jknappen/fc/src/fcaccent.mf b/fonts/jknappen/fc/src/fcaccent.mf new file mode 100644 index 0000000000..cdbdc82ea0 --- /dev/null +++ b/fonts/jknappen/fc/src/fcaccent.mf @@ -0,0 +1,319 @@ +% This is FCACCENT.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following accents are generated without condition: +% +% ring, grave, acute, hachek, breve, macron, cedilla, hat, dot above, +% double acute (hungarian long umlaut), tilde, umlaut, ogonek +% +% And the following on demand, i. e. if their code is known: +% +% polish_cross (for \L and \l), double_grave, universal_acc, double_univ_acc +% hoi (vietnamese ? accent) +% +% Higher versions of this file might include more accents. + +iff known polish_cross: +cmchar "Cross for Polish l and L"; +if unknown l_width#: + l_width#:=5u#+2serif_fit#; fi % nominal width of `l' +if unknown L_stem#: + L_stem#:=cap_serif_fit#+max(2u#+.5cap_stem#,3u#); fi % center of `L' stem +ligtable polish_cross: "l" kern -l_width#-2letter_fit#, + "L" kern -.5l_width#-L_stem#-2letter_fit#; +beginchar(polish_cross,l_width#,x_height#,0); +adjust_fit(stem_shift#,-stem_shift#); +pickup crisp.nib; x2-x1=max(4u,2.8u+stem); .5[x1,x2]=.5w; +y1-.5bar=.2[bar_height,x_height]; y2+.5bar=.8[bar_height,x_height]; +numeric theta; theta=angle(z2-z1)+90; +pos1(bar,theta); pos2(bar,theta); +filldraw stroke z1e--z2e; % diagonal +penlabels(1,2); endchar; + + +cmchar "Scandinavian circle accent"; +beginchar(oct"006",13u#+4/3(asc_height#-x_height#)*slant,asc_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric circ_hair,circ_vair; +circ_hair=hround min(hair,u+.5); circ_vair=vround min(vair,(h-x_height)/6+.5); +penpos1(circ_vair,90); penpos3(circ_vair,-90); +penpos2(circ_hair,180); penpos4(circ_hair,0); +x2r=hround(.5w-1.5u-.5circ_hair); +x4r=w-x2r; x1=x3=.5w; y1r=h+apex_o; y2=y4=.5[y1,y3]; +y3r=vround(1/3[x_height,h]+apex_o); +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penlabels(1,2,3,4); endchar; + + +cmchar "Grave accent"; +beginchar(oct"0",9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1-.5stem=hround 2u; x2=2/3[x1,w-x1]; + y1+.5stem=h+eps; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + lft x1l=hround 1.5u; rt x2r=hround(.5w+.25u+.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Acute accent"; +beginchar(oct"1",9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr h#*slant-if serifs: 1.5 fi u#; +adjust_fit(0,0); +if serifs: pickup crisp.nib; x1+.5stem=hround(w-2u); x2=2/3[x1,w-x1]; + y1+.5stem=h+eps; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + filldraw circ_stroke z1e--z2e; % diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + rt x1r=hround(w-1.5u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +cmchar "Hachek (check) accent"; +beginchar(oct"007",9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: italcorr h#*slant+.5hair#-1.75u#; + adjust_fit(0,0); + pickup crisp.nib; pos2'(.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; + +cmchar "Breve accent"; +beginchar(oct"10",9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr h#*slant+.5vair#-1.5u#; +adjust_fit(0,0); +pickup crisp.nib; pos1(vair,-180); pos3(vair,0); +top y1=top y3=h; lft x1r=w-rt x3r=hround(2u-.5vair); +numeric mid_thickness; mid_thickness=vround 1/3[vair,stem]; +pos2(mid_thickness,-90); x2=.5w; +bot y2r=vround max(x_height+o+tiny,1/3[x_height,h]+o-.5mid_thickness); +filldraw stroke z1e{down}...z2e{right}...{up}z3e; % stroke +penlabels(1,2,3); endchar; + +cmchar "Macron (bar) accent"; +numeric macron_breadth#; macron_breadth#=.2[vair#,stem#]; +beginchar(oct"011",9u#,.75[x_height#,min(asc_height#,2x_height#)],0);% changed jk +italcorr h#*slant-.75u#; +adjust_fit(0,0); +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos1(macron_breadth,90); pos2(macron_breadth,90); +top y1r=top y2r=h+o; lft x1=w-rt x2=hround 1.25u; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + + +cmchar "Cedilla accent"; +beginchar(oct"013",8u#,0,.875desc_depth#); +adjust_fit(0,0); +x1=.5w+.5u; +if serifs: pickup crisp.nib; pos1(stem,0); pos2(stem,0); + pos3(vair,90); pos4(stem,0); pos5(vair,-90); + x1=x2; z3l=z2l; x4=x2+1.5u; x5=x3-1.5u; + bot y1=-o; bot y2=-vround 2/7d-o; y4=.5[y3,y5]; bot y5=-d-o; + filldraw stroke z1e--z2e; % stem + filldraw stroke z3e{right}...z4e{down}...{left}z5e; % hook +else: pickup fine.nib; pos1(vair,0); top y1=-o-2; + pos2(.5[vair,stem],0); bot y2=-d-o; x2=x1-1.25u; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2,3,4,5); endchar; + +cmchar "Circumflex (hat) accent"; +beginchar(oct"002",9u#,.75[x_height#,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=h; x2=.5w; + x1=w-x3=good.x 2.25u; y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: italcorr 2/3[x_height#,h#]*slant-.5stem#+.5vair#-.75u#; + adjust_fit(0,0); + pickup fine.nib; pos1(vair,0); pos3(vair,0); x1=w-x3; + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=w-x4l; + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +cmchar "Dot accent"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(oct"012",5u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant+.5dot_diam#-2u#; +adjust_fit(0,0); +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=good.x(.5w); top y2r=h+1; +if bot y2l<x_height+o+slab: y2l:=min(y2r-eps,x_height+o+slab+.5tiny); fi +y1=.5[y2l,y2r]; dot(1,2); % dot +penlabels(1,2); endchar; + +cmchar "Long Hungarian umlaut accent"; +beginchar(oct"005",9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr h#*slant-u#; +adjust_fit(0,0); +x3-x1=x4-x2=hround 3u; y3=y1; y4=y2; +if serifs: pickup crisp.nib; x3+.5stem=hround(w-1.5u); x2=2.5u; + y1+.5stem=h; y2=max(2/3[h,x_height],x_height+o+hair); + numeric theta; theta=angle(z2-z1)+90; + pos1(stem,theta); pos2(hair,theta); + pos3(stem,theta); pos4(hair,theta); + filldraw circ_stroke z1e--z2e; % left diagonal + filldraw circ_stroke z3e--z4e; % right diagonal +else: pickup fine.nib; pos1(stem,0); pos2(vair,0); + pos3(stem,0); pos4(vair,0); + rt x3r=hround(w-1.5u); lft x4l=hround(.5w+u-.5vair); + top y1=h; bot y2=vround 2/3[h,x_height]; + filldraw stroke z1e--z2e; % left diagonal + filldraw stroke z3e--z4e; fi % right diagonal +penlabels(1,2,3,4); endchar; + +cmchar "Tilde (squiggle) accent"; +beginchar(oct"003",9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr h#*slant-u#; +adjust_fit(0,0); +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-x_height)); + pickup crisp.nib; numeric mid_width; mid_width=.4[vair,stem]; + pos1(vair,theta+90); pos2(vair,theta+90); + pos3(vair,theta+90); pos4(vair,theta+90); + z2-z1=z4-z3=(mid_width-crisp)*dir theta; + lft x1r=w-rt x4l=hround 1.5u; top y4r=h; + bot y1l=vround(bot y1l+min(2/3[x_height,h],y3l-.25vair)-top y1r); + pair delta; ypart delta=3(y3l-y1l); delta=whatever*dir theta; + filldraw z1l..controls(z1l+delta)and(z3l-delta)..z3l..z4l + --z4r..controls(z4r-delta)and(z2r+delta)..z2r..z1r--cycle; % stroke +else: pickup fine.nib; pos1(vair,180); pos2(vair,90); + pos3(.5[vair,slab],90); pos4(vair,90); pos5(vair,180); + lft x1r=w-rt x5l=hround 1.5u; x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[x_height,h]-vair); + top y2r=top y5=h; y3=.5[y2,y4]; + filldraw stroke z1e{up}...z2e{right}..z3e..{right}z4e...{up}z5e; fi % stroke +penlabels(1,2,3,4,5); endchar; + +cmchar "Umlaut (double dot) accent"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(oct"004",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=good.x(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=good.x(w-2.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + + +cmchar "Ogonek"; % from jb's cmoe +beginchar(oct"014",8u#,0,.875desc_depth#); +adjust_fit(0,0) ; +x1 = .5w+ 1.5u ; +pickup crisp.nib; pos1(hair,-25); +pos2(.8[vair,stem],45) ; pos3(vair,140) ; +x1 = x2+.5u ; y2 = .8[y1,y5] ; + rt x3l = w ; y3 = .4[y5,y1] ; + x5 = 2/5[x2,x3] ; bot y5 =-d ; +pos5(.6[vair,stem],90) ; +bot y1 = o ; +lft x4l = hround(x1-u) ; y4 = .5[y1,y2] ; +pos4(.4[hair,stem],0) ; +filldraw stroke z1e ..tension 1.2 .. z4e ..z2e .. z5e ..tension 1.2 .. z3e ; +penlabels(1,2,3,4,5); endchar; + + +iff known double_grave: +cmchar "Double grave accent"; % from cm +beginchar(double_grave,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); + italcorr h#*slant-u#; +adjust_fit(0,0); slantswitch; % mirror will reswitch the slant +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 +mirror(.5w); +penlabels(1,2,3,4); endchar; + +iff known universal_acc: +cmchar "Universal or Prime accent"; % from mgr +beginchar(universal_acc,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +adjust_fit(0,0); +x1=.5w; +universal(a,x1); +penlabels(a1,a2,a3,a4);endchar; + +iff known double_univ_acc: +cmchar "Double Universal accent"; +beginchar(double_univ_acc,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +adjust_fit(0,0); +x1:=good.x(1/3w-eps); x2:=good.x(2/3w+eps); +universal(a,x1); +universal(b,x2); +penlabels(a1,a2,a3,a4,b1,b2,b3,b4);endchar; + + + +iff known hoi: +cmchar "Hoi"; % jk, based on ? +beginchar(hoi,9u#,body_height#,0); % vietnamese tone mark +adjust_fit(0,0); +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=.5w; rt x3r=hround(w-1.5u); +numeric hh; hh=min(asc_height,2x_height); +bot y6=max(2/3[hh,x_height],x_height+o+hair); +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 1.5u; y1=y3; bulb(2,1,0); % bulb +else: pos1(Vround 5/7[vair,flare],110); + lft x1r=hround 1.5u; top y1r=vround .9[y6,top y2r]; + filldraw stroke term.e(2,1,left,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/fccoding.mf b/fonts/jknappen/fc/src/fccoding.mf new file mode 100644 index 0000000000..2f6df426a6 --- /dev/null +++ b/fonts/jknappen/fc/src/fccoding.mf @@ -0,0 +1,167 @@ +% This is fccoding.mf +% Version 1.2 which should not change anymore +% Date 18-NOV-1994, renamed to fccoding.mf 5-MAR-1998 +% +% (c) 1991,1992, 1994, 1998 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Barbarossaring 43 +% D 55118 Mainz +% Germany +% +% Includes hooktopped c, p, t for Serer. +% +% Sets code positions according to the fc font encoding scheme +% +% Change Version 1.2: Added font_coding_scheme:="African Latin (fc)" +% to be recorded as a special in gf and pk files + +font_coding_scheme:="African Latin (fc)"; + +hooktop_B:=128; % oct"200"; +hooktop_D:=129; % oct"201"; +open_E:=130; % oct"202"; +reversed_E:=131; % oct"203"; +long_F:=132; % oct"204"; +E_hachek:=133; % oct"205"; +ipa_Gamma:=134; % oct"206"; +crossed_H:=135; % oct"207"; + +hooktop_K:=136; % oct"210"; +Enj:=137; % oct"211"; +open_O:=138; % oct"212"; +N_acute:=139; % oct"213"; +Esh:=140; % oct"214"; +Eng:=141; % oct"215"; +var_U:=142; % oct"216"; +hooktop_Y:=143; % oct"217"; + +hooktop_C:=144; % oct"220"; +hooktop_P:=145; % oct"221"; +S_hachek:=146; % oct"222"; +N_dot:=147; % oct"223"; +N_uline:=148; % oct"224"; +S_dotu:=149; % oct"225"; +Zhe:=150; % oct"226"; +sami_T:=151; % oct"227"; + +E_dot:=152; % oct"230"; +E_dotu:=153; % oct"231"; +hooktop_T:=154; % oct"232"; +long_T:=155; % oct"233"; +t_esh_lig:=156; % oct"234"; +fj_lig:=157; % oct"235"; +crossed_d:=158; % oct"236"; +double_grave:=159; % oct"237"; + +hooktop_b:=160; % oct"240"; +hooktop_d:=161; % oct"241"; +open_e:=162; % oct"242"; +reversed_e:=163; % oct"243"; +long_f:=164; % oct"244"; +e_hachek:=165; % oct"245"; +ipa_gamma:=166; % oct"246"; +crossed_h:=167; % oct"247"; + +hooktop_k:=168; % oct"250"; +enj:=169; % oct"251"; +open_o:=170; % oct"252"; +n_acute:=171; % oct"253"; +esh:=172; % oct"254"; +eng:=173; % oct"255"; +var_u:=174; % oct"256"; +hooktop_y:=175; % oct"257"; + +hooktop_c:=176; % oct"260"; +hooktop_p:=177; % oct"261"; +s_hachek:=178; % oct"262"; +n_dot:=179; % oct"263"; +n_uline:=180; % oct"264"; +s_dotu:=181; % oct"265"; +zhe:=182; % oct"266"; +sami_t:=183; % oct"267"; + +e_dot:=184; % oct"270"; +e_dotu:=185; % oct"271"; +hooktop_t:=186; % oct"272"; +long_t:=187; % oct"273"; +double_univ_acc:=188; % oct"274"; +spanish_shriek:=189; % oct"275"; +spanish_query:=190; % oct"276"; +universal_acc:=191; % oct"277"; + +latin_Iota:=192; % oct"300"; +I_dotu:=193; % oct"301"; +open_E_tilde:=194; % oct"302"; +A_tilde:=195; % oct"303"; +M_acute:=196; % oct"304"; +open_O_tilde:=197; % oct"305"; +AE_lig:=198; % oct"306"; +C_cedilla:=199; % oct"307"; + +E_grave:=200; % oct"310"; +E_acute:=201; % oct"311"; +E_hat:=202; % oct"312"; +E_umlaut:=203; % oct"313"; +E_uline:=204; % oct"314"; +E_bar:=205; % oct"315"; +E_tilde:=206; % oct"316"; +I_tilde:=207; % oct"317"; + +Edh:=208; % oct"320"; +N_tilde:=209; % oct"321"; +O_grave:=210; % oct"322"; +O_dot:=211; % oct"323"; +O_hat:=212; % oct"324"; +O_tilde:=213; % oct"325"; +O_umlaut:=214; % oct"326"; +OE_lig:=215; % oct"327"; + +crossed_O:=216; % oct"330"; +O_dotu:=217; % oct"331"; +O_uline:=218; % oct"332"; +O_bar:=219; % oct"333"; +O_hachek:=220; % oct"334"; +U_dotu:=221; % oct"335"; +U_tilde:=222; % oct"336"; +polish_cross:=223; % oct"337"; + +latin_iota:=224; % oct"340"; +i_dotu:=225; % oct"341"; +open_e_tilde:=226; % oct"342"; +a_tilde:=227; % oct"343"; +m_acute:=228; % oct"344"; +open_o_tilde:=229; % oct"345"; +ae_lig:=230; % oct"346"; +c_cedilla:=231; % oct"347"; + +e_grave:=232; % oct"350"; +e_acute:=233; % oct"351"; +e_hat:=234; % oct"352"; +e_umlaut:=235; % oct"353"; +e_uline:=236; % oct"354"; +e_bar:=237; % oct"355"; +e_tilde:=238; % oct"356"; +i_tilde:=239; % oct"357"; + +tailed_d:=240; % oct"360"; +n_tilde:=241; % oct"361"; +o_grave:=242; % oct"362"; +o_dot:=243; % oct"363"; +o_hat:=244; % oct"364"; +o_tilde:=245; % oct"365"; +o_umlaut:=246; % oct"366"; +oe_lig:=247; % oct"367"; + +crossed_o:=248; % oct"370"; +o_dotu:=249; % oct"371"; +o_uline:=250; % oct"372"; +o_bar:=251; % oct"373"; +o_hachek:=252; % oct"374"; +u_dotu:=253; % oct"375"; +u_tilde:=254; % oct"376"; +scharfes_s:=255; % oct"377"; + +endinput; diff --git a/fonts/jknappen/fc/src/fccscspu.mf b/fonts/jknappen/fc/src/fccscspu.mf new file mode 100644 index 0000000000..ade0fe1527 --- /dev/null +++ b/fonts/jknappen/fc/src/fccscspu.mf @@ -0,0 +1,369 @@ +% This is FCCSCSPU.MF +% Version 1.1a +% Date 19-MAR-1992 +% +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + + +% +% [ heavily borrowed from the Computer Modern Roman family +% of fonts by D. E. Knuth and from DC fonts Version 1.0 +% (prerelease of EC fonts) ] +% +% Content: +% +% Metafont program for the characters in positions of ligatures +% for the "caps and small caps" fonts +% +% I,J,FI,FL,FFI,FFL,SS, D with bar, long D, FJ, T-ESH +% + + +cmchar "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: 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; + +cmchar "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 + 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; + +cmchar "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; + +cmchar "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: 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; + +cmchar "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; + + + +cmchar "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: 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; + +cmchar "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; + + +iff known scharfes_s: +cmchar "Two letters S"; +beginchar(scharfes_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 +r:=r+w+shrink_fit; charwd:=2charwd; +addto currentpicture also currentpicture shifted (w+shrink_fit,0); +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +iff known crossed_d: +cmchar"Capital letter crossed D"; % Capital of icelandic edh, kroatian dje and + % ewe d with tail +% cmchar "Capital Eth"; % from im +beginchar(crossed_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 +pickup crisp.nib; y9-.5bar=.2[bar_height,x_height]; +y10+.5bar=.8[bar_height,x_height]; lft x9=0; x1-x9=x10-x1; +numeric theta; theta=angle(z10-z9)+90; pos9(bar,theta); pos10(bar,theta); +filldraw stroke z9e--z10e; % cross piece (from "Cross for polish l and L") +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7,9,10); endchar; + +iff known fj_lig: +cmchar "The ligature FJ"; % jk from cm F and J +beginchar(fj_lig,20.5u#,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#); +% first the J +numeric ww; ww=26/41w; +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 ww; 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(ww+.75u); bot y5r=vround.06h-o; + filldraw stroke z3e{down}....term.e(4,5,left,1,4); fi % arc and terminal +penlabels(1,2,3,4,5); +clearxy; +% Now the F +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(ww-.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(ww-4u+.5hair); y6=good.y(y5l+.6beak)+eps; + rt x9r=hround(ww-.5u); +else: rt x6r=hround(ww-1.5u); y6=y5l+eps; rt x9r=hround(ww-.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#-.5u#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +iff known t_esh_lig: +cmchar "Capital ligature T-ESH"; % jk +beginchar(t_esh_lig,21u#,cap_height#,0); +italcorr asc_height#*slant+.75u#; +adjust_fit(if monospace:0,u# else: 0,0 fi); pickup fine.nib; +% first the Esh +numeric ww; ww=13/21w; +pos0(flare+(cap_stem-stem),0); pos1(cap_hair,0); pos2(cap_band,90); +pos4(cap_stem,180); +pos5(cap_stem,0); +pos7(cap_band,-90); pos8(cap_hair,-180); pos9(flare+(cap_stem-stem),-180); +rt x1r=hround(w+.25u); lft x8r=hround(ww-.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=.75[-d,y4]; +x4=x5=hround(.5[ww,w]); +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...{down}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{down}...{left}z7e; % lower arc +penlabels(0,1,2,4,5,7,8,9); +% now the T +clearxy; +h:=vround(h-2stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5ww-.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(ww-.65u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % right arm and beak +pos5(hair,180); x5=ww-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 +penlabels(1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/fcilig.mf b/fonts/jknappen/fc/src/fcilig.mf new file mode 100644 index 0000000000..54ac377cb3 --- /dev/null +++ b/fonts/jknappen/fc/src/fcilig.mf @@ -0,0 +1,278 @@ +% This is FCILIG.MF +% Version 1.1 +% Date 17-NOV-1994 +% +% (c) Copyright 1991, 1994 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-55099 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following ligatures are generated without condition: +% +% ff, fi, fl, ffi, ffl (all using straight f) +% +% And the following on demand, i. e. if their code is known: +% +% fj_lig, t_esh_lig +% +% Higher versions of this file might include more ligatures. + +cmchar "Italic ligature ff"; % from cm (ff) +beginchar(oct"033",5u#+max(1.5u#,stem#)+max(3.5u#,2flare#)+2letter_fit#, + asc_height#,desc_depth#); +italcorr asc_height#*slant+.75u#; +adjust_fit(0,0); pickup fine.nib; +z98-z88=z99-z89=z14-z4=z15-z5=(4.8u+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); +rt x1r=hround(.5w+1.25u); x2=.5[x1,x4]; +top y2r=h+oo; bot y5=-d-oo; +y4=.25[x_height,h]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; y0+.5vair=.5[x_height,h]; +bulb(2,1,0); % left bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +pos10(flare,0); pos11(hair,0); pos12(vair,90); +pos13(.5[hair,stem],180); pos14(stem,theta+90); +pos15(stem,theta-90); +x12=.6[x11,x14]; +x13=.8[x12+x14-x98,x98]; +rt x11r=hround(w+.25u); +y0=y10; y2=y12; y3=y13; +bulb(12,11,10); % right bulb +filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc +filldraw z14r--z15l--z15r--z14l--cycle; % right stem +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,10,11,12,13,14,15,20,21,88,89,98,99); endchar; + +cmchar "Italic ligature fi"; % from cm (fi) +beginchar(oct"034",6.5u#+.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#); +adjust_fit(0,0); pickup fine.nib; +.5[x88,x89]=.5(w-4u-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); +pos11(stem,0); rt x11r=hround(w-2.5u+.5stem); +x12=x11; x14=w; hook_out(12,13,14); % closing hook +x1r=x11r; x2=.5[x1,x4]; +bot y5=-d-oo; +y0+.5flare=vround(.85[x_height,h]); top y2r=h+oo; +y4=.25[x_height,h]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; +bulb(2,1,0); % bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +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,10,11,12,13,14,20,21,88,89); endchar; + +cmchar "Italic ligature fl"; % from cm (fi) +beginchar(oct"035",7u#+.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#); +adjust_fit(0,0); pickup fine.nib; +.5[x88,x89]=.5(w-4.5u-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); +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 +x2=.5[x1,x4]; +top y2r=h+oo; bot y5=-d-oo; +y4=.25[x_height,h]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; y6=.8[y5,y7]; y0+.5vair=.5[x_height,h]; +bulb(2,1,0); % bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +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,10,11,12,13,14,20,21,88,89); endchar; + +cmchar "Italic ligature ffi"; % from cm (ffi) +beginchar(oct"036",11.75u#+.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#); +adjust_fit(0,0); pickup fine.nib; +z98-z88=z99-z89=z14-z4=z15-z5=(5u+2letter_fit,0); +numeric theta,mid_f; +mid_f=.5[x88,x99]=.5(w-4.25u-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); +rt x1r=hround(mid_f+1.75u); +x2=.5[x1,x4]; +top y2r=h+oo; bot y5=-d-oo; +y4=.25[x_height,h]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; y0+.5vair=.5[x_height,h]; +bulb(2,1,0); % left bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +pos10(flare,0); pos11(hair,0); pos12(vair,90); +pos13(.5[hair,stem],180); pos14(stem,theta+90); +pos15(stem,theta-90); +x11r=x21r; x12=.5[x11,x14]; +x13=.8[x12+x14-x98,x98]; +y10+.5flare=vround .85[x_height,h]; +y2=y12; y3=y13; +bulb(12,11,10); % right bulb +filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc +filldraw z14r--z15l--z15r--z14l--cycle; % middle stem +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,10,11,12,13,14,15, + 20,21,22,23,24,30,31,88,89,98,99); endchar; + +cmchar "Italic ligature ffl"; % from cm (ffl) +beginchar(oct"037",12u#+.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#); +adjust_fit(0,0); pickup fine.nib; +z98-z88=z99-z89=z14-z4=z15-z5=(5u+2letter_fit,0); +numeric theta,mid_f; +mid_f=.5[x88,x99]=.5(w-4.5u-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); +rt x1r=hround(mid_f+1.25u); +x2=.5[x1,x4]; +top y2r=h+oo; bot y5=-d-oo; y0+.5vair=.5[x_height,h]; +y4=.25[x_height,h]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; +bulb(2,1,0); % left bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper middle arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +pos10(flare,0); pos11(hair,0); pos12(vair,90); +pos13(.5[hair,stem],180); pos14(stem,theta+90); +pos15(stem,theta-90); +rt x11r=lft x21l; +x12=.5[x11,x14]; +x13=.8[x12+x14-x98,x98]; +y0=y10; y2=y12; y3=y13; +bulb(12,11,10); % right bulb +filldraw stroke z12e{left}...z13e...{z99-z98}z14e; % upper right arc +filldraw z14r--z15l--z15r--z14l--cycle; % middle stem +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,10,11,12,13,14,15, + 20,21,22,23,24,30,31,88,89,98,99); endchar; + +cmchar "Italic ligature fj"; % jk +beginchar(fj_lig,6.5u#+.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#); +adjust_fit(0,0); pickup fine.nib; +.5[x88,x89]=.5(w-4u-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); +pos12(stem,0); +pos13(stem,0); lft x13l=hround(w-2u-.5stem); +pos14(vair,-90); pos15(hair,-180); pos16(flare,-180); +x12=x13; +x1r=x13r; x2=.5[x1,x4]; +bot y5=-d-oo; +y0+.5flare=vround(.85[x_height,h]); top y2r=h+oo; +y4=.25[x_height,h]; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; +bulb(2,1,0); % left bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % left stem +top y12=x_height; bot y13=-1/3d; bot y14r=-d-oo; y16-.5flare=-vround.9d; +x14=2/3[x13,x4]; lft x15r=lft x15r+x14-x15l-eps; +filldraw stroke z12e--z13e...{left}z14e; % right stem and arc +bulb(14,15,16); % right bulb +pickup crisp.nib; pos20(bar,90); pos21(bar,90); +top y20r=top y21r=x_height; +lft x20=lft x4r-.5stem-u; x21=x13; +filldraw stroke z20e--z21e; % crossbar +penlabels(0,1,2,3,4,5,12,13,14,15,16,20,21,88,89); endchar; + +iff known t_esh_lig: +cmchar "The ligature t-esh"; % from wsuipa +beginchar(t_esh_lig,10u#+max(u#,.5stem#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),desc_depth#); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: 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(2/3w-.3u); top y8r=x_height; lft x7=hround 1/3u; y7l=y8l; +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; % upper terminal and crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround(2/3w-.5u); +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); +x6l=x5=x5'; top y6=max(vround .75bar_height,top y5); y5=y5'; +filldraw stroke z5'e--z6e; % terminal +pickup fine.nib; pos21(shaved_stem,0); pos22(shaved_stem,0); +lft x21l=x5; x21=x22; top y21=.8h; bot y22=0; +filldraw stroke z21e--z22e; % stem +%top +pos10(vair,-90); x10=.5[x21,x11l]; top y10l=h+o+1; +pos11(hair,0); rt x11l=hround(w-.4u); y11=.84h; +pos12(flare,0); +pos10'(vair,90); z10'=z10; +bulb(10',11,12); % bulb +filldraw stroke pulled_super_arc.e(21,10)(.4superpull); % arc and stem +%tail +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); + pickup tiny.nib; pos15(vair,-90); pos16(hair,-180); pos17(flare,-180); + x15=.5[x16r,x22]; bot y15r=-d+oo; y16-.5flare=-.85d; + z16r=z17r; x17r=hround(x3+.1u); + x15r:=max(x,.5[x16r,x15]); + filldraw stroke pulled_super_arc.e(22,15)(.4superpull); + bulb(15,16,17); % arc and bulb +penlabels(1,2,3,4,5,6,7,8,10,11,12,15,16,17,21,22); endchar; + + +endinput; diff --git a/fonts/jknappen/fc/src/fcitalic.mf b/fonts/jknappen/fc/src/fcitalic.mf new file mode 100644 index 0000000000..afc5d20f42 --- /dev/null +++ b/fonts/jknappen/fc/src/fcitalic.mf @@ -0,0 +1,58 @@ +% This is FCITALIC.MF +% Driver File for the FC-Fonts +% Version 1.2 +% Date 5-MAR-1998 +% +% (c) 1991--1998 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Barbarossaring 43 +% D-55118 Mainz + +mode_setup; +font_setup; +input fcmacros; +input fccoding; +input itald; % numbers from computer modern +input fcpunct; +input fcaccent; +input fcilig; +input fcitlpct; +input uppera; +input upperbcd; +input uppere; +input upperfgh; +input upperij; +input upperklm; +input uppern; +input uppero; +input upperpqr; +input upperst; +input upperuvw; +input upperxyz; +input itala; +input italbcd; +input itale; +input italfgh; +input italij; +input italklm; +input italn; +input italo; +input italpqr; +input italst; +input italuvw; +input italxyz; + +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; +fi +if monospace: input fcttligt; else: input fcitligt; fi +bye. diff --git a/fonts/jknappen/fc/src/fcitligt.mf b/fonts/jknappen/fc/src/fcitligt.mf new file mode 100644 index 0000000000..22b0927366 --- /dev/null +++ b/fonts/jknappen/fc/src/fcitligt.mf @@ -0,0 +1,167 @@ +% This is FCITLIGT.MF +% Version 1.3a +% Date 25-NOV-1994 +% +% (c) 1992, 1994 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 55099 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% +% Ligature Table for fc italic fonts +% + +ligtable ">":">" =: oct"023"; % Guillemets +ligtable "<":"<" =: oct"024"; +ligtable "`":"`" =: oct"020"; % Quotation marks +ligtable "'":"'" =: oct"021"; +ligtable ",":"," =: oct"022"; +ligtable "!":"`" =: spanish_shriek; % Spanish punctuation +ligtable "?":"`" =: spanish_query; +ligtable "-":"-" =: oct"025", % n-dash + 127 =: 127; % "-" "hyphenchar" -> "hyphenchar" +ligtable oct"025":"-" =: oct"026"; % m-dash + +% Ligatures fl, fi, ff etc not yet implemented + +numeric itc#; itc#=(asc_height#-x_height#)*slant+1/4u#; + +ligtable "f": "i"=:oct"034", + "f"=:oct"033", + "l"=:oct"035", + "j"=:fj_lig, +long_f: esh: t_esh_lig: + "'" kern itc#, "?" kern itc#, "!" kern itc#, + ")" kern itc#, "]" kern itc#; + +ligtable oct"033": % ff + "i"=:oct"036", + "l"=:oct"037", + "'" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; + + +def lig_o_table (expr k) = + "o" kern k, open_o kern k, open_o_tilde kern k, + o_grave kern k, o_dot kern k, o_hat kern k, + o_tilde kern k, o_umlaut kern k, oe_lig kern k, + crossed_o kern k, o_dotu kern k, o_uline kern k, + o_bar kern k, o_hachek kern k +enddef; +% +def lig_a_table (expr k) = + "a" kern k, a_tilde kern k, ae_lig kern k +enddef; +% +def lig_i_table (expr k) = + "i" kern k, oct"031" kern k, i_tilde kern k, latin_iota kern k, + i_dotu kern k +enddef; +def lig_e_table (expr k)= + "e" kern k, e_hachek kern k, e_dot kern k, open_e kern k, + reversed_e kern k, e_dotu kern k, open_e_tilde kern k, + e_grave kern k, e_acute kern k, e_hat kern k, + e_umlaut kern k, e_uline kern k, e_bar kern k, + e_tilde kern k +enddef; +% +def lig_u_table (expr k)= + "u" kern k, u_dotu kern k, u_tilde kern k, var_u kern k +enddef; +% +def lig_O_table (expr k) = + "O" kern k, open_o kern k, open_O_tilde kern k, + O_grave kern k, O_dot kern k, O_hat kern k, + O_tilde kern k, O_umlaut kern k, OE_lig kern k, + crossed_O kern k, O_dotu kern k, O_uline kern k, + O_bar kern k, O_hachek kern k +enddef; +% +% +% +k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + + +ligtable "F": long_F: "V": "W": "T": hooktop_T: "Y": + "a" kern kk#, "e" kern kk#, open_e kern kk#, + reversed_e kern kk#, oct"031" kern kk#, latin_iota kern kk#, + "o" kern kk#, open_o kern kk#, "u" kern kk#, var_u kern kk#, + ae_lig kern kk#, oe_lig kern kk#, "r" kern kk#, + "y" kern kk#, + "A" kern kk#, "." kern kk#, + "," kern kk#; + +ligtable "P": hooktop_P: + "A" kern kk#, "." kern kk#, + "," kern kk#; + + +ligtable "K": "X": ipa_Gamma: + lig_O_table(k#), "C" kern k#, "G" kern k#, "Q" kern k#, + hooktop_C kern k#, C_cedilla kern k#; + +ligtable "O": "D": Edh: hooktop_D: open_O: open_O_tilde: O_grave: O_dot: + O_hat: O_tilde: O_umlaut: crossed_O: O_dotu: O_bar: O_hachek: + "X" kern k#, ipa_Gamma kern k#, "W" kern k#, "V" kern k#, + "Y" kern k#, hooktop_Y kern k#, "A" kern k#, A_tilde kern k#, + AE_lig kern k#; + +ligtable "A": A_tilde: "R": latin_Iota: + "t" kern k#, sami_t kern k#, hooktop_t kern k#, + "n" kern k#, "m" kern k#, enj kern k#, eng kern k#, + n_tilde kern k#, n_acute kern k#, n_dot kern k#, + n_uline kern k#, m_acute kern k#, + "l" kern k#, "r" kern k#, lig_u_table(k#), lig_i_table(k#), + "h" kern k#, crossed_h kern k#, "b" kern k#, + hooktop_b kern k#, "k" kern k#, hooktop_k kern k#, + "v" kern k#, "w" kern k#, + lig_e_table(-u#), lig_a_table(-u#), lig_o_table(-u#), + "d" kern -u#, hooktop_d kern -u#, crossed_d kern -u#, + tailed_d kern -u#, "c" kern -u#, hooktop_c kern -u#, + c_cedilla kern -u#, "g" kern -u#, "q" kern -u#, + "C" kern k#, + hooktop_C kern k#, C_cedilla kern k#, "G" kern k#, + lig_O_table(k#), "Q" kern k#, "U" kern k#, var_U kern k#, + "T" kern kk#, long_T kern kk#, "Y" kern kk#, + hooktop_Y kern kk#, "V" kern kkk#, "W" kern kkk#; + +ligtable "L": lig_e_table(-u#), lig_a_table(-u#), lig_o_table(-u#), + "d" kern -u#, hooktop_d kern -u#, crossed_d kern -u#, + tailed_d kern -u#, "c" kern -u#, hooktop_c kern -u#, + c_cedilla kern -u#, "g" kern -u#, "q" kern -u#, + "T" kern kk#, long_T kern kk#, "Y" kern kk#, + hooktop_Y kern kk#, "V" kern kkk#, "W" kern kkk#; + +ligtable "l": "l" kern u#; + +ligtable "b": hooktop_b: "c": hooktop_c: c_cedilla: + "e": e_hachek: e_dot: open_e: reversed_e: e_dotu: open_e_tilde: + e_grave: e_acute: e_hat: e_umlaut: e_uline: e_bar: e_tilde: + "o": open_o: open_o_tilde: o_grave: o_dot: o_hat: + o_tilde: o_umlaut: oe_lig: crossed_o: o_dotu: o_uline: + o_bar: o_hachek: "p": hooktop_p: "r": + lig_e_table(-u#), lig_a_table(-u#), lig_o_table(-u#), + "d" kern -u#, hooktop_d kern -u#, crossed_d kern -u#, + tailed_d kern -u#, "c" kern -u#, hooktop_c kern -u#, + c_cedilla kern -u#, "g" kern -u#, "q" kern -u#; +ligtable "n": "'" kern kkk#; + +ligtable hooktop_d: % t_esh_lig: + "a" kern k#, "e" kern k#, latin_iota kern k#, + oct"031" kern k#, open_e kern k#, reversed_e kern k#, + "o" kern k#, open_o kern k#, "u" kern k#, var_u kern k#, + ae_lig kern k#, oe_lig kern k#, + "." kern kk#, "," kern kk#; + +ligtable tailed_d: lig_a_table(k#), lig_e_table(k#), lig_i_table(k#), + lig_o_table(k#), lig_u_table(k#), "." kern kk#; + +endinput; diff --git a/fonts/jknappen/fc/src/fcitlpct.mf b/fonts/jknappen/fc/src/fcitlpct.mf new file mode 100644 index 0000000000..3434ec98e2 --- /dev/null +++ b/fonts/jknappen/fc/src/fcitlpct.mf @@ -0,0 +1,120 @@ +% This is FCITLPCT.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% Pounds, ?, & +% +% And the following on demand, i. e. if their code is known: +% +% spanish_query (?`) +% +% Higher versions of this file might include more characters. + +cmchar "Sterling sign"; +beginchar("$",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 x9r=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; + +cmchar "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; + +cmchar "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; + +iff known spanish_query: cmchar "Spanish open italic question mark"; +beginchar(spanish_query,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/jknappen/fc/src/fclfont.sty b/fonts/jknappen/fc/src/fclfont.sty new file mode 100644 index 0000000000..87718a0b8f --- /dev/null +++ b/fonts/jknappen/fc/src/fclfont.sty @@ -0,0 +1,19 @@ +% This is FCLFONT.STY +% +% (C) Copyright 1994--2004 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +\ProvidesPackage{fclfont}[2004/06/01 v1.2] +\RequirePackage{newlfont} +\renewcommand{\ttdefault}{tt} +\renewcommand{\rmdefault}{fcr} +\renewcommand{\sfdefault}{fcss} +\renewcommand{\encodingdefault}{T4} +\RequirePackage[T4]{fontenc} +\def\ttseries{\fontseries\ttdefault\selectfont} +\let\tt\ttseries +\DeclareTextFontCommand{\texttt}{\ttseries} +%% +%% End of file `fclfont.sty'. + diff --git a/fonts/jknappen/fc/src/fclfont.sty_old b/fonts/jknappen/fc/src/fclfont.sty_old new file mode 100644 index 0000000000..a3ed62eb2b --- /dev/null +++ b/fonts/jknappen/fc/src/fclfont.sty_old @@ -0,0 +1,341 @@ +% This is FCLFONT.STY_OLD +\def\fileversion{v1.3} +\def\filedate{12-NOV-1994} +% +% (C) Copyright 1992, 1993, 1994 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-55099 Mainz +% knappen@vkpmzd.kph.uni-mainz.de +% +% Made by using dclfont.sty by Rainer Sch"opf and Frank Mittelbach +% +\immediate + \write\sixt@@n{Style-Option: `fclfont' \space + \fileversion\space <\filedate> (JK)} +\ifx\fontfamily\undefined + \let\fontfamily\family + \let\fontseries\series + \let\fontshape\shape + \let\fontsize\size +\fi +\def\newfont#1#2{\@ifdefinable#1{\global + \font#1=#2\relax}} +\def\symbol#1{\char #1\relax} +\def\@gobbletwo#1#2{} +\let\load\@gobbletwo +\def\@setsize#1#2#3#4{\@nomath#1% + \fontsize{#4}{#2}\selectfont} +\def\prm{\fontfamily\rmdefault\selectfont} +\def\psf{\fontfamily\sfdefault\selectfont} + +\def\psl{\fontshape\sldefault\selectfont} +\def\psc{\fontshape\scdefault\selectfont} +\def\pit{\fontshape\itdefault\selectfont} + +\def\pbf{\fontseries\bfdefault\selectfont} +\def\ptt{\fontseries\ttdefault\selectfont} +\def\em{\protect\pem} +\def\pem{\@nomath\em \ifdim \fontdimen\@ne\font >\z@ + \normalshape \else \it \fi} + \let\math@bgroup\begingroup + \def\math@egroup#1{#1\endgroup} + \ifx\lyfam\undefined + \new@mathgroup\lyfam + \define@mathgroup\mv@normal\lyfam + {lasy}{m}{n} + \define@mathgroup\mv@bold\lyfam + {lasy}{b}{n} + \edef\@tempa{\hexnumber@\lyfam} + \mathchardef\mho"0\@tempa 30 + \mathchardef\Join"3\@tempa 31 + \mathchardef\Box"0\@tempa 32 + \mathchardef\Diamond"0\@tempa 33 + \mathchardef\leadsto"3\@tempa 3B + \mathchardef\sqsubset"3\@tempa 3C + \mathchardef\sqsupset"3\@tempa 3D + \mathchardef\lhd"3\@tempa 01 + \mathchardef\unlhd"3\@tempa 02 + \mathchardef\rhd"3\@tempa 03 + \mathchardef\unrhd"3\@tempa 04 + \fi +\def\@accent@def#1#2#3{\expandafter\def + \csname @#1@\string#2@#1@\endcsname{#3}} +%grave +\def\`#1{\expandafter\ifx \csname @grave@\string#1@grave@\endcsname \relax + {\accent0 #1}\else \csname @grave@\string#1@grave@\endcsname\fi} +\let\@accii=\` +\@accent@def{grave}{e}{^^e8} +\@accent@def{grave}{o}{^^f2} +\@accent@def{grave}{E}{^^c8} +\@accent@def{grave}{O}{^^d2} +%acute +\def\'#1{\expandafter\ifx \csname @acute@\string#1@acute@\endcsname \relax + {\accent1 #1}\else \csname @acute@\string#1@acute@\endcsname\fi} +\let\@acci=\' +\@accent@def{acute}{n}{^^ab} +\@accent@def{acute}{e}{^^e9} +\@accent@def{acute}{m}{^^e4} +\@accent@def{acute}{N}{^^8b} +\@accent@def{acute}{E}{^^c9} +\@accent@def{acute}{M}{^^c4} +%check +\def\v#1{\expandafter\ifx \csname @check@\string#1@check@\endcsname \relax + {\accent7 #1}\else \csname @check@\string#1@check@\endcsname\fi} +\@accent@def{check}{e}{^^a5} +\@accent@def{check}{s}{^^b2} +\@accent@def{check}{o}{^^fc} +\@accent@def{check}{E}{^^85} +\@accent@def{check}{S}{^^92} +\@accent@def{check}{O}{^^dc} +%breve +\def\u#1{\expandafter\ifx \csname @breve@\string#1@breve@\endcsname \relax + {\accent8 #1}\else \csname @breve@\string#1@breve@\endcsname\fi} +%macron +\def\=#1{\expandafter\ifx \csname @macron@\string#1@macron@\endcsname \relax + {\accent9 #1}\else \csname @macron@\string#1@macron@\endcsname\fi} +\@accent@def{macron}{e}{^^ed} +\@accent@def{macron}{o}{^^fb} +\@accent@def{macron}{E}{^^cd} +\@accent@def{macron}{O}{^^db} +\let\@acciii=\= +%circumflex +\def\^#1{\expandafter\ifx \csname @circflx@\string#1@circflx@\endcsname \relax + {\accent2 #1}\else \csname @circflx@\string#1@circflx@\endcsname\fi} +%dot +\def\.#1{\expandafter\ifx \csname @dot@\string#1@dot@\endcsname \relax + {\accent10 #1}\else \csname @dot@\string#1@dot@\endcsname\fi} +\@accent@def{dot}{n}{^^b3} +\@accent@def{dot}{N}{^^93} +\@accent@def{dot}{o}{^^f3} +\@accent@def{dot}{e}{^^b8} +\@accent@def{dot}{O}{^^d3} +\@accent@def{dot}{E}{^^98} +\@accent@def{dot}{\i}{i} +\@accent@def{dot}{i}{i} +%Hungarian +\def\H#1{\expandafter\ifx \csname @Hung@\string#1@Hung@\endcsname \relax + {\accent5 #1}\else \csname @Hung@\string#1@Hung@\endcsname\fi} +%ring above +\def\r#1{\expandafter\ifx \csname @ring@\string#1@ring@\endcsname \relax + {\accent6 #1}\else \csname @ring@\string#1@ring@\endcsname\fi} +%tilde +\def\~#1{\expandafter\ifx \csname @tilde@\string#1@tilde@\endcsname \relax + {\accent3 #1}\else \csname @tilde@\string#1@tilde@\endcsname\fi} +\@accent@def{tilde}{a}{^^e3} +\@accent@def{tilde}{n}{^^f1} +\@accent@def{tilde}{o}{^^f5} +\@accent@def{tilde}{e}{^^ee} +\@accent@def{tilde}{^^a2}{^^e2} % open e +\@accent@def{tilde}{^^aa}{^^e5} % open o +\@accent@def{tilde}{i}{^^ef} +\@accent@def{tilde}{\i}{^^ef} +\@accent@def{tilde}{u}{^^fe} +\@accent@def{tilde}{E}{^^ce} +\@accent@def{tilde}{^^82}{^^c2} +\@accent@def{tilde}{^^8a}{^^c5} +\@accent@def{tilde}{I}{^^cf} +\@accent@def{tilde}{A}{^^c3} +\@accent@def{tilde}{N}{^^d1} +\@accent@def{tilde}{O}{^^d5} +\@accent@def{tilde}{U}{^^de} +%Umlaut +\def\"#1{\expandafter\ifx \csname @Umlaut@\string#1@Umlaut@\endcsname \relax + {\accent4 #1}\else \csname @Umlaut@\string#1@Umlaut@\endcsname\fi} +\@accent@def{Umlaut}{e}{^^eb} +\@accent@def{Umlaut}{o}{^^f6} +\@accent@def{Umlaut}{E}{^^cb} +\@accent@def{Umlaut}{O}{^^d6} +% +\def\pd#1{\null\oalign{#1\crcr\hidewidth.\hidewidth}} +\def\pb#1{\null\oalign{#1\crcr\hidewidth + \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}} +% inserted \null to allow \d{} and \b{} -- was a bug in plain.tex +% ogonek (or kvist or polish hook) +\def\pk#1{\expandafter\ifx \csname @kvist@\string#1@kvist@\endcsname \relax + \kv@st#1\else \csname @kvist@\string#1@kvist@\endcsname\fi} +\def\kv@st#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent12 #1% + \else{\ooalign{\hidewidth\char12\hidewidth\crcr\unhbox\z@}}\fi} +\def\k#1{\protect\pk#1} +% cedilla +\def\pc#1{\expandafter\ifx \csname @cedilla@\string#1@cedilla@\endcsname \relax + \c@dilla#1\else \csname @cedilla@\string#1@cedilla@\endcsname\fi} +\@accent@def{cedilla}{c}{^^e7} +\@accent@def{cedilla}{C}{^^c7} +\def\c@dilla#1{\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1% + \else{\ooalign{\hidewidth\char11\hidewidth\crcr\unhbox\z@}}\fi} +\def\c#1{\protect\pc#1} +% line below +\def\b#1{\expandafter\ifx \csname @uline@\string#1@uline@\endcsname \relax + \protect\pb#1\else \csname @uline@\string#1@uline@\endcsname \fi} +\@accent@def{uline}{e}{^^ec} +\@accent@def{uline}{o}{^^fa} +\@accent@def{uline}{n}{^^b4} +\@accent@def{uline}{E}{^^cc} +\@accent@def{uline}{O}{^^da} +\@accent@def{uline}{N}{^^94} +% dot below +\def\d#1{\expandafter\ifx \csname @dotu@\string#1@dotu@\endcsname \relax + \protect\pd#1\else \csname @dotu@\string#1@dotu@\endcsname \fi} +\@accent@def{dotu}{e}{^^b9} +\@accent@def{dotu}{i}{^^e1} +\@accent@def{dotu}{o}{^^f9} +\@accent@def{dotu}{s}{^^b5} +\@accent@def{dotu}{u}{^^fd} +\@accent@def{dotu}{E}{^^99} +\@accent@def{dotu}{I}{^^c1} +\@accent@def{dotu}{O}{^^d9} +\@accent@def{dotu}{S}{^^95} +\@accent@def{dotu}{U}{^^dd} +%%% \chardef\aa="0E5 +\def\aa{\accent6 a} +\chardef\ae="0E6 +\def\l{^^dfl} +\chardef\oe="0F7 +\chardef\o="0F8 +\chardef\ss="0FF +\def\SS{SS} +%%%% \chardef\AA="0C5 +\def\AA{\accent6 A} +\chardef\AE="0C6 +\def\L{^^dfL} +\chardef\OE="0D7 +\chardef\O="0D8 +\chardef\i="19 +\chardef\j="1A +% \def\pounds (see below) +\def\hbar{{\mathchar'11\mkern-9muh}} + +\def\letter#1#2{\catcode`#1=11 \catcode`#2=11 % + \uccode`#1=`#1 \lccode`#1=`#2 \sfcode`#1=999 % + \lccode`#2=`#2 \uccode`#2=`#1 \sfcode`#2=1000 } +% #1 is the uppercase, #2 the lowercase member of a pair +\letter{^^80}{^^a0} +\letter{^^81}{^^a1} +\letter{^^82}{^^a2} +\letter{^^83}{^^a3} +\letter{^^84}{^^a4} +\letter{^^85}{^^a5} +\letter{^^86}{^^a6} +\letter{^^87}{^^a7} +\letter{^^88}{^^a8} +\letter{^^89}{^^a9} +\letter{^^8a}{^^aa} +\letter{^^8b}{^^ab} +\letter{^^8c}{^^ac} +\letter{^^8d}{^^ad} +\letter{^^8e}{^^ae} +\letter{^^8f}{^^af} +\letter{^^90}{^^b0} +\letter{^^91}{^^b1} +\letter{^^92}{^^b2} +\letter{^^93}{^^b3} +\letter{^^94}{^^b4} +\letter{^^95}{^^b5} +\letter{^^96}{^^b6} +\letter{^^97}{^^b7} +\letter{^^98}{^^b8} +\letter{^^99}{^^b9} +\letter{^^9a}{^^ba} +\letter{^^9b}{^^bb} +\catcode`\^^9e=11 \lccode`\^^9e=`^^9e \uccode`\^^9e=`^^d0 \sfcode`\^^9e=999 % +% crossed d +\catcode`\^^9f=12 % +\catcode`\^^bc=12 % +\catcode`\^^bd=12 % +\catcode`\^^be=12 % +\catcode`\^^bf=12 % +\letter{^^c0}{^^e0} +\letter{^^c1}{^^e1} +\letter{^^c2}{^^e2} +\letter{^^c3}{^^e3} +\letter{^^c4}{^^e4} +\letter{^^c5}{^^e5} +\letter{^^c6}{^^e6} +\letter{^^c7}{^^e7} +\letter{^^c8}{^^e8} +\letter{^^c9}{^^e9} +\letter{^^ca}{^^ea} +\letter{^^cb}{^^eb} +\letter{^^cc}{^^ec} +\letter{^^cd}{^^ed} +\letter{^^ce}{^^ee} +\letter{^^cf}{^^ef} +\letter{^^d0}{^^f0} +\letter{^^d1}{^^f1} +\letter{^^d2}{^^f2} +\letter{^^d3}{^^f3} +\letter{^^d4}{^^f4} +\letter{^^d5}{^^f5} +\letter{^^d6}{^^f6} +\letter{^^d7}{^^f7} +\letter{^^d8}{^^f8} +\letter{^^d9}{^^f9} +\letter{^^da}{^^fa} +\letter{^^db}{^^fb} +\letter{^^dc}{^^fc} +\letter{^^dd}{^^fd} +\letter{^^de}{^^fe} +\catcode`\^^df=11 \lccode`\^^df=`^^df \uccode`\^^df=`^^df \sfcode`\^^df=999 % +\catcode`\^^ff=11 \lccode`\^^ff=`^^ff \uccode`\^^ff=`^^ff \sfcode`\^^ff=999 % +% cross piece for polish l and scharfes s +\catcode`\^^19=11 \lccode`\^^19=`^^19 \uccode`\^^19=`I % dotless i +\catcode`\^^1a=11 \lccode`\^^1a=`^^1a \uccode`\^^1a=`J % dotless j + +\define@mathgroup\mv@normal{0}{cmr}{m}{n} +\define@mathgroup\mv@bold{0}{cmr}{bx}{n} +\begingroup + \catcode`\= 11 + \gdef\mathrm{\use@mathgroup \=cmr \z@} +\endgroup +\def\rmdefault{fcr} +\def\sfdefault{fcss} +%\def\ttdefault{fctt} +\def\ttdefault{tt} + \ifx\greek@group\undefined + \new@mathgroup\greek@group + \define@mathgroup\mv@normal\greek@group{cmr}{m}{n} + \define@mathgroup\mv@bold\greek@group{cmr}{bx}{n} + \edef\@tempa{\hexnumber@\greek@group} + \mathchardef\Gamma="0\@tempa00 + \mathchardef\Delta="0\@tempa01 + \mathchardef\Theta="0\@tempa02 + \mathchardef\Lambda="0\@tempa03 + \mathchardef\Xi="0\@tempa04 + \mathchardef\Pi="0\@tempa05 + \mathchardef\Sigma="0\@tempa06 + \mathchardef\Upsilon="0\@tempa07 + \mathchardef\Phi="0\@tempa08 + \mathchardef\Psi="0\@tempa09 + \mathchardef\Omega="0\@tempa0A + \fi + \expandafter\ifx\csname fcr/m/n\endcsname\relax + \@input{fontdef.fc}\fi +\def\acute{\mathaccent"7001 } +\def\grave{\mathaccent"7000 } +\def\ddot{\mathaccent"7004 } +\def\tilde{\mathaccent"7003 } +\def\bar{\mathaccent"7009 } +\def\breve{\mathaccent"7008 } +\def\check{\mathaccent"7007 } +\def\hat{\mathaccent"7002 } +\def\vec{\mathaccent"017E } +\def\dot{\mathaccent"700A } +%% From lfonts.new +%% \changes{v1.1e}{90/01/25}{Completely redefined.} +\def\${\protect\pdollar} +\def\pdollar{\text{\ifdim \fontdimen\@ne\font >\z@ + \sl \else \normalshape \fi\char`\$}} +\def\pounds{{\protect\ppounds}} +\def\ppounds{\text{\ifdim \fontdimen\@ne\font >\z@ + \it \else \fontshape u\selectfont \fi \char'44}} +%% \changes{v1.1e}{90/01/25}{Macro added.} +%% \changes{v1.1k}{90/06/23}{Changed to `mbox.} +\def\text{\mbox} +\endinput +%% +%% End of file `fclfont.sty'. diff --git a/fonts/jknappen/fc/src/fcmacros.mf b/fonts/jknappen/fc/src/fcmacros.mf new file mode 100644 index 0000000000..be0ebb2bac --- /dev/null +++ b/fonts/jknappen/fc/src/fcmacros.mf @@ -0,0 +1,133 @@ +% This is FCMACROS.MF +% Version 1.2 +% Date 6-OCT-1996 +% +% (c) 1991--1996 J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Unternehmensberatung +% Barbarossaring 43 +% D-55118 Mainz +% Allemagne + +% knappen@vkpmzd.kph.uni-mainz.de + +% The following macros are defined: +% +% slantswitch, mirror, flip, V_bulb, d_hook_out, v_hook_in, top_hook, +% left_hook, separator, universal. +% +% Higher version of this file might contain more macros. +% + + +def slantswitch = % macro from wncyr +slant:=-slant; +currenttransform:=identity slanted slant yscaled aspect_ratio + scaled granularity; +enddef; %reverse slant so that mirror() will work + + +def mirror (expr axis) = % macro from wncyr +%x._qa=x._qb=axis; y._qa=h; y._qb=0; picture V; transform MIRROR; +x._qa=x._qb=axis; y._qa=h; y._qb=-d; picture V; transform MIRROR; +MIRROR=identity reflectedabout(z._qa,z._qb); +V=currentpicture transformed MIRROR; currentpicture:=V; +slantswitch; +enddef; + +% flip rotates 180 degrees about the centerpoint whose suffix is passed +def flip (suffix $) = % macro from wncyr +picture V; transform FLIP; +y$:=y$*aspect_ratio; +FLIP=identity rotatedaround(z$,180) shifted(2slant*y$,0); +V=currentpicture transformed FLIP; currentpicture:=V; +enddef; + +def V_bulb(suffix $,$$)= % |pos$| is known % macro adapted from cm + y$$+.5cap_curve=cap_height+o; x$$+.5cap_curve=w-u; + numeric theta; theta=angle(4(x$-x$$),y$-y$$); pos$$(cap_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 d_hook_out(suffix $,$$,$$$)suffix modifier= % jk, modified from cmbase +% |y$| |x$| and |x$$$| (only) are known + pos$(stem,0); pos$$(vair,90); + x$$$:=hround(x$$$+.5hair-eps)-.5hair; pos$$$(hair,180); + bot y$$l=-d-oo; y$$$=y$+1/12d; + 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 v_hook_in(suffix $,$$,$$$)=% jk, based on cmbase hook_in +% z1 and z2 are used. |x$| and |x$$$| are known + x$:=hround(x$-.5hair)+.5hair; pos$(hair,180); + pos$$(vair,90); % pos$$$() should be done outside the macro + y$=2/3x_height; top y$$r=x_height+oo; y$$$=3/4x_height; + x$$=x$$$-1.5u; + filldraw stroke z$e{x$$$-2.5u-x$,x_height} + ...z$$e{right}...{z2-z1}z$$$e; +enddef; % hook + +def top_hook(suffix @,$,$$,$$$,$$$$)=% jk +% intended for use within italics +% x@ and rt x$$$$ are known +x@'=x@; pos@'(stem,180); y@'=1/4[x_height,h]; +pickup fine.nib; +pos$(stem,180); +pos$$(vair,90); pos$$$(hair,0); pos$$$$(flare,0); +x$=x@; y$=.8[y@',y$$]; x$$=.6[x$$$$,x$]; top y$$r=h+oo; +y$$$=.85h; +bulb($$,$$$,$$$$); % bulb +filldraw stroke z$$e{left}...z$e...{down}z@'e; % join +enddef; + +def left_hook(suffix $,@$,$$,$$$,@,@@)= % only z$ is known %by jk +pickup tiny.nib; +if not monospace: + if serifs: + pos@$(cap_band,90); pos$$(cap_band,90); pos$$$(cap_hair,180); + pos@(cap_band,270); pos@@(flare+(cap_stem-stem),270); + x$$=x$-2.5u; lft x$$$r=lft x$-5u; y$$$=.5[y@$,y@@]; + x@$=x$; top y$$r= top y@$r=top y$; %<-- ge"andert + z@r=z@@r; bot y@r=y$-.4h; x@=x$$-.5u; + filldraw stroke z@$e--z$$e&super_arc.e($$,$$$); % link part 1 + path_.l:=z$$$l{down}...{right}z@l; + filldraw path_.l--z@r{left}...{up}z$$$r--cycle; % link part 2 + path_.r:=z@@l{left}..z@@r{right}; % near-circle + filldraw subpath(0,ypart(path_.r intersectiontimes path_.l)) of path_.r + --z@r{right}..cycle; % bulb + else: + pos@$(cap_band,90);pos$$(cap_band,90); pos$$$(cap_hair,180); + pos@@(cap_band,260); + x@$=x$; top y$$r = top y@$r= top y$; lft x$$$=lft x$-5u; y$$$=y$-.2h; + x$$=x$-2.5u; rt x@@l=hround x$$; bot y@@r=vround y$-4u; + filldraw stroke z@$e--z$$e{left}...z$$$e...z@@e; % full hook + fi +else: + pos@$(cap_band,90);pos$$(cap_band,90); pos$$$(cap_hair,180); + pos@@(cap_band,260); + x@$=lft x$; top y$$r= top y@$r= top y$; lft x$$$=lft x$-5u; y$$$=y$-.2h; + x$$=x@$-2.5u; rt x@@l=hround x$$; bot y@@r=vround y$-4u; + filldraw stroke z@$e--z$$e{left}..{down}z$$$e; % full hook +fi +enddef; + +% Macro for the universal accent, from Yannis Haralambous greek fonts +% changed jk +def separator=max(1,vround(1/12x_height)) enddef; +vardef universal(suffix $)(expr center)= +x$1=center+.15u; x$4=center-.15u; +y$1=y$4=x_height+1.5separator; +x$2=x$1+.3univ_acc_breadth*(body_height-x_height); +x$3=x$1-.3univ_acc_breadth*(body_height-x_height); +y$3=y$2=y$1+univ_acc_breadth*(body_height-x_height); +fill z$1--z$2--z$3--z$4--cycle; +enddef; + +endinput; diff --git a/fonts/jknappen/fc/src/fcpunct.mf b/fonts/jknappen/fc/src/fcpunct.mf new file mode 100644 index 0000000000..7f18a859ea --- /dev/null +++ b/fonts/jknappen/fc/src/fcpunct.mf @@ -0,0 +1,795 @@ +% This is FCPUNCT.MF +% Version 1.3a +% Date 12-MAR-2004 +% +% (c) 1991--2004 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J\"org Knappen +% Dieselstra\ss{}e 13 +% 66123 Saarbr\"ucken +% Allemagne + +% joerg.knappen@uni-mainz.de + +% Contents: +% punctuation and symbols common for roman and italic +% +% The following characters are generated without condition: +% +% single and double guillemets, double high-6, high-9 and low-9 +% quotes, apostrophe, reversed apostrophe, single low-9 quote, space mark, +% compund word mark, !, " (straight quotes), #, %, (, ), *, +, , (comma), +% - (hyphen), ., /, :, ;, <, =, >, [, \, ], ^, _, {, |, }, ~, hyphen, +% -- (en dash), --- (em dash). +% +% And the following on demand, i. e. if their code is known: +% +% spanish_shriek, pounds, broken_vert, currency_sign, section_sign, +% dollar ($) +% +% Higher versions of this file might include more characters. +% +% Heavily borrowed from dxpunct.mf and dxbraces by Norbert Schwarz, Bochum. +% Heavily borrowed (directly and indirectly) from the cm fonts by DEK. +% Some characters borrowed from R. Waldi's wasy font. + +cmchar "Right pointing single Guillemet"; +beginchar(oct"017",8u#,asc_height#,0); +italcorr h#*slant-u#; +adjust_fit(0,0); +pickup tiny.nib; +numeric distance,thickness; +thickness=hround(.5[cap_curve,hair]); +distance=hround(max(4u,thickness+1.5u)); +pos1(hair,180); +pos2(thickness,180); +pos3(hair,180); +lft x1r=lft x3r=hround(1.7u+eps); +x2l=hround(w-1.7u-eps); % +bot y1=vair; +% y1-y2=y3-y1; % y1-y3=spread; +y2=.5[y1,y3]=bar_height; % math_axis; +filldraw stroke z1e--z2e--z3e; +%filldraw stroke (z1e--z2e--z3e) shifted (-distance,0); % diagonals +labels(1,2,3); endchar; + + +cmchar "Left pointing single Guillemet"; +compute_spread(5/4x_height#,3/2x_height#); +beginchar(oct"016",8u#,v_center(spread#+rule_thickness#)); +italcorr h#*slant-u#; +adjust_fit(0,0); +pickup tiny.nib; +numeric distance,thickness; +thickness=hround(.5[cap_curve,hair]); +distance=hround(max(4u,thickness+1.5u)); +pos1(hair,0); +pos2(thickness,0); +pos3(hair,0); +lft x2l=hround 1.7u-eps; x1=x3=w-x2; +bot y1=vair; +% y1-y2=y3-y1; % y1-y3=spread; +y2=.5[y1,y3]=bar_height; % math_axis; +filldraw stroke z1e--z2e--z3e; +labels(1,2,3); endchar; + +cmchar "Left pointing Guillemets"; +compute_spread(5/4x_height#,3/2x_height#); +beginchar(oct"023",12u#,v_center(spread#+rule_thickness#)); +italcorr h#*slant-u#; +adjust_fit(0,0); +pickup tiny.nib; +numeric distance,thickness; +thickness=hround(.5[cap_curve,hair]); +distance=hround(max(4u,thickness+1.5u)); +pos1(hair,0); +pos2(thickness,0); +pos3(hair,0); +lft x2l=hround 1.7u-eps; x1=x3=w-x2-distance; +bot y1=vair; +% y1-y2=y3-y1; % y1-y3=spread; +y2=.5[y1,y3]=bar_height; % math_axis; +filldraw stroke z1e--z2e--z3e; +filldraw stroke (z1e--z2e--z3e) shifted (distance,0); % diagonals +labels(1,2,3); endchar; + + +cmchar "Right pointing Guillemets"; +beginchar(oct"024",12u#,asc_height#,0); +italcorr h#*slant-u#; +adjust_fit(0,0); +pickup tiny.nib; +numeric distance,thickness; +thickness=hround(.5[cap_curve,hair]); +distance=hround(max(4u,thickness+1.5u)); +pos1(hair,180); +pos2(thickness,180); +pos3(hair,180); +lft x1r=lft x3r=hround(distance+1.7u+eps); +x2l=hround(w-1.7u-eps); % x1=x3=x2-distance; +bot y1=vair; +% y1-y2=y3-y1; % y1-y3=spread; +y2=.5[y1,y3]=bar_height; % math_axis; +filldraw stroke z1e--z2e--z3e; +filldraw stroke (z1e--z2e--z3e) shifted (-distance,0); % diagonals +labels(1,2,3); endchar; + + + +cmchar "Low 9 Quote"; +numeric dot_diam#; dot_diam#=if monospace: 5/4 fi\\ dot_size#; +define_whole_blacker_pixels(dot_diam); +beginchar(oct"015",5u#,dot_diam#,comma_depth#); +adjust_fit(0,0); +x1+.5dot_diam=hround(w-.5dot_diam); y1-.5dot_diam=0; +comma(1,a,dot_diam,.2u,comma_depth); % dot and tail +penlabels(1); endchar; + +cmchar "Low 99 Quotes"; +beginchar(oct"022",7u#+max(2u#,dot_size#),asc_height#,0); +italcorr asc_height#*slant+dot_size#-4.1u#; +adjust_fit(0,0); +x2-.5dot_size=w-hround 3u; y2-.5dot_size=0; +x2-x1=hround(1.5u+max(2u,dot_size)); y2=y1; +comma(1,a,dot_size,.25u,comma_depth); % left dot and tail +comma(2,b,dot_size,.25u,comma_depth); % right dot and tail +penlabels(1,2); endchar; + +cmchar "Exclamation point"; +beginchar("!",5u#+width_adj#,asc_height#,0); +italcorr asc_height#*slant-2u#-.5width_adj#+.5dot_size#; +adjust_fit(0,0); +pickup tiny.nib; pos3(dot_size,0); pos4(dot_size,90); +lft x3l=hround(.5w-.5dot_size); bot y4l=0; z3=z4; dot(3,4); % dot +numeric bot_width; +bot_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos1(dot_size,0); pos2(bot_width,0); +x1=x2=x3; bot y2=.25[top y4r,x_height]+1; +if square_dots: top y1=h; + filldraw stroke z1e--z2e; % stem +else: top z0=(x1,h+o); y1+.5dot_size=h+o; + filldraw z1r...z0...z1l---z2l--z2r---cycle; fi % stem and bulb +penlabels(0,1,2,3,4); endchar; + + + +cmchar "Apostrophe"; +beginchar("'",5u#,asc_height#,0); +italcorr asc_height#*slant+.5dot_size#-2u#; +adjust_fit(0,0); +x1-.5dot_size=hround(.5w-.5dot_size); y1+.5dot_size=h; +if monospace: comma(1,a,dot_size,.28u,vround 1.5comma_depth); % large comma +else: comma(1,a,dot_size,.25u,comma_depth); fi % comma with increased jut +penlabels(1); endchar; + + +cmchar "Asterisk"; +beginchar("*",9u#, + if low_asterisk:math_axis#+.5x_height# else: body_height# fi,0); +italcorr h#*slant-.75u#; +adjust_fit(0,0); +numeric ast_flare; ast_flare=hround .7[thin_join,stem]; +x0=.5w; y0=h-.5x_height; +for d=-150 step 60 until 150: z[d]=z0+.5dir d xscaled 7.5u yscaled x_height; + numeric theta; theta=angle(z[d]-z0); + fill z0+.5(0,-thin_join)rotated theta + ---z[d]+.5(-ast_flare,-ast_flare)rotated theta + ..z[d]..z[d]+.5(-ast_flare,ast_flare)rotated theta + ---z0+.5(0,thin_join)rotated theta--cycle; endfor % diagonal at angle |d| +labels(0,[-150],[-90],[-30],30,90,150); endchar; + +cmchar "Plus sign"; +beginarithchar("+"); pickup rule.nib; +x1=x2=good.x .5w; top y1=h+eps; .5[y1,y2]=math_axis; +lft x3=hround u-eps; x4=w-x3; y3=y4=math_axis; +draw z1--z2; % stem +draw z3--z4; % crossbar +labels(1,2,3,4); endchar; + +cmchar "Comma"; +numeric dot_diam#; dot_diam#=if monospace: 5/4 fi\\ dot_size#; +define_whole_blacker_pixels(dot_diam); +beginchar(",",5u#,dot_diam#,comma_depth#); +adjust_fit(0,0); +x1-.5dot_diam=hround(.5w-.5dot_diam); y1-.5dot_diam=0; +comma(1,a,dot_diam,.2u,comma_depth); % dot and tail +penlabels(1); endchar; + +cmchar "Period"; +numeric dot_diam#; dot_diam#=if monospace: 5/4 fi\\ dot_size#; +define_whole_blacker_pixels(dot_diam); +beginchar(".",5u#,dot_diam#,0); +adjust_fit(0,0); pickup fine.nib; +pos1(dot_diam,0); pos2(dot_diam,90); +lft x1l=hround(.5w-.5dot_diam); bot y2l=0; z1=z2; dot(1,2); % dot +penlabels(1,2); endchar; + +cmchar "Virgule (slash)"; +beginchar("/",9u#,body_height#,paren_depth#); +italcorr body_height#*slant-.5u#; +adjust_fit(0,0); pickup rule.nib; +rt x1=hround(w-u)+eps; top y1=h+eps; +lft x2=hround u-eps; bot y2=-d-eps; +draw z1--z2; % diagonal +penlabels(1,2); endchar; + +cmchar "Colon"; +numeric dot_diam#; dot_diam#=if monospace: 5/4 fi\\ dot_size#; +define_whole_blacker_pixels(dot_diam); +beginchar(":",5u#,x_height#,0); +italcorr x_height#*slant+.5dot_diam#-2u#; +adjust_fit(0,0); pickup fine.nib; +pos1(dot_diam,0); pos2(dot_diam,90); +lft x1l=hround(.5w-.5dot_diam); top y2r=h; z1=z2; dot(1,2); % upper dot +pos3(dot_diam,0); pos4(dot_diam,90); +x3=x1; bot y4l=0; z3=z4; dot(3,4); % lower dot +penlabels(1,2,3,4); endchar; + +cmchar "Semicolon"; +numeric dot_diam#; dot_diam#=if monospace: 5/4 fi\\ dot_size#; +define_whole_blacker_pixels(dot_diam); +beginchar(";",5u#,x_height#,comma_depth#); +italcorr x_height#*slant+.5dot_diam#-2u#; +adjust_fit(0,0); pickup fine.nib; +pos1(dot_diam,0); pos2(dot_diam,90); +lft x1l=hround(.5w-.5dot_diam); top y2r=h; z1=z2; dot(1,2); % upper dot +x3-.5dot_diam=hround(.5w-.5dot_diam); y3-.5dot_diam=0; +comma(3,a,dot_diam,.05u,comma_depth); % lower dot and tail +penlabels(1,2,3); endchar; + +cmchar "Equals sign"; +compute_spread(.45x_height#,.55x_height#); +beginchar("=",14u#,v_center(spread#+rule_thickness#)); +italcorr h#*slant-.5u#; +adjust_fit(0,0); pickup rule.nib; +lft x1=hround u-eps; x3=x1; x2=x4=w-x1; +y1=y2; y3=y4; y1-y3=spread; .5[y1,y3]=math_axis; +draw z1--z2; % upper bar +draw z3--z4; % lower bar +labels(1,2,3,4); endchar; + + + +cmchar "Reverse apostrophe"; +beginchar("`",5u#,asc_height#,0); +italcorr asc_height#*slant+.5dot_size#-2u#; +adjust_fit(0,0); +x1-.5dot_size=hround(.5w-.5dot_size); y1+.5dot_size=h-comma_depth; +if monospace: ammoc(1,a,dot_size,.28u,vround 1.5comma_depth); % large ammoc +else: ammoc(1,a,dot_size,.25u,comma_depth); fi % normal ammoc +penlabels(1); endchar; + +iff known spanish_shriek: +cmchar "Spanish open exclamation point"; +beginchar(spanish_shriek,5u#+width_adj#,asc_height#-desc_depth#,desc_depth#); +italcorr h#*slant-2u#-.5width_adj#+.5dot_size#; +adjust_fit(0,0); +pickup tiny.nib; pos3(dot_size,0); pos4(dot_size,90); +lft x3l=hround(.5w-.5dot_size); 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; + + +cmchar "High 99 Quotes"; +beginchar(oct"021",7u#+max(2u#,dot_size#),asc_height#,0); +italcorr asc_height#*slant+dot_size#-4.1u#; +adjust_fit(0,0); +x1-.5dot_size=hround .6u; y2+.5dot_size=h; +x2-x1=hround(1.5u+max(2u,dot_size)); y2=y1; +comma(1,a,dot_size,.25u,comma_depth); % left dot and tail +comma(2,b,dot_size,.25u,comma_depth); % right dot and tail +penlabels(1,2); endchar; + +cmchar "Hyphen"; +beginchar("-",6u#,x_height#,0); +italcorr .5x_height#*slant-.5u#; +adjust_fit(0,0); +numeric thickness; thickness=if hefty:bar else:.75[hair,stem] fi; +pickup crisp.nib; pos1(thickness,90); pos2(thickness,90); +top y1r=top y2r=vround(.5h+.5thickness); rt x2=hround(w-u)+eps; +if monospace: x2=w-x1 else: lft x1=hround .2u-eps fi; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +cmchar "High 66 Quotes"; +beginchar(oct"20",7u#+max(2u#,dot_size#),asc_height#,0); +italcorr asc_height#*slant-.1u#; +adjust_fit(0,0); +x2+.5dot_size=hround(w-.6u); y1+.5dot_size=h-comma_depth; +x2-x1=hround(1.5u+max(2u,dot_size)); y2=y1; +ammoc(1,a,dot_size,.25u,comma_depth); % left dot and tail +ammoc(2,b,dot_size,.25u,comma_depth); % right dot and tail +penlabels(1,2); endchar; + +cmchar "En dash"; +if not monospace: + 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; +else: + 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; + x2=w-x1; +fi + filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +cmchar "Em dash"; +if not monospace: + 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; +else: + 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; + x2=w-x1; +fi +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +cmchar "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 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; + +cmchar "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; + + +cmchar "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; + +cmchar "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; + +cmchar "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; + +cmchar "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-2stem_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; + +cmchar "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-2stem_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; + +cmchar "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); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=w-x4l; + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + + + +cmchar "Tilde (squiggle)"; +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; + +cmchar "Compound word mark"; +beginchar(oct"027",x_height#,0,0); +zero_width; +endchar; + +cmchar "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 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; + +cmchar "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; + + +cmchar "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 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; + + + +cmchar "Reverse slash (backslash)"; +beginchar(oct"134",9u#,body_height#,paren_depth#); +adjust_fit(0,0); pickup 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; + +cmchar "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; + +cmchar "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; + + + + +cmchar "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; + +cmchar "Hyphen"; +beginchar(oct"177",6u#,x_height#,0); +italcorr .5x_height#*slant-.5u#; +adjust_fit(0,0); +numeric thickness; thickness=if hefty:bar else:.75[hair,stem] fi; +pickup crisp.nib; pos1(thickness,90); pos2(thickness,90); +top y1r=top y2r=vround(.5h+.5thickness); rt x2=hround(w-u)+eps; +if monospace: x2=w-x1 else: lft x1=hround .2u-eps fi; +filldraw stroke z1e--z2e; % bar +penlabels(1,2); endchar; + +cmchar "Blank-space sign"; +beginchar(oct"040",9u#,bar_height#,.5desc_depth#); +italcorr bar_height#*slant-.25u#; +adjust_fit(0,0); +numeric thin_vair#; thin_vair#=.7vair#; +define_whole_blacker_pixels(thin_vair); +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; + +cmchar "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; + +cmchar "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; + + +iff known pounds: +cmchar "Sterling sign"; +beginchar(pounds,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 x9r=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; + +iff known section_sign: +cmchar "Section sign"; +beginchar(section_sign,6.5u#+max(1.5u#,stem#),asc_height#,desc_depth#); +adjust_fit(0,0); pickup fine.nib; +numeric sstem; sstem=hround .75[hair,stem]; +pos0(stem,0); pos1(hair,0); pos2(vair,90); pos3(sstem,180); pos4(vair,270); +pos5'(sstem,0); pos5(sstem,180); +pos6(vair,90); pos7(sstem,0); pos8(vair,-90); pos9(hair,-180); pos10(stem,-180); +top y2r=h+oo; bot y8r=-d-oo; y2-y1=y9-y8=(y2-y8)/8; +y3=.52[y4,y2]; y5=.52[y4,y6]; y7=.52[y6,y8]; y5'=.52[y6,y4]; +y2-y4=y4-y6=y6-y8; +rt x1r=hround(w-1.5u); lft x3r=hround 1.25u; +x2=x4=x6=x8=.5w; x5=x7=w-x3; x5'=x3; x9=w-x1; +bulb(2,1,0); bulb(8,9,10); % bulbs +filldraw stroke z2e{left}...z3e{down}...z4e{3(x5-x3),y5-y3} + ...z5e{down}...{left}z6e; % upper stroke +filldraw stroke z4e{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; + +iff known currency_sign: +cmchar "currency"; +beginchar(currency_sign, + 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; + +iff known broken_vert: +cmchar "broken vertical bar"; +beginchar(broken_vert,2u#,asc_height#,0); +italcorr asc_height#*slant - u#; +adjust_fit(0,0); pickup rule.nib; +bot y1 = good.y oo; top y2 = good.y (h-oo); +top y1' + 1.5u = bot y2'; .5[y1',y2'] = .5h; +x1=x1'=x2=x2'=good.x .5w; +draw z1--z1'; draw z2--z2'; +labels(1,2,1',2'); endchar; + +iff known dollar: +cmchar "Dollar sign"; +beginchar(dollar,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; + +endinput; diff --git a/fonts/jknappen/fc/src/fcrlig.mf b/fonts/jknappen/fc/src/fcrlig.mf new file mode 100644 index 0000000000..6997f7fae1 --- /dev/null +++ b/fonts/jknappen/fc/src/fcrlig.mf @@ -0,0 +1,288 @@ +% This is FCRLIG.MF +% Version 1.1 +% Date 6-OCT-1996 +% +% (c) 1991, 1996 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Unternehmensberatung +% Barbarossaring 43 +% D-55118 Mainz + +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following ligatures are generated without condition: +% +% fi, fl, ff, ffi, ffl +% +% And the following on demand, i. e. if their code is known: +% +% fj_lig, t_esh_lig +% +% Higher versions of this file might include more ligatures. + +iff known fj_lig: +cmchar "The ligature fj"; +beginchar(fj_lig,10u#+2letter_fit#,asc_height#,desc_depth#); +italcorr asc_height#*slant-serif_fit#+.5if serifs:stem# else:dot_size# fi-2u#; +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=-1/3d; +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 + 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=lft x1l; else: z16r=z17r; rt x17l=rt x1r; fi + (x,y15r)=whatever[z15l,z12l]; x15r:=max(x,.5[x16r,x15r]); + filldraw stroke z12e{down}...z15e{left}; bulb(15,16,17); % arc & bulb +else: rt x4= hround 5.3u; + pickup fine.nib; pos12'(stem',0); z12'=z12; + pos16(.2[vair,stem'],-90); pos17(vair,-90); + lft x17r=lft x1l; bot y17r=vround 5/6(-d-oo); + (x,y17l)=whatever[z17r,z13]; x7l:=x; + z15r=z12'r; (x12'l,y15l)=whatever[z17l,z15r]; x15l=x12'l; y15=y15r; + x16r=.5[x17r,x15r]; x6l:=.5[x17l,x15l]; bot y16r=-d-oo; + filldraw stroke z12'e..{down}z15e & super_arc.e(15,16) + & z16e{left}..z17e; % arc & terminal + fi +pickup crisp.nib; filldraw stroke z3e--z4e; % bar + +penlabels(1,2,3,4,11,12,13,14,15,16,17); endchar; + +iff known t_esh_lig: +cmchar "The ligature t-esh"; % from wsuipa +beginchar(t_esh_lig,10u#+max(u#,.5stem#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),desc_depth#); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: 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(2/3w-.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(2/3w-.5u); +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); + x6l=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; +%cmchar "The letter esh"; +pickup tiny.nib; pos21(shaved_stem,0); pos22(shaved_stem,0); +lft x21l=x5; x21=x22; top y21=.8h; bot y22=0; +filldraw stroke z21e--z22e; % stem +% hooktop +pickup tiny.nib; + pos10(vair,-90); x10=.5[x21,x11l]; top y10l=h+o+1; + pos11(hair,0); rt x11l=hround(w-.4u); y11=.84h; + pos12(flare,0); + pos10'(vair,90); z10'=z10; + bulb(10',11,12); % bulb +filldraw stroke pulled_super_arc.e(21,10)(.4superpull); % arc and stem +%tail +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); + pickup tiny.nib; pos15(vair,-90); pos16(hair,-180); pos17(flare,-180); + x15=.5[x16r,x22]; bot y15r=-d+oo; y16-.5flare=-.85d; + z16r=z17r; x17r=hround(x3+.1u); if not serifs:(x,y15r)=whatever[z15l,z2l]; fi + x15r:=max(x,.5[x16r,x15]); + filldraw stroke pulled_super_arc.e(22,15)(.4superpull); + bulb(15,16,17); % arc and bulb +penlabels(1,2,3,4,5,6,7,8,10,11,12,15,16,17,21,22); endchar; + +cmchar "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; +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; + +cmchar "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#; +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; + +cmchar "The ligature fl"; +beginchar(oct"035",10u#+2letter_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +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; + +cmchar "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#; +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; + +cmchar "The ligature ffl"; +beginchar(oct"037",15u#+4letter_fit#,asc_height#,0); +italcorr asc_height#*slant-serif_fit#+.5stem#-2u#; +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/jknappen/fc/src/fcroligt.mf b/fonts/jknappen/fc/src/fcroligt.mf new file mode 100644 index 0000000000..a155ed6c8e --- /dev/null +++ b/fonts/jknappen/fc/src/fcroligt.mf @@ -0,0 +1,188 @@ +% This is FCROLIGT.MF +% Version 1.3b +% Date 6-OCT-1996 +% +% (c) 1992--1996 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Unternehmensberatung +% Barbarossaring 43 +% D-55118 Mainz + +% knappen@vkpmzd.kph.uni-mainz.de + +% +% Ligature Table for fc roman fonts +% + +ligtable ">":">" =: oct"023"; % Guillemets +ligtable "<":"<" =: oct"024"; +ligtable "`":"`" =: oct"020"; % Quotation marks +ligtable "'":"'" =: oct"021"; +ligtable ",":"," =: oct"022"; +ligtable "!":"`" =: spanish_shriek; % Spanish punctuation +ligtable "?":"`" =: spanish_query; +ligtable "-":"-" =: oct"025", % n-dash + 127=: 127; % "-" "hyphenchar" -> "hyphenchar" +ligtable oct"025":"-" =: oct"026"; % m-dash + +numeric itc#; itc#=max(0,flare#-1/4u#); +ligtable + "f": "i"=:oct"034", + "f"=:oct"033", + "l"=:oct"035", + "j"=:fj_lig, + "'" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; +ligtable + oct"033": % ff + "i"=:oct"036", + "l"=:oct"037", + "'" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; + +ligtable long_f: esh: t_esh_lig: + "'" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; + +def lig_o_table (expr k) = + "o" kern k, open_o kern k, open_o_tilde kern k, + o_grave kern k, o_dot kern k, o_hat kern k, + o_tilde kern k, o_umlaut kern k, oe_lig kern k, + crossed_o kern k, o_dotu kern k, o_uline kern k, + o_bar kern k, o_hachek kern k +enddef; +% +def lig_a_table (expr k) = + "a" kern k, a_tilde kern k, ae_lig kern k +enddef; +% +def lig_i_table (expr k) = + "i" kern k, oct"031" kern k, i_tilde kern k, latin_iota kern k, + i_dotu kern k +enddef; +def lig_e_table (expr k)= + "e" kern k, e_hachek kern k, e_dot kern k, open_e kern k, + reversed_e kern k, e_dotu kern k, open_e_tilde kern k, + e_grave kern k, e_acute kern k, e_hat kern k, + e_umlaut kern k, e_uline kern k, e_bar kern k, + e_tilde kern k +enddef; +% +def lig_u_table (expr k)= + "u" kern k, u_dotu kern k, u_tilde kern k, var_u kern k +enddef; +% +def lig_O_table (expr k) = + "O" kern k, open_o kern k, open_O_tilde kern k, + O_grave kern k, O_dot kern k, O_hat kern k, + O_tilde kern k, O_umlaut kern k, OE_lig kern k, + crossed_O kern k, O_dotu kern k, O_uline kern k, + O_bar kern k, O_hachek kern k +enddef; +% +% +% +k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + +ligtable "k": "W" kern kk#, "V" kern kk#, % kW, kV + "v": "w": hooktop_k: + lig_a_table(-u#), lig_e_table(k#), + lig_o_table(k#), "c" kern k#, c_cedilla kern k#, + hooktop_c kern k#; + +ligtable "y": ipa_gamma: + lig_a_table(k#), lig_o_table(k#), lig_e_table(k#), + "c" kern k#, c_cedilla kern k#, hooktop_c kern k#, + hooktop_y: "." kern kk#, "," kern kk#; + +ligtable "m": "W" kern kk#, "V" kern kk#, % mW, mV + "n": enj: "h": crossed_h: n_acute: m_acute: n_dot: n_uline: n_tilde: + "y" kern k#, hooktop_y kern k#, ipa_gamma kern k#, + eng: lig_u_table(k#), "v" kern k#, "w" kern k#, "b" kern k#, + t kern k#; + +ligtable "c": "h" kern k#, "k" kern k#; + +ligtable "o": "p": "b": open_o: reversed_e: open_o_tilde: o_grave: o_dot: + o_hat: o_tilde: o_umlaut: crossed_o: o_dotu: o_uline: + o_bar: o_hachek: hooktop_p: + lig_e_table(-k#), lig_o_table(-k#), "q" kern -k#, "c" kern -k#, + c_cedilla kern -k#, hooktop_c kern -k#, "d" kern -k#, + crossed_d kern -k#, hooktop_d kern -k#, tailed_d kern -k#, + "x" kern k#, "y" kern k#, hooktop_y kern k#, "v" kern k#, + "w" kern k#, ipa_gamma kern k#, "j" kern u#; + +ligtable "a": a_tilde: + "j" kern u#, "v" kern k#, "w" kern k#, "y" kern k#, + hooktop_y kern k#, ipa_gamma kern k#; + +ligtable "t": esh=: t_esh_lig, + sami_t: hooktop_t: "y" kern k#; + +ligtable "u": u_dotu: u_tilde: "w" kern k#; + +ligtable "g": "j" kern -k#; + +ligtable "e": "V" kern kk#; % eV + +ligtable hooktop_d: + "a" kern kk#, "e" kern kk#, latin_iota kern kk#, + oct"031" kern kk#, open_e kern kk#, reversed_e kern kk#, + "o" kern kk#, open_o kern kk#, "u" kern kk#, var_u kern kk#, + ae_lig kern kk#, oe_lig kern kk#, + "." kern kk#, "," kern kk#; +ligtable tailed_d: lig_a_table(kk#), lig_e_table(kk#), lig_i_table(kk#), + lig_o_table(kk#), lig_u_table(kk#), "." kern kk#; + +ligtable "F": long_F: "V": "W": "T": hooktop_T: "Y": + "a" kern kk#, "e" kern kk#, open_e kern kk#, + reversed_e kern kk#, oct"031" kern kk#, latin_iota kern kk#, + "o" kern kk#, open_o kern kk#, "u" kern kk#, var_u kern kk#, + ae_lig kern kk#, oe_lig kern kk#, "r" kern kk#, + "y" kern kk#, + "A" kern kkk#, "." kern kk#, + "," kern kk#; + +ligtable "P": hooktop_P: + "a" kern k#, "e" kern k#, open_e kern k#, + reversed_e kern k#, + "o" kern k#, open_o kern k#, + ae_lig kern k#, oe_lig kern k#, + "A" kern kk#, "." kern kk#, + "," kern kk#; + + +ligtable "K": "X": ipa_Gamma: + lig_O_table(k#), "C" kern k#, "G" kern k#, "Q" kern k#, + hooktop_C kern k#, C_cedilla kern k#; + +ligtable "O": "D": Edh: hooktop_D: open_O: open_O_tilde: O_grave: O_dot: + O_hat: O_tilde: O_umlaut: crossed_O: O_dotu: O_bar: O_hachek: + "X" kern k#, ipa_Gamma kern k#, "W" kern k#, "V" kern k#, + "Y" kern k#, hooktop_Y kern k#, "A" kern k#, A_tilde kern k#, + AE_lig kern k#; + +ligtable "A": A_tilde: "R": latin_Iota: + "t" kern k#, sami_t kern k#, hooktop_t kern k#, "C" kern k#, + hooktop_C kern k#, C_cedilla kern k#, "G" kern k#, + lig_O_table(k#), "Q" kern k#, "U" kern k#, var_U kern k#, + "T" kern kk#, long_T kern kk#, "Y" kern kk#, + hooktop_Y kern kk#, "V" kern kkk#, "W" kern kkk#; + +ligtable "L": "T" kern kk#, long_T kern kk#, "Y" kern kk#, + hooktop_Y kern kk#, "V" kern kkk#, "W" kern kkk#; + +ligtable "I": "I" kern -k#; +endinput; diff --git a/fonts/jknappen/fc/src/fcroman.mf b/fonts/jknappen/fc/src/fcroman.mf new file mode 100644 index 0000000000..6a5cc0bc3a --- /dev/null +++ b/fonts/jknappen/fc/src/fcroman.mf @@ -0,0 +1,68 @@ +% This is FCROMAN.MF +% Driver File for the FC-Fonts +% Version 1.2 +% Date 5-MAR-1998 +% +% (c) Copyright 1991--1998 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Barbarossaring 43 +% D-55118 Mainz + +mode_setup; + +font_setup; +input fcmacros; +input fccoding; +input romand; % numbers from computer modern +input fcpunct; +input fcaccent; +input fcrlig; +input fcrompct; +input uppera; +input upperbcd; +input uppere; +input upperfgh; +input upperij; +input upperklm; +input uppern; +input uppero; +input upperpqr; +input upperst; +input upperuvw; +input upperxyz; +input lowera; +input lowerbcd; +input lowere; +input lowerfgh; +input lowerij; +input lowerklm; +input lowern; +input lowero; +input lowerpqr; +input lowerst; +input loweruvw; +tracingstats:=1; +input lowerxyz; + +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; +fi +if monospace: + input fcttligt; +else: + if serifs: + input fcroligt; + else: + input fcsfligt; + fi +fi +bye. diff --git a/fonts/jknappen/fc/src/fcrompct.mf b/fonts/jknappen/fc/src/fcrompct.mf new file mode 100644 index 0000000000..c6b77fa8e8 --- /dev/null +++ b/fonts/jknappen/fc/src/fcrompct.mf @@ -0,0 +1,137 @@ +% This is FCROMPCT.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% +% Content: some special roman characters (different from italic variants) +% +% $, &, ?, spanish ?. ?' is only generated if spanish_query is known. +% + +cmchar "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; + +cmchar "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; + +cmchar "Question mark"; +beginchar("?",8.5u#,asc_height#,0); +italcorr .8asc_height#*slant; +adjust_fit(0,0); +pickup tiny.nib; pos7(dot_size,0); pos8(dot_size,90); +lft x7l=hround(.5w-.25u-.5dot_size); bot y8l=0; z7=z8; dot(7,8); % dot +numeric bot_width; +bot_width=if hefty:max(hround .8dot_size,fine.breadth) else: hair fi; +pickup fine.nib; pos2(vair,90); pos3(curve,0); +pos4(vair,-90); pos5(bot_width,0); pos6(bot_width,0); +x2=x4=x5=x6=x7; rt x3r=hround(w-u); bot y6=1+.25[top y8r,x_height]; +top y2r=h+oo; y3=.75[y6,y2]; y4=.5[y6,y2]; y5=.1[y6,y2]; +{{interim superness:=more_super; +filldraw stroke pulled_super_arc.e(2,3)(superpull) + & subpath (0,1) of super_arc.e(3,4) .. z5e---z6e\\}}; % arc and stem +if serifs: pos1(hair,180); pos0(flare,180); + lft x1r=hround u; y1=y3; bulb(2,1,0); % bulb +else: pos1(Vround 5/7[vair,flare],110); + lft x1r=hround u; top y1r=vround .9[y6,top y2r]; + filldraw stroke term.e(2,1,left,1,4); fi % terminal +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +iff known spanish_query: +cmchar "Spanish open question mark"; +beginchar(spanish_query,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/jknappen/fc/src/fcscligt.mf b/fonts/jknappen/fc/src/fcscligt.mf new file mode 100644 index 0000000000..e5cc576128 --- /dev/null +++ b/fonts/jknappen/fc/src/fcscligt.mf @@ -0,0 +1,30 @@ +% This is FCSCLIGT.MF +% Version 1.2 +% Date 15-NOV-1994 +% +% (c) 1992, 1994 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D 55099 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% +% Ligature Table for fc caps and small caps fonts +% + +ligtable ">":">" =: oct"023"; % Guillemets +ligtable "<":"<" =: oct"024"; +ligtable "`":"`" =: oct"020"; % Quotation marks +ligtable "'":"'" =: oct"021"; +ligtable ",":"," =: oct"022"; +ligtable "!":"`" =: spanish_shriek; % Spanish punctuation +ligtable "?":"`" =: spanish_query; +ligtable "-":"-" =: oct"025", % n-dash + 127 =: 127; % "-""hyphenchar" -> "hyphenchar" +ligtable oct"025":"-" =: oct"026"; % m-dash + +endinput; diff --git a/fonts/jknappen/fc/src/fcsfligt.mf b/fonts/jknappen/fc/src/fcsfligt.mf new file mode 100644 index 0000000000..2eb2dac99c --- /dev/null +++ b/fonts/jknappen/fc/src/fcsfligt.mf @@ -0,0 +1,184 @@ +% This is FCSFLIGT.MF +% Version 1.3 +% Date 6-OCT-1996 +% +% (c) 1992--1996 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Unternehmensberatung +% Barbarossaring 43 +% D-55118 Mainz +% Allemagne + +% knappen@vkpmzd.kph.uni-mainz.de + +% +% Ligature Table for fc sans serif fonts +% + +ligtable ">":">" =: oct"023"; % Guillemets +ligtable "<":"<" =: oct"024"; +ligtable "`":"`" =: oct"020"; % Quotation marks +ligtable "'":"'" =: oct"021"; +ligtable ",":"," =: oct"022"; +ligtable "!":"`" =: spanish_shriek; % Spanish punctuation +ligtable "?":"`" =: spanish_query; +ligtable "-":"-" =: oct"025", % n-dash + 127 =: 127; % "-""hyphenchar" -> "hyphenchar" +ligtable oct"025":"-" =: oct"026"; % m-dash + +numeric itc#; itc#=1.25u#; +ligtable + "f": "i"=:oct"034", + "f"=:oct"033", + "l"=:oct"035", + "j"=:fj_lig, + "'" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; +ligtable + oct"033": % ff + "i"=:oct"036", + "l"=:oct"037", + "'" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; + +ligtable long_f: esh: t_esh_lig: + "'" kern itc#, + "?" kern itc#, + "!" kern itc#, + ")" kern itc#, + "]" kern itc#; + + +def lig_o_table (expr k) = + "o" kern k, open_o kern k, open_o_tilde kern k, + o_grave kern k, o_dot kern k, o_hat kern k, + o_tilde kern k, o_umlaut kern k, oe_lig kern k, + crossed_o kern k, o_dotu kern k, o_uline kern k, + o_bar kern k, o_hachek kern k +enddef; +% +def lig_a_table (expr k) = + "a" kern k, a_tilde kern k, ae_lig kern k +enddef; +% +def lig_i_table (expr k) = + "i" kern k, oct"031" kern k, i_tilde kern k, latin_iota kern k, + i_dotu kern k +enddef; +def lig_e_table (expr k)= + "e" kern k, e_hachek kern k, e_dot kern k, open_e kern k, + reversed_e kern k, e_dotu kern k, open_e_tilde kern k, + e_grave kern k, e_acute kern k, e_hat kern k, + e_umlaut kern k, e_uline kern k, e_bar kern k, + e_tilde kern k +enddef; +% +def lig_u_table (expr k)= + "u" kern k, u_dotu kern k, u_tilde kern k, var_u kern k +enddef; +% +def lig_O_table (expr k) = + "O" kern k, open_o kern k, open_O_tilde kern k, + O_grave kern k, O_dot kern k, O_hat kern k, + O_tilde kern k, O_umlaut kern k, OE_lig kern k, + crossed_O kern k, O_dotu kern k, O_uline kern k, + O_bar kern k, O_hachek kern k +enddef; +% +% +% +k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning + +ligtable "k": "W" kern kk#, "V" kern kk#, % kW, kV + "v": "w": hooktop_k: + lig_a_table(-u#), lig_e_table(k#), + lig_o_table(k#), "c" kern k#, c_cedilla kern k#, + hooktop_c kern k#; + +ligtable "y": ipa_gamma: + lig_a_table(k#), lig_o_table(k#), lig_e_table(k#), + "c" kern k#, c_cedilla kern k#, hooktop_c kern k#, + hooktop_y: "." kern kk#, "," kern kk#; + +ligtable "o": "p": "b": open_o: reversed_e: open_o_tilde: o_grave: o_dot: + o_hat: o_tilde: o_umlaut: crossed_o: o_dotu: o_uline: + o_bar: o_hachek: hooktop_p: + lig_e_table(-k#), lig_o_table(-k#), "q" kern -k#, "c" kern -k#, + c_cedilla kern -k#, hooktop_c kern -k#, "d" kern -k#, + crossed_d kern -k#, hooktop_d kern -k#, tailed_d kern -k#, + "x" kern k#, "y" kern k#, hooktop_y kern k#, "v" kern k#, + "w" kern k#, ipa_gamma kern k#, "r" kern k#; + +ligtable "a": a_tilde: + "v" kern k#, "w" kern k#, "y" kern k#, "r" kern k#, + hooktop_y kern k#, ipa_gamma kern k#; + +ligtable "t": esh=: t_esh_lig, + sami_t: hooktop_t: "y" kern k#; + +ligtable "u": u_dotu: u_tilde: "w" kern k#; + +ligtable "g": "j" kern -k#; + +ligtable "e": "V" kern kk#; % eV + +ligtable hooktop_d: + "a" kern k#, "e" kern k#, latin_iota kern k#, + oct"031" kern k#, open_e kern k#, reversed_e kern k#, + "o" kern k#, open_o kern k#, "u" kern k#, var_u kern k#, + ae_lig kern k#, oe_lig kern k#, + "." kern kk#, "," kern kk#; + +ligtable tailed_d: lig_a_table(k#), lig_e_table(k#), lig_i_table(k#), + lig_o_table(k#), lig_u_table(k#), "." kern kk#; + +ligtable "F": long_F: "V": "W": "T": hooktop_T: "Y": + "a" kern k#, "e" kern k#, open_e kern k#, + reversed_e kern k#, oct"031" kern k#, latin_iota kern k#, + "o" kern k#, open_o kern k#, "u" kern k#, var_u kern k#, + ae_lig kern k#, oe_lig kern k#, "r" kern k#, + "y" kern k#, + "A" kern kk#, "." kern k#, + "," kern k#; + +ligtable "P": hooktop_P: + "a" kern k#, "e" kern k#, open_e kern k#, + reversed_e kern k#, + "o" kern k#, open_o kern k#, + ae_lig kern k#, oe_lig kern k#, + "A" kern kk#, "." kern k#, + "," kern k#; + + +ligtable "K": "X": ipa_Gamma: + lig_O_table(k#), "C" kern k#, "G" kern k#, "Q" kern k#, + hooktop_C kern k#, C_cedilla kern k#; + +ligtable "O": "D": Edh: hooktop_D: open_O: open_O_tilde: O_grave: O_dot: + O_hat: O_tilde: O_umlaut: crossed_O: O_dotu: O_bar: O_hachek: + "X" kern k#, ipa_Gamma kern k#, "W" kern k#, "V" kern k#, + "Y" kern k#, hooktop_Y kern k#, "A" kern k#, A_tilde kern k#, + AE_lig kern k#; + +ligtable "A": A_tilde: latin_Iota: + "t" kern k#, sami_t kern k#, hooktop_t kern k#, "C" kern k#, + hooktop_C kern k#, C_cedilla kern k#, "G" kern k#, + lig_O_table(k#), "Q" kern k#, "U" kern k#, var_U kern k#, + "T" kern kk#, long_T kern kk#, "Y" kern kk#, + hooktop_Y kern kk#, "V" kern kkk#, "W" kern kkk#; + +ligtable "L": "T" kern kk#, long_T kern kk#, "Y" kern kk#, + hooktop_Y kern kk#, "V" kern kkk#, "W" kern kkk#; + +ligtable "I": "I" kern -k#; + +endinput; diff --git a/fonts/jknappen/fc/src/fcttligt.mf b/fonts/jknappen/fc/src/fcttligt.mf new file mode 100644 index 0000000000..dbdb5bf319 --- /dev/null +++ b/fonts/jknappen/fc/src/fcttligt.mf @@ -0,0 +1,28 @@ +% This is FCTTLIGT.MF +% Version 1.2 +% Date 15-NOV-1994 +% +% (c) 1994 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D 55099 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% +% Ligature Table for fc typewriter fonts +% + +ligtable ">":">" =: oct"023"; % Guillemets +ligtable "<":"<" =: oct"024"; +ligtable "`":"`" =: oct"020"; % Quotation marks +ligtable "'":"'" =: oct"021"; +ligtable ",":"," =: oct"022"; +ligtable "!":"`" =: spanish_shriek; % Spanish punctuation +ligtable "?":"`" =: spanish_query; +ligtable "-":"-" =: oct"025",% "-""-" ligates to "-", but "-""-""-" gives "-""-" + 127 =: 127; +endinput; diff --git a/fonts/jknappen/fc/src/fctugbot.tex b/fonts/jknappen/fc/src/fctugbot.tex new file mode 100644 index 0000000000..eb550ed1a8 --- /dev/null +++ b/fonts/jknappen/fc/src/fctugbot.tex @@ -0,0 +1,636 @@ +\documentstyle[array,ltugboat]{article} +% I used ltugboat.sty v1.02 + +%************************************************************************ +% TUGboat editorial macros +\def\showpart#1{% + \expandafter\def\csname **#1\expandafter\endcsname\space{} + \expandafter\def\csname **end #1\expandafter\endcsname\space{} + } +\def\noshowpart#1{% + \long\expandafter\def\csname **#1\expandafter\endcsname\space##1\TUBedit##2 {}} +\def\TUBedit#1{\csname**#1\endcsname} +\noshowpart{author} +\showpart{editor} +\noshowpart{change summary} +%************************************************************************ + +\TUBedit{change summary} +1. Capitalization in title and heads. +2. Some spelling and grammatical changes. +3. \makesignature used. +4. Placement of Table 2 so as to be typeset on final page +\TUBedit{end change summary} +%%JK +\noshowpart{last change summary} +\TUBedit{last change summary} +1. Changed postal address because of new german ZIP codes +2. Introduced italic font to show examples +3. Exhibited a scharfes s +\TUBedit{end last change summary} +%%/JK + + +\TUBedit{author} +\title{Fonts for Africa: The fc-fonts} +\TUBedit{end author} +% +\TUBedit{editor} +% remove hyphen, add cap +\title{Fonts for Africa: The fc Fonts} +\TUBedit{end editor} + +\TUBedit{author} +\author{J\"org Knappen\\ + Chair of the TWG on african languages with latin writing\\ + Institut f\"ur Kernphysik\\ + Postfach 39 80\\ + D-W 6500 Mainz\\ + R. F. A.\\ + {\tt knappen@vkpmzd.kph.uni-mainz.de}} +\signature{J\"org Knappen} +\TUBedit{end author} +% +\TUBedit{editor} +% At least the address information should go to the bottom of +% the article where the signature is placed. Should we keep the +% chairmanship up top? +%%JK: I think so. +%%/JK +\author{J\"org Knappen\\ + Chair of the TWG on African Languages with Latin Writing} +\address{Institut f\"ur Kernphysik\\ +%%JK Postfach 39 80\\ +%%JK D-W 6500 Mainz\\ +%%JK New ZIP code, no Postfach any more: + D 55 099 Mainz\\ +%%/JK + R. F. A.} +\netaddress{knappen@vkpmzd.kph.uni-mainz.de} +\TUBedit{end editor} +\begin{document} +\maketitle +\setlength{\extrarowheight}{2pt} +% +{% Begin a group to keep things local +\font\fc=fcr10 % You can get the fc fonts from ftp.uni-stuttgart.de +\def\FC#1{{\fc\char"#1}} % The argument is an uppercase hex number +\font\sstt=fcsstt10 +%%JK Add fc italic font: +\font\fci=fci10 +%%/JK +% +\font\logo=logo10 +\def\MF{{\logo META}\-{\logo FONT}} +% +\font\cyr=wncyr10 +% +\makeatletter +\input fcuse.sty % Available from ftp.uni-stuttgart.de +\makeatother +% +\begin{abstract} +\TUBedit{author} +A font (fc) with 256 characters for the needs of african languages with latin +\TUBedit{end author} +% +\TUBedit{editor} +% At one time, I recommended changing `africa/n' to `Africa/n' throughout, +% but I gather that this is consistent with `european', `german, `french', +% etc. and we should just regard this as a matter of style left to the +% author. +A font (fc) with 256 characters for the needs of african languages with latin +\TUBedit{end editor} +writing is presented. The so-called critical languages with more than +\TUBedit{author} +1~mio\ speakers are supported. It is implemented in \MF\ using Sauter's +\TUBedit{end author} +% +\TUBedit{editor} +% I'm not that familiar with the term `mio', although I suppose it's a +% contraction for `million'. Is this just American ignorance? If so, +% we can leave it here; otherwise I would prefer to use the more standard +% `million'. We should also be consistent with respect to the terminating +% period. None occurs here, but there is one where `mio' is next used. +1~mio\ speakers are supported. It is implemented in \MF\ using Sauter's +\TUBedit{end editor} +tools for the parametrisation. +\end{abstract} +% +\TUBedit{author} +\renewcommand{\abstractname}{Zusammenfassung} +\begin{abstract} +Ein Zeichensatz (fc) mit 256 Zeichen, der zum Satz afrikanischer Sprachen mit +lateinischer Schrift entwickelt worden ist, wird vorgestellt. Er +unterst\"utzt die sog.\ kritischen Sprachen in Afrika mit mehr als 1~Mio.\ % +Sprechern. Die Implementierung der fc-Zeichensatzfamilie geschieht in \MF\ % +unter Ausnutzung der Sauter'schen Parametrisierungen. +\end{abstract} +\TUBedit{end author} +% +\TUBedit{editor} +% comment out for TUGboat +%\renewcommand{\abstractname}{Zusammenfassung} +%\begin{abstract} +%Ein Zeichensatz (fc) mit 256 Zeichen, der zum Satz afrikanischer Sprachen mit +%lateinischer Schrift entwickelt worden ist, wird vorgestellt. Er +%unterst\"utzt die sog.\ kritischen Sprachen in Afrika mit mehr als 1~Mio.\ % +%Sprechern. Die Implementierung der fc-Zeichensatzfamilie geschieht in \MF\ % +%unter Ausnutzung der Sauter'schen Parametrisierungen. +%\end{abstract} +\TUBedit{end editor} +% +% +\section*{Introduction} +On the continent of africa, several hundred different languages are spoken, +\TUBedit{author} +the numbers of speakers range from more than 100~mio.\ down to few +\TUBedit{end author} +% +\TUBedit{editor} +% grammatical adjustment +the numbers of speakers of each ranging from more than 100~mio.\ down to few +\TUBedit{end editor} +hundreds. Many languages do not have a written form, other language have +\TUBedit{author} +some written form, but it is not standardised yet. Or even worse: There +\TUBedit{end author} +% +\TUBedit{editor} +% lowercase after : +some written form, but it is not standardised yet. Or even worse: there +\TUBedit{end editor} +exists more than one writing system for the same language (e.g.~protestant +and catholic orthography). Clearly, it was impossible to check out all +writing systems of all possible languages. This work confines itself to the +so-called `critical languages' according to a definition of the US +\TUBedit{author} +department of education in 1986. All these languages have more than 1~mio.\ % +\TUBedit{end author} +% +\TUBedit{editor} +% capitalize DoE +Department of Education in 1986. All these languages have more than 1~mio.\ % +\TUBedit{end editor} +speakers. + +\TUBedit{author} +On the continent of africa, three main writing systems are in use: +\TUBedit{end author} +% +\TUBedit{editor} +% Since the previous paragraph also begins with `On the continent ...', +% let's modify a little. Perhaps: +%%JK Good idea. Let's noindent it, as you have done it further down +\noindent +%%/JK +Three main writing systems are in use in Africa: +\TUBedit{end editor} +\begin{itemize} +\item {\it {\ae}thiopian} writing, used for several languages in + {\AE}thiopia and Eritrea. +\item {\it arabic} writing, used in northern africa and on the east coast +\TUBedit{author} + for several languages. It is now loosing ground against latin writing, +\TUBedit{end author} +% +\TUBedit{editor} +% `loosing' -> `losing' and `,' -> `;' + for several languages. It is now losing ground against latin writing; +\TUBedit{end editor} + languages like suaheli and hausa are now mainly written in latin. +\item {\it latin} writing is now being introduced or established in the + rest of africa. +\end{itemize} +In this overview, I want to mention also some other writing systems. +The Tuareg +living in the sahara use the over 2,000 years old {\em tifinagh} writing +\TUBedit{author} +system, a right-to-left writing, the Kopts in {\AE}gypt still use +\TUBedit{end author} +% +\TUBedit{editor} +% `,' -> `;' +system, a right-to-left writing; the Kopts in {\AE}gypt still use +\TUBedit{end editor} +{\em koptic} for religious purposes. + +An interesting development was the invention of a somali alphabet by +Osman Yusuf, which combined influences from the three major writing systems, +but this system did not achieve official status in Somalia. + +The introduction of latin writing was first done by missionaries, who +invented orthographies quite arbitrarily. But since the first half of this +\TUBedit{author} +century, there are attempts to standardise the newly introduced alphabets. +\TUBedit{end author} +% +\TUBedit{editor} +% `are' -> `have been' +century, there have been +attempts to standardise the newly introduced alphabets. +\TUBedit{end editor} + +As a result of these attempts, an `african reference alphabet' emerged, +based on the principle of {\em one sound, one sign} which is also the +principle of the international phonetic alphabet. There are many borrowings +from the phonetic alphabet in african writing. These efforts are now +coordinated by the {\sc UNESCO}. + +\TUBedit{author} +\section*{The fc fonts} +\TUBedit{end author} +% +\TUBedit{editor} +% capitalize `fonts' +\section*{The fc Fonts} +\TUBedit{end editor} +The fc font encoding scheme encodes characters necessary to typeset the +major african languages with latin writing. In selecting these languages, I +followed the list of so-called critical languages. Unfortunately, it proved +impossible to put really all characters into one 256-character font. +Therefore, I applied the following selection rules: +\begin{itemize} +\item The standard \TeX\ character set is still available. +\item Characters with entirely new shapes are included with highest + priority. +\item Characters which need another accent in some languages have the + second highest priority. +\item Characters which are difficult to handle by TeX macros are preferred + over those which are easier to handle (e.g. characters with diacritic +\TUBedit{author} + below are prefered to those with diacritics above). +\TUBedit{end author} +% +\TUBedit{editor} +% `prefered' -> `preferred' + below are preferred to those with diacritics above). +\TUBedit{end editor} +\TUBedit{author} +\item Characters which occur only in tonal languages and are carrying a + tonal mark, are most likely discarded. +\TUBedit{end author} +% +\TUBedit{editor} +% `are carrying' -> `carry' +\item Characters which occur only in tonal languages and carry a + tonal mark, are most likely discarded. +\TUBedit{end editor} +\end{itemize} + +\TUBedit{editor} +% To accentuate the regular text as opposed to the surrounding lists. +\noindent +\TUBedit{end editor} +The fc fonts have several other interesting features some of which I list +here: +\begin{itemize} +\item The lower half of the fc encoding scheme is identical to the Cork + (or ec) encoding scheme for european languages. +\item If a character occurs both in the fc scheme and in the Cork scheme, + it has the same encoding. +\item The difference between uppercase and the corresponding + lowercase character is a constant. +\item It is possible to create virtual fonts to obtain all those + characters of tonal languages which needed to be discarded. +\item It is possible to rebuild the cm fonts and the ec fonts as virtual + fonts from the fc fonts. In the latter case three letters are missing + (edh, thorn and Thorn) and cannot be done without larger loss in + quality. Of course, there are smaller quality losses in building + such a virtual font, e.g.~for \^\i, where the \^{}-accent comes out + too wide. +\end{itemize} + +\TUBedit{editor} +% Again to accentuate the regular text. +\noindent +\TUBedit{end editor} +The following languages are supported (with the proviso about tones made +above): Akan, Bamileke, Basa (Kru), Bemba, Ciokwe, Dinka, Dholuo (Luo), Efik, + Ewe-Fon, Fulani (Fulful), G\~a, Gbaya, Hausa, \d{I}gb\d{o}, Kanuri, Kikuyu, + Kikongo, Kpelle, Krio, Luba, Mandekan (Bambara), Mende, More, Ngala, + Nyanja, Oromo, Rundi, Kinya Rwanda, Sango, Serer, Shona, Somali, Songhai, + Sotho (two different writing systems), Suaheli, Tiv, Yao, Yoruba, Xhosa, + and Zulu. + + I decided to support two european languages, which are not covered by the +\TUBedit{author} + EC-scheme, +\TUBedit{end author} +% +\TUBedit{editor} +% Elsewhere we use lowercase for ec and fc. + ec-scheme, +\TUBedit{end editor} +namely Maltese and Sami\footnote{The Cork scheme includes the +\TUBedit{author} +letter eng ({\fc+n}) especially for Sami, but it missed the letter t with bar +\TUBedit{end author} +% +\TUBedit{editor} +% `missed' -> `is missing' +letter eng ({\fc+n}) especially for Sami, but it is missing +the letter t with bar +\TUBedit{end editor} +({\fc/t}). However, with the letter eng several african languages can be +written using the Cork scheme as well.}. +% Comment: I noticed that the examples come out too big, but regard this as +% a feature. In fact, footnotesized, they would come out nearly illegible. + +There are some writing systems which are not supported by the fc fonts. +\TUBedit{author} + +\TUBedit{end author} +% +\TUBedit{editor} +% Let's run these two paragraphs together. +\TUBedit{end editor} +First to mention is the writing of Khoi-San languages with their +characteristic click sounds. Missing is the letter $\neq$ which can be +constructed as a macro. The obsolete orthographies of Xhosa and Zulu are not +supported (they used a cyrillic B ({\cyr B}) as uppercase of {\fc +b}). + +Also not supported is the obsolete orthography of \d{I}gb\d{o} which +contains an o with horizontal bar (\accent45o). A proposed alphabet for +Tamasheq (a berber language) is not supported because there is no evidence +that it ever caught on. + +\section*{Design of the letters} +The design of the letters closely follows the {\em computer modern} fonts +by Donald E.~Knuth. Much of the \MF\ code made its way unchanged to the fc +fonts. However, several modification were necessary in the case of italics. +Since {\fc E+ue} has both `f' and {\fc`+f'}, the latter looking like the +italic letter f, the italic letter f was redesigned to have a straight, +uncurved descender +%%JK Show the new italic forms +({\fci f, +f\/}). +%%/JK +\TUBedit{editor} +% It would be good to show the new italic `f' here. Similarly for the +% other characters mentioned immediately below and the scharfes s. +\TUBedit{end editor} +Similarly, the italic letter v was redesigned to have +sharp edge +%%JK show it +({\fci v\/}). +%%/JK +In consequence of the last change, the italic letters w and y +were changed, too +%%JK show them +({\fci w, y\/}). +%%/JK + +\TUBedit{author} +Deliberately, I changed the appearence of the roman letter {\em +scharfes s}. Its new shape exhibits the ligature of long and short s from +\TUBedit{end author} +% +\TUBedit{editor} +% `appearence' -> `appearance' +Deliberately, I changed the appearance of the roman letter {\em +scharfes s}. Its new shape exhibits the ligature of long and short s from +\TUBedit{end editor} +which it originally derives +%%JK Show it +(\FC{FF}). +%%/JK + +\section*{How to use the fc fonts} +At the present time, I support only \LaTeX\ and plain \TeX\ with the new +font selection scheme (NFSS) by R.~Sch\"opf and F.~Mittelbach. There are +the files {\tt fontdef.fc} and {\tt fclfont.sty} which load the fonts and +set the standard \TeX\ commands for accents correctly. But, at the moment +there are no standard control sequences to get the newly added characters, +except that {\verb:\|:} shall produce the universal +%%JK tie it to the line +accent~(\FC{BF}). +%%/JK + +\begin{table}[htbp] +\begin{center} +\begin{tabular}{lcc} +% Name, (Gro"s, Klein), fcuse (gro"s, Klein) +Name & Shape & Input\\ \hline +Hooktop b & {\fc +b, +B} & \verb:+b, +B: \\ +Hooktop c & {\fc +c, +C} & \verb:+c, +C: \\ +Hooktop d & {\fc +d, +D} & \verb:+d, +D: \\ +Open e & {\fc +e, +E} & \verb:+e, +E: \\ +Long f & {\fc +f, +F} & \verb:+f, +F: \\ +Ipa gamma & {\fc +g, +G} & \verb:+g, +G: \\ +Latin iota& {\fc +i, +I} & \verb:+i, +I: \\ +Enj & {\fc +j, +J} & \verb:+j, +J: \\ +Hooktop k & {\fc +k, +K} & \verb:+k, +K: \\ +Eng & {\fc +n, +N} & \verb:+n, +N: \\ +Open o & {\fc +o, +O} & \verb:+o, +O: \\ +Hooktop p & {\fc +p, +P} & \verb:+p, +P: \\ +Esh & {\fc +s, +S} & \verb:+s, +S: \\ +Hooktop t & {\fc +t, +T} & \verb:+t, +T: \\ +Variant u & {\fc +u, +U} & \verb:+u, +U: \\ +Ezh & {\fc +z, +Z} & \verb:+z, +Z: \\ \hline +Crossed d & {\fc /d, /D} & \verb:/d, /D: \\ +Crossed h & {\fc /h, /H} & \verb:/h, /H: \\ +Crossed t & {\fc /t, /T} & \verb:/t, /T: \\ \hline +Tailed d & {\fc =d, =D} & \verb:=d, =D: \\ +Inverted e& {\fc =e, =E} & \verb:=e, =E: \\ +Long t & {\fc =t, =T} & \verb:=t, =T: \\ \hline +\end{tabular} +\caption{Overview of the special letters in the fc fonts and their access +via {\tt fcuse.sty}} +\label{jk:tab:fcuse} +\end{center} +\end{table} + +There is another style option ({\tt fcuse.sty}) which makes the special +characters accesible via active characters. Three characters needed to be +activated, since the letters d and t carry the load of three new variants +\TUBedit{author} +({\fc +d, =d, /d; +t, =t, /t}). An overview of the assignments gives +table~\ref{jk:tab:fcuse}. +\TUBedit{end author} +% +\TUBedit{editor} +% `gives' -> `is given in'; cap `table' +({\fc +d, =d, /d; +t, =t, /t}). An overview of the assignments is given in +Table~\ref{jk:tab:fcuse}. +\TUBedit{end editor} + +\TUBedit{editor} +% This achieves placement of Table 2 on the last page. Admittedly, +% this is not the way one should do it, but it appears that LaTeX can't +% adjust its textheight for the current page on the fly. +\begin{table*}[btp] +\begin{center} +\begin{tabular}{|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} +\hline + &x0&x1&x2&x3&x4&x5&x6&x7&x8&x9&xA&xB&xC&xD&xE&xF\\ +\hline\hline +0y +&\FC{00}&\FC{01}&\FC{02}&\FC{03}&\FC{04}&\FC{05}&\FC{06}&\FC{07}&\FC{08} + &\FC{09}&\FC{0A}&\FC{0B}&\FC{0C}&\FC{0D}&\FC{0E}&\FC{0F}\\ \hline +1y +&\FC{10}&\FC{11}&\FC{12}&\FC{13}&\FC{14}&\FC{15}&\FC{16}&\FC{17}&\FC{18} + &\FC{19}&\FC{1A}&\FC{1B}&\FC{1C}&\FC{1D}&\FC{1E}&\FC{1F}\\ \hline +2y +&\FC{20}&\FC{21}&\FC{22}&\FC{23}&\FC{24}&\FC{25}&\FC{26}&\FC{27}&\FC{28} + &\FC{29}&\FC{2A}&\FC{2B}&\FC{2C}&\FC{2D}&\FC{2E}&\FC{2F}\\ \hline +3y +&\FC{30}&\FC{31}&\FC{32}&\FC{33}&\FC{34}&\FC{35}&\FC{36}&\FC{37}&\FC{38} + &\FC{39}&\FC{3A}&\FC{3B}&\FC{3C}&\FC{3D}&\FC{3E}&\FC{3F}\\ \hline +4y +&\FC{40}&\FC{41}&\FC{42}&\FC{43}&\FC{44}&\FC{45}&\FC{46}&\FC{47}&\FC{48} + &\FC{49}&\FC{4A}&\FC{4B}&\FC{4C}&\FC{4D}&\FC{4E}&\FC{4F}\\ \hline +5y +&\FC{50}&\FC{51}&\FC{52}&\FC{53}&\FC{54}&\FC{55}&\FC{56}&\FC{57}&\FC{58} + &\FC{59}&\FC{5A}&\FC{5B}&\FC{5C}&\FC{5D}&\FC{5E}&\FC{5F}\\ \hline +6y +&\FC{60}&\FC{61}&\FC{62}&\FC{63}&\FC{64}&\FC{65}&\FC{66}&\FC{67}&\FC{68} + &\FC{69}&\FC{6A}&\FC{6B}&\FC{6C}&\FC{6D}&\FC{6E}&\FC{6F}\\ \hline +7y +&\FC{70}&\FC{71}&\FC{72}&\FC{73}&\FC{74}&\FC{75}&\FC{76}&\FC{77}&\FC{78} + &\FC{79}&\FC{7A}&\FC{7B}&\FC{7C}&\FC{7D}&\FC{7E}&\FC{7F}\\ \hline +8y +&\FC{80}&\FC{81}&\FC{82}&\FC{83}&\FC{84}&\FC{85}&\FC{86}&\FC{87}&\FC{88} + &\FC{89}&\FC{8A}&\FC{8B}&\FC{8C}&\FC{8D}&\FC{8E}&\FC{8F}\\ \hline +9y +&\FC{90}&\FC{91}&\FC{92}&\FC{93}&\FC{94}&\FC{95}&\FC{96}&\FC{97}&\FC{98} + &\FC{99}&\FC{9A}&\FC{9B}&\FC{9C}&\FC{9D}&\FC{9E}&\FC{9F}\\ \hline +Ay +&\FC{A0}&\FC{A1}&\FC{A2}&\FC{A3}&\FC{A4}&\FC{A5}&\FC{A6}&\FC{A7}&\FC{A8} + &\FC{A9}&\FC{AA}&\FC{AB}&\FC{AC}&\FC{AD}&\FC{AE}&\FC{AF}\\ \hline +By +&\FC{B0}&\FC{B1}&\FC{B2}&\FC{B3}&\FC{B4}&\FC{B5}&\FC{B6}&\FC{B7}&\FC{B8} + &\FC{B9}&\FC{BA}&\FC{BB}&\FC{BC}&\FC{BD}&\FC{BE}&\FC{BF}\\ \hline +Cy +&\FC{C0}&\FC{C1}&\FC{C2}&\FC{C3}&\FC{C4}&\FC{C5}&\FC{C6}&\FC{C7}&\FC{C8} + &\FC{C9}&\FC{CA}&\FC{CB}&\FC{CC}&\FC{CD}&\FC{CE}&\FC{CF}\\ \hline +Dy +&\FC{D0}&\FC{D1}&\FC{D2}&\FC{D3}&\FC{D4}&\FC{D5}&\FC{D6}&\FC{D7}&\FC{D8} + &\FC{D9}&\FC{DA}&\FC{DB}&\FC{DC}&\FC{DD}&\FC{DE}&\FC{DF}\\ \hline +Ey +&\FC{E0}&\FC{E1}&\FC{E2}&\FC{E3}&\FC{E4}&\FC{E5}&\FC{E6}&\FC{E7}&\FC{E8} + &\FC{E9}&\FC{EA}&\FC{EB}&\FC{EC}&\FC{ED}&\FC{EE}&\FC{EF}\\ \hline +Fy +&\FC{F0}&\FC{F1}&\FC{F2}&\FC{F3}&\FC{F4}&\FC{F5}&\FC{F6}&\FC{F7}&\FC{F8} + &\FC{F9}&\FC{FA}&\FC{FB}&\FC{FC}&\FC{FD}&\FC{FE}&\FC{FF}\\ \hline +\end{tabular} +\caption{The font fcr10}\label{jk:tab:fcr10} +\end{center} +\end{table*} +\TUBedit{end editor} +\section*{Implementation} +The implementation follows closely to the one of the cm fonts. The +distinction between parameter files, driver files and programme files is +kept. The parameters are computed from the design size of the fonts with +the help of the Sauter tools. This allows an easy nonlinear scaling. I +added only one new parameter, {\tt univ\_acc\_breath}, which governs the +shape of the universal accent. To adjust the height of accented capitals +the parameter {\tt comma\_depth} was employed. The result is excellent with +serif fonts, but not that good with sans serif ones. I made up one new +parameter file, creating a {\sstt sans serif typewriter} fontshape. There +were only minor modifications needed in the programmes of the letters i, I, +and l to make it work. + +There is not much to say about the driver files, except that there are +additional kerns for {\fc kV, kW, mV, mW, and eV}. The ligatures from +the Cork scheme to get german and french quotes are included, too. +\TUBedit{author} +The programme files are completely reorganised. The huge files are splitted +\TUBedit{end author} +% +\TUBedit{editor} +% `splitted' -> `split' +The programme files are completely reorganised. The huge files are split +\TUBedit{end editor} +into smaller ones each containing only one to three letters of the +alphabet. The shape of the letter is saved as a picture and only the +diacritic is calculated to get an accented letter. This is done to save cpu +time and to make the maintenance of the files easier. The accented letters +are generated only on demand, i.e.\ if their code is known. The codes are +given in the file {\tt coding.fc}. It is possible to use the same source +to create other real fonts by replacing the coding file. The so-created +fonts may not be called fc, since this abbreviation is reserved to fonts +which are fc-encoded. + +\section*{Outlook} +The fonts are done now, but there is lot of work left in creating suitable +styles for african languages and virtual fonts, if needed. For this work, +the speakers and users of the african languages are qualified best, and I +hope that there will be some results of this work soon. + +\TUBedit{editor} +% add signature +\makesignature +\TUBedit{end editor} + +% The following dirty tricks make the table print on a separate page. In +% principle it should fit on the bottom of the previous page, but I didn't +% manage to get it there. It _must_ start in left column. + +\TUBedit{author} +\newpage +\null +\newpage +\begin{table}[p] +\begin{center} +\begin{tabular}{|c||c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} +\hline + &x0&x1&x2&x3&x4&x5&x6&x7&x8&x9&xA&xB&xC&xD&xE&xF\\ +\hline\hline +0y +&\FC{00}&\FC{01}&\FC{02}&\FC{03}&\FC{04}&\FC{05}&\FC{06}&\FC{07}&\FC{08} + &\FC{09}&\FC{0A}&\FC{0B}&\FC{0C}&\FC{0D}&\FC{0E}&\FC{0F}\\ \hline +1y +&\FC{10}&\FC{11}&\FC{12}&\FC{13}&\FC{14}&\FC{15}&\FC{16}&\FC{17}&\FC{18} + &\FC{19}&\FC{1A}&\FC{1B}&\FC{1C}&\FC{1D}&\FC{1E}&\FC{1F}\\ \hline +2y +&\FC{20}&\FC{21}&\FC{22}&\FC{23}&\FC{24}&\FC{25}&\FC{26}&\FC{27}&\FC{28} + &\FC{29}&\FC{2A}&\FC{2B}&\FC{2C}&\FC{2D}&\FC{2E}&\FC{2F}\\ \hline +3y +&\FC{30}&\FC{31}&\FC{32}&\FC{33}&\FC{34}&\FC{35}&\FC{36}&\FC{37}&\FC{38} + &\FC{39}&\FC{3A}&\FC{3B}&\FC{3C}&\FC{3D}&\FC{3E}&\FC{3F}\\ \hline +4y +&\FC{40}&\FC{41}&\FC{42}&\FC{43}&\FC{44}&\FC{45}&\FC{46}&\FC{47}&\FC{48} + &\FC{49}&\FC{4A}&\FC{4B}&\FC{4C}&\FC{4D}&\FC{4E}&\FC{4F}\\ \hline +5y +&\FC{50}&\FC{51}&\FC{52}&\FC{53}&\FC{54}&\FC{55}&\FC{56}&\FC{57}&\FC{58} + &\FC{59}&\FC{5A}&\FC{5B}&\FC{5C}&\FC{5D}&\FC{5E}&\FC{5F}\\ \hline +6y +&\FC{60}&\FC{61}&\FC{62}&\FC{63}&\FC{64}&\FC{65}&\FC{66}&\FC{67}&\FC{68} + &\FC{69}&\FC{6A}&\FC{6B}&\FC{6C}&\FC{6D}&\FC{6E}&\FC{6F}\\ \hline +7y +&\FC{70}&\FC{71}&\FC{72}&\FC{73}&\FC{74}&\FC{75}&\FC{76}&\FC{77}&\FC{78} + &\FC{79}&\FC{7A}&\FC{7B}&\FC{7C}&\FC{7D}&\FC{7E}&\FC{7F}\\ \hline +8y +&\FC{80}&\FC{81}&\FC{82}&\FC{83}&\FC{84}&\FC{85}&\FC{86}&\FC{87}&\FC{88} + &\FC{89}&\FC{8A}&\FC{8B}&\FC{8C}&\FC{8D}&\FC{8E}&\FC{8F}\\ \hline +9y +&\FC{90}&\FC{91}&\FC{92}&\FC{93}&\FC{94}&\FC{95}&\FC{96}&\FC{97}&\FC{98} + &\FC{99}&\FC{9A}&\FC{9B}&\FC{9C}&\FC{9D}&\FC{9E}&\FC{9F}\\ \hline +Ay +&\FC{A0}&\FC{A1}&\FC{A2}&\FC{A3}&\FC{A4}&\FC{A5}&\FC{A6}&\FC{A7}&\FC{A8} + &\FC{A9}&\FC{AA}&\FC{AB}&\FC{AC}&\FC{AD}&\FC{AE}&\FC{AF}\\ \hline +By +&\FC{B0}&\FC{B1}&\FC{B2}&\FC{B3}&\FC{B4}&\FC{B5}&\FC{B6}&\FC{B7}&\FC{B8} + &\FC{B9}&\FC{BA}&\FC{BB}&\FC{BC}&\FC{BD}&\FC{BE}&\FC{BF}\\ \hline +Cy +&\FC{C0}&\FC{C1}&\FC{C2}&\FC{C3}&\FC{C4}&\FC{C5}&\FC{C6}&\FC{C7}&\FC{C8} + &\FC{C9}&\FC{CA}&\FC{CB}&\FC{CC}&\FC{CD}&\FC{CE}&\FC{CF}\\ \hline +Dy +&\FC{D0}&\FC{D1}&\FC{D2}&\FC{D3}&\FC{D4}&\FC{D5}&\FC{D6}&\FC{D7}&\FC{D8} + &\FC{D9}&\FC{DA}&\FC{DB}&\FC{DC}&\FC{DD}&\FC{DE}&\FC{DF}\\ \hline +Ey +&\FC{E0}&\FC{E1}&\FC{E2}&\FC{E3}&\FC{E4}&\FC{E5}&\FC{E6}&\FC{E7}&\FC{E8} + &\FC{E9}&\FC{EA}&\FC{EB}&\FC{EC}&\FC{ED}&\FC{EE}&\FC{EF}\\ \hline +Fy +&\FC{F0}&\FC{F1}&\FC{F2}&\FC{F3}&\FC{F4}&\FC{F5}&\FC{F6}&\FC{F7}&\FC{F8} + &\FC{F9}&\FC{FA}&\FC{FB}&\FC{FC}&\FC{FD}&\FC{FE}&\FC{FF}\\ \hline +\end{tabular} +\caption{The font fcr10}\label{jk:tab:fcr10} +\end{center} +\end{table} +\TUBedit{end author} +% + +}% end the group from the beginning, forget the font \fc and the +% definitions of fcuse.sty +\end{document} diff --git a/fonts/jknappen/fc/src/fcuse.sty b/fonts/jknappen/fc/src/fcuse.sty new file mode 100644 index 0000000000..8812926b43 --- /dev/null +++ b/fonts/jknappen/fc/src/fcuse.sty @@ -0,0 +1,289 @@ +% This is FCUSE.STY +% Version 1.1 +% Date 8-MAY-1993 +% +% (c) 1992, 1993 by J"org Knappen +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de +% +% The african zusatz letters are made more typeable by this style. This is +% achieved by making three characters active: + = / +% All these characters keep their usual meaning in math mode, type $+$ to get +% a plus in text. By duplication, you also get the escape character. +% +% the plus has the heaviest load: +% +b: hooktop b +% +c: hooktop c +% +d: hooktop d +% +e: open e +% +f: long f +% +g: ipa gamma +% +i: latin iota +% +j: enj +% +k: hooktop k +% +n: eng +% +o: open o +% +p: hooktop p +% +s: esh +% +t: hooktop t +% +u: variant u +% +v: round v (variant u) +% +y: hooktop y +% +z: ezh +% ++: plus sign +% ...and the uppercase ones +% +% The slash produces some crossed forms: +% /d: crossed d +% /h: crossed h +% /t: crossed t +% //: slash +% ...and the uppercase ones +% +% The rest is left to the equals sign: +% =d: d with tail +% =e: inverted e +% =t: long t +% ==: equals sign +% ...and the uppercase ones +% + + +% Add the active characters to \do and \sanitize +\begingroup + \def\do{\noexpand\do\noexpand}% + \edef\next{\endgroup + \def\noexpand\dospecials{\dospecials\do\+\dospecials\do\=\dospecials\do\/}}% +\next + \begingroup + \def\@makeother{\noexpand\@makeother\noexpand}% + \edef\next{\endgroup + \def\noexpand\@sanitize{\@sanitize\@makeother\+\@sanitize\@makeother\=% + \@sanitize\@makeother\/}}% +\next + + +% +% active character mechanism +% ---------------------------- +% +\def\activecharactersoff{% + \catcode`\==12 \catcode`\+=12 \catcode`\/=12 } +\def\activecharacterson{% + \catcode`\==\active\catcode`\+=\active\catcode`\/=\active} + +\begingroup \activecharactersoff +\def\next{\endgroup + \def\originalplus{+} + \def\originalequals{=} + \def\originalslash{/}} +\next + + +% For all arguments of an active character which should be treated in +% a special way, we define a macro with the argument text in the name. +% +% \ch@macro#1 constructs this name. (Where ch is either +% plus, equals or slash) +% +% (If the expansion of \ch@macro results in another call of \ch@macro +% the inner macro shouldn't contain unexpandable primitives like +% \relax. Otherwise TeX warns about a "Missing \endcsname inserted." +% +% +\def\plus@macro#1{\csname @plus@\string #1@plus@\endcsname} +\def\equals@macro#1{\csname @equals@\string #1@equals@\endcsname} +\def\slash@macro#1{\csname @slash@\string #1@slash@\endcsname} + +% The definition of the active character macro: +% +% +\def\@active@plus#1{\expandafter\expandafter\expandafter + \ifx\plus@macro{#1}\relax + \expandafter\normal@plus + \else + \expandafter\protect\expandafter\active@plus + \fi {#1}} +\def\@active@equals#1{\expandafter\expandafter\expandafter + \ifx\equals@macro{#1}\relax + \expandafter\normal@equals + \else + \expandafter\protect\expandafter\active@equals + \fi {#1}} +\def\@active@slash#1{\expandafter\expandafter\expandafter + \ifx\slash@macro{#1}\relax + \expandafter\normal@slash + \else + \expandafter\protect\expandafter\active@slash + \fi {#1}} + + +% The braces of {#1} in \@active@ch are necessary if someone wants to +% define a active character macro for things like "{}. They ensure that +% \active@ch is called with the correct argument. +% For \normal@ch we have to delete the braces and insert a normal +% character. +% +\def\normal@plus#1{\originalplus #1} +\def\normal@equals#1{\originalequals #1} +\def\normal@slash#1{\originalslash #1} + + +% For combinations +x, =x, /x which should be treated in a special way, +% \active@ch is called with `x' as argument. +% In the current implementation the actions for argument #1 are saved +% in macro with name \ch@macro{#1}. These macro expand to two groups +% containing the action for text and for math mode. +% The support of other ``modes'' can be implemented +% in this macro. +% + +\def\active@plus#1{% + \csname plus@\ifmmode second\else first\fi +% \plus@macro has to be expanded three times: +% 1. \plus@macro --> \csname... +% 2. \csname... --> control seqence +% 3. control seqence --> {text mode}{math mode} + \expandafter\expandafter\expandafter\expandafter + \expandafter\expandafter\expandafter + \endcsname + \plus@macro{#1}} +% +\def\plus@first#1#2{#1} +\def\plus@second#1#2{#2} +% = +\def\active@equals#1{% + \csname equals@\ifmmode second\else first\fi +% \equals@macro has to be expanded three times: +% 1. \equals@macro --> \csname... +% 2. \csname... --> control seqence +% 3. control seqence --> {text mode}{math mode} + \expandafter\expandafter\expandafter\expandafter + \expandafter\expandafter\expandafter + \endcsname + \equals@macro{#1}} +% +\def\equals@first#1#2{#1} +\def\equals@second#1#2{#2} +% / +\def\active@slash#1{% + \csname slash@\ifmmode second\else first\fi +% \slash@macro has to be expanded three times: +% 1. \slash@macro --> \csname... +% 2. \csname... --> control seqence +% 3. control seqence --> {text mode}{math mode} + \expandafter\expandafter\expandafter\expandafter + \expandafter\expandafter\expandafter + \endcsname + \slash@macro{#1}} +% +\def\slash@first#1#2{#1} +\def\slash@second#1#2{#2} + + +% The definition of a ch-macro is done with... +% +% + +% +\def\def@plusmacro#1#2#3{\expandafter\expandafter\expandafter + \def\plus@macro{#1}{{#2}{#3}}} + +\def\let@plusmacro#1#2{\begingroup + \edef\next{\endgroup \let + \expandafter\expandafter\expandafter\noexpand\plus@macro{#1}% + \expandafter\expandafter\expandafter\noexpand\plus@macro{#2}}% + \next} +% = +\def\def@equalsmacro#1#2#3{\expandafter\expandafter\expandafter + \def\equals@macro{#1}{{#2}{#3}}} + +\def\let@equalsmacro#1#2{\begingroup + \edef\next{\endgroup \let + \expandafter\expandafter\expandafter\noexpand\equals@macro{#1}% + \expandafter\expandafter\expandafter\noexpand\equals@macro{#2}}% + \next} +% / +\def\def@slashmacro#1#2#3{\expandafter\expandafter\expandafter + \def\slash@macro{#1}{{#2}{#3}}} + +\def\let@slashmacro#1#2{\begingroup + \edef\next{\endgroup \let + \expandafter\expandafter\expandafter\noexpand\slash@macro{#1}% + \expandafter\expandafter\expandafter\noexpand\slash@macro{#2}}% + \next} + + +% Definitions for all active character macros... +% (The empty groups after some macro are necessary for \write commands, +% otherwise spaces after these macro will be ignored.) +% +% + +% +\def@plusmacro{b}{^^a0}{\originalplus b} +\def@plusmacro{c}{^^b0}{\originalplus c} +\def@plusmacro{d}{^^a1}{\originalplus d} +\def@plusmacro{e}{^^a2}{\originalplus e} +\def@plusmacro{f}{^^a4}{\originalplus f} +\def@plusmacro{g}{^^a6}{\originalplus g} +\def@plusmacro{i}{^^e0}{\originalplus i} +\def@plusmacro{j}{^^a9}{\originalplus j} +\def@plusmacro{k}{^^a8}{\originalplus k} +\def@plusmacro{n}{^^ad}{\originalplus n} +\def@plusmacro{o}{^^aa}{\originalplus o} +\def@plusmacro{p}{^^b1}{\originalplus p} +\def@plusmacro{s}{^^ac}{\originalplus s} +\def@plusmacro{t}{^^ba}{\originalplus t} +\def@plusmacro{u}{^^ae}{\originalplus u} +\def@plusmacro{v}{^^ae}{\originalplus v} +\def@plusmacro{y}{^^af}{\originalplus y} +\def@plusmacro{z}{^^b6}{\originalplus z} +\def@plusmacro{+}{\originalplus}{\originalplus\originalplus} +\def@plusmacro{B}{^^80}{\originalplus B} +\def@plusmacro{C}{^^90}{\originalplus C} +\def@plusmacro{D}{^^81}{\originalplus D} +\def@plusmacro{E}{^^82}{\originalplus E} +\def@plusmacro{F}{^^84}{\originalplus F} +\def@plusmacro{G}{^^86}{\originalplus G} +\def@plusmacro{I}{^^c0}{\originalplus I} +\def@plusmacro{J}{^^89}{\originalplus J} +\def@plusmacro{K}{^^88}{\originalplus K} +\def@plusmacro{N}{^^8d}{\originalplus N} +\def@plusmacro{O}{^^8a}{\originalplus O} +\def@plusmacro{P}{^^91}{\originalplus P} +\def@plusmacro{S}{^^8c}{\originalplus S} +\def@plusmacro{T}{^^9a}{\originalplus T} +\def@plusmacro{U}{^^8e}{\originalplus U} +\def@plusmacro{V}{^^8e}{\originalplus V} +\def@plusmacro{Y}{^^8f}{\originalplus Y} +\def@plusmacro{Z}{^^96}{\originalplus Z} + +% = +\def@equalsmacro{d}{^^f0}{\originalequals d} +\def@equalsmacro{D}{^^d0}{\originalequals D} +\def@equalsmacro{t}{^^bb}{\originalequals t} +\def@equalsmacro{T}{^^9b}{\originalequals T} +\def@equalsmacro{e}{^^a3}{\originalequals e} +\def@equalsmacro{E}{^^83}{\originalequals E} +\def@equalsmacro{=}{\originalequals}{\originalequals\originalequals} + +% / +\def@slashmacro{d}{^^9e}{\originalslash d} +\def@slashmacro{D}{^^d0}{\originalslash D} +\def@slashmacro{h}{^^a7}{\originalslash h} +\def@slashmacro{H}{^^87}{\originalslash H} +\def@slashmacro{t}{^^b7}{\originalslash t} +\def@slashmacro{T}{^^97}{\originalslash T} +\def@slashmacro{/}{\originalslash}{\originalslash\originalslash} +% +\activecharacterson +\let+\@active@plus +\let=\@active@equals +\let/\@active@slash +\endinput + + diff --git a/fonts/jknappen/fc/src/fontdef.fc_old b/fonts/jknappen/fc/src/fontdef.fc_old new file mode 100644 index 0000000000..8be576b84c --- /dev/null +++ b/fonts/jknappen/fc/src/fontdef.fc_old @@ -0,0 +1,181 @@ +% This is FONTDEF.FC +% Version 1.1 +% Date 12-NOV-1994 +% +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-55099 Mainz +% knappen@vkpmzd.kph.uni-mainz.de +% +% Made using fontdef.dc by Frank Mittelbach and Rainer Sch"opf +% Using fontdef.sau by Timo Knuutila +\def\fileversion{v1.1} +\def\filedate{12-NOV-1994} +%% +% Standard test to prevent double loading of this file. +% \begin{macrocode} +\expandafter\ifx\csname fontdef.fc\endcsname\relax +\expandafter\def\csname fontdef.fc\endcsname{} +\else\message{---already loaded}\endinput\fi +% +%% You should *not* change this file! If you want to change the +%% fonts/shapes you should create a copy of it named `fontdef.tex' +%% and edit this one according to your needs! +%% +%% For font/shape combinations which aren't available at all like african +%% computer modern sans serif small caps a suitable default will be +%% used automatically unless you specify a substitution yourself with +%% the \subst@fontshape command. +%% +%% It syntax is as follows: +%% +%% \subst@fontshape{family}{series}{shape}% +%% {subst_family}{subst_series}{subst_shape} +%% +%% This might be necessary if the automatically selected default does +%% not match your needs. For example: the font shape choosen instead +%% of `computer modern sans serif small caps' would be `computer +%% modern sans serif normal'. With a \subst@fontshape command you can +%% change this, for example, to `computer modern roman small caps' as +%% we did below. (If you don't like this remove this line in your +%% *copy* of this file.) +%% +%% Finally, for every family there is an \extra@def macro. It defines +%% special action to be done at load time for every font of the family. +%% In most cases you can simply write +%% +%% \extra@def{family}{}{} +%% +%% In this file it is used to suppress hyphenation for typewriter +%% fonts (see \extra@def{cmtt}... below) and to set the \skewchar +%% for math fonts (see \extra@def{cmm}... and \extra@def{cmsy}...). +%% +%% +\newlinechar`\^^J +\immediate\write\sixt@@n{File: `fontdef.fc' \space + \fileversion\space <\filedate> (JK)} +\immediate\write\sixt@@n{English Documentation + \@spaces\space <\docdate> (JK)} +\immediate\write\sixt@@n + {^^JIncludes Font/Shape Definitions for:^^J + ^^J\@spaces African Computer Modern Fonts,% + ^^J\@spaces Computer Modern Standard Mathematical Fonts% + ,^^J\@spaces LaTeX Symbol Fonts% + .^^J} +\immediate\write\sixt@@n + {********************************************************************} +\immediate\write\sixt@@n + {* Probably customized by YOU who forgot to change the lines above! *} +\immediate\write\sixt@@n + {********************************************************************} +%% +%% Please don't change the next lines unless you know exactly what you +%% are doing. +%% +\def\default@shape{n} +\def\default@series{m} +\def\default@family{fcr} +\def\default@errfont{cmsy10} +%% +%% Again, this is doubly dangerous bent. +%% +\fontfamily\default@family +\fontseries\default@series +\fontshape\default@shape +%% +%% +%% One can generate all TeX font sizes with the Sauter package. +%% +\def\sauter@family#1#2#3#4{ +\new@fontshape{#1}{#3}{#4}{% + <5>#25% Yup, this looks ugly, but {#2}5 just won't work. + <6>#26% + <7>#27% + <8>#28% + <9>#29% + <10>#210% + <11>#211% + <12>#212% + <14>#214% + <17>#217% + <20>#220% + <25>#225% + }{}}% +%% +%% And here is your playground: +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% New 256 character fcr font families +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% fc roman fontfamily +% +% fc medium +\sauter@family{fcr}{fcr}{m}{n} +\sauter@family{fcr}{fcsl}{m}{sl} +\sauter@family{fcr}{fci}{m}{it} +\sauter@family{fcr}{fcu}{m}{u} +\sauter@family{fcr}{fccsc}{m}{sc} +% fc bold +\sauter@family{fcr}{fcbx}{bx}{n} +\sauter@family{fcr}{fcbxi}{bx}{it} +\sauter@family{fcr}{fcbxu}{bx}{u} +\sauter@family{fcr}{fcbxsl}{bx}{sl} +% fc typewritter +\sauter@family{fcr}{fctt}{tt}{n} +\sauter@family{fcr}{fcitt}{tt}{it} +% \sauter@family{fcr}{fcsltt}{tt}{sl} +\subst@fontshape{fcr}{tt}{u}{fcr}{tt}{it} +\extra@def{fcr}{}{} +% +% fc sans fontfamily +% +% medium +\sauter@family{fcss}{fcss}{m}{n} +\sauter@family{fcss}{fcssi}{m}{it} +% bold +\sauter@family{fcss}{fcssbx}{bx}{n} +\sauter@family{fcss}{fcsibx}{bx}{it} +% typewriter +\sauter@family{fcss}{fcsstt}{tt}{n} +\sauter@family{fcss}{fcsitt}{tt}{it} +\subst@fontshape{fcss}{m}{u}{fcr}{m}{u} +\subst@fontshape{fcss}{m}{sl}{fcr}{m}{sl} +\subst@fontshape{fcss}{m}{sc}{fcr}{m}{sc} +\extra@def{fcss}{}{} + + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% math font families (including cmr for uppercase greek) +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\sauter@family{cmr}{cmr}{m}{n} +\sauter@family{cmr}{cmbx}{b}{n} +\extra@def{cmr}{}{} +% +\sauter@family{cmm}{cmmi}{m}{it} +\sauter@family{cmm}{cmmib}{b}{it} +\extra@def{cmm}{\skewchar#1'177}{} +% +\sauter@family{cmsy}{cmsy}{m}{n} +\sauter@family{cmsy}{cmbsy}{b}{n} +\extra@def{cmsy}{\skewchar#1'60}{} +% +\sauter@family{cmex}{cmex}{m}{n} +\extra@def{cmex}{}{} +% +\sauter@family{ly}{lasy}{m}{n} +\sauter@family{ly}{lasyb}{b}{n} +\extra@def{ly}{}{} +% +\endinput +%% +%% End of file `fontdef.fc'. diff --git a/fonts/jknappen/fc/src/itala.mf b/fonts/jknappen/fc/src/itala.mf new file mode 100644 index 0000000000..321db8a0b1 --- /dev/null +++ b/fonts/jknappen/fc/src/itala.mf @@ -0,0 +1,164 @@ +% This is ITALA.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% a +% +% And the following on demand, i. e. if their code is known: +% +% a_grave, a_acute, a_hat, a_tilde, a_umlaut, ae_lig (\ae) +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + +iff known a_umlaut: +cmchar "The letter a with trema"; +beginchar(a_umlaut,9u#,min(asc_height#,10/7x_height#+.5flare#),0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +currentpicture:=savedpicture; +pickup tiny.nib; pos1(flare,0); pos2(flare,90); +x1=x2=good.x(.5w-1.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(flare,0); penpos4(y2r-y2l,90); y3=y4=y1; x3=x4=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known a_tilde: +cmchar "The letter a with tilde"; +beginchar(a_tilde,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +currentpicture:=savedpicture; +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=hround(1/6w);rt x4l=hround(3/4w); 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=hround(1/6w);rt x5l=hround(5/6w); 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; + +iff known a_grave: +cmchar "The letter a with gravis"; +beginchar(a_grave,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known a_acute: +cmchar "The letter a with acute"; +beginchar(a_acute,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known a_hat: +cmchar "The letter a with circumflex"; +beginchar(a_hat,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +savedpicture:=nullpicture; + +iff known ae_lig: +cmchar "Italic ligature ae"; +beginchar(ae_lig,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 heavy_hair; heavy_hair=hround .2[hair,stem]; +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; + + endinput; diff --git a/fonts/jknappen/fc/src/italbcd.mf b/fonts/jknappen/fc/src/italbcd.mf new file mode 100644 index 0000000000..3d8efc0b69 --- /dev/null +++ b/fonts/jknappen/fc/src/italbcd.mf @@ -0,0 +1,226 @@ +% This is ITALBCD.MF +% Version 1.1a +% Date 13-MAR-1992 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% b, c, d +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_b, c_cedilla, hooktop_c, hooktop_d, tailed_d, crossed_d, edh +% +% Higher versions of this file might include more characters. + +cmchar "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; + +iff known hooktop_b: +cmchar "Italic letter hooktop b"; % based on cm b +beginchar(hooktop_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); y2=.5x_height; +rt x23=hround(w-2.5u); +top_hook(1,20,21,22,23); % hooktop +y1=y1'; +filldraw stroke z1e--z2e; % stem +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,20,21,22,23); endchar; + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +iff known c_cedilla: +cmchar"The letter c with cedilla"; +beginchar(c_cedilla,8u#,x_height#,0.875desc_depth#); +italcorr x_height#*slant-u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +x1=.5w+u; +if serifs: pickup crisp.nib; pos1(stem,0); pos2(stem,0); + pos3(vair,90); pos4(stem,0); pos5(vair,-90); + x1=x2; z3l=z2l; x4=x2+1.5u; x5=x3-1.5u; + bot y1=-o; bot y2=-vround 2/7d-o; y4=.5[y3,y5]; bot y5=-d-o; + filldraw stroke z1e--z2e; % stem + filldraw stroke z3e{right}...z4e{down}...{left}z5e; % hook +else: pickup fine.nib; pos1(vair,0); top y1=-o-2; + pos2(.5[vair,stem],0); bot y2=-d-o; x2=x1-1.25u; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2,3,4,5); endchar; + +iff known hooktop_c: +cmchar"The letter hooktop c"; +beginchar(hooktop_c,8u#,asc_height#,0); +italcorr asc_height#*slant-u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +%if serifs: +pos0(stem,180); pos1(stem,180); pos2(vair,90); +pos3(hair,0); pos4(flare,0); +x0=x1=hround.5(w+u); y1=.8h; y0=x_height; +x2=.4[x1,x3]; top y2r=h+oo; +rt x3r=hround(w-.7u); y4=.85h; +filldraw z2r{left}...{down}z1r--z0r--z0l--z1l{up}...{right}z2l--cycle; +bulb(2,3,4); +%else: +%fi +penlabels(0,1,2,3,4); endchar; + +savedpicture:=nullpicture; + +cmchar "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; + +iff known crossed_d: +cmchar "Italic letter crossed d"; +beginchar(crossed_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 +pickup crisp.nib; pos15(bar,90); pos16(bar,90); +top y15r=.52[x_height,h]=top y16r; +lft x15=hround(w-.25u); lft x16=.23[x2r,x1]; +filldraw stroke z15e--z16e; % crossbar +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7,15,16); endchar; + +iff known tailed_d: +cmchar "Italic letter d with tail"; +beginchar(tailed_d,9u#,asc_height#,desc_depth#); +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; y5=-1/3d; d_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; + +iff known hooktop_d: +cmchar "Italic letter hooktop d"; +beginchar(hooktop_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 +rt x23=hround(w+.25u); +top_hook(4,20,21,22,23); % hooktop +pickup tiny.nib; pos5'(stem,0); pos4''(stem,0); +z4''=z4'; +z5'=z5; filldraw stroke z4''e--z5'e; % stem +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6,7,20,21,22,23); endchar; + + +iff known edh: +cmchar "Italic letter edh"; % from im +beginchar(edh,9u#,asc_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=vround(x_height)+oo; y2=y4=.5[y1,y3]; bot y3r=-oo; +y4' = y4 ; x4'l = x4l ; pos4'(hair,360) ; +filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) -- pulled_arc.e(4',1); % bowl +pickup crisp.nib ; +pos5(.5[hair,vair],40) ; z4'' = z4 ; pos4''(curve,360) ; +x5 = 3u ; top y5r = h ; +filldraw stroke z5e .. tension 1.1 and 0.9 .. z4''e{down} ; +path p ; +p = z5 .. tension 1.1 and 0.9 .. z4{down} ; +z6 = ((0,.6[x_height,asc_height]) -- (w,.5[x_height,asc_height])) + intersectionpoint p ; +pos6'(.5[vair,hair],-60) ; pos 6''(.5[vair,hair],-60) ; +top y6''l = vround .95h ; z6'' = z6 + whatever*dir30; +z6 = .5[z6',z6''] ; filldraw stroke z6'e -- z6''e ; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/itale.mf b/fonts/jknappen/fc/src/itale.mf new file mode 100644 index 0000000000..5a222d66da --- /dev/null +++ b/fonts/jknappen/fc/src/itale.mf @@ -0,0 +1,310 @@ +% This is ITALE.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% e +% +% And the following on demand, i. e. if their code is known: +% +% e_grave, e_acute, e_hat, e_hachek, e_dot, e_umlaut, e_dotu, e_bar, +% e_uline, e_tilde, open_e, open_e_tilde, reversed_e +% +% Higher versions of this file might include more characters. + +cmchar "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; +numeric heavy_hair; heavy_hair=hround .2[hair,stem]; +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 +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x4; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +iff known e_dot: +cmchar "The letter e with dot"; +beginchar(e_dot,7.25u#+max(.75u#,.5curve#), + min(asc_height#,10/7x_height#+.5flare#),0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(flare,0); pos99(flare,90); +x88=x99=good.x(savedpoint); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab); fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known e_umlaut: +cmchar "The letter e with trema"; +beginchar(e_umlaut,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(flare,0); pos2(flare,90); +x1=x2=good.x(.5w-1.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(flare,0); penpos4(y2r-y2l,90); y3=y4=y1; x3=x4=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known e_bar: +cmchar "The letter e with macron"; +beginchar(e_bar,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +top y91r=top y92r=h+o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +iff known e_tilde: +cmchar "The letter e with tilde"; +beginchar(e_tilde,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +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 u; 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 u; 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; + +iff known e_grave: +cmchar "The letter e with gravis"; +beginchar(e_grave,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known e_acute: +cmchar "The letter e with acute"; +beginchar(e_acute,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known e_hat: +cmchar "The letter e with circumflex"; +beginchar(e_hat,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known e_hachek: +cmchar "The letter e with hachek"; +beginchar(e_hachek,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+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: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + 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); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known e_dotu: +cmchar "The letter e with dot below"; +beginchar(e_dotu,7.25u#+max(.75u#,.5curve#),x_height#,0.875desc_depth#); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(flare,0); pos99(flare,90); +x88=x99=good.x(savedpoint); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +numeric savedpoint; + +iff known e_uline: +cmchar "The letter e with bar below"; +beginchar(e_uline,7.25u#+max(.75u#,.5curve#),x_height#,0.875desc_depth#); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +savedpicture:=nullpicture; + + +iff known open_e: +cmchar "Italic letter open e"; % from cmcyr ze +beginchar(open_e,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; +pos1(hair,140); pos2(cap_band,90); pos4(vair,-90); +x1r=good.x(eps); x0=x1; top y2r=h+o; +bot y1l=vround h-.5bar_height; y0=h-bar_height; +pos3(max(fine.breadth,curve-stem_corr),0); +pos7(vair,-90); pos8(vair,-90); pos9(vair,90); +x2=.45[2u,x10]; rt x3r=hround(w-u); x4=.45[x1,x10]; +pos10(curve,0); rt x10r=hround(w-.5u); lft x8=.5w-u; +y3=.35[top y7l,bot y2l]; top y8l=vround(.46h+.5vair); z8r=z9l; +x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); +pos5'(hair,-180); pos5(flare,-180); +bot y4r=0; rt x5l=hround 2u; z5r=z5'r; +y10=.45[bot y8r,top y4l]; y5=max(good.y .95(h-y1),y4l+eps); +(x2l',y2l)=whatever[z2r,z1l]; x2l:=max(x2l',x2l-.5u); +(x4l',y4l)=whatever[z4r,z5l]; x4l:=max(x4l',x4l-.5u); +path p; p=z0..z1..{right}z2; +filldraw stroke z1e{direction 1 of p} + ...pulled_arc.e(2,3) + & z3e{down}...z7e---z8e; % upper bowl +filldraw stroke z9e---pulled_arc.e(9,10) + & pulled_super_arc.e(10,4)(.5superpull); % lower bowl +bulb(4,5',5); % bulb +(x20,y20)=(.5w,.5h); % center point +flip(20); +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,7,8,9,10,11,12,13); endchar; + + iff known open_e_tilde: +cmchar "The letter open e with tilde"; +beginchar(open_e_tilde,7.5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +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 u; 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 u; 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; + +savedpicture:=nullpicture; + + +iff known reversed_e: +cmchar "Italic letter turned e"; % from jkbash, originally from cm +beginchar(reversed_e,8u#,x_height#,0); +italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#); +adjust_fit(0,0); pickup fine.nib; +numeric heavy_hair; heavy_hair=hround .2[hair,stem]; +pos0(vair,-90); pos1(heavy_hair,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 +x10=.5w; y10=.5h; % center point +flip(10); % and flip +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/italfgh.mf b/fonts/jknappen/fc/src/italfgh.mf new file mode 100644 index 0000000000..53713d9c97 --- /dev/null +++ b/fonts/jknappen/fc/src/italfgh.mf @@ -0,0 +1,231 @@ +% This is ITALFGH.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% f (straight f), g (you can choose between two glyphs by the means of +% |variant_g:=true| or |false|. |true| is default.), h +% +% And the following on demand, i. e. if their code is known: +% +% long_f, g_dot, ipa_gamma, crossed_h +% +% Higher versions of this file might include more characters. + +cmchar "Italic letter straight f"; % from cm (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,0); 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); +rt x1r=hround(w+.25u); x2=.6[x1,x4]; +top y2r=h+oo; +y4=.25[x_height,h]; bot y5=-d-oo; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; y0+.5vair=.5[x_height,h]; +bulb(2,1,0); % bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +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,20,21,88,89); endchar; + + +iff known long_f: +cmchar "Italic letter long f"; % from cm (f) +beginchar(long_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; + +iff variant_g: +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +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; + +iff known g_dot and variant_g: +cmchar "Variant letter g with dot"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(g_dot,10u#+serif_fit#,min(asc_height#,10/7x_height#+.5dot_diam#), + desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u# if serifs:+.5u# fi; +adjust_fit(0,serif_fit# if serifs: -.5u# fi); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +savedpicture:=nullpicture; + +iff not variant_g: +cmchar "The letter g"; % cmr g mit italic-Parametern -- nur zum Spass +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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6,7,8,10,11,12,13,14); labels(8',8''); endchar; + +iff known g_dot and not variant_g: +cmchar "The letter g with dot"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(g_dot,9u#,min(asc_height#,10/7x_height#+.5dot_diam#),desc_depth#); +italcorr x_height#*slant+.25u#; +adjust_fit(0,0); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +savedpicture:=nullpicture; + + + iff known ipa_gamma: + cmchar"Italic letter ipa gamma"; % jk + beginchar(ipa_gamma,7u#,x_height#,desc_depth#); + italcorr x_height#*slant; + adjust_fit(0,0); + pickup fine.nib; + x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); + hook_in(0,1,2)(skewed); % opening hook + pos2'(stem,-180); pos5(hair,0); pos6(hair,0); pos4(vair,-270); + z2'=z2; bot y3=-2/5d; bot y4l=-d-o; bot y5=-1/4d; + lft x5l=0; x4=.45[x5r,x3r]; + y6=.57h; rt x6r=hround(w-.5u); + filldraw stroke z2'e{-u,-x_height}...z3e...{left}z4e...{up}z5e...{up}z6e; + % stem, bowl and diagonal + v_bulb(6,7); %closing bulb + math_fit(-2/3x_height#*slant+.5hair#+.5u#,2/3ic#); + penlabels(0,1,2,3,4,5,6,7); + endchar; + +cmchar "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; + + +iff known crossed_h: +cmchar "Italic letter crossed h"; +beginchar(crossed_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 +pickup crisp.nib; pos15(bar,90); pos16(bar,90); +top y15r=.52[x_height,h]=top y16r; +lft x15=.75[x2,x4]; lft x16=hround(.10u); +filldraw stroke z15e--z16e; % crossbar +math_fit(0,ic#); penlabels(1,2,3,4,5,6,7,15,16); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/italij.mf b/fonts/jknappen/fc/src/italij.mf new file mode 100644 index 0000000000..f8640d8405 --- /dev/null +++ b/fonts/jknappen/fc/src/italij.mf @@ -0,0 +1,183 @@ +% This is ITALIJ.MF +% Version 1.0b +% Date 8-MAY-1993 +% +% (c) 1991, 1993 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% \i, i, \j, j +% +% And the following on demand, i. e. if their code is known: +% +% i_umlaut, i_tilde, latin_iota, dotless_i_dotu +% +% Higher versions of this file might include more characters. + +cmchar "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; +hook_in(0,1,2)(skewed); hook_out(3,4,5)(skewed); % hooks +filldraw stroke z2e--z3e; % stem +pos8(flare,0); +x8=.5w if not monospace:-.4(h-x_height)*slant fi; +savedpoint:=x8; +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5); endchar; + +iff known dotless_i_dotu: +cmchar "The letter dotless i with dot below"; +beginchar(dotless_i_dotu,5u#,min(asc_height#,10/7x_height#+.5flare#), + 0.875desc_depth#); +italcorr h#*slant-serif_fit# + .5flare# -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 +currentpicture:=savedpicture; +pos88(flare,0); pos99(flare,90); +x88=x99=savedpoint; bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +numeric savedpoint; + +iff known i_tilde: +cmchar "The letter i with tilde"; +beginchar(i_tilde,5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +pickup tiny.nib; pos11(stem',0); pos22(stem',0); +if odd(w-stem'): change_width; fi +currentpicture:=savedpicture; +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=hround 0;rt x4l=hround w; 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=hround 0;rt x5l=hround w; 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; + +iff known i_umlaut: +cmchar "The letter i with trema"; +beginchar(i_umlaut,5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +pickup tiny.nib; pos11(stem',0); pos22(stem',0); +if odd(w-stem'): change_width; fi +currentpicture:=savedpicture; +pickup tiny.nib; pos1(flare,0); pos2(flare,90); +pos3(flare,0); penpos4(y2r-y2l,90); y3=y4=y1; +if not monospace: x1=x2=w-x3=w-x4=good.x(.5w-2u); +else: x1=x2=w-x3=w-x4=good.x(.5w-u); fi +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 +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +savedpicture:=nullpicture; + +cmchar "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; +hook_in(0,1,2)(skewed); hook_out(3,4,5)(skewed); % hooks +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 bot y9l-top y1<slab: y9l:=min(y9r-eps,y1+fine+slab); fi +x8=x9; y8=.5[y9l,y9r]; dot(8,9); % dot +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x8; +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,8,9); endchar; + +iff known i_dotu: +cmchar "The letter i with dot below"; +beginchar(i_dotu,5u#,min(asc_height#,10/7x_height#+.5flare#), + 0.875desc_depth#); +italcorr h#*slant-serif_fit# + .5flare# -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 +currentpicture:=savedpicture; +pos88(flare,0); pos99(flare,90); +x88=x99=savedpoint; bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +numeric savedpoint; +savedpicture:=nullpicture; + +iff known latin_iota: +cmchar "Italic letter latin iota"; % jk, free invention since I hadn't +beginchar(latin_iota,5u#,x_height#,desc_depth#); % a sample available +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; y3=-1/3d; +hook_in(0,1,2)(skewed); d_hook_out(3,4,5); % hooks +filldraw stroke z2e--z3e; % stem +penlabels(0,1,2,3,4,5); endchar; + + +cmchar "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); +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; +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; + +cmchar "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); +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; +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 bot y9l-top y1<slab: y9l:=min(y9r-eps,y1+fine+slab); 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; + +endinput; diff --git a/fonts/jknappen/fc/src/italklm.mf b/fonts/jknappen/fc/src/italklm.mf new file mode 100644 index 0000000000..144cfa3954 --- /dev/null +++ b/fonts/jknappen/fc/src/italklm.mf @@ -0,0 +1,154 @@ +% This is ITALKLM.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% k, l, m, +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_k, kra, m_acute +% +% Higher versions of this file might include more characters. + +cmchar "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; + + +iff known kra: +cmchar"Italic letter kra"; % Greenlandic. from cmcyr +%cmchar "Cyrillic italic letter ka"; +beginchar(kra,9.5u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); pickup fine.nib; +x0=0; x1=x2; pos2(stem,0); lft x2l=hround(2.5u-.5stem); y2-.5stem=-oo; +hook_in(0,a,1); % opening hook +filldraw circ_stroke z2e--z1e; % left stem +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(0,1,2,3,4,5,6,7,8,9); endchar; + +iff known hooktop_k: +cmchar "Italic letter hooktop k"; % jk, based on cm +beginchar(hooktop_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); y2-.5stem=-oo; +rt x23=hround(w-2.5u); +top_hook(1,20,21,22,23); % hooktop +y1=y1'; +filldraw circ_stroke z2e--z1e; % left stem +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,20,21,22,23); endchar; + +cmchar "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; + +cmchar "Italic letter m"; +beginchar("m",15u#,x_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:-1.5u#,-2u# else: 0,0 fi); pickup fine.nib; +numeric shaved_stem; shaved_stem=mfudged.stem; +save stem; stem=shaved_stem; +pos2(stem,0); x1=x2; +if monospace: pos1(stem,0); lft x1l=hround(2.5u-.5stem); top y1=h; +else: x0=0; lft x2l=hround(2.5u-.5stem); + hook_in(0,a,1); fi % opening hook +y2-.5stem=-oo; filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(.5w+.5stem); ital_arch(2,3,4); % left arch +pos5(stem,0); y5=y2; x5=x4; +filldraw circ_stroke z5e--z4e; % middle stem +x7+.5stem=hround(w-2.5u+.5stem); +x8=x7-.25u; ital_arch(5,6,7); % right arch +if monospace: pos9(vair,90); x9=good.x .5[x8,w]; bot y9l=0; y8=1/3h; + pos8(stem,0); filldraw stroke z8e{-u,-x_height}...{right}z9e; % terminal +else: x9=w; hook_out(8,b,9)(skewed); fi % closing hook +filldraw stroke z7e{down}..{-u,-x_height}z8e; % right stem +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7,8,9); endchar; + +iff known m_acute: +cmchar "The letter m with acute"; +beginchar(m_acute,15u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:-1.5u#,-2u# else: 0,0 fi); pickup fine.nib; +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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; + +savedpicture:=nullpicture; + +endinput; diff --git a/fonts/jknappen/fc/src/italn.mf b/fonts/jknappen/fc/src/italn.mf new file mode 100644 index 0000000000..0aa3697e2a --- /dev/null +++ b/fonts/jknappen/fc/src/italn.mf @@ -0,0 +1,187 @@ +% This is ITALN.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% n +% +% And the following on demand, i. e. if their code is known: +% +% n_acute, n_tilde, n_dot, n_uline, enj, eng, var_eng +% +% Higher versions of this file might include more characters. + +cmchar "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; +hook_in(0,a,1); % opening hook +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#); +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,a,1,2,3,4,5,6,7); endchar; + + iff known n_dot: +cmchar "The letter n with dot"; +beginchar(n_dot,10u#,min(asc_height#,10/7x_height#+.5flare#),0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(flare,0); pos99(flare,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known n_uline: +cmchar "The letter n with bar below"; +beginchar(n_uline,10u#,x_height#,0.875desc_depth#); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=hround 2u; w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +iff known n_tilde: +cmchar "The letter n with tilde"; +beginchar(n_tilde,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +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=hround(1/6w);rt x4l=hround(5/6w); 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=hround(1/6w);rt x5l=hround(5/6w); 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; + +iff known n_acute: +cmchar "The letter n with acute"; +beginchar(n_acute,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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; + +savedpicture:=nullpicture; + +iff known enj: +cmchar "Italic letter enj"; %jk, based on cm j and n +beginchar(enj,11u#,min(asc_height#,10/7x_height#+.5flare#),desc_depth#); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(if monospace:2u#,0 else: 0,0 fi); pickup fine.nib; +x0=0; x2=x3; pos3(stem,0); lft x3l=hround(0.318w-.5stem); +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; +x4=.35x3l; lft x5r=min(hround-.5u,lft x5r+x4-x5l-eps); +filldraw stroke z2e---z3e...{left}z4e; % stem and arc +bulb(4,5,6); % bulb +x2'=x2; y2'-.5stem=-oo; pos2'(stem,0); +x8+.5stem=hround(w-2.5u+.5stem); x9=x8-.25u; ital_arch(2',7,8); % arch +x11=w; hook_out(9,10,11)(skewed); % closing hook +filldraw stroke z8e{down}..{-u,-x_height}z9e; % right stem +math_fit(desc_depth#*slant,ic#); +penlabels(0,1,2,2',3,4,5,6,8,9,10,11); endchar; + +iff known eng: +cmchar "Italic letter eng"; % jk, based on cm n +beginchar(eng,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; +hook_in(0,a,1); % opening hook +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); x5=x4-.25u; ital_arch(2,3,4); % arch +y5=1/4x_height; pos5(stem,0); +filldraw stroke z4e{down}..{-u,-x_height}z5e; % right stem +y77=y5; y88=bar_height; x77=.5w; x88=w; + numeric theta; theta=angle(z88-z77); numeric eng_hair; + eng_hair*cosd(theta)=vair; +pos6(vair,-90); pos7(eng_hair,-180); pos8(eng_hair,-180); +bot y6r=-oo; y7=y5; top y8=bar_height; +lft x7r=hround(.5w); rt x8l=w; x6=1/3[x7r,x5r]; +filldraw stroke z5e{down}...z6e...z7e...{z8-z7}z8e; % bowl +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7,8); endchar; + +iff known var_eng: +cmchar "Italic letter eng"; % from wnipa +beginchar(var_eng,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; +hook_in(0,a,1); % opening hook +filldraw circ_stroke z2e--z1e; % left stem +x4+.5stem=hround(w-2.5u+.5stem); +x5=x4; ital_arch(2,3,4); % arch +y5=0; pos5(stem,0); +filldraw stroke z4e--z5e; % right stem +% macro from wnipa included here +def l_tail(suffix $,@) = +x@_22=x$; x@_22r=x$r; x@_22l=x$l; bot y@_22=-1/3d; y@_22r=y@_22l=y@_22; +filldraw stroke z$e--z@_22e; +if serifs: pickup tiny.nib; pos@_55(vair,-90); pos@_66(hair,-180); pos@_77(flare,-180); + x@_55=.5[x@_22,x@_66r]; bot y@_55r=-d-oo; y@_66-.5flare=-.88d; + if monospace: lft x@_66r=x$-3.5u else: z@_66r=z@_77r; rt x@_77l=floor x$-2.5u fi; + (x@_,y@_55r)=whatever[z@_55l,z@_22l]; x@_55r:=max(x@_,.5[x@_66r,x@_55]); + filldraw stroke z@_22e{down}...z@_55e{left}; bulb(@_55,@_66,@_77); % arc and bulb +else: pickup fine.nib; pos@_22'(stem',0); z@_22'=z@_22; + pos@_66(.2[vair,stem'],-90); pos@_77(vair,-90); + lft x@_77r=hround x$-2.5u; bot y@_77r=vround 5/6(-d-oo); + (x@_,y@_77l)=whatever[z@_77r,(x$,h)]; x@_77l:=x@_; + z@_55r=z@_22'r; (x@_22'l,y@_55l)=whatever[z@_77l,z@_55r]; x@_55l=x@_22'l; y@_55=y@_55r; + x@_66r=.5[x@_77r,x@_55r]; x@_66l:=.5[x@_77l,x@_55l]; bot y@_66r=-d-oo; + filldraw stroke z@_22'e..{down}z@_55e & super_arc.e(@_55,@_66) + & z@_66e{left}..z@_77e; fi % arc and terminal +enddef; +% +l_tail(5,q); +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,a,1,2,3,4,5,6,7); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/italo.mf b/fonts/jknappen/fc/src/italo.mf new file mode 100644 index 0000000000..949bd2ead0 --- /dev/null +++ b/fonts/jknappen/fc/src/italo.mf @@ -0,0 +1,300 @@ +% This is ITALO.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% o +% +% And the following on demand, i. e. if their code is known: +% +% o_grave, o_acute, o_hat, o_hachek, o_tilde, o_dot, o_dotu, o_umlaut, +% o_bar, o_uline, oe-lig (\oe), crossed_o (\o), open_o, open_o_tilde +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar; + +iff known o_umlaut: +cmchar "The letter o with trema"; +beginchar(o_umlaut,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(flare,0); pos2(flare,90); +x1=x2=good.x(.5w-1.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(flare,0); penpos4(y2r-y2l,90); y3=y4=y1; x3=x4=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known o_tilde: +cmchar "The letter o with tilde"; +beginchar(o_tilde,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +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=hround(1/5w);rt x4l=hround(4/5w); 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=hround(1/5w);rt x5l=hround(4/5w); 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; + +iff known o_grave: +cmchar "The letter o with gravis"; +beginchar(o_grave,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known o_acute: +cmchar "The letter o with acute"; +beginchar(o_acute,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known o_hat: +cmchar "The letter o with circumflex"; +beginchar(o_hat,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known o_hachek: +cmchar "The letter o with hachek"; +beginchar(o_hachek,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+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: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + 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); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known o_dot: +cmchar "The letter o with dot"; +beginchar(o_dot,9u#,min(asc_height#,10/7x_height#+.5flare#),0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(flare,0); pos99(flare,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known o_bar: +cmchar "The letter o with macron"; +beginchar(o_bar,9u#, .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +top y91r=top y92r=h+o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +iff known o_dotu: +cmchar "The letter o with dot below"; +beginchar(o_dotu,9u#,x_height#,0.875desc_depth#); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(flare,0); pos99(flare,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +iff known o_uline: +cmchar "The letter o with bar below"; +beginchar(o_uline,9u#,x_height#,0.875desc_depth#); +italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +savedpicture:=nullpicture; + +iff known open_o: +cmchar "Italic letter open o"; % from cm (c) +beginchar(open_o,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 +x10=.5w; y10=.5h; % center point +flip(10); % and flip +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +iff known open_o_tilde: +cmchar "The letter open o with tilde"; +beginchar(open_o_tilde,8u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +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-x4l=hround 1.6u; 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 u; 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; + +savedpicture:=nullpicture; + +iff known oe_lig: +cmchar "Italic ligature oe"; +beginchar(oe_lig,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 heavy_hair; heavy_hair=hround .2[hair,stem]; +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; + +iff known crossed_o: +cmchar "Italic Scandinavian letter o/slash"; +beginchar(crossed_o,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; + +endinput; diff --git a/fonts/jknappen/fc/src/italpqr.mf b/fonts/jknappen/fc/src/italpqr.mf new file mode 100644 index 0000000000..a2dc92c267 --- /dev/null +++ b/fonts/jknappen/fc/src/italpqr.mf @@ -0,0 +1,96 @@ +% This is ITALPQR.MF +% Version 1.1a +% Date 13-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% p, q, r +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_p +% +% Higher versions of this file might include more characters. + +cmchar "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); hook_in(0,1,2); % opening hook +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]; +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; filldraw stroke z2'e--z3e; % stem +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#); +numeric savedpoint; savedpoint=x7; +picture savedpicture; savedpicture=currentpicture; +penlabels(0,1,2,3,4,5,6,7); endchar; + +iff known hooktop_p: +cmchar"Italic letter hooktop p"; % jk +beginchar(hooktop_p,9u#,asc_height#,desc_depth#); +italcorr asc_height#*slant-.7u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +pos0(stem,180); pos1(stem,180); pos2(vair,90); +pos3(hair,0); pos4(flare,0); +x0=x1=savedpoint; y1=.8h; y0=x_height; +x2=.4[x1,x3]; top y2r=h+oo; +rt x3r=hround(w-.7u); y4=.85h; +filldraw z2r{left}...{down}z1r--z0r--z0l--z1l{up}...{right}z2l--cycle; +bulb(2,3,4); +penlabels(0,1,2,3,4); endchar; + +numeric savedpoint; +savedpicture:=nullpicture; + +cmchar "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; + +cmchar "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; +hook_in(0,1,2); % opening hook +filldraw circ_stroke z3e--z2e; % left stem +pos3'(hair,180); z3'=z3; pos4(vair,90); pos5(hair,0); pos6(flare,0); +x4=w-.5u-max(1.75u,flare); rt x5r=hround(r-.5u); top y4r=h+oo; +filldraw stroke z3'e{up}...z4e{right}; % link +y6+.5flare=vround(bot y4l-.03x_height); bulb(4,5,6); % bulb +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-.5u#); +penlabels(0,1,2,3,4,5,6); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/italst.mf b/fonts/jknappen/fc/src/italst.mf new file mode 100644 index 0000000000..595e820f14 --- /dev/null +++ b/fonts/jknappen/fc/src/italst.mf @@ -0,0 +1,255 @@ +% This is ITALST.MF +% Version 1.1a +% Date 13-MAR-1992 +% +% (c) 1991,1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% s, t +% +% And the following on demand, i. e. if their code is known: +% +% s_dotu, s_hachek, scharfes_s, esh, long_t, sami_t (crossed t), thorn, +% hooktop_t +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(0,ic#); penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +iff known s_hachek: +cmchar "The letter s with hachek"; +beginchar(s_hachek,5.25u#+max(1.75u#,flare#), + .75[x_height#,min(asc_height#,2x_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); +currentpicture:=savedpicture; +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+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: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + 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); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known s_dotu: +cmchar "The letter s with dot below"; +beginchar(s_dotu,5.25u#+max(1.75u#,flare#),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 dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + + +savedpicture:=nullpicture; + +iff known scharfes_s: +cmchar "Italic German letter es-zet (sharp s)"; +beginchar(scharfes_s,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; + +iff known long_s: +cmchar "Italic letter long s"; % from eavi (f), which stems from cm (f) +beginchar(long_s,max(1.5u#,stem#)+max(3.5u#,2flare#),asc_height#,0); +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,0); 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); +rt x1r=hround(w+.25u); x2=.6[x1,x4]; +top y2r=h+oo; +y4=.25[x_height,h]; y5-.5stem=-oo; +z4=whatever[z88,z89]; z5=whatever[z88,z89]; +x3=.8[x2+x4-x88,x88]; y3=.8[y4,y2]; y0+.5vair=.5[x_height,h]; +bulb(2,1,0); % bulb +filldraw stroke z2e{left}...z3e...{z89-z88}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +math_fit(desc_depth#*slant+u#,x_height#*slant); +penlabels(0,1,2,3,4,5,88,89); endchar; + + + +iff known esh: +cmchar "Italic letter esh"; % derived from cm (f) +beginchar(esh,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 +math_fit(desc_depth#*slant+u#,x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,88,89); endchar; + +cmchar "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 +filldraw circ_stroke z1e--z2e; % stem +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; + +iff known hooktop_t: +cmchar "Italic letter hooktop t"; +beginchar(hooktop_t,5.5u#,asc_height#,0); +italcorr asc_height#*slant+.5u#; +adjust_fit(if monospace:u#,u# else:0,0 fi); pickup fine.nib; +pos1(stem,0); lft x1l=hround(2u-.5stem); y1=1/4[x_height,h]; +x2=x1; x4=w; hook_out(2,3,4); % closing hook +filldraw stroke z1e--z2e; % stem +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 +rt x[-3]=hround w+.05u; +top_hook(1,0,[-1],[-2],[-3]); % hooktop +penlabels([-3],[-2],[-1],0,1,2,3,4,5,6); endchar; + +iff known long_t: +cmchar "Italic letter t with tail"; +beginchar(long_t,5.5u#,min(asc_height#,10/7x_height#),desc_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; y2=-1/3d; +d_hook_out(2,3,4); % closing hook +filldraw circ_stroke z1e--z2e; % stem +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; + +iff known thorn: +cmchar "Italic letter thorn"; % from im +beginchar(thorn,8u#,asc_height#,desc_depth#); +italcorr .7x_height#*slant+.5curve# if math_fitting:-.5u# fi; +adjust_fit(0,0); pickup fine.nib; +x0=0; x2-.5stem=hround(1.5u-.5stem); y2 = 3/4x_height; pos2(stem,0) ; +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=vround(x_height)+oo; y4=y6=.5[y5,y7]; +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; filldraw stroke z2'e--z3e; % stem +dish_serif(3,2',a,1/3,.75jut,b,1/3,jut); % serif +x10 = x2 ; pos10(stem,0) ; top y10 =h ; % and top of stem +filldraw stroke z10e -- z2e ; sloped_serif.l(10,2,c,1/3,jut,serif_drop) ; +math_fit(-min(2/3x_height#*slant-.5hair#-.5u#, + 2u#-.5stem#-desc_depth#*slant),ic#); +penlabels(0,1,2,3,4,5,6,7); endchar; + + +iff known sami_t: +cmchar "Italic letter crossed t"; +beginchar(sami_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 +filldraw circ_stroke z1e--z2e; % stem +pickup crisp.nib; pos5(bar,90); pos6(bar,90); +lft x5=hround-.75u; rt x6=hround(w-.5u); % made the bar a bit longer JK +top y5r=top y6r=x_height; +filldraw stroke z5e--z6e; % crossbar +pickup crisp.nib; +y9=y10=bar_height; pos9(bar,90); pos10(bar,90); x9=x2; rt x10=rt x6; +filldraw stroke z9e--z10e; % zusatz crossbar +math_fit(1.25u#-x_height#*slant,ic#); penlabels(1,2,3,4,5,6,9,10); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/italuvw.mf b/fonts/jknappen/fc/src/italuvw.mf new file mode 100644 index 0000000000..dfcaf0c48c --- /dev/null +++ b/fonts/jknappen/fc/src/italuvw.mf @@ -0,0 +1,253 @@ +% This is ITALUVW.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% u, v, w (v and w have sharp shapes -- in contrast to the round ones of cmti) +% +% And the following on demand, i. e. if their code is known: +% +% u_grave, u_acute, u_hat, u_tilde, u_dotu, var_u (round v), w_breve +% +% Higher versions of this file might include more characters. + +cmchar "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; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-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 z2'e{-u,-x_height} + ...super_arc.e(3,4)...{up}z5e; % left stem and arc +filldraw circ_stroke z6e--z7e; % right stem +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x4; +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#); +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +iff known u_tilde: +cmchar "The letter u with tilde"; +beginchar(u_tilde,9.5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +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=hround(1/6w);rt x4l=hround(5/6w); 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=hround(1/6w);rt x5l=hround(5/6w); 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; + +iff known u_acute: +cmchar "The letter u with acute"; +beginchar(u_acute,9.5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known u_grave: +cmchar "The letter u with gravis"; +beginchar(u_grave,9.5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known u_hat: +cmchar "The letter u with circumflex"; +beginchar(u_hat,9.5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known u_dotu: +cmchar "The letter u with dot below"; +beginchar(u_dotu,9.5u#,x_height#,0.875desc_depth#); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(flare,0); pos99(flare,90); +x88=x99=good.x(savedpoint); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +savedpicture:=nullpicture; +numeric savedpoint; + + +iff known var_u: +cmchar "Italic letter round v"; % from cm (v) +beginchar(var_u,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); +hook_in(0,1,2)(skewed); % opening hook +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 +math_fit(-2/3x_height#*slant+.5hair#+.5u#,2/3ic#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "Italic letter v"; +beginchar("v",8u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); +numeric left_stem,right_stem,alpha; +left_stem=fudged.stem-stem_corr; +right_stem=min(fudged.hair,left_stem); +pickup tiny.nib; +x1l=.5w-u; x4r=w-.5u; y1=y4=.57h; +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); +z23=whatever[z1r,z2r]=whatever[z3l,z4l]; +x[-2]=hround(.5hair)-.5hair; z0=whatever[z1,z2]; pos0(alpha*left_stem,0); +v_hook_in([-2],[-1],0); % opening hook +if y23>notch_cut: y23:=notch_cut; + fill z23+.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}z23+.5left--cycle; % left and right diagonal parts +else: fill z23--diag_end(23,4l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l) + --diag_end(2l,1l,1,1,1r,23)--cycle; fi % left and right diagonal parts +pickup tiny.nib; +z1'=z1; pos1'(alpha*left_stem,0); +filldraw stroke z0e--z1'e; +z4'=z4; pos4'(alpha*right_stem,0); +v_bulb(4',5); +penlabels([-2],[-1],0,1,2,3,4,5,23); endchar; + +cmchar "Italic letter w"; +beginchar("w",12u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(0,0); +numeric stem[],upper_notch,alpha,mid_corr; +stem1=fudged.stem-stem_corr; +stem4=min(fudged.hair,stem1); +stem2=stem4; +stem3=max(stem2,stem1-3stem_corr); +pickup tiny.nib; +x1l=1/3w-u; x8r=w-.5u; +x2-x1=x4-x3=x6-x5=x8-x7; x2l+apex_corr=x3l; x6l+apex_corr=x7l; +y1=y8=.57h; y2=y3=y6=y7=-apex_oo; +y4=y5=if monospace: vround .6 fi\\ h; upper_notch=y4-notch_cut; +mid_corr=if monospace:-.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 +pickup tiny.nib; +z8'=z8; pos8'(alpha*stem4,0); +v_bulb(8',9); % closing bulb +x[-2]=hround(.5hair)-.5hair; +z99=whatever[z1,z2]; % z0 is hidden in special_diag_end +pos99(alpha*stem1,0); +v_hook_in ([-2],[-1],99); % opening hook +z1'=z1; pos1'(alpha*stem1,0); +filldraw stroke z99e--z1'e; % join +picture savedpicture; +savedpicture:=currentpicture; +penlabels([-2],[-1],0,1,2,3,4,5,6,7,8,9,23,45,67,99); endchar; + +iff known w_breve: +cmchar "The letter w with breve"; +beginchar(w_breve,13u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit#,serif_fit#); +currentpicture:=savedpicture; +pickup crisp.nib; pos1(vair,-180); pos3(vair,0); +top y1=top y3=h; lft x1r=hround(.5w-2.5u-.5vair);x3r=hround(.5w+2.5u+.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; + +savedpicture:=nullpicture; + +endinput; diff --git a/fonts/jknappen/fc/src/italxyz.mf b/fonts/jknappen/fc/src/italxyz.mf new file mode 100644 index 0000000000..34bed9104a --- /dev/null +++ b/fonts/jknappen/fc/src/italxyz.mf @@ -0,0 +1,178 @@ +% This is ITALXYZ.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% x, y, z (y has a sharp shape, not rounded as in cmti) +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_y, zhe (ezh) +% +% Higher versions of this file might include more characters. + +cmchar "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; + + cmchar "Italic letter y"; +beginchar("y",8u#,x_height#,desc_depth#); +italcorr x_height#*slant; +adjust_fit(0,0); +numeric left_stem,right_stem,bot_stem,bot_vair; +left_stem=fudged.stem-stem_corr; +right_stem=fudged.hair; +bot_stem=fudged.hair; +bot_vair=Vround(vair); +pickup tiny.nib; +x1l=.5w-u; x4r=w-.5u; y1=y4r=.57h; 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); +z23=whatever[z1r,z2r]=z4l+whatever*(z3r-z4r); +if y23>notch_cut: y23:=notch_cut; + fill z23+.5right{up}...{z4r-z3r}diag_end(23,4l,1,1,4r,3r) + --z3r--z2l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z23+.5left--cycle; % left and right diagonals +else: fill z23--diag_end(23,4l,1,1,4r,3r)--z3r--z2l + --diag_end(2l,1l,1,1,1r,23)--cycle; fi % left and right diagonals +pickup tiny.nib; +pos0(alpha*left_stem,0); +x[-2]=hround(.5hair)-.5hair; z0=whatever[z1,z2]; +v_hook_in([-2],[-1],0); % opening hook +z1'=z1; pos1'(alpha*left_stem,0); +z4'=z4; pos4'(alpha*right_stem,0); +filldraw stroke z0e--z1'e; % join +v_bulb(4',10); % closing bulb +penpos5(alpha*bot_stem,0); z5r=whatever[z3r,z4r]; y5-.5vair=-.5d; +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 +penlabels([-2],[-1],0,1,2,3,4,5,6,7,8,9,10,23); endchar; + +iff known hooktop_y: +cmchar "Italic letter hooktop y"; +beginchar(hooktop_y,11u#,x_height#,desc_depth#); +italcorr x_height#*slant+.25u#; +adjust_fit(0,0); +numeric left_stem,right_stem,bot_stem,bot_vair; +left_stem=fudged.stem-stem_corr; +right_stem=fudged.hair; +bot_stem=fudged.hair; +bot_vair=Vround(vair); +pickup tiny.nib; +x1l=3u; x4r=w-3u; y1=y4r=.7h; 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); +z23=whatever[z1r,z2r]=z4l+whatever*(z3r-z4r); +if y23>notch_cut: y23:=notch_cut; + fill z23+.5right{up}...{z4r-z3r}diag_end(23,4l,1,1,4r,3r) + --z3r--z2l--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{down}z23+.5left--cycle; % left and right diagonals +else: fill z23--diag_end(23,4l,1,1,4r,3r)--z3r--z2l + --diag_end(2l,1l,1,1,1r,23)--cycle; fi % left and right diagonals +pickup tiny.nib; +pos0(alpha*left_stem,0); +x[-2]=hround(.5hair)-.5hair; z0=whatever[z1,z2]; +v_hook_in([-2],[-1],0); % opening hook +z1'=z1; pos1'(alpha*left_stem,0); +filldraw stroke z0e--z1'e; % join +penpos5(alpha*bot_stem,0); z5r=whatever[z3r,z4r]; y5-.5vair=-.5d; +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); % lower arc and bulb +z4'=z4; penpos4'(alpha*right_stem,180); +penpos10(vair,90); penpos11(hair,0); penpos12(light_bulb,0); +x10=.5[x4,x12]; top y10r=h+oo; rt x12r=hround(w-.25u); +y12+.5light_bulb=vround(.85h); +fill z4'l{z4-z3}...{right}z10l--z10r{left}...{z3-z4}z4'r--cycle; +bulb(10,11,12); % upper arc & bulb +penlabels([-2],[-1],0,1,2,3,4,5,6,7,8,9,10,11,13,23); endchar; + +cmchar "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; + +iff known zhe: +cmchar "Italic letter ezh"; % from wnipai +beginchar(zhe,5.5u#+max(1.5u#,stem#),x_height#,desc_depth#); +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; +z21=.7[z4,z5]; pos21(hair,0); +x22=x21+1.5u; y22=y21+.15h; +filldraw stroke z1e{up}...z2e{right}..z3e{right}...{p}z4e; % upper bar +filldraw stroke z21e{p}..{p}z4e; % diagonal +x23=x4; y23=-.25d; x24=.5w; y24=-d; x25=x5; y25=-.3d; +pos22(vair,-90); pos23(.8curve,-180); pos24(hair,-270); pos25(vair,-360); +filldraw stroke z21e{p}...z22e{right}...{down}z23e...{left}z24e...{up}z25e; +math_fit(0,1/3x_height#*slant+.5hair#+.5u#); +penlabels(1,2,3,4,21,22,23,24,25); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/licence.gnu b/fonts/jknappen/fc/src/licence.gnu new file mode 100644 index 0000000000..6757284672 --- /dev/null +++ b/fonts/jknappen/fc/src/licence.gnu @@ -0,0 +1,416 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + + + + + + + + + + + + + + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + + + + + + + + + + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + + + + + + + + + + + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE 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. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR 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. + + END OF TERMS AND CONDITIONS + + + + + + + + + + + + + + + + + Appendix: How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) 19yy <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/fonts/jknappen/fc/src/lowera.mf b/fonts/jknappen/fc/src/lowera.mf new file mode 100644 index 0000000000..4e722b72f5 --- /dev/null +++ b/fonts/jknappen/fc/src/lowera.mf @@ -0,0 +1,222 @@ +% This is LOWERA.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% a +% +% And the following on demand, i. e. if their code is known: +% +% a_tilde, a_acute, a_grave, a_umlaut, a_hat, ae_lig +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +iff known a_umlaut: +cmchar "The letter a with trema"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(a_umlaut,9u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=good.x(.5w-1.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=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known a_tilde: +cmchar "The letter a with tilde"; +beginchar(a_tilde,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +currentpicture:=savedpicture; +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=hround(1/6w);rt x4l=hround(5/6w); 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=hround(1/6w);rt x5l=hround(5/6w); 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; + +iff known a_grave: +cmchar "The letter a with gravis"; +beginchar(a_grave,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known a_acute: +cmchar "The letter a with acute"; +beginchar(a_acute,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known a_hat: +cmchar "The letter a with circumflex"; +beginchar(a_hat,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +savedpicture:=nullpicture; + +iff known ae_lig: +cmchar "The ligature ae"; +beginchar(ae_lig,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; + + + +endinput; diff --git a/fonts/jknappen/fc/src/lowerbcd.mf b/fonts/jknappen/fc/src/lowerbcd.mf new file mode 100644 index 0000000000..2d205f6269 --- /dev/null +++ b/fonts/jknappen/fc/src/lowerbcd.mf @@ -0,0 +1,336 @@ +% This is LOWERBCD.MF +% Version 1.1c +% Date 22-JUN-1993 +% +% (c) 1991, 1992, 1993 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% b, c, d +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_b, c_cedilla, hooktop_d, tailed_d, edh, crossed_d, hooktop_c +% +% Higher versions of this file might include more characters. + +cmchar "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; + +iff known hooktop_b: +cmchar "The letter hooktop b"; % from wsuipa +beginchar(hooktop_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=.7h; +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 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 +% hooktop +pickup tiny.nib; + pos10(vair,-90); x10=.35[x1,x5]; top y10l=h+o+1; + pos11(hair,0); rt x11r=hround(w-2.25u); y11=.85h; + pos12(flare,0); + pos10'(vair,90); z10'=z10; + bulb(10',11,12); % bulb +filldraw stroke z0e{up}...pulled_super_arc.e(1,10)(.4superpull); + % arc and stem +penlabels(0,1,2,3,4,5,6,7,8,10,11,12); endchar; + + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5); endchar; + +iff known c_cedilla: +cmchar"The letter c with cedilla"; +beginchar(c_cedilla,8u#,x_height#,0.875desc_depth#); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +x1=.5w+u; +if serifs: pickup crisp.nib; pos1(stem,0); pos2(stem,0); + pos3(vair,90); pos4(stem,0); pos5(vair,-90); + x1=x2; z3l=z2l; x4=x2+1.5u; x5=x3-1.5u; + bot y1=-o; bot y2=-vround 2/7d-o; y4=.5[y3,y5]; bot y5=-d-o; + filldraw stroke z1e--z2e; % stem + filldraw stroke z3e{right}...z4e{down}...{left}z5e; % hook +else: pickup fine.nib; pos1(vair,0); top y1=-o-2; + pos2(.5[vair,stem],0); bot y2=-d-o; x2=x1-1.25u; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2,3,4,5); endchar; + +iff known hooktop_c: +cmchar"The letter hooktop c"; % jk +beginchar(hooktop_c,8u#,asc_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +%if serifs: +pickup tiny.nib; +pos0(stem,180); pos1(stem,180); pos2(vair,90); +pos3(hair,0); pos4(flare,0); +x0=x1=hround.5(w+u); y1=.5[x_height,h]; y0=x_height; +x2=.4[x1,x3]; top y2r=h+oo; +rt x3r=hround(w-.7u); y4=.85h; +filldraw z2r{left}...{down}z1r--z0r--z0l--z1l{up}...{right}z2l--cycle; +bulb(2,3,4); +%else: +%fi +penlabels(0,1,2,3,4); endchar; + +savedpicture:=nullpicture; + +cmchar "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; + +iff known crossed_d: +cmchar "The letter crossed d"; % from wsuipa +beginchar(crossed_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 +pickup crisp.nib; pos15(bar,90); pos16(bar,90); +top y15r=.52[x_height,y1]=top y16r; % changed +lft x15=hround(w-.25u); lft x16=.23[x5r,x1]; +filldraw stroke z15e--z16e; % bar +penlabels(0,1,2,3,4,5,6,7,15,16); endchar; + +iff known hooktop_d: +cmchar "The letter hooktop d"; % from wsuipa +beginchar(hooktop_d,12u#+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(.76w-2.5u+.5stem'); top y1=.7h; +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(.76w-serif_fit)-.3u; top y4r=x_height+oo; +lft x5r=hround max(1.35u-.5curve,.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=max(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=max(x',.5[x5r,x6]); +filldraw stroke z3e{up}...pulled_arc.e(4,5) + & pulled_arc.e(5,6)...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{left}z4l)); +pickup tiny.nib; bot y2=if serifs:-min(oo,serif_drop) else: 0 fi; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: + sloped_serif.r(2,0,b,1/3,jut,min(oo,serif_drop)); % lower serif +fi +% hooktop +pickup tiny.nib; + pos10(vair,-90); x10=.5[x1,x11]; top y10l=h+o+1; + pos11(hair,0); rt x11r=hround(w-.5u); y11=.85h; + pos12(flare,0); + pos10'(vair,90); z10'=z10; + bulb(10',11,12); % bulb +filldraw stroke z0e{up}...pulled_super_arc.e(1,10)(.4superpull); + % arc and stem +penlabels(0,1,2,3,4,5,6,7,10,11,12); endchar; + +iff known edh: +cmchar "The letter edh (Old English rune, like thorn)"; % from bsymbols +% adapted from cm partial differential sign, vol E, p 233. +beginchar(edh,10u#,asc_height#,0); +italcorr .7asc_height#*slant+.5curve#-1.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,90); +pos3(side_thickness,0); pos4(bot_thickness,-90); +pos5(side_thickness,-180); pos6(vair,-270); +lft x5r=w-rt x3r=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,0); z7l=point t of p; +(x,y6r)=whatever[z7l,z6l]; x6r:=max(x,.5[x5r,x6]); +x2:=x5; x2l:=x2r:=x2; +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 +%pos1(hair,180); pos0(flare,180); % commenting out the arc and bulb +%lft x0r=min(lft x2-eps,hround 1.2u); +%y0=vround min(.85h-.5flare,.8h+.5flare)+o; +%{{less_tense; bulb(2,1,0)}}; % arc and bulb +%math_fit(-.3x_height#*slant+.5curve#-u#,ic#-u#); +pickup pencircle xscaled 1.4rule_thickness yscaled .5rule_thickness; +x10=x11=x5; x12=x13=w-x10; y10=y13; +y10-y11=y12-y13=cap_stem; .5[y11,y10]=.5[y6,y2]; +if serifs: +draw z10--z11--z12--z13; % cross piece +else: draw z11--z12; fi % added simpler cross piece for sans serif design +penlabels(2,3,4,5,6,7,10,11,12,,13); endchar; + +iff known tailed_d: +cmchar "The letter right-tailed d"; % from wsuipa +beginchar(tailed_d,12.5u#+serif_fit#,asc_height#,desc_depth#); +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(.8w-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(.8w-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=-1/2d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop);fi % upper serif +%tail +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); + pickup tiny.nib; pos20(stem,180); z2=z20; + pos15(vair,-90); pos16(hair,0); pos17(flare,0); + x15=.5[x16,x20]; bot y15l=-d-oo; y16=y20+.15dot_size; + rt x16r=hround(w-.1u); + bulb(15,16,17); % arc and bulb + filldraw stroke z20e{down}..{right}z15e{up}; +penlabels(0,1,2,3,4,5,6,7,15,16,17,20); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/lowere.mf b/fonts/jknappen/fc/src/lowere.mf new file mode 100644 index 0000000000..6124230d4b --- /dev/null +++ b/fonts/jknappen/fc/src/lowere.mf @@ -0,0 +1,372 @@ +% This is LOWERE.MF +% Version 1.0c +% Date 22-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% e +% +% And the following on demand, i. e. if their code is known: +% +% e_tilde, e_grave, e_acute, e_hat, e_umlaut, e_dot, e_dotu, e_bar, +% e_uline, e_hachek, open_e, open_e_tilde, inversed_e +% +% Higher versions of this file might include more characters. + +cmchar "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); % terminal + pickup tiny.nib; fi % change JK +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 +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x4; +penlabels(0,1,2,3,4,5); endchar; + +iff known e_dot: +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +cmchar "The letter e with dot"; +beginchar(e_dot,7.25u#+max(.75u#,.5curve#), + min(asc_height#,10/7x_height#+.5dot_diam#),0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(savedpoint); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab); fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known e_umlaut: +numeric dot_diam#,dot_diam; dot_diam#=max(dot_size#,cap_curve#); +cmchar "The letter e with trema"; +beginchar(e_umlaut,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=good.x(.5w-1.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=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known e_bar: +cmchar "The letter e with macron"; +beginchar(e_bar,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +top y91r=top y92r=h+o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +iff known e_tilde: +cmchar "The letter e with tilde"; +beginchar(e_tilde,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +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 u; 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 u; 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; + +iff known e_grave: +cmchar "The letter e with gravis"; +beginchar(e_grave,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known e_acute: +cmchar "The letter e with acute"; +beginchar(e_acute,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known e_hat: +cmchar "The letter e with circumflex"; +beginchar(e_hat,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known e_hachek: +cmchar "The letter e with hachek"; +beginchar(e_hachek,7.25u#+max(.75u#,.5curve#), + .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+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: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + 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); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known e_dotu: +cmchar "The letter e with dot below"; +beginchar(e_dotu,7.25u#+max(.75u#,.5curve#),x_height#,0.875desc_depth#); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(savedpoint); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +numeric savedpoint; + +iff known e_uline: +cmchar "The letter e with bar below"; +beginchar(e_uline,7.25u#+max(.75u#,.5curve#),x_height#,0.875desc_depth#); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +savedpicture:=nullpicture; + +iff known open_e: +cmchar "The letter open e"; % jk, based on the numeral 3 from cm +beginchar(open_e,7.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +slantswitch; % mirror will reswitch slant +numeric top_thickness,mid_thickness,bot_thickness; +mid_thickness=max(fine.breadth,vround 2/3vair); +pickup fine.nib; pos2(vair',90); top y2r=h+oo; +pos3(max(fine.breadth,.6[curve,cap_curve]-stem_corr),0); +rt x3r=hround(w-u); +pos4(vair,-90); pos5(vair,-90); +pos6(mid_thickness,90); x2=x6=x8=.5[1.25u,x7]; +pos7(curve,0); rt x7r=hround(w-.5u); lft x5=min(hround 2.5u,lft x6)-eps; +pos8(vair',-90); bot y8r=-oo; +if serifs: + pos9(hair,-180); lft x9l=hround(1.25u); + y9=max(good.y(.5bar_height-.9),y8l+vair'); + (x,y8l)=whatever[z8r,z9r]; x8l:=max(x,x8l-.5u); +% (x,y4l)=whatever[z4r,z5l]; x4l:=min(x,x4l+.5u); +fi +y3=.6[top y4l,bot y2l]; y7=.5[bot y6l,top y8l]; +top y5l=vround(bar_height+.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; bulb_diam2=flare; + 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 +% no lower 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 + filldraw stroke z8e{left}..tension .9 and 1..{x9-x8,5(y9-y8)}z9e; +% % lower terminal +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(vair',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 +mirror(.5w); +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +iff known open_e_tilde: +cmchar "The letter open e with tilde"; +beginchar(open_e_tilde,7.5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +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 u; 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 u; 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; + +savedpicture:=nullpicture; + + +iff known reversed_e: +cmchar "The letter inverted e"; % from cm +beginchar(reversed_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 +x10=.5w; y10=.5h; flip(10); % rotation +penlabels(0,1,2,3,4,5); endchar; + + +endinput; diff --git a/fonts/jknappen/fc/src/lowerfgh.mf b/fonts/jknappen/fc/src/lowerfgh.mf new file mode 100644 index 0000000000..8080163bf4 --- /dev/null +++ b/fonts/jknappen/fc/src/lowerfgh.mf @@ -0,0 +1,325 @@ +% This is LOWERFGH.MF +% Version 1.0b +% Date 13-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% f, g (you can choose between two glyphs by the means of |variant_g:=true;| +% or |false|), h +% +% +% And the following on demand, i. e. if their code is known: +% +% long_f, g_dot, ipa_gamma, crossed_h +% +% Higher versions of this file might include more characters. + +cmchar "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 known long_f: +cmchar "The letter long f"; % jk, made from emma pease's esh + % jk added differnt sans serif version +if serifs: +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(long_f,5.5u#,asc_height#,desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+\\.5u# fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pickup tiny.nib; pos0(stem',0); pos1(shaved_stem,0); +x0=x1; +x1=.5w; +top y0=x_height if serifs: +min(oo,serif_drop) fi; +bot y1=-1/3d; +pickup fine.nib; numeric bulb_diam; + pickup tiny.nib; pos5(vair,-90); pos6(hair,-180); pos7(flare,-180); + x5=.5[x1,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,z1l]; x5r:=max(x,.5[x6r,x5]); + filldraw stroke z1e{down}...z5e{left}; bulb(5,6,7); % lower arc and bulb + 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; +pickup tiny.nib; +penpos3(x1r-x1l,0); x3l=x1l; top y3=x_height; +filldraw stroke z1e--z3e; % stem +pickup fine.nib; pos3'(x1r-x1l-(hround stem_corr)+tiny,180); +y3'=y3; lft x3'r=tiny.lft x1l; +penpos4(x3'l-x3'r,180); x4=x3'; y4+.5vair=.5[x_height,h]; +pos8(vair,90); top y8r=h+oo; + x8=.5[x4,x2r]; (xa,y8r)=whatever[z8l,z4l]; + x8r:=min(xa,.5[x8,x2r]); pos9(hair,0); bulb(8,9,2); % bulb + filldraw stroke z3'e--z4e & super_arc.e(4,8); % 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 +else: +beginchar(long_f,3u#+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; +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos4(stem,180); % pos4(stem,theta+90); +pos5(stem,0); %pos5(stem,theta-90); +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=.75[-d,y4]; +x4=x5=.5w; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...{down}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{down}...{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 +fi; +math_fit(desc_depth#*slant+u#,x_height#*slant); +penlabels(1,2,3,4,5,6,7,8,20,21); endchar; + + +iff not variant_g: cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6,7,8,10,11,12,13,14); labels(8',8''); endchar; + +iff known g_dot and not variant_g: +cmchar "The letter g with dot"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(g_dot,9u#,min(asc_height#,10/7x_height#+.5dot_diam#),desc_depth#); +italcorr x_height#*slant+.25u#; +adjust_fit(0,0); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +savedpicture:=nullpicture; + +iff variant_g: cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar; + +iff known g_dot and variant_g: +cmchar "Variant letter g with dot"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(g_dot,10u#+serif_fit#,min(asc_height#,10/7x_height#+.5dot_diam#), + desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u# if serifs:+.5u# fi; +adjust_fit(0,serif_fit# if serifs: -.5u# fi); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +savedpicture:=nullpicture; + +iff known ipa_gamma: +cmchar "The letter IPA gamma"; % remade by jk (wsuipa original didn't work +% with sans serif parameters), based on cm X +beginchar(ipa_gamma,if serifs: 9.5u# else:9u# fi,x_height#,desc_depth#); +italcorr x_height#*slant-.05u#; +adjust_fit(serif_fit# if monospace:+\\.5u#,.5u#+ else:,fi\\ serif_fit#); +numeric stem[],outer_jut,xjut,alpha[]; +stem1=stem-2stem_corr; stem2=min(hair,stem1); +outer_jut=.75jut; 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=-d; +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); +penpos5(alpha2*stem2,0); penpos6(alpha1*stem1,0); +penpos5'(alpha2*stem2,-180); penpos10(vair,-90); +z5=whatever[z3,z2]; z6=whatever[z1,z4]; x5=.25[x3,x4]; y6=y5; z5'=z5; +x10=.5[x5,x6]; bot y10=-d-o; +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',5l,1,.5,5r,34')--z34' + --diag_end(34',6l,.5,1,6r,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,6l,.5,1,6r,1r)--cycle; % left diagonal + fill diag_end(2l,5l,.5,1,5r,2r) + --diag_end(3r,2r,.5,1,2l,3l)--cycle; fi % right diagonal +filldraw stroke z6e{z4-z1}...z10e...{z2-z3}z5'e; % bowl +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 +fi +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,19,12,13,24,34); endchar; + +cmchar "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; + + +iff known crossed_h: +cmchar "The letter crossed h"; % from wsuipa +beginchar(crossed_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 +pickup crisp.nib; pos5(bar,90); pos6(bar,90); +top y5r=.52[x_height,y1]=top y6r; % changed +lft x5=.25u; rt x6=.2[x3,x1]; +filldraw stroke z5e--z6e; % bar +penlabels(1,2,3,4,5,6); endchar; + + +endinput; diff --git a/fonts/jknappen/fc/src/lowerij.mf b/fonts/jknappen/fc/src/lowerij.mf new file mode 100644 index 0000000000..93971a93bc --- /dev/null +++ b/fonts/jknappen/fc/src/lowerij.mf @@ -0,0 +1,260 @@ +% This is LOWERIJ.MF +% Version 1.0e +% Date 22-JUN-1993 +% +% (c) 1991, 1992, 1993 by J"org Knappen. See fc.rme for copying conditions + +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% \i, i, \j, j +% +% And the following on demand, i. e. if their code is known: +% +% i_umlaut, i_dotu, i_tilde, latin_iota, dotless_i_dotu +% +% Higher versions of this file might include more characters. + + +cmchar "Dotless letter i"; % cm +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 +picture savedpicture; savedpicture:=currentpicture; +pos3(dot_diam,0); +if serifs: x3r=max(x1r,x1+.5(dot_diam-tiny)-.2jut) else: x3=x1-.5 fi; +x3:=good.x(x3); +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x3; +penlabels(1,2); endchar; + +iff known dotless_i_dotu: +cmchar "The letter dotless i with dot below"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(dotless_i_dotu,5u#,min(asc_height#,10/7x_height#+.5dot_diam#), + 0.875desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit# + .5dot_diam# -2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.25u#fi,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +currentpicture:=savedpicture; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=savedpoint; bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +numeric savedpoint; + +iff known i_tilde: +cmchar "The letter i with tilde"; +beginchar(i_tilde,5u#,.75[x_height#,min(asc_height#,2x_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; pos11(stem',0); pos22(stem',0); +if odd(w-stem'): change_width; fi +currentpicture:=savedpicture; +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; + if not monospace: lft x1r=hround 0;rt x4l=hround w; + else: lft x1r=hround u; rt x4l=hround(w-u); fi + 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); + if not monospace: lft x1r=hround 0; rt x5l=hround w; + else: lft x1r=w-rt x5l=hround 5/6u; fi + 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; + +iff known i_umlaut: +cmchar "The letter i with trema"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(i_umlaut,5u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.25u#fi,serif_fit#-stem_shift#); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +pickup tiny.nib; pos11(stem',0); pos22(stem',0); +if odd(w-stem'): change_width; fi +currentpicture:=savedpicture; +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +pos3(dot_diam,0); penpos4(y2r-y2l,90); y3=y4=y1; +if not monospace: x1=x2=w-x3=w-x4=good.x(.5w-2u); +else: x1=x2=w-x3=w-x4=good.x(.5w-u); fi +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 +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +savedpicture:=nullpicture; + +cmchar "The letter i"; % cm +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar("i",5u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit# + .5dot_diam# -2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.25u#fi,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=hround(.5w-.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=0; +filldraw stroke z1e--z2e; % stem +pos3(dot_diam,0); pos4(dot_diam,90); +if serifs: x3r=max(x1r,x1+.5(dot_diam-tiny)-.2jut) else: x3=x1-.5 fi; +x3:=good.x(x3); +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 +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x3; +penlabels(1,2,3,4); endchar; + +iff known i_dotu: +cmchar "The letter i with dot below"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(i_dotu,5u#,min(asc_height#,10/7x_height#+.5dot_diam#), + 0.875desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit# + .5dot_diam# -2u#; +adjust_fit(serif_fit#+stem_shift# if monospace:+.25u#fi,serif_fit#-stem_shift#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +if odd(w-stem'): change_width; fi +currentpicture:=savedpicture; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=savedpoint; bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +numeric savedpoint; +savedpicture:=nullpicture; + +iff known latin_iota: +cmchar "The letter iota"; % jk +beginchar(latin_iota,6u#+max(u#,.5stem#),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 tiny.nib; pos2'(shaved_stem,0); +pos1(shaved_stem,0);pos2(shaved_stem,180); pos3(shaved_stem,180); +x1l=x2'l; z2=z2'; y1=0; +lft x2r=lft x3r=hround(2.5u-.5shaved_stem); +top y2=h if serifs:+min(oo,serif_drop) fi; y3=max(.5bar_height,2vair); +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 + pickup tiny.nib; + sloped_serif.l(2',1,a,1/3,.95jut,serif_drop); % upper serif +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); endchar; + +cmchar "The letter j"; % cm +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar("j",5.5u#,min(asc_height#,10/7x_height#+.5dot_diam#),desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+\\.5u# fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +rt x1r=hround(.5w+.25u+.5stem'); x1=x2; +top y1=x_height if serifs: +min(oo,serif_drop) fi; bot y2=-1/3d; +filldraw stroke z1e--z2e; % stem +pos3(dot_diam,0); pos4(dot_diam,90); +x3r=x1r; x3:=good.x(x3); top y4r=h+1; +if bot y4l-top y1<slab: y4l:=min(y4r-eps,y1+tiny+slab); fi +x3=x4; y3=.5[y4l,y4r]; dot(3,4); % dot +if serifs: sloped_serif.l(1,2,a,1/3,1.1jut,serif_drop); % upper serif + pickup tiny.nib; pos5(vair,-90); pos6(hair,-180); pos7(flare,-180); + x5=.5[x2,x6r]; bot y5r=-d-oo; y6-.5flare=-.88d; + if monospace: lft x6r=0 else: z6r=z7r; rt x7l=floor .75u fi; + (x,y5r)=whatever[z5l,z2l]; x5r:=max(x,.5[x6r,x5]); + filldraw stroke z2e{down}...z5e{left}; bulb(5,6,7); % arc and bulb +else: pickup fine.nib; pos2'(stem',0); z2'=z2; + pos6(.2[vair,stem'],-90); pos7(vair,-90); + lft x7r=hround -.75u; bot y7r=vround 5/6(-d-oo); + (x,y7l)=whatever[z7r,z3]; x7l:=x; + z5r=z2'r; (x2'l,y5l)=whatever[z7l,z5r]; x5l=x2'l; y5=y5r; + x6r=.5[x7r,x5r]; x6l:=.5[x7l,x5l]; bot y6r=-d-oo; + filldraw stroke z2'e..{down}z5e & super_arc.e(5,6) + & z6e{left}..z7e; fi % arc and terminal +penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "Dotless letter j"; % cm +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; + +endinput; diff --git a/fonts/jknappen/fc/src/lowerklm.mf b/fonts/jknappen/fc/src/lowerklm.mf new file mode 100644 index 0000000000..8c8a1bf1e0 --- /dev/null +++ b/fonts/jknappen/fc/src/lowerklm.mf @@ -0,0 +1,210 @@ +% This is LOWERKLM.MF +% Version 1.0b +% Date 8-APR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% k, l, m +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_k, kra, m_acute +% +% Higher versions of this file might include more characters. + +cmchar "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; + +iff known hooktop_k: +cmchar "The letter hooktop k"; % jk +beginchar(hooktop_k,9.5u#,asc_height#,0); +italcorr max(asc_height#*slant+if serifs:flare#-.25u# else: 1.25u# fi, + 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(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(.5w)+1 else: lft x2l=hround(.6w+.5) fi; +else: pos2(5/7[vair,flare],90); top y2r=h; + rt x2=hround(if monospace:w-4.5u else:w-3.25u fi); fi +f_stroke(1,2,a,b,c,jut,if not monospace:1.25fi\\ jut); % stem, terminal, serif +pickup tiny.nib; 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 +if serifs: numeric inner_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+inner_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(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(1,2,3,4,5,6,11); endchar; + +% kra.mf 12-mar-1991 by J"org Knappen + +iff known kra: % This is cm k, but without ascender +cmchar "The letter kra"; % greenlandic +beginchar(kra,9.5u#,x_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; + +cmchar "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; + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(1,2,3,4,5,6); endchar; + +iff known m_acute: +cmchar "The letter m with acute"; +beginchar(m_acute,15u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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; + +savedpicture:=nullpicture; + +endinput; diff --git a/fonts/jknappen/fc/src/lowern.mf b/fonts/jknappen/fc/src/lowern.mf new file mode 100644 index 0000000000..50fe9b7f65 --- /dev/null +++ b/fonts/jknappen/fc/src/lowern.mf @@ -0,0 +1,179 @@ +% This is LOWERN.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% n +% +% And the following on demand, i. e. if their code is known: +% +% n_tilde, n_acute, n_dot, n_uline, enj, eng +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(1,2,3,4); endchar; + +iff known n_dot: +cmchar "The letter n with dot"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(n_dot,10u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known n_uline: +cmchar "The letter n with bar below"; +beginchar(n_uline,10u#,x_height#,0.875desc_depth#); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +iff known n_tilde: +cmchar "The letter n with tilde"; +beginchar(n_tilde,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +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=hround(1/6w);rt x4l=hround(5/6w); 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=hround(1/6w);rt x5l=hround(5/6w); 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; + +iff known n_acute: +cmchar "The letter n with acute"; +beginchar(n_acute,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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; + +savedpicture:=nullpicture; + +iff known enj: +cmchar "The letter enj"; % from wsuipa +beginchar(enj,12.5u#,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(3.4u-.35stem); x1l=x1'l=x2l=x2'l; x3=w-x1; +top y1=h+min(oo,serif_drop); bot y2=-.2d; 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(4,3,e,1/3,inner_jut,f,1/3,jut); fi % lower right serif +%tail +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); + pickup tiny.nib; pos15(vair,-90); pos16(hair,-180); + pos17(flare,-180); + rt x17=u; + x15=.5[x2,x16r]; bot y15r=-d+oo; y16-.5flare=-.85d; + z16r=z17r; + (x,y15r)=whatever[z15l,z2l]; x15r:=max(x,.5[x16r,x15]); + filldraw stroke z2e{down}...pulled_super_arc.e(2,15)(.4superpull); + bulb(15,16,17); % arc and bulb +penlabels(1,2,3,4,15,16,17); endchar; + +iff known eng: +cmchar "The letter eng"; % from wsuipa +beginchar(eng,10.2u#,x_height#,1.1desc_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);fi % lower left serif +%tail +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); + pickup tiny.nib; pos15(vair,-90); pos16(hair,-180); pos17(flare,-180); + x15=.5[x4,x16r]; bot y15r=-d+oo; y16-.5flare=-.85d; + z16r=z17r; rt x17r=x2r; + (x,y15r)=whatever[z15l,z4l]; x15r:=max(x,.5[x16r,x15]); + filldraw stroke z4e{down}...pulled_super_arc.e(4,15)(.4superpull); + bulb(15,16,17); % arc and bulb +penlabels(1,2,3,4,15,16,17); endchar; + + +endinput; diff --git a/fonts/jknappen/fc/src/lowero.mf b/fonts/jknappen/fc/src/lowero.mf new file mode 100644 index 0000000000..0e364c3398 --- /dev/null +++ b/fonts/jknappen/fc/src/lowero.mf @@ -0,0 +1,342 @@ +% This is LOWERO.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% This file is part of the fc-package +% See fc.rme for more information +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% o +% +% And the following on demand, i. e. if their code is known: +% +% o_grave, o_acute, o_tilde, o_hat, o_hachek, o_dot, o_dotu, o_bar +% o_uline, o_umlaut, open_o, open_o_tilde, oe_lig (\oe), crossed_o (\o) +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; savedpicture=currentpicture; +penlabels(1,2,3,4); endchar; + + +iff known o_umlaut: +cmchar "The letter o with trema"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(o_umlaut,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +numeric dot_diam; +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=good.x(.5w-1.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=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known o_tilde: +cmchar "The letter o with tilde"; +beginchar(o_tilde,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +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=hround(1/5w);rt x4l=hround(4/5w); 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=hround(1/5w);rt x5l=hround(4/5w); 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; + +iff known o_grave: +cmchar "The letter o with gravis"; +beginchar(o_grave,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known o_acute: +cmchar "The letter o with acute"; +beginchar(o_acute,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known o_hat: +cmchar "The letter o with circumflex"; +beginchar(o_hat,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known o_hachek: +cmchar "The letter o with hachek"; +beginchar(o_hachek,9u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+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: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + 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); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known o_dot: +cmchar "The letter o with dot"; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +beginchar(o_dot,9u#,min(asc_height#,10/7x_height#+.5dot_diam#),0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-x_height+oo<slab: y99l:=min(y99r-eps,x_height+oo+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known o_bar: +cmchar "The letter o with macron"; +beginchar(o_bar,9u#, .75[x_height#,min(asc_height#,2x_height#)],0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +top y91r=top y92r=h+o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +iff known o_dotu: +cmchar "The letter o with dot below"; +beginchar(o_dotu,9u#,x_height#,0.875desc_depth#); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +iff known o_uline: +cmchar "The letter o with bar below"; +beginchar(o_uline,9u#,x_height#,0.875desc_depth#); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=w-rt x92=hround 1.25u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +savedpicture:=nullpicture; + +iff known oe_lig: +cmchar "The ligature oe"; +beginchar(oe_lig,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; + +iff known crossed_o: +cmchar "Scandinavian letter o/slash"; +beginchar(crossed_o,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; + +iff known open_o: +cmchar "The letter open o (turned c)"; % from wsuipa +beginchar(open_o,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=.45(w+u); 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-.9u); 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 +x10=.5w; y10=.5h; flip(10); % rotation +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5); endchar; + +iff known open_o_tilde: +cmchar "The letter open o with tilde"; +beginchar(open_o_tilde,8u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +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-x4l=hround u; 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 u; 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; + + +savedpicture:=nullpicture; + +endinput; diff --git a/fonts/jknappen/fc/src/lowerpqr.mf b/fonts/jknappen/fc/src/lowerpqr.mf new file mode 100644 index 0000000000..8c7958a9c2 --- /dev/null +++ b/fonts/jknappen/fc/src/lowerpqr.mf @@ -0,0 +1,133 @@ +% This is LOWERPQR.MF +% Version 1.1a +% Date 13-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% p, q, r +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_p +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +iff known hooktop_p: +cmchar "The letter hooktop p"; % jk +beginchar(hooktop_p,10u#+serif_fit#,asc_height#,desc_depth#); +italcorr asc_height#*slant; +adjust_fit(serif_fit#,0); +currentpicture:=savedpicture; +%if serifs: +pickup tiny.nib; +pos0(stem,180); pos1(stem,180); pos2(vair,90); +pos3(hair,0); pos4(flare,0); +x0=x1=hround w-.5(w-serif_fit)+.5u; y1=.8h; y0=x_height; +x2=.4[x1,x3]; top y2r=h+oo; +rt x3r=hround(w-.7u); y4=.85h; +filldraw z2r{left}...{down}z1r--z0r--z0l--z1l{up}...{right}z2l--cycle; +bulb(2,3,4); +%else: +%fi +penlabels(0,1,2,3,4); endchar; + +savedpicture:=nullpicture; + + +cmchar "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; + +cmchar "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; + +endinput; diff --git a/fonts/jknappen/fc/src/lowerst.mf b/fonts/jknappen/fc/src/lowerst.mf new file mode 100644 index 0000000000..2a1e1a5f57 --- /dev/null +++ b/fonts/jknappen/fc/src/lowerst.mf @@ -0,0 +1,451 @@ +% This is LOWERST.MF +% Version 1.0b +% Date 13-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% s, t +% +% And the following on demand, i. e. if their code is known: +% +% s_hachek, s_dotu, long_s, esh, scharfes_s, long_t, sami_t (t with cross), +% thorn, hooktop_t +% +% Higher versions of this file might include more characters. + + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +iff known s_hachek: +cmchar "The letter s with hachek"; +beginchar(s_hachek,7.1u#,.75[x_height#,min(asc_height#,2x_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); +currentpicture:=savedpicture; +h':=vround min(asc_height,2x_height); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+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: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + 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); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known s_dotu: +cmchar "The letter s with dot below"; +beginchar(s_dotu,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 dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +savedpicture:=nullpicture; + +iff known scharfes_s: +cmchar "German letter scharfes s"; % completely remade to exhibit +% the long s-short s ligature % jk +beginchar(scharfes_s,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); +pos2'(stem',180); z2'=z2; x3=.5[x2,x4]; rt x4r=hround(w-u); +numeric xx; xx=min(lft x4l, hround(stem_edge+u)); +numeric theta; +theta=90-angle(40u,x_height); slope:=-x_height/40u; % angle at middle +numeric s_slab; s_slab=if serifs:vair else:Vround .1[vair,stem] fi; +numeric ess'; ess'=max(fine.breadth,ess); +pos5(max(fine.breadth,s_slab-vround vair_corr),-100); +pos22(ess',theta); pos10(s_slab,-90); x5l=x22=x10=.5[xx,w]; +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 z21e{up}....{left}z5e; % upper arc + 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; +% numeric t; t=xpart(upper_arc intersectiontimes(z20l--z21')); +% filldraw z21l--z20r--z20l--subpath(t,0) of upper_arc--cycle; % upper barb + 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(5,21,right,.9,4); % upper arc and terminal + 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; + +iff known long_s: +cmchar "The letter long s"; % from cm (letter f without bar) +beginchar(long_s,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: + penpos0(stem'-tiny,0); x0=x1; tiny.top y0=x_height; + serif(0,1,a,0,-jut); % middle stem serif + 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 known esh: +cmchar "The letter esh"; %by emma pease % jk used own sans serif design +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +if serifs: +beginchar(esh,5.5u#,asc_height#,desc_depth#); +define_whole_blacker_pixels(dot_diam); +italcorr h#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+2stem_shift# if monospace:+\\.5u# fi, + serif_fit#-2stem_shift# if monospace:-.5u# fi); +numeric shaved_stem; shaved_stem=hround(stem-2stem_corr); +pickup tiny.nib; pos0(stem',0); pos1(shaved_stem,0); +x0=x1; +x1=.5w; +top y0=x_height if serifs: +min(oo,serif_drop) fi; +bot y1=-1/3d; +pickup fine.nib; numeric bulb_diam; + pickup tiny.nib; pos5(vair,-90); pos6(hair,-180); pos7(flare,-180); + x5=.5[x1,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,z1l]; x5r:=max(x,.5[x6r,x5]); + filldraw stroke z1e{down}...z5e{left}; bulb(5,6,7); % lower arc and bulb + 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; +pickup tiny.nib; +penpos3(x1r-x1l,0); x3l=x1l; top y3=x_height; +filldraw stroke z1e--z3e; % stem +pickup fine.nib; pos3'(x1r-x1l-(hround stem_corr)+tiny,180); +y3'=y3; lft x3'r=tiny.lft x1l; +penpos4(x3'l-x3'r,180); x4=x3'; y4+.5vair=.5[x_height,h]; +pos8(vair,90); top y8r=h+oo; + x8=.5[x4,x2r]; (xa,y8r)=whatever[z8l,z4l]; + x8r:=min(xa,.5[x8,x2r]); pos9(hair,0); bulb(8,9,2); % bulb + filldraw stroke z3'e--z4e & super_arc.e(4,8); % arc +else: +beginchar(esh,3u#+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; +pos0(flare,0); pos1(hair,0); pos2(vair,90); +pos4(stem,180); +pos5(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=.75[-d,y4]; +x4=x5=.5w; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...{down}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{down}...{left}z7e; % lower arc +fi; +penlabels(1,2,3,4,5,6,7,8); endchar; + + +cmchar "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; + +iff known long_t: +cmchar "The letter long t"; +beginchar(long_t,6u#+max(u#,.5stem#), + min(asc_height#,if hefty:9/7 else:10/7 fi\\ x_height#),desc_depth#); +italcorr x_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: 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)-d; +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=-d-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-d),top y5); y5=y5'; + filldraw stroke z5'e--z6e; % terminal +else: pos5(vair,-75); top y5l=vround .2[top y4l,(bar_height-d)]; + 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; + +iff known thorn: +%cmchar "Icelandic small thorn"; % from im -- original source: DEK cmman.mf +cmchar"The letter thorn"; +beginchar(thorn,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 known sami_t: +cmchar "The letter crossed t"; % derived from cm t +beginchar(sami_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 crisp.nib; +y9=y10=bar_height; pos9(bar,90); pos10(bar,90); x9=x2; rt x10=rt x8; +filldraw stroke z9e--z10e; % zusatz crossbar +pickup fine.nib; interim superness:=more_super; +pos4(vair',-90); bot y4r=-oo; rt x5r=hround(w-u); +if serifs: pos5(hair,0); y5=y3; x4l=.5[x3l,x5l]; + (x,y4r)=whatever[z4l,z5l]; x4r:=max(x,.5[x3r,x4]); + filldraw stroke z2e..super_arc.e(3,4)...{up}z5e; % stem and hook + pickup crisp.nib; pos6(hair,0); pos5'(hair,0); + x6=x5=x5'; top y6=max(vround .75bar_height,top y5); y5=y5'; +% if bot y10-top y6<.5u: top y6:=bot y10-.5u; fi % does the tail touch the zusatz +% % bar? + 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; +% if bot y10-top y5<.5u: top y5:=bot y10-.5u; fi % does the tail touch the zusatz +% % bar? + filldraw stroke z2e..super_arc.e(3,4); % stem and hook + path p; p=stroke z4e{right}..tension .9 and atleast 1..z5e; % terminal + if (xpart(z5l-precontrol 1 of p)<0) or (xpart(z5r-postcontrol 2 of p)<0): + filldraw stroke z4e{right}...{up}z5e; + else: filldraw p; fi fi; +penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +iff known hooktop_t: +cmchar "The letter t"; +beginchar(hooktop_t,6u#+max(u#,.5stem#),asc_height#,0); +italcorr asc_height#*slant if serifs: -.9u# else: -.4u# fi; +adjust_fit(0,if serifs: 0 else: -.5u# fi); +numeric t_height; t_height=if hefty: 9/7 else: 10/7 fi x_height; +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=t_height; + 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=t_height; + 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; +z1'=z1; +if hefty: pos1'(hround(shaved_stem-stem_corr),180) else: pos1'(hair,180) fi; +pos0(vair,90); +pos[-1](hair,0); pos[-2](flare,0); +x0=.4[x1,x[-1]]; top y0r=h+oo; +rt x[-1]r=hround(w-.1u); y[-2]=y1; +filldraw z0r{left}...{down}z1'r--z1'l{up}...{right}z0l--cycle; +bulb(0,[-1],[-2]); +penlabels([-2],[-1],0,1,2,3,4,5,6,7,8); endchar; + + +endinput; diff --git a/fonts/jknappen/fc/src/loweruvw.mf b/fonts/jknappen/fc/src/loweruvw.mf new file mode 100644 index 0000000000..8b7070f719 --- /dev/null +++ b/fonts/jknappen/fc/src/loweruvw.mf @@ -0,0 +1,278 @@ +% This is LOWERUVW.MF +% Version 1.0b +% Date 17-NOV-1994 +% +% (c) 1991, 1994 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D 55099 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% u, v, w +% +% And the following on demand, i. e. if their code is known: +% +% u_hat, u_acute, u_grave, u_tilde, u_dotu, var_u (round v), w_breve +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x5; +penlabels(1,2,3,4,5); labels(6); endchar; + +iff known u_tilde: +cmchar "The letter u with tilde"; +beginchar(u_tilde,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +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=hround(1/6w);rt x4l=hround(5/6w); 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=hround(1/6w);rt x5l=hround(5/6w); 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; + +iff known u_acute: +cmchar "The letter u with acute"; +beginchar(u_acute,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + 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(.5w+3u); 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 known u_grave: +cmchar "The letter u with gravis"; +beginchar(u_grave,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + 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(.5w-3u); 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; + +iff known u_hat: +cmchar "The letter u with circumflex"; +beginchar(u_hat,10u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[x_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,x_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known u_dotu: +cmchar "The letter u with dot below"; +beginchar(u_dotu,10u#,x_height#,0.875desc_depth#); +italcorr x_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit(serif_fit#+stem_shift#,serif_fit#-stem_shift#); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(savedpoint); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +savedpicture:=nullpicture; +numeric savedpoint; + +cmchar "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; + +iff known var_u: +cmchar "The letter round v"; % jk +beginchar(var_u,9u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(serif_fit#+stem_shift#,0); +interim superness:=more_super; +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos2'(stem,180); z2'=z2; +pos3(vair,-90); +pos4(hair,0); +x1=x2; x3=.5[x1,x4]; +top y1=h; y2=1/3h; bot y3r=-oo; +lft x1l=hround max(2u,3u-.5stem); +rt x4r=hround(w-.5u); y4=.57h; +if not serifs:pos34(hair,0); x34=x4; y34=.8h; fi +filldraw stroke z1e--z2e; % left stem +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4); % arc +if serifs: + v_bulb(4,5); % closing bulb + sloped_serif.l(1,2,a,1/3,jut,serif_drop); % serif +else: + pos5(vair,90); pos6(flare,100); + top y5r=h+oo; top y6r=vround .9h; lft x6r=hround(.5w+u); + x5=.2[x6l,x4l]; + filldraw stroke z4e--z34e...term.e(5,6,left,1,4); +fi +penlabels(1,2,3,34,4,5); endchar; + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6,7,8,23,45,67); endchar; + +iff known w_breve: +cmchar "The letter w with breve"; +beginchar(w_breve,13u#,.75[x_height#,min(asc_height#,2x_height#)],0); +italcorr x_height#*slant+.25u#; +adjust_fit(serif_fit#,serif_fit#); +currentpicture:=savedpicture; +pickup crisp.nib; pos1(vair,-180); pos3(vair,0); +top y1=top y3=h; lft x1r=hround(.5w-2.5u-.5vair);x3r=hround(.5w+2.5u+.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; + +savedpicture:=nullpicture; + +endinput; diff --git a/fonts/jknappen/fc/src/lowerxyz.mf b/fonts/jknappen/fc/src/lowerxyz.mf new file mode 100644 index 0000000000..815aee01de --- /dev/null +++ b/fonts/jknappen/fc/src/lowerxyz.mf @@ -0,0 +1,236 @@ +% This is LOWERXYZ.MF +% Version 1.0b +% Date 6-APR-2004 +% +% (c) 1991--2004 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information + +% Contents: +% +% The following characters are generated without condition: +% +% x, y, z +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_y, zhe (ezh) +% +% Higher versions of this file might include more characters. + +cmchar "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; + + +cmchar "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; + +iff known hooktop_y: +cmchar "The letter hooktop y"; +beginchar(hooktop_y,11.5u#,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-3u-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); + z11=whatever[z3,z4]; y11=.8h; penpos11(alpha*right_stem,0); +if y0>notch_cut: y0:=notch_cut; + fill z0+.5right{up}...{z4r-z3r}diag_end(0,11l,1,1,11r,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,11l,1,1,11r,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; + z11'=z11; penpos11'(alpha*right_stem,180); + penpos12(vair,90);penpos13(hair,0);penpos14(light_bulb,0); + x12=w-2u; top y12=h+oo; y14=.85h-.5light_bulb; rt x14=hround w-.35u; + fill stroke z3e---z5e...{left}z6e; bulb(6,7,8); % lower arc and bulb + fill stroke z11'e{z4-z3}...{right}z12e; bulb(12,13,14); % upper arc & bulb + numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(3,4); + inner_jut=jut; + dish_serif(1',2,a,1/3,outer_jut,b,1/2,inner_jut); % left serif +else: penpos6(bot_vair,-90); x6=2.5u; y6r=-d-oo; + fill stroke z3e---z5e...{left}z6e; % lower 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); % arc and terminal + clearpen; penpos13(bot_vair,-90); x13=w-2.5u; y13l=h+oo; + fill stroke z11e{z4-z3}...{right}z13e; % upper arc + pickup fine.nib; pos 13'(bot_vair,-90); z13'=z13; + pos14(2/3[bot_vair,flare],-85); + rt x14l=hround w-u; top y14l=vround .96h+oo; + filldraw stroke term.e(13',14,right,1,4); % upper terminal +fi +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + + +cmchar "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; + +iff known zhe: +cmchar "The letter ezh"; % adapted from Julian Bradfield's cmoe yogh +beginchar(zhe,8u#,x_height#,desc_depth#); +italcorr x_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,0); +numeric arm_thickness,arm_thickness#,z_stem ; +arm_thickness# = .9[vair#,.85stem#]; % changed +define_whole_vertical_blacker_pixels(arm_thickness); +if arm_thickness<crisp.breadth: arm_thickness:=crisp.breadth; fi +z_stem = .1[vair,stem] ; +pickup tiny.nib; rt x1r=rt x2r=hround(w-1.2u); +top y1=h; y2=min(y1,h-2/3arm_thickness); +lft x3l = hround .33w ; y3 = .7bar_height ; +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); +pair delta; delta=penoffset z3-z1 of currentpen; +fill top lft z1l--z1l+delta---z3l+delta..lft z3l + ..bot z3r--z3r-delta---rt z1r..top z1r + ---cycle; % diagonal +z99 = rt z1r ; z98 = z99 + (u,0) ; % for cutting away +z97 = z99 + 10*(z3-z1) ; z96 = z97 + (u,0) ; +pickup crisp.nib; pos5(arm_thickness,90); pos6(hair,180); +top y5r=h; x5=x1; lft x6r=hround .75u; y6=good.y(y5l-beak/1.6)-eps; +arm(5,6,a,beak_darkness,-.4beak_jut); % upper arm and beak +% now cut away the excess arm +erase fill z99 --- z98 --- z96 --- z97 --- cycle ; +pickup fine.nib ; +pos10'(vair,90) ; pos11(curve,0) ; +pos12(.1[vair,curve],-90) ; +z10' - z3 = whatever*dir 30 ; +x10' = x3 + u ; x10 = x10' ; y10r = good.y y10'r ; pos10(vair,90) ; +bot y12r = -d-oo ; x12 = .5w ; +y11 = .5[y10,y12] ; rt x11r = hround(w-.9u) ; +z3' = z3 ; z3'l = z3r ; z3'r = z3l ; +filldraw stroke z3'e .. z10e{right} ; +filldraw stroke pulled_arc.e(10,11) & pulled_arc.e(11,12) ; +if serifs: pos13(hair,-180) ; y13=-.1d ; lft x13r = hround .8u ; + pos14(flare,-180) ; bulb(12,13,14) ; +else: pos13(5/7[vair,flare],angle(-3u,-h)) ; +lft x13r = hround .9u ; y13 = -.1d ; +x13l := good.x x13l ; y13l := good.y y13l ; +filldraw stroke term.e(12,13,left,1,4) ; fi +penlabels(1,2,3,4,5,6,7,8,10,11,12,13,14); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/t4cmr.fd b/fonts/jknappen/fc/src/t4cmr.fd new file mode 100644 index 0000000000..d9fe5d9d34 --- /dev/null +++ b/fonts/jknappen/fc/src/t4cmr.fd @@ -0,0 +1,26 @@ +%% t4cmr.fd +%% +%% (c) Copyright 1994 J"org Knappen +%% +\ProvidesFile{T4cmr.fd}[1994/11/11 v1.0] +\providecommand{\sauter@family}[5]{% + \DeclareFontShape{#1}{#2}{#4}{#5} + { <5> #35 <6> #36 <7> #37 <8> #38 <9> #39 <10> #310 <10.95> #311 + <12> #312 <14.4> #314 <17.28> #317 <20.74> #320 <24.88> #325 + }{}% +} +%% Roman medium series +\DeclareFontFamily{T4}{cmr}{}{} +\sauter@family{T4}{cmr}{fcr}{m}{n} +\sauter@family{T4}{cmr}{fcsl}{m}{sl} +\sauter@family{T4}{cmr}{fci}{m}{it} +\sauter@family{T4}{cmr}{fcu}{m}{ui} +\sauter@family{T4}{cmr}{fccsc}{m}{sc} +%% Roman bold extended series +\sauter@family{T4}{cmr}{fcbx}{bx}{n} +\sauter@family{T4}{cmr}{fcbxsl}{bx}{sl} +\sauter@family{T4}{cmr}{fcbxi}{bx}{it} +\sauter@family{T4}{cmr}{fcbxu}{bx}{ui} +%% +\endinput +%% /T4cmr.fd diff --git a/fonts/jknappen/fc/src/t4cmss.fd b/fonts/jknappen/fc/src/t4cmss.fd new file mode 100644 index 0000000000..2dceee0c0c --- /dev/null +++ b/fonts/jknappen/fc/src/t4cmss.fd @@ -0,0 +1,20 @@ +%% t4cmss.fd +%% +%% (c) Copyright 1994 J"org Knappen +%% +\ProvidesFile{T4cmss.fd}[1994/11/11 v1.0] +\providecommand{\sauter@family}[5]{% + \DeclareFontShape{#1}{#2}{#4}{#5} + { <5> #35 <6> #36 <7> #37 <8> #38 <9> #39 <10> #310 <10.95> #311 + <12> #312 <14.4> #314 <17.28> #317 <20.74> #320 <24.88> #325 + }{}% +} +%% Sans serif font shapes +\DeclareFontFamily{T4}{cmss}{}{} +\sauter@family{T4}{cmss}{fcss}{m}{n} +\sauter@family{T4}{cmss}{fcssi}{m}{it} +\sauter@family{T4}{cmss}{fcssbx}{bx}{n} +\sauter@family{T4}{cmss}{fcsibx}{bx}{it} +%% +\endinput +%% /t4cmss.fd diff --git a/fonts/jknappen/fc/src/t4cmtt.fd b/fonts/jknappen/fc/src/t4cmtt.fd new file mode 100644 index 0000000000..9b7e983afb --- /dev/null +++ b/fonts/jknappen/fc/src/t4cmtt.fd @@ -0,0 +1,18 @@ +%% t4cmtt.fd +%% +%% (c) Copyright 1994 J"org Knappen +%% +\ProvidesFile{T4cmtt.fd}[1994/11/11 v1.0] +\providecommand{\sauter@family}[5]{% + \DeclareFontShape{#1}{#2}{#4}{#5} + { <5> #35 <6> #36 <7> #37 <8> #38 <9> #39 <10> #310 <10.95> #311 + <12> #312 <14.4> #314 <17.28> #317 <20.74> #320 <24.88> #325 + }{}% +} +%% Typewriter font shapes +\DeclareFontFamily{T4}{cmtt}{\hyphenchar\font\m@ne}{} +\sauter@family{T4}{cmtt}{fctt}{m}{n} +\sauter@family{T4}{cmtt}{fcitt}{m}{it} +%% +\endinput +%% /T4fctt.fd diff --git a/fonts/jknappen/fc/src/t4enc.def b/fonts/jknappen/fc/src/t4enc.def new file mode 100644 index 0000000000..f63408be85 --- /dev/null +++ b/fonts/jknappen/fc/src/t4enc.def @@ -0,0 +1,245 @@ +%% t4enc.def +%% +%% (c) Copyright 1994--2004 J"org Knappen +%% +\ProvidesFile{t4enc.def}[2004/06/01 v2.0 + Fontencoding for the fc (aFrican Computer) fonts] +\NeedsTeXFormat{LaTeX2e}[1999/06/01] % \AA and some other commands changed +\DeclareFontEncoding{T4}{}{} +\DeclareTextAccent{\`}{T4}{0} +\DeclareTextAccent{\'}{T4}{1} +\DeclareTextAccent{\^}{T4}{2} +\DeclareTextAccent{\~}{T4}{3} +\DeclareTextAccent{\"}{T4}{4} +\DeclareTextAccent{\H}{T4}{5} +\DeclareTextAccent{\r}{T4}{6} +\DeclareTextAccent{\v}{T4}{7} +\DeclareTextAccent{\u}{T4}{8} +\DeclareTextAccent{\=}{T4}{9} +\DeclareTextAccent{\.}{T4}{10} +\DeclareTextAccent{\I}{T4}{'277}% single universal accent +\DeclareTextAccent{\U}{T4}{'274}% double universal accent +\DeclareTextAccent{\G}{T4}{'237}% double grave accent +\DeclareTextCommand{\b}{T4}[1] + {\oalign{\null#1\crcr\hidewidth\sh@ft{29} + \vbox to.2ex{\hbox{\char9}\vss}\hidewidth}} +\DeclareTextCommand{\c}{T4}[1] + {\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1% + \else{\ooalign{\hidewidth\char11\hidewidth + \crcr\unhbox\z@}}\fi} +\DeclareTextCommand{\d}{T4}[1] + {\oalign{\null#1\crcr\hidewidth\sh@ft{08}.\hidewidth}} +\DeclareTextCommand{\k}{T4}[1] + {\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent12 #1% + \else{\ooalign{\hidewidth\char12\hidewidth + \crcr\unhbox\z@}}\fi} +\DeclareTextCommand{\m}{T4}[1] + {\errhelp{The modified letter \m #1 does not exist in the + T4 encoding} + \errmessage{t4enc.def: Non existent modified letter}} +\DeclareTextCommand{\M}{T4}[1] + {\errhelp{The modified letter \M #1 does not exist in the + T4 encoding} + \errmessage{Non existent modified letter}} +\DeclareTextCommand{\B}{T4}[1] + {\errhelp{The modified letter \B #1 does not exist in the + T4 encoding} + \errmessage{t4enc.def: Non existent modified letter}} +\DeclareTextCommand{\T}{T4}[1] + {\errhelp{The modified letter with tilde \T #1 does not exist in the + T4 encoding} + \errmessage{t4enc.def: Non existent modified letter}} +\DeclareTextCommand{\textcopyleft}{T4} + {{\ooalign{\hfil + \raise.07ex\hbox{\mdseries\upshape \m{o}}\hfil\crcr + \mathhexbox20D}}} +\DeclareTextSymbol{\AE}{T4}{198} +\DeclareTextCommand{\L}{T4} + {\leavevmode\setbox0\hbox{L}\hbox to\wd0{\hss\char'337L}} +\DeclareTextSymbol{\O}{T4}{216} +\DeclareTextSymbol{\OE}{T4}{215} +\DeclareTextCommand{\SS}{T4}{SS} +\DeclareTextSymbol{\_}{T4}{95} +\DeclareTextSymbol{\ae}{T4}{230} +\DeclareTextSymbol{\guillemotleft}{T4}{19} +\DeclareTextSymbol{\guillemotright}{T4}{20} +\DeclareTextSymbol{\guilsinglleft}{T4}{14} +\DeclareTextSymbol{\guilsinglright}{T4}{15} +\DeclareTextSymbol{\i}{T4}{25} +\DeclareTextSymbol{\j}{T4}{26} +\DeclareTextCommand{\l}{T4}{\char'337l} +\DeclareTextSymbol{\o}{T4}{248} +\DeclareTextSymbol{\oe}{T4}{247} +\DeclareTextSymbol{\quotedblbase}{T4}{18} +\DeclareTextSymbol{\quotesinglbase}{T4}{13} +\DeclareTextSymbol{\ss}{T4}{255} +\DeclareTextSymbol{\textendash}{T4}{21} +\DeclareTextSymbol{\textemdash}{T4}{22} +\DeclareTextSymbol{\textexclamdown}{T4}{189} +\DeclareTextSymbol{\textquestiondown}{T4}{190} +\DeclareTextSymbol{\textquotedblleft}{T4}{16} +\DeclareTextSymbol{\textquotedblright}{T4}{17} +\DeclareTextSymbol{\textquotedbl}{T4}{`\"} +\DeclareTextSymbol{\textquoteleft}{T4}{`\`} +\DeclareTextSymbol{\textquoteright}{T4}{`\'} +\DeclareTextSymbol{\textvisiblespace}{T4}{32} +\DeclareTextSymbol{\textgreater}{T4}{`\>} +\DeclareTextSymbol{\textless}{T4}{`\<} +\DeclareTextSymbol{\textbraceright}{T4}{`\}} +\DeclareTextSymbol{\textbraceleft}{T4}{`\{} +\DeclareTextSymbol{\textbar}{T4}{`\|} +\DeclareTextSymbol{\textbackslash}{T4}{`\\} +\DeclareTextSymbol{\textasciicircum}{T4}{`\^} +\DeclareTextSymbol{\textasciitilde}{T4}{`\~} +\DeclareTextCommand{\textdollar}{T4}{\nfss@text{% + \ifdim \fontdimen\@ne\font >\z@ + \slshape + \else + \upshape + \fi + \char`\$}} +\DeclareTextCommand{\textsterling}{T4}{\nfss@text{% + \ifdim \fontdimen\@ne\font >\z@ + \itshape + \else + \fontshape{ui}\selectfont + \fi + \char`\$}} +\DeclareTextSymbol{\NG}{T4}{141} +\DeclareTextSymbol{\ng}{T4}{173} +%\DeclareTextSymbol{\TH}{T4}{'227} % best replacement +%\DeclareTextSymbol{\th}{T4}{'267} % best replacement +\DeclareTextSymbol{\DH}{T4}{208} +%\DeclareTextSymbol{\dh}{T4}{158} % best replacement +\DeclareTextSymbol{\DJ}{T4}{208} +\DeclareTextSymbol{\dj}{T4}{158} +\DeclareTextSymbol{\tsh}{T4}{156} +\DeclareTextCommand{\TSH}{T4}{T\m S} +\DeclareTextComposite{\m}{T4}{B}{128} +\DeclareTextComposite{\m}{T4}{D}{129} +\DeclareTextComposite{\m}{T4}{E}{130} +\DeclareTextComposite{\M}{T4}{E}{131} +\DeclareTextComposite{\m}{T4}{F}{132} +\DeclareTextComposite{\v}{T4}{E}{133} +\DeclareTextComposite{\m}{T4}{G}{134} +\DeclareTextComposite{\B}{T4}{H}{135} +\DeclareTextComposite{\m}{T4}{K}{136} +\DeclareTextComposite{\m}{T4}{J}{137} +\DeclareTextComposite{\m}{T4}{O}{138} +\DeclareTextComposite{\'}{T4}{N}{139} +\DeclareTextComposite{\m}{T4}{S}{140} +\DeclareTextComposite{\m}{T4}{N}{141} +\DeclareTextComposite{\m}{T4}{U}{142} +\DeclareTextComposite{\m}{T4}{V}{142} +\DeclareTextComposite{\m}{T4}{Y}{143} +\DeclareTextComposite{\m}{T4}{C}{144} +\DeclareTextComposite{\m}{T4}{P}{145} +\DeclareTextComposite{\v}{T4}{S}{146} +\DeclareTextComposite{\.}{T4}{N}{147} +\DeclareTextComposite{\b}{T4}{N}{148} +\DeclareTextComposite{\d}{T4}{S}{149} +\DeclareTextComposite{\m}{T4}{Z}{150} +\DeclareTextComposite{\B}{T4}{T}{151} +\DeclareTextComposite{\.}{T4}{E}{152} +\DeclareTextComposite{\d}{T4}{E}{153} +\DeclareTextComposite{\m}{T4}{T}{154} +\DeclareTextComposite{\M}{T4}{T}{155} +\DeclareTextComposite{\B}{T4}{d}{158} +\DeclareTextComposite{\m}{T4}{b}{160} +\DeclareTextComposite{\m}{T4}{d}{161} +\DeclareTextComposite{\m}{T4}{e}{162} +\DeclareTextComposite{\M}{T4}{e}{163} +\DeclareTextComposite{\m}{T4}{f}{164} +\DeclareTextComposite{\v}{T4}{e}{165} +\DeclareTextComposite{\m}{T4}{g}{166} +\DeclareTextComposite{\B}{T4}{h}{167} +\DeclareTextComposite{\m}{T4}{k}{168} +\DeclareTextComposite{\m}{T4}{j}{169} +\DeclareTextComposite{\m}{T4}{o}{170} +\DeclareTextComposite{\'}{T4}{n}{171} +\DeclareTextComposite{\m}{T4}{s}{172} +\DeclareTextComposite{\m}{T4}{n}{173} +\DeclareTextComposite{\m}{T4}{u}{174} +\DeclareTextComposite{\m}{T4}{v}{174} +\DeclareTextComposite{\m}{T4}{y}{175} +\DeclareTextComposite{\m}{T4}{c}{176} +\DeclareTextComposite{\m}{T4}{p}{177} +\DeclareTextComposite{\v}{T4}{s}{178} +\DeclareTextComposite{\.}{T4}{n}{179} +\DeclareTextComposite{\b}{T4}{n}{180} +\DeclareTextComposite{\d}{T4}{s}{181} +\DeclareTextComposite{\m}{T4}{z}{182} +\DeclareTextComposite{\B}{T4}{t}{183} +\DeclareTextComposite{\.}{T4}{e}{184} +\DeclareTextComposite{\d}{T4}{e}{185} +\DeclareTextComposite{\m}{T4}{t}{186} +\DeclareTextComposite{\M}{T4}{t}{187} +\DeclareTextComposite{\m}{T4}{I}{192} +\DeclareTextComposite{\d}{T4}{I}{193} +\DeclareTextComposite{\T}{T4}{E}{194} +\DeclareTextComposite{\~}{T4}{A}{195} +\DeclareTextComposite{\'}{T4}{M}{196} +\DeclareTextComposite{\T}{T4}{O}{197} +\DeclareTextComposite{\c}{T4}{C}{199} +\DeclareTextComposite{\`}{T4}{E}{200} +\DeclareTextComposite{\'}{T4}{E}{201} +\DeclareTextComposite{\^}{T4}{E}{202} +\DeclareTextComposite{\"}{T4}{E}{203} +\DeclareTextComposite{\b}{T4}{E}{204} +\DeclareTextComposite{\=}{T4}{E}{205} +\DeclareTextComposite{\~}{T4}{E}{206} +\DeclareTextComposite{\~}{T4}{I}{207} +\DeclareTextComposite{\M}{T4}{D}{208} +\DeclareTextComposite{\B}{T4}{D}{208} +\DeclareTextComposite{\~}{T4}{N}{209} +\DeclareTextComposite{\`}{T4}{O}{210} +\DeclareTextComposite{\.}{T4}{O}{211} +\DeclareTextComposite{\^}{T4}{O}{212} +\DeclareTextComposite{\~}{T4}{O}{213} +\DeclareTextComposite{\"}{T4}{O}{214} +\DeclareTextComposite{\d}{T4}{O}{217} +\DeclareTextComposite{\b}{T4}{O}{218} +\DeclareTextComposite{\=}{T4}{O}{219} +\DeclareTextComposite{\v}{T4}{O}{220} +\DeclareTextComposite{\d}{T4}{U}{221} +\DeclareTextComposite{\~}{T4}{U}{222} +\DeclareTextComposite{\m}{T4}{i}{224} +\DeclareTextComposite{\d}{T4}{i}{225} +\DeclareTextComposite{\T}{T4}{e}{226} +\DeclareTextComposite{\~}{T4}{a}{227} +\DeclareTextComposite{\'}{T4}{m}{228} +\DeclareTextComposite{\T}{T4}{o}{229} +\DeclareTextComposite{\c}{T4}{c}{231} +\DeclareTextComposite{\`}{T4}{e}{232} +\DeclareTextComposite{\'}{T4}{e}{233} +\DeclareTextComposite{\^}{T4}{e}{234} +\DeclareTextComposite{\"}{T4}{e}{235} +\DeclareTextComposite{\b}{T4}{e}{236} +\DeclareTextComposite{\=}{T4}{e}{237} +\DeclareTextComposite{\~}{T4}{e}{238} +\DeclareTextComposite{\~}{T4}{i}{239} +\DeclareTextComposite{\~}{T4}{\i}{239} +\DeclareTextComposite{\M}{T4}{d}{240} +\DeclareTextComposite{\~}{T4}{n}{241} +\DeclareTextComposite{\`}{T4}{o}{242} +\DeclareTextComposite{\.}{T4}{o}{243} +\DeclareTextComposite{\^}{T4}{o}{244} +\DeclareTextComposite{\~}{T4}{o}{245} +\DeclareTextComposite{\"}{T4}{o}{246} +\DeclareTextComposite{\d}{T4}{o}{249} +\DeclareTextComposite{\b}{T4}{o}{250} +\DeclareTextComposite{\=}{T4}{o}{251} +\DeclareTextComposite{\v}{T4}{o}{252} +\DeclareTextComposite{\d}{T4}{u}{253} +\DeclareTextComposite{\~}{T4}{u}{254} + +% Compatibility section +% +% t4enc.def v 1.3 had \| as command for the universal accent in text mode +\def\|{\ifmmode\Vert\else\I\fi}% single universal accent +% +% t4enc.def v 1.3 used \copyleft instead of \textcopyleft +\def\copyleft{\textcopyleft} +\endinput +%% +%% End of file `T4enc.def'. diff --git a/fonts/jknappen/fc/src/t4fcr.fd b/fonts/jknappen/fc/src/t4fcr.fd new file mode 100644 index 0000000000..24cab175c6 --- /dev/null +++ b/fonts/jknappen/fc/src/t4fcr.fd @@ -0,0 +1,39 @@ +%% t4fcr.fd +%% +%% (c) Copyright 1994 J"org Knappen +%% +\ProvidesFile{T4fcr.fd}[1994/11/11 v1.0] +\providecommand{\sauter@family}[5]{% + \DeclareFontShape{#1}{#2}{#4}{#5} + { <5> #35 <6> #36 <7> #37 <8> #38 <9> #39 <10> #310 <10.95> #311 + <12> #312 <14.4> #314 <17.28> #317 <20.74> #320 <24.88> #325 + }{}% +} +%% Roman medium series +\DeclareFontFamily{T4}{fcr}{}{} +\sauter@family{T4}{fcr}{fcr}{m}{n} +\sauter@family{T4}{fcr}{fcsl}{m}{sl} +\sauter@family{T4}{fcr}{fci}{m}{it} +\sauter@family{T4}{fcr}{fcu}{m}{ui} +\sauter@family{T4}{fcr}{fccsc}{m}{sc} +%% Roman bold extended series +\sauter@family{T4}{fcr}{fcbx}{bx}{n} +\sauter@family{T4}{fcr}{fcbxsl}{bx}{sl} +\sauter@family{T4}{fcr}{fcbxi}{bx}{it} +\sauter@family{T4}{fcr}{fcbxu}{bx}{ui} +%% Roman typewriter series +\sauter@family{T4}{fcr}{fctt}{tt}{n} +%\sauter@family{T4}{fcr}{fcsltt}{tt}{sl} +\sauter@family{T4}{fcr}{fcitt}{tt}{it} +%\sauter@family{T4}{fcr}{fcutt}{tt}{ui} +%% +%% Sans serif font shapes +\DeclareFontFamily{T4}{fcss}{}{} +\sauter@family{T4}{fcss}{fcss}{m}{n} +\sauter@family{T4}{fcss}{fcssi}{m}{sl} +\sauter@family{T4}{fcss}{fcssbx}{bx}{n} +\sauter@family{T4}{fcss}{fcsibx}{bx}{sl} +\sauter@family{T4}{fcss}{fcsstt}{tt}{n} +%% +\endinput +%% /T4fcr.fd diff --git a/fonts/jknappen/fc/src/t4phonet.sty b/fonts/jknappen/fc/src/t4phonet.sty new file mode 100644 index 0000000000..7b5b536fac --- /dev/null +++ b/fonts/jknappen/fc/src/t4phonet.sty @@ -0,0 +1,42 @@ +%t4phonet.sty +% +% (C) Copyright 2004 J"org Knappen +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{t4phonet}% + [2004/06/01 v1.0 Phonetic letters from the fc fonts (JKn)] +\DeclareFontEncoding{T4}{}{} + +% Symbols from the tipa package (t3enc.def) +\DeclareTextSymbol\textschwa{T4}{'241} +\DeclareTextSymbol\textepsilon{T4}{'242} % open e +\DeclareTextSymbol\textopeno{T4}{'252} +\DeclareTextSymbol\textesh{T4}{'254} +\DeclareTextSymbol\textscriptv{T4}{'254} +\DeclareTextSymbol\textpipe{T4}{`\|} +\DeclareTextSymbol\texthtb{T4}{'240} +\DeclareTextSymbol\texthtc{T4}{'260} +\DeclareTextSymbol\texthtd{T4}{'241} +\DeclareTextSymbol\textrtaild{T4}{'360} +\DeclareTextSymbol\textrtailt{T4}{'273} +\DeclareTextSymbol\textcrh{T4}{'247} +\DeclareTextSymbol\textltailn{T4}{'251} % enj +\DeclareTextSymbol\textiota{T4}{'340} +\DeclareTextSymbol\texthtk{T4}{'250} +\DeclareTextSymbol\texthtp{T4}{'261} +\DeclareTextSymbol\texthtt{T4}{'272} +\DeclareTextSymbol\textteshlig{T4}{'234} +\DeclareTextSymbol\textcrd{T4}{'236} % dj +\DeclareTextSymbol\textyogh{T4}{'266} % ezh + +% Accents from the tipa package +\DeclareTextAccent\textdoublegrave{T4}{'237} +\DeclareTextAccent\textvbaraccent{T4}{'277} +\DeclareTextAccent\textdoublevbaraccent{T4}{'274} + +% The phonetic package has a command for the fj ligature. Therefore +% we add \textfjlig here. + +\DeclareTextSymbol\textfjlig{T4}{'235} + +%/t4phonet.sty diff --git a/fonts/jknappen/fc/src/uppera.mf b/fonts/jknappen/fc/src/uppera.mf new file mode 100644 index 0000000000..a2d47e2078 --- /dev/null +++ b/fonts/jknappen/fc/src/uppera.mf @@ -0,0 +1,200 @@ +% This is UPPERA.MF +% Version 1.0b +% Date 17-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de +% Contents: +% +% The following characters are generated without condition: +% +% A +% +% And the following on demand, i. e. if their code is known: +% +% A_grave, A_acute, A_hat, A_umlaut, A_tilde, AE_lig (\AE) +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6); endchar; + +iff known A_umlaut: +cmchar "Capital letter A with trema"; +beginchar(A_umlaut,13u#,cap_height#+comma_depth#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=good.x(.5w-1.75u); top y2r=h+1; +if bot y2l<cap_height+o+slab: y2l:=min(y2r-eps,cap_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=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known A_tilde: +cmchar "Capital letter A with tilde"; +beginchar(A_tilde,13u#,cap_height#+comma_depth#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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=hround(1/5w);rt x4l=hround(4/5w); top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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=hround(1/4w);rt x5l=hround(3/4w); x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +iff known A_acute: +cmchar "Capital letter A with acute"; +beginchar(A_acute,13u#,cap_height#+comma_depth#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w+3u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known A_grave: +cmchar "Capital letter A with gravis"; +beginchar(A_grave,13u#,cap_height#+comma_depth#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w-3u); rt x2r=hround(.5w+.25u+.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known A_hat: +cmchar "Capital letter A with circumflex"; +beginchar(A_hat,13u#,cap_height#+comma_depth#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[cap_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,cap_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +savedpicture:=nullpicture; + +iff known AE_lig: +cmchar "The ligature AE"; +beginchar(AE_lig,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; + + endinput; diff --git a/fonts/jknappen/fc/src/upperbcd.mf b/fonts/jknappen/fc/src/upperbcd.mf new file mode 100644 index 0000000000..6d2fdd24ad --- /dev/null +++ b/fonts/jknappen/fc/src/upperbcd.mf @@ -0,0 +1,284 @@ +% This is UPPERBCD.MF +% Version 1.1a +% Date 13-MAR-1992 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% B, C, D +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_B, cyr_B (variant of hooktop_B), C_cedilla, hooktop_C, hooktop_D, +% Edh (crossed D, also uppercase of long_d), hooktop_Edh (proposed capital Edh +% for african use) +% +% Higher versions of this file might include more characters. + +cmchar "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; + +iff known hooktop_B: +cmchar "Capital letter lefthook B"; % jk, based on cm +beginchar(hooktop_B,12.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(4u#,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 +left_hook(1,1',21,22,23,24); %left hook +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10,11,12,21,22,23,24); endchar; + +iff known cyr_B: +cmchar "Capital cyrillic letter BE"; % from cmcyr +beginchar(cyr_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 +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=.5[x1,w-1.5]+.25u; x7r=hround(w-u); x8l:=x8l-.5u; +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-1.5u]+.5u; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-2.5u]+.5u; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-1.5u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,.7beak_jut); % upper 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(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x4; +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); endchar; + +iff known C_cedilla: +cmchar"Capital letter C with cedilla"; +beginchar(C_cedilla,13u#,cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-.5u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +x1=savedpoint; +if serifs: pickup crisp.nib; pos1(stem,0); pos2(stem,0); + pos3(vair,90); pos4(stem,0); pos5(vair,-90); + x1=x2; z3l=z2l; x4=x2+1.5u; x5=x3-1.5u; + bot y1=-o; bot y2=-vround 2/7d-o; y4=.5[y3,y5]; bot y5=-d-o; + filldraw stroke z1e--z2e; % stem + filldraw stroke z3e{right}...z4e{down}...{left}z5e; % hook +else: pickup fine.nib; pos1(vair,0); top y1=-o-2; + pos2(.5[vair,stem],0); bot y2=-d-o; x2=x1-1.25u; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2,3,4,5); endchar; + +iff known hooktop_C: +cmchar"Capital letter hooktop C"; +beginchar(hooktop_C,13u#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +currentpicture:=savedpicture; +%if serifs: +pickup tiny.nib; +pos0(cap_stem,180); pos1(cap_stem,180); pos2(cap_band,90); +pos3(cap_hair,0); pos4(flare,0); +x0=x1=savedpoint; y1=.5[h,cap_height]; y0=cap_height; +x2=.4[x1,x3]; top y2r=h+oo; +rt x3r= if serifs: hround(w-.7u) else: hround(w-1.1u) fi; +y4=.35[h,cap_height]; +filldraw z2r{left}...{down}z1r--z0r--z0l--z1l{up}...{right}z2l--cycle; +bulb(2,3,4); +%else: +%fi +penlabels(0,1,2,3,4); endchar; + +numeric savedpoint; +savedpicture:=nullpicture; + +cmchar "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; + +iff known hooktop_D: +cmchar "Capital letter hooktop D"; % jk, based on cm +beginchar(hooktop_D,13.5u#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(4u#,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 +left_hook(1,1',21,22,23,24); % left hook +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,21,22,23,24); endchar; + +iff known Edh: +cmchar"Capital letter crossed D"; % Capital of icelandic edh, kroatian dje and + % ewe d with tail +% cmchar "Capital Eth"; % from im +beginchar(Edh,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 +%pickup crisp.nib ; % now the edh bar % changed +%pos8(cap_band,90) ; pos9(cap_band,90) ; +%top y8r = vround(.52h + .5cap_band) ; y9 = y8 ; +%lft x8 = 0 ; x1 - x8 = x9 - x1 ; +%filldraw stroke z8e --- z9e ; +pickup crisp.nib; y9-.5bar=.2[bar_height,x_height]; +y10+.5bar=.8[bar_height,x_height]; lft x9=0; x1-x9=x10-x1; +numeric theta; theta=angle(z10-z9)+90; pos9(bar,theta); pos10(bar,theta); +filldraw stroke z9e--z10e; % cross piece (from "Cross for polish l and L") +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7,9,10); endchar; + +iff known hooktop_Edh: +cmchar"Capital letter hooktop_Edh"; % jk, based on im +beginchar(hooktop_Edh,13.5u#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(4u#,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 +pickup crisp.nib; y9-.5bar=.2[bar_height,x_height]; +y10+.5bar=.8[bar_height,x_height]; lft x9=0; x1-x9=x10-x1; +numeric theta; theta=angle(z10-z9)+90; pos9(bar,theta); pos10(bar,theta); +filldraw stroke z9e--z10e; % cross piece (from "Cross for polish l and L") +left_hook(1,1',21,22,23,24); % left hook +math_fit(0,ic#-.5u#); penlabels(1,2,3,4,5,6,7,9,10,21,22,23,24); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/uppere.mf b/fonts/jknappen/fc/src/uppere.mf new file mode 100644 index 0000000000..4a2e8c2d3d --- /dev/null +++ b/fonts/jknappen/fc/src/uppere.mf @@ -0,0 +1,383 @@ +% This is UPPERE.MF +% Version 1.0b +% Date 17-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% E +% +% And the following on demand, i. e. if their code is known: +% +% E_grave, E_acute, E_hat, E_hachek, E_dot, E_dotu, E_bar, E_uline, +% E_umlaut, E_tilde, open_E, open_E_tilde, inversed_E, var_inv_E (variant +% inversed E, looking like the lowercase one) +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +iff known E_dot: +cmchar "Capital letter E with dot"; +beginchar(E_dot,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-cap_height-o<slab: + y99l:=min(y99r-eps,cap_height+o+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known E_tilde: +cmchar "Capital letter E with tilde"; +beginchar(E_tilde,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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=hround(1/5w);rt x4l=hround(4/5w); top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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=hround(1/5w);rt x5l=hround(4/5w); x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +iff known E_grave: +cmchar "Capital letter E with gravis"; +beginchar(E_grave,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w-3u); rt x2r=hround(.5w+.25u+.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known E_acute: +cmchar "Capital letter E with acute"; +beginchar(E_acute,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w+3u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known E_hat: +cmchar "Capital letter E with circumflex"; +beginchar(E_hat,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[cap_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,cap_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known E_hachek: +cmchar "Capital letter E with hachek"; +beginchar(E_hachek,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +currentpicture:=savedpicture; +h':=vround(cap_height+comma_depth); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); + top y1=top y3=h; y1-y2=.5(y2'-cap_height); + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); bot y2=vround(1/12[cap_height,h']+o); x2=.5w; + top y1=top y3=h+o; lft x1l=hround(rt x2r-3.25u-.5vair); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known E_bar: +cmchar "Capital letter E with macron"; +beginchar(E_bar,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +top y91r=top y92r=h+o; +if serifs: lft x91=w-rt x92=hround 2u; else: rt x92=hround(w-2u); +lft x91=hround 3u; fi +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + + +iff known E_umlaut: +cmchar "Capital letter E with trema"; +beginchar(E_umlaut,12u#-width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric dot_diam; +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=good.x(.5w-1.75u); top y2r=h+1; +if bot y2l<cap_height+o+slab: y2l:=min(y2r-eps,cap_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=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known E_dotu: +cmchar "Capital letter E with dot below"; +beginchar(E_dotu,12u#-width_adj#,cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +iff known E_uline: +cmchar "Capital letter E with bar below"; +beginchar(E_uline,12u#-width_adj#,cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; +if serifs: lft x91=w-rt x92=hround 2u; else: rt x92=hround(w-2u); +lft x91=hround 3u; fi +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +savedpicture:=nullpicture; + + +iff known open_E: +cmchar "Capital letter open E"; % from cmcyr +if serifs: beginchar(open_E,11u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); slantswitch; % mirror will reswitch the slant + pickup fine.nib; pos1(cap_hair,180); pos2(cap_band,90); + pos4(cap_band,-90); lft x1r=hround(u); top y2r=h+o; + bot y1=min(vround max(.6h,x_height-.5vair),bot y2l-eps); + pos3(max(fine.breadth,.6[curve,cap_curve]-stem_corr),0); + pos7(vair,-90); pos8(vair,-90); + pos9(max(fine.breadth,vround 2/3vair),90); pos10(cap_curve,0); + rt x3r=hround(w-1.25u); x2=x9=.45[2.5u,x10]; x4=.45[x1,x10]; + rt x10r=hround(w-.75u); lft x8=hround 5u; + y3=.35[top y7l,bot y2l]; y10=.45[bot y9l,top y4l]; + top y8l=vround(.54h+.5vair); y8r=y9l; + x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); + pos5'(cap_hair,-180); pos5(flare+(cap_stem-stem),-180); + bot y4r=-o; rt x5l=hround 2.75u; z5r=z5'r; + y5=max(good.y .95(h-y1),y4l+eps); + (x2l',y2l)=whatever[z2r,z1l]; x2l:=max(x2l',x2l-.5u); + (x4l',y4l)=whatever[z4r,z5l]; x4l:=max(x4l',x4l-.5u); + filldraw stroke z1e{x2-x1,10(y2-y1)} + ... pulled_super_arc.e(2,3)(.5superpull) + & z3e{down}...z7e---z8e; % upper bowl + filldraw z8r--z9l--z9r--z8l---cycle; % middle tip + filldraw stroke pulled_super_arc.e(9,10)(.5superpull) + & pulled_super_arc.e(10,4)(.5superpull)...{up}z5'e; % lower bowl +%changed to have no bulb jk +% bulb(4,5',5); % bulb + pos6(.3[fine.breadth,cap_hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=2cap_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x1-x2,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: beginchar(open_E,9.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); slantswitch; % mirror will reswitch the slant + pickup fine.nib; pos1(1.2flare,100); pos2(slab,90); + pos3(cap_curve,0); pos4(slab,-90); pos5(flare,-95); + rt x1r=hround(1.1u); x2=x9=.5w; x4=.45[x1,x10]; + rt x3r=hround w-max(u,2u-.5cap_curve); rt x5r=hround(.9u); + top y1r=vround .9h+o; top y2r=h+o; y3=.35[top y7l,bot y2l]; + bot y4r=-o; bot y5r=vround .15h-o; y5l:=good.y y5l; x5l:=good.x x5l; + pos7(vair,-90); pos8(vair,-90); + pos9(max(fine.breadth,vround 2/3vair),90); pos10(cap_curve,0); + rt x10r=hround(w-.75u); lft x8=min(hround 5u,lft x9)-eps; + y10=.45[bot y9l,top y4l]; top y8l=vround(.54h+.5vair); y8r=y9l; + x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); + filldraw stroke rterm.e(2,1,left,.9,4) & super_arc.e(2,3) + & pulled_super_arc.e(3,8)(.5superpull); % upper bowl + filldraw stroke pulled_super_arc.e(9,10)(.5superpull) + & super_arc.e(10,4) & term.e(4,5,left,.8,4); fi % lower bowl +mirror(.5w); % and reverse the cyrillic Z +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6,7,8,9,10); endchar; + +iff known open_E_tilde: +cmchar "Capital letter open E with tilde"; % from cmcyr +if serifs: beginchar(open_E_tilde,11u#,cap_height#+comma_depth#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); +else: beginchar(open_E_tilde,9.5u#,cap_height#+comma_depth#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); +fi +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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=hround(1/6w);rt x4l=hround(5/6w); top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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=hround(1/6w);rt x5l=hround(5/6w); x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +savedpicture:=nullpicture; + +iff known reversed_E: +cmchar "Capital letter reversed E"; % from cm +beginchar(reversed_E,12u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); slantswitch; % mirror will reswitch the slant +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 +mirror(.5w); % reversion +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +iff known var_inv_E: +cmchar "The Bashkirian letter flipped e"; % jk, first made for Bashkir +beginchar(var_inv_E,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 %now we have an O +y9r-y9l=y10r-y10l=cap_band; x9r=x9l=x2; x10r=x10l=x4; y9r=y10r=top y2; +penstroke z9e--z10e; % bar +bot y6=bot y7=top y9r; top y5=top y8=min(.675h,bot y1l-eps); +lft x6=lft x5=0; rt x7=rt x8=.5w; +unfill z5--z6--z7--z8--cycle; cullit; % erase extra arc +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); penlabels(1,2,3,4); +endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/upperfgh.mf b/fonts/jknappen/fc/src/upperfgh.mf new file mode 100644 index 0000000000..4c30b7915f --- /dev/null +++ b/fonts/jknappen/fc/src/upperfgh.mf @@ -0,0 +1,258 @@ +% This is UPPERFGH.MF +% Version 1.0a +% Date 8-SEP-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% F, G, H +% +% And the following on demand, i. e. if their code is known: +% +% long_F, G_dot, ipa_Gamma, crossed_H +% +% Higher versions of this file might include more characters. + +cmchar "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; + + +iff known long_F: +cmchar "Capital letter long F"; % jk, based on cm F and J +beginchar(long_F,14.5u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h:=vround(h-stem_corr); +jw:=9u; pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +top y1=h; rt x1r=hround(jw-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 + 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 +pickup tiny.nib; pos11(cap_stem,0); pos12(cap_stem,0); +rt x11r=rt x12r=rt x1r; top y11=h; bot y12=0; +pickup crisp.nib; pos13(slab,90); pos14(hair,0); +top y13r=h; x13=x11; rt x14r=hround(w-.75u); y14=good.y(y13l-beak)-eps; +arm(13,14,e,beak_darkness,beak_jut); % upper arm and beak +pos15(cap_bar,-90); pos16(hair,0); +top y15l=vround(.5[y12,y11]+.5cap_bar); x15=x11; +pos10(cap_bar,90); pos17(hair,0); +z10=z15; x16=x17; y16-y15l=y10l-y17; +if serifs: rt x16r=hround(w-4u+.5hair); y16=good.y(y15l+.6beak)+eps; + rt x19r=hround(w-.5u); +else: rt x16r=hround(w-1.5u); y16=y15l+eps; rt x19r=hround(w-.75u); fi +arm(15,16,f,beak_darkness,0); arm(10,17,g,beak_darkness,0);%middle arm and serif +if serifs: nodish_serif(11,12,a,1/3,cap_jut,b,1/3,.5cap_jut);fi% upper serif +math_fit(0,ic#-2.5u#); penlabels(1,2,3,4,5,10,11,12,13,14,15,16,17,18,19); + endchar; + +cmchar "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 + savedpoint:=.5w; + 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#); + savedpoint:=x2; fi +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,1',2,3,4,5,6,7,8,9); endchar; + +iff known G_dot: +cmchar "Capital letter G with dot"; +if serifs: beginchar(G_dot,14u#,asc_height#+comma_depth#,0); + italcorr cap_height#*slant-1.5u#-.5cap_serif_fit#; + adjust_fit(0,.5cap_serif_fit#); +else: beginchar(G_dot,12u#,asc_height#+comma_depth#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); +fi +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(savedpoint); top y99r=h+1; +if bot y99l-cap_height-o<slab: + y99l:=min(y99r-eps,cap_height+o+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +savedpicture:=nullpicture; +numeric savedpoint; + +iff known ipa_Gamma: +cmchar "Capital letter IPA Gamma"; % jk, based on cm X +beginchar(ipa_Gamma,if serifs:13u# else: 11.5u# fi,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=-d; +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); +penpos5(alpha2*stem2,0); penpos6(alpha1*stem1,0); +penpos5'(alpha2*stem2,-180); penpos10(cap_band,-90); +z5=whatever[z3,z2]; z6=whatever[z1,z4]; x5=.25[x3,x4]; y6=y5; z5'=z5; +x10=.5[x5,x6]; bot y10=-d-o; +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',5l,1,.5,5r,34')--z34' + --diag_end(34',6l,.5,1,6r,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,6l,.5,1,6r,1r)--cycle; % left diagonal + fill diag_end(2l,5l,.5,1,5r,2r) + --diag_end(3r,2r,.5,1,2l,3l)--cycle; fi % right diagonal +filldraw stroke z6e{z4-z1}...z10e...{z2-z3}z5'e; % bowl +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 +fi +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,19,12,13,24,34); endchar; + +cmchar "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; + +iff known crossed_H: +cmchar "Capital letter crossed H"; % jk, using cm H +beginchar(crossed_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); penpos7(cap_bar,90); + penpos8(cap_bar,90); +compute_spread(.45x_height#,.55x_height#); +x5=x1; x6=x3; y5=y6=.52h+.45spread; +fill stroke z5e--z6e; % upper bar +x7=x1; x8=x3; y7=y8=.52h-.45spread; +fill stroke z7e--z8e; % lower 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; + +endinput; diff --git a/fonts/jknappen/fc/src/upperij.mf b/fonts/jknappen/fc/src/upperij.mf new file mode 100644 index 0000000000..138270e678 --- /dev/null +++ b/fonts/jknappen/fc/src/upperij.mf @@ -0,0 +1,148 @@ +% This is UPPERIJ.MF +% Version 1.0b +% Date 8-APR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% I, J +% +% And the following on demand, i. e. if their code is known: +% +% I_dotu, I_tilde, I_umlaut, latin_Iota +% +% Higher versions of this file might include more characters. + +cmchar "The letter I"; % cm +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: % Condition changed to make sstt font + 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 +picture savedpicture; +savedpicture:=currentpicture; +savedpoint:=x1; +math_fit(0,.5ic#); penlabels(1,2); endchar; + +iff known I_umlaut: +cmchar "Capital letter I with trema"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(I_umlaut,max(6u#,4u#+cap_stem#),cap_height#+comma_depth#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +pos3(dot_diam,0); penpos4(y2r-y2l,90); +if not monospace: x1=x2=w-x3=w-x4=good.x(.5w-1.75u); +else: x1=x2=w-x3=w-x4=good.x(.5w-u); fi +top y2r=h+1; y3=y4=y1; +if bot y2l<cap_height+o+slab: y2l:=min(y2r-eps,cap_height+o+slab+.5tiny); fi +y1=.5[y2l,y2r]; dot(1,2); % left dot +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known I_tilde: +cmchar "Capital letter I with tilde"; +beginchar(I_tilde,max(6u#,4u#+cap_stem#),cap_height#+comma_depth#,0); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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; + if not monospace: lft x1r=hround 0;rt x4l=hround w; + else: lft x1r=w-rt x4l=hround u; fi + top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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); + if not monospace: lft x1r=0;rt x5l=w; else: lft x1r=w-rt x5l=u; fi + x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +iff known I_dotu: +cmchar "Capital letter I with dot below"; +beginchar(I_dotu,max(6u#,4u#+cap_stem#),cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(savedpoint); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +numeric savedpoint; +savedpicture:=nullpicture; + +iff known latin_Iota: +cmchar "Capital letter latin Iota"; % from cm J +beginchar(latin_Iota,9u#,cap_height#,0); +adjust_fit(0,cap_serif_fit#); +slantswitch; % mirror will reswitch the slant +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 +mirror(.5w); +math_fit(0,.5ic#-.5u#); penlabels(1,2,3,4,5); endchar; + +cmchar "The letter J"; % cm +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; + + endinput; diff --git a/fonts/jknappen/fc/src/upperklm.mf b/fonts/jknappen/fc/src/upperklm.mf new file mode 100644 index 0000000000..efd4a69260 --- /dev/null +++ b/fonts/jknappen/fc/src/upperklm.mf @@ -0,0 +1,198 @@ +% This is UPPERKLM.MF +% Version 1.0b +% Date 8-APR-1991 +% +% (c) 1991 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% K, L, M +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_K, M_acute +% +% Higher versions of this file might include more characters. + +cmchar "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; + +iff known hooktop_K: +cmchar "Capital letter hooktop K"; +beginchar(hooktop_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-4u); +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; +y7''$=.79h; y6'$=0; +z4$=z7''$+whatever*(z3-z4); +z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; endfor +z5=.5[z5l,z5r]; z7=whatever[z3,z4]; y7=h-.21h; penpos7(alpha1*(stem1-tiny),0); +z7''r=z7r+penoffset z7-z4 of currentpen+whatever*(z7-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,7''r,1,.5,7''l,4l)--z4l--cycle; % part of upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % lower diagonal +if serifs: + pickup tiny.nib; + z7'=z7; penpos7'(alpha*(stem1-tiny),180); + pickup fine.nib; + pos8(cap_band,90); pos9(cap_hair,0); + pos10(flare+(cap_stem-stem),0); + top y8=h+o; x8=.5[x3,x9]; y10=5/6h; rt x10r=hround(w-.5u); + z9r=z10r; + filldraw z7r{z3-z4}...z8l--z8r...{z4-z3}z7l--cycle; % link + bulb(8,9,10); % bulb + pickup tiny.nib; + numeric inner_jut; + if rt x2r+cap_jut+.5u+1<=lft x6l-cap_jut: inner_jut=cap_jut; + else: rt x2r+cap_jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper stem serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower stem serif + dish_serif(6,5,g,1/2,inner_jut,h,1/3,right_jut)(dark); % lower diagonal serif +else: +% pickup fine.nib; + pos8(alpha1*(stem1-tiny),0); z8=z7; + pos9(flare,angle(6.5u,-h)); pos10(flare,-100); + top y9l=h+o; x9l=.5[x8l,x10l]; rt x10l=hround(w-.5u); + top y10l=vround.94h+o; + filldraw stroke z7e{z3-z4}....term.e(9,10,right,1,10); +fi +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "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; + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(0,1,1',2,3,3',4,5,6,7,8); endchar; + +iff known M_acute: +cmchar "Capital letter M with acute"; +beginchar(M_acute,16u#+width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w+3u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +savedpicture:=nullpicture; + + endinput; diff --git a/fonts/jknappen/fc/src/uppern.mf b/fonts/jknappen/fc/src/uppern.mf new file mode 100644 index 0000000000..dd5f652ba3 --- /dev/null +++ b/fonts/jknappen/fc/src/uppern.mf @@ -0,0 +1,251 @@ +% This is UPPERN.MF +% Version 1.0b +% Date 17-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% N +% +% And the following on demand, i. e. if their code is known: +% +% N_acute, N_tilde, N_uline, N_dot, Enj, var_Enj, Eng, var_Eng +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(0,max(.5ic#-.5u#,0)); penlabels(1,1',2,3,4,4',5,6,7); endchar; + +iff known N_dot: +cmchar "Capital letter N with dot"; +beginchar(N_dot,13u#+width_adj#,cap_height#+comma_depth#,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 dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-cap_height-o<slab: + y99l:=min(y99r-eps,cap_height+o+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known N_acute: +cmchar "Capital letter N with acute"; +beginchar(N_acute,13u#+width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w+3u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known N_tilde: +cmchar "Capital letter N with tilde"; +beginchar(N_tilde,13u#+width_adj#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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=hround(1/5w);rt x4l=hround(4/5w); top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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=hround(1/4w);rt x5l=hround(3/4w); x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +iff known N_uline: +cmchar "Capital letter N with bar below"; +beginchar(N_uline,13u#+width_adj#,cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=w-rt x92=hround 2u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +savedpicture:=nullpicture; + +iff known var_Enj: +cmchar "Capital letter variant ENJ"; % jk +beginchar(var_Enj,14u#,cap_height#,0); +italcorr cap_height#*slant-serif_fit#+.5stem#-2u#; +adjust_fit (0,serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +top y1=h; rt x1r=hround(7u); 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 + bulb(3,4,5); % bulb + dish_serif(1,2,a,1/3,cap_jut,b,1/3,0); % upper serif +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 % J +pos7(cap_stem,-180);pos8(cap_stem,-180); pos9(cap_band,-90); +pos10(min(cap_hair,cap_stem'),0); +rt x10=rt x2; rt x7=rt x8=hround w-u; x9=.5[x2,x7]; +y10=y8=2/3h; bot y7=0; top y9=h+o; +filldraw stroke z10e{up}...z9e...{down}z8e--z7e; % arc and second stem + if serifs: dish_serif(7,1,c,1/3,1.3cap_jut,d,1/3,1.3cap_jut);fi %lower serif +penlabels(1,2,3,4,5,7,8,9,10); endchar; + +iff known Enj: +cmchar "Capital letter ENJ"; % jk, based on cm N and J +beginchar(Enj,13u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(3u#,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 y4=0; +y2=.21h; +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(3,4,e,1/2,cap_jut,f,1/2,cap_jut)(dark); fi % upper right serif +if serifs: + pos13(vair,-90);pos14(cap_hair,-180); + pos15(flare+(cap_stem-stem),-180); + bot y13=-o; x13=.5[x14,x2]; y15=1/6h; rt x15l=hround -.25u; z15r=z14r; + filldraw stroke super_arc.e(2,13); bulb(13,14,15); % arc and bulb +else: + pickup fine.nib; pos13(thin_stem,0); z13=z2; + pos14(flare,angle(6.5u,-h)); pos15(1.1flare,-100); + bot y14r=-o; x14r=.5[x15r,x13r]; lft x15r=hround-2.25u; bot y15r=vround.06h-o; + filldraw stroke z13e{down}....term.e(14,15,left,1,14); %arc and terminal +fi +math_fit(3u#,max(.5ic#-.5u#,0)); penlabels(1,1',2,3,4,4',5,6,7); endchar; + +iff known Eng: +cmchar"Capital letter ENG"; % jk +beginchar(Eng,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; + +iff known var_Eng: +cmchar"Capital letter variant ENG"; % jk +beginchar(var_Eng,13u#,cap_height#,0); % should be approx square +adjust_fit(0,0); +lft x1=lft x2=w-rt x3=w-rt x4=.75u; +top y1=top y4=h; bot y2=bot y3=0; +penpos1(stem,0); +fill z1--z2--z3--z4--cycle; % square +lft x5=lft x6=lft x1+cap_stem; rt x7=rt x8=rt x4-cap_stem; +bot y6=bot y7=bot y3+cap_band; top y5=top y8=top y1-cap_band; +unfill z5--z6--z7--z8--cycle;% counter +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8); endchar; + +endinput; diff --git a/fonts/jknappen/fc/src/uppero.mf b/fonts/jknappen/fc/src/uppero.mf new file mode 100644 index 0000000000..e94e480f00 --- /dev/null +++ b/fonts/jknappen/fc/src/uppero.mf @@ -0,0 +1,354 @@ +% This is UPPERO.MF +% Version 1.0b +% Date 17-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% O +% +% And the following on demand, i. e. if their code is known: +% +% O_grave, O_acute, O_hat, O_hachek, O_bar, O_uline, O_dot, O_dotu +% O_umlaut, O_tilde, open_O, open_O_tilde, OE_lig (\OE), crossed_O (\O) +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); penlabels(1,2,3,4); endchar; + +iff known O_umlaut: +cmchar "Capital letter O with trema"; +beginchar(O_umlaut,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +numeric dot_diam; +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +currentpicture:=savedpicture; +pickup tiny.nib; pos1(dot_diam,0); pos2(dot_diam,90); +x1=x2=good.x(.5w-1.75u); top y2r=h+1; +if bot y2l<cap_height+o+slab: y2l:=min(y2r-eps,cap_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=good.x(.5w+1.75u); +dot(3,4); % right dot +penlabels(1,2,3,4); endchar; + +iff known O_dot: +cmchar "Capital letter O with dot"; +beginchar(O_dot,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); top y99r=h+1; +if bot y99l-cap_height-o<slab: + y99l:=min(y99r-eps,cap_height+o+tiny+slab);fi +y88=.5[y99l,y99r]; dot(88,99); % dot +penlabels(88,99);endchar; + +iff known O_tilde: +cmchar "Capital letter O with tilde"; +beginchar(O_tilde,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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=hround(1/5w);rt x4l=hround(4/5w); top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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=hround(1/5w);rt x5l=hround(4/5w); x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +iff known O_acute: +cmchar "Capital letter O with acute"; +beginchar(O_acute,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w+3u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known O_grave: +cmchar "Capital letter O with gravis"; +beginchar(O_grave,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w-3u); rt x2r=hround(.5w+.25u+.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known O_bar: +cmchar "Capital letter O with macron"; +beginchar(O_bar,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +top y91r=top y92r=h+o; lft x91=w-rt x92=hround 3u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +iff known O_hat: +cmchar "Capital letter O with circumflex"; +beginchar(O_hat,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[cap_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,cap_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known O_hachek: +cmchar "Capital letter O with hachek"; +beginchar(O_hachek,14u#-width_adj#,cap_height#+comma_depth#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +h':=vround(cap_height+comma_depth); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); + top y1=top y3=h; y1-y2=.5(y2'-cap_height); + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); bot y2=vround(1/12[cap_height,h']+o); x2=.5w; + top y1=top y3=h+o; lft x1l=hround(rt x2r-3.25u-.5vair); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known O_dotu: +cmchar "Capital letter O with dot below"; +beginchar(O_dotu,14u#-width_adj#,cap_height#,0.875desc_depth#); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +iff known O_uline: +cmchar "Capital letter O with bar below"; +beginchar(O_uline,14u#-width_adj#,cap_height#,0.875desc_depth#); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +numeric macron_breadth; macron_breadth:=Vround .2[vair,stem]; +pickup if serifs: crisp.nib else: fine.nib fi; +pos91(macron_breadth,90); pos92(macron_breadth,90); +bot y91l=bot y92l=-d-o; lft x91=w-rt x92=hround 3u; +filldraw stroke z91e--z92e; % bar +penlabels(91,92); endchar; + +savedpicture:=nullpicture; + +iff known OE_lig: +cmchar "The ligature OE"; +beginchar(OE_lig,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; + +iff known crossed_O: +cmchar "Scandinavian letter O/slash"; +beginchar(crossed_O,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; + + +iff known open_O: +cmchar "Capital letter OPEN O"; % from cm +if serifs: beginchar(open_O,13u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); slantswitch; % mirror will reswitch the slant + 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(open_O,11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); slantswitch; % mirror will reswitch the slant + 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 +mirror(.5w); % reverse it +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); endchar; + +iff known open_O_tilde: +cmchar "Capital letter OPEN O with tilde"; % from cm +if serifs: beginchar(open_O_tilde,13u#,cap_height#+comma_depth#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); +else: beginchar(open_O_tilde,11.5u#,cap_height#+comma_depth#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); +fi +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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=hround(1/6w);rt x4l=hround(5/6w); top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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=hround(1/6w);rt x5l=hround(5/6w); x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +savedpicture:=nullpicture; + +endinput; diff --git a/fonts/jknappen/fc/src/upperpqr.mf b/fonts/jknappen/fc/src/upperpqr.mf new file mode 100644 index 0000000000..8bd2a303e6 --- /dev/null +++ b/fonts/jknappen/fc/src/upperpqr.mf @@ -0,0 +1,130 @@ +% This is UPPERPQR.MF +% Version 1.1a +% Date 13-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% P, Q, R +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_P +% +% Higher versions of this file might include more characters. + +cmchar "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; + +iff known hooktop_P: +cmchar "Capital letter hooktop_P"; % jk, based on cm +beginchar(hooktop_P,12u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(4u#,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 crisp.nib; +left_hook(1,1',21,22,23,24); % left hook +math_fit(0,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7,21,22,23,24); endchar; + +cmchar "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); endchar; + +cmchar "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; + +endinput; diff --git a/fonts/jknappen/fc/src/upperst.mf b/fonts/jknappen/fc/src/upperst.mf new file mode 100644 index 0000000000..ed616e663b --- /dev/null +++ b/fonts/jknappen/fc/src/upperst.mf @@ -0,0 +1,271 @@ +% This is UPPERST.MF +% Version 1.1a +% Date 13-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% S, T +% +% And the following on demand, i. e. if their code is known: +% +% S_hachek, S_dotu, Esh, var_Esh, long_T, sami_T (crossed T), Thorn, +% hooktop_T +% +% Higher versions of this file might include more characters. +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(0,.5ic#); penlabels(0,1,1',2,3,4,5,6,7,8,8',9,10); endchar; + +iff known S_dotu: +cmchar "Capital letter S with dot below"; +beginchar(S_dotu,10u#,cap_height#,0.875desc_depth#); +italcorr cap_height#*slant-u#; +adjust_fit(0,0); +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +iff known S_hachek: +cmchar "Capital letter S with hachek"; +beginchar(S_hachek,10u#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant-u#; +adjust_fit(0,0); +currentpicture:=savedpicture; +h':=vround(cap_height+comma_depth); % height of circumflex being inverted +if serifs: pickup crisp.nib; pos2'(.5[vair,curve],90); top y2'r=h; + pos2(.5[vair,curve],90); x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); + top y1=top y3=h; y1-y2=.5(y2'-cap_height); + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); bot y2=vround(1/12[cap_height,h']+o); x2=.5w; + top y1=top y3=h+o; lft x1l=hround(rt x2r-3.25u-.5vair); + rt x3r=hround(lft x2l+3.25u+.5vair); + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x(.2[x2l,x2]); x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +savedpicture:=nullpicture; + +iff known Esh: +cmchar "Capital letter ESH"; % jk +beginchar(Esh,3u#+max(1.5u#,cap_stem#)+max(3.5u#,2flare#), + cap_height#,0); +italcorr asc_height#*slant+.75u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +pos0(flare+(cap_stem-stem),0); pos1(cap_hair,0); pos2(cap_band,90); +pos4(cap_stem,180); +pos5(cap_stem,0); +pos7(cap_band,-90); pos8(cap_hair,-180); pos9(flare+(cap_stem-stem),-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=.75[-d,y4]; +x4=x5=.5w; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...{down}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{down}...{left}z7e; % lower arc +penlabels(0,1,2,4,5,7,8,9); endchar; + + +iff known var_Esh: +cmchar "Capital letter variant ESH"; % jk +beginchar(var_Esh,3u#+max(1.5u#,cap_stem#)+max(3.5u#,2flare#), + cap_height#,desc_depth#); +italcorr asc_height#*slant+.75u#; +adjust_fit(if monospace:u#,u# else: 0,0 fi); pickup fine.nib; +pos0(flare+(cap_stem-stem),0); pos1(cap_hair,0); pos2(cap_band,90); +pos4(cap_stem,180); +pos5(cap_stem,0); +pos7(cap_band,-90); pos8(cap_hair,-180); pos9(flare+(cap_stem-stem),-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=.75[-d,y4]; +x4=x5=.5w; +bulb(2,1,0); bulb(7,8,9); % bulbs +filldraw stroke z2e{left}...{down}z4e; % upper arc +filldraw z4r--z5l--z5r--z4l--cycle; % stem +filldraw stroke z5e{down}...{left}z7e; % lower arc +penlabels(0,1,2,4,5,7,8,9); endchar; + +cmchar "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; + +iff known Thorn: +%cmchar "Icelandic big thorn"; % from im +cmchar"Capital letter THORN"; +beginchar(Thorn,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); + x3=x1; + y3r=vround .8h; + y4=y3; + y5=.5[y4,y6]; + y6=y7; + x7=x2; + y7l=vround .3h; + 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: 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,ic#-2.5u#); penlabels(0,1,2,3,4,5,6,7); endchar; + +iff known sami_T: +cmchar "Capital letter crossed T"; % based on cm +beginchar(sami_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 +pickup crisp.nib; y7-.5bar=.2[bar_height,x_height]; +y8+.5bar=.8[bar_height,x_height]; x7=.5w-2.5u; x8=.5w+2.5u; +numeric theta; theta=angle(z8-z7)+90; pos7(bar,theta); pos8(bar,theta); +filldraw stroke z7e--z8e; % cross piece (from "Cross for polish l and L") +math_fit(-.75cap_height#*slant,ic#-2.5u#); penlabels(1,2,3,4,5,6,7,8); endchar; + +iff known long_T: +cmchar "The letter long T"; % jk +beginchar(long_T,13u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#; +adjust_fit(0,0); +h:=vround(h-2stem_corr); +slantswitch; % mirror will reswitch slant +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround(.5w-.5cap_stem); top y1=h; y2=.21h; +filldraw stroke z1e--z2e; % stem +if serifs: + pos13(vair,-90); pos14(cap_hair,-180); pos15(flare+(cap_stem-stem),-180); + bot y13r=-o; x13=.5[x14,x2]; + y15=1/6h; rt x15l=2.75u; z15r=z14r; + filldraw stroke super_arc.e(2,13); % arc + bulb(13,14,15); % bulb +else: + pickup fine.nib; pos13(cap_stem',0); z13=z2; pos14(flare, angle(6.5u,-h)); + pos15(1.1flare,-100); + bot y14r=-o; x14r=.5[x13r,x15r]; lft x15r=hround .75u; bot y15r=vround .06h-o; + filldraw stroke z13e{down}...term.e(14,15,left,1,4); % arc & terminal +fi +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: + nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,.5cap_jut); fi % upper bracketing +mirror(.5w); +math_fit(-.75cap_height#*slant,ic#-2.5u#); penlabels(1,2,3,4,5,6,13,14,15); +endchar; + +iff known hooktop_T: +cmchar "Capital letter hooktop T"; % jk, based on cm Gamma +beginchar(hooktop_T,9u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.25u#; +adjust_fit(4u#,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); % arm and beak +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 +pickup crisp.nib; +left_hook(1,1',21,22,23,24); % left hook +math_fit(0,ic#-2.5u#); penlabels(1,2,3,4,21,22,23,24); endchar; + + +endinput; diff --git a/fonts/jknappen/fc/src/upperuvw.mf b/fonts/jknappen/fc/src/upperuvw.mf new file mode 100644 index 0000000000..8b4f5aae19 --- /dev/null +++ b/fonts/jknappen/fc/src/upperuvw.mf @@ -0,0 +1,295 @@ +% This is UPPERUVW.MF +% Version 1.1b +% Date 21-MAR-1992 +% +% (c) 1991, 1992 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% J"org Knappen +% Institut f"ur Kernphysik +% Postfach 39 80 +% D-W 6500 Mainz +% knappen@vkpmzd.kph.uni-mainz.de + +% Contents: +% +% The following characters are generated without condition: +% +% U, V, W +% +% And the following on demand, i. e. if their code is known: +% +% U_grave, U_acute, U_hat, U_tilde, U_dotu, var_U (round V), war_U (variant +% round V), W_breve +% +% Higher versions of this file might include more characters. + +cmchar "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 +picture savedpicture; +savedpicture:=currentpicture; +math_fit(-cap_serif_fit#-.3cap_height#*slant-min(cap_height#*slant,u#), + max(.5ic#-.5u#,0)); penlabels(1,2,3,4,5); endchar; + +iff known U_tilde: +cmchar "Capital letter U with tilde"; +beginchar(U_tilde,13u#+.5width_adj#,cap_height#+comma_depth#,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; +currentpicture:=savedpicture; +if serifs: numeric theta; theta=angle(1/6(6u-vair),1/4(h-cap_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=hround(1/5w);rt x4l=hround(4/5w); top y4r=h; + bot y1l=vround(bot y1l+min(2/3[cap_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=hround(1/4w);rt x5l=hround(3/4w); x2-x1=x3-x2=x4-x3=x5-x4; + bot y1=bot y4l=vround(.75[cap_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; + +iff known U_grave: +cmchar "Capital letter U with gravis"; +beginchar(U_grave,13u#+.5width_adj#,cap_height#+comma_depth#,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; +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w-2.5u+.5stem); + x2=hround(.5w+5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w-3u); rt x2r=hround(.5w+.25u+.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known U_acute: +cmchar "Capital letter U with acute"; +beginchar(U_acute,13u#+.5width_adj#,cap_height#+comma_depth#,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; +currentpicture:=savedpicture; +if serifs: pickup crisp.nib; x1=hround(.5w+2.5u-.5stem); + x2=hround(.5w-5/6u); + y1+.5stem=h+eps; y2=max(2/3[h,cap_height],cap_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(.5w+3u); lft x2l=hround(.5w-.25u-.5vair); + top y1=h; bot y2=vround 2/3[h,cap_height]; + filldraw stroke z1e--z2e; fi % diagonal +penlabels(1,2); endchar; + +iff known U_hat: +cmchar "Capital letter U with circumflex"; +beginchar(U_hat,13u#+.5width_adj#,cap_height#+comma_depth#,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; +currentpicture:=savedpicture; +if serifs: + pickup crisp.nib; pos2(.5[vair,curve],90); top y2r=h; x2=.5w; + x1=good.x(.5w-2.25u); x3=good.x(.5w+2.25u); y1=y3=.5[cap_height,y2]; + pos1(hair,angle(z2-z1)+90); pos3(hair,angle(z3-z2)+90); + filldraw stroke z1e--z2e--z3e; % diagonals +else: + pickup fine.nib; pos1(vair,0); pos3(vair,0); + pos2(stem,0); top y2=h; x2=.5w; bot y1=bot y3=vround 2/3[h,cap_height]-eps; + rt x3r=hround(lft x2l+3.25u+.5vair); + lft x1l=hround(rt x2r-3.25u-.5vair); % same slope as in the acute accent + z0=whatever[z1r,z2r]=whatever[z2l,z3l]; + y4l=y4r=y2; x4l=good.x .2[x2l,x2]; x4r=good.x(.2[x2r,x2]); + filldraw z4l--z1l--z1r--z0--z3l--z3r--z4r--cycle; fi % diagonals +penlabels(0,1,2,3,4); endchar; + +iff known U_dotu: +cmchar "Capital letter U with dot below"; +beginchar(U_dotu,13u#+.5width_adj#,cap_height#,0.875desc_depth#); +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; +numeric dot_diam#; dot_diam#=max(dot_size#,cap_curve#); +define_whole_blacker_pixels(dot_diam); +currentpicture:=savedpicture; +pickup tiny.nib; +pos88(dot_diam,0); pos99(dot_diam,90); +x88=x99=good.x(.5w); bot y99l=-d-1; +if top y99r+oo>-slab: y99r:=max(y99l+eps,-oo-tiny-slab); fi +y88=.5[y99r,y99l]; +dot(88,99); +penlabels(88,99); endchar; + +savedpicture:=nullpicture; + +cmchar "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; + +iff known var_U: +cmchar "Capital letter round V"; +beginchar(var_U,11.5u#,cap_height#,0); +italcorr cap_height#*slant; +if monospace: adjust_fit(cap_serif_fit#-.5u#,0) +else: adjust_fit(cap_serif_fit#,0) fi; +interim superness:=more_super; +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); +x1=x2; x3=.5[x1,x4]; +top y1=h; y2=1/3h; bot y3r=-o; +lft x1l=hround max(2u,3u-.5cap_stem); +rt x4r=hround(w-.5u); y4=.57h; +if not serifs:pos34(hair,0); x34=x4; y34=.8h; fi +filldraw stroke z1e--z2e; % left stem +filldraw stroke pulled_arc.e(2',3) & pulled_arc.e(3,4); % arc +if serifs: + dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % serif + V_bulb(4,5); % closing bulb +else: + pos5(cap_band,90); pos6(flare,100); + top y5r=h+oo; top y6r=vround .94h; lft x6r=hround(.5w+u); + x5=.2[x6l,x4l]; + filldraw stroke z4e--z34e...term.e(5,6,left,1,4); +fi +penlabels(1,2,3,34,4,5); endchar; + +iff known war_U: +cmchar "Capital letter upsilon-like U"; % jk +beginchar(war_U,11.5u#,cap_height#,0); +italcorr cap_height#*slant; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(cap_stem,-180); lft x3r=hround(2.5u-.5cap_stem); +HOOK_IN(0,1,2)(skewed); % opening hook +pos2'(cap_stem,-180); z2'=z2; pos4(cap_band,-90); pos5(cap_hair,0); +x4=.5w+u; rt x5r=hround(w-.5u); y3=.7[y4,y5]; bot y4r=-o; y5=.57h; +filldraw stroke z2'e{-u,-cap_height}...super_arc.e(3,4) + ..tension atleast 1.05..{up}z5e; % left stem and arc +V_bulb(5,6); % closing bulb +math_fit(-2/3cap_height#*slant+.5cap_hair#+.5u#,2/3ic#); +penlabels(0,1,2,3,4,5,6); endchar; + + +cmchar "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#); +picture savedpicture; +savedpicture:=currentpicture; +penlabels(0,1,2,3,4,5,6,7,8,23,45,67); endchar; + + + +iff known W_breve: +cmchar "Capital letter W with breve"; +beginchar(W_breve,18u#,cap_height#+comma_depth#,0); +italcorr cap_height#*slant+.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +currentpicture:=savedpicture; +pickup crisp.nib; pos1(vair,-180); pos3(vair,0); +top y1=top y3=h; lft x1r=hround(.5w-4u+.5vair);x3r=hround(.5w+4u-.5vair); +numeric mid_thickness; mid_thickness=vround 1/3[vair,stem]; +pos2(mid_thickness,-90); x2=.5w; +bot y2r=vround max(cap_height+o+tiny,1/3[cap_height,h]+o-.5mid_thickness); +filldraw stroke z1e{down}...z2e{right}...{up}z3e; % stroke +penlabels(1,2,3); endchar; + +savedpicture:=nullpicture; + +endinput; diff --git a/fonts/jknappen/fc/src/upperxyz.mf b/fonts/jknappen/fc/src/upperxyz.mf new file mode 100644 index 0000000000..bc48ef4ad1 --- /dev/null +++ b/fonts/jknappen/fc/src/upperxyz.mf @@ -0,0 +1,214 @@ +% This is UPPERXYZ.MF +% Version 1.0d +% Date 12-MAR-2004 +% +% (c) 1991--2004 by J"org Knappen. See fc.rme for copying conditions +% This file is part of the fc-package +% See fc.rme for more information +% +% Contents: +% +% The following characters are generated without condition: +% +% X,Y,Z +% +% And the following on demand, i. e. if their code is known: +% +% hooktop_Y, Zhe (Ezh) +% +% Higher versions of this file might include more characters. + +cmchar "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; + +cmchar "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; + +iff known hooktop_Y: +cmchar "Capital letter hooktop Y"; +beginchar(hooktop_Y,15u#,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-3u-x4r=l+letter_fit+outer_jut+.05u; +x2l=x5l=hround(.5w-u-.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]; +penpos7(alpha*right_stem,0); z7=whatever[z3,z4]; y7=h-.21h; +if y0>y2+cap_notch_cut: y0:=y2+cap_notch_cut; + fill z0+.5right{up}...{z4-z3}diag_end(3l,7l,1,1,7r,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,7l,1,1,7r,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: + z7'=z7; penpos7'(alpha*right_stem,180); + penpos8(cap_band,90); penpos9(cap_hair,0); + penpos10(flare+(cap_stem-stem),0); + top y8=h+o; x8=.5[x7,x9]; y10=5/6h; rt x10r=hround(w-.5u); + z9r=z10r; + filldraw stroke z7'e{z4-z3}...{right}z8e; % link + bulb(8,9,10); % bulb +else: +% pickup fine.nib; + pos8(cap_band,0); z8=z7; + pos9(flare,angle(6.5u,-h)); pos10(flare,-100); + top y9l=h+o; x9l=.5[x8l,x10l]; rt x10l=hround(w-.5u); + top y10l=vround.94h+o; + filldraw stroke z7e{z4-z3}....term.e(9,10,right,1,10); +fi +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; + +cmchar "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; + +iff known Zhe: +cmchar "Capital letter EZH"; % jk, adapted from cmoe Yogh by J. Bradfield +beginchar(Zhe,10u#,cap_height#,0); +italcorr cap_height#*slant-.5serif_fit#-.3u#; +adjust_fit(0,0); +numeric arm_thickness,z_stem; +% The following two lines are from greeku.mf (Xi) +arm_thickness=hround .9[vair,.85cap_stem]; +if arm_thickness<crisp.breadth: arm_thickness:=crisp.breadth; fi +z_stem = .1[vair,cap_stem] ; +pickup tiny.nib; rt x1r=rt x2r=hround(w-1.2u); +top y1=h; y2=min(y1,h-2/3arm_thickness); +lft x3l = hround .33w ; bot y3 = vround(.52h-.5arm_thickness); +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); +pair delta; delta=penoffset z3-z1 of currentpen; +fill top lft z1l--z1l+delta---z3l+delta..lft z3l + ..bot z3r--z3r-delta---rt z1r..top z1r + ---cycle; % diagonal +z99 = rt z1r ; z98 = z99 + (u,0) ; % for cutting away +z97 = z99 + 10*(z3-z1) ; z96 = z97 + (u,0) ; +pickup crisp.nib; pos5(arm_thickness,90); pos6(cap_hair,180); +top y5r=h; x5=x1; lft x6r=hround .75u; y6=good.y(y5l-beak/1.6)-eps; +arm(5,6,a,beak_darkness**.8,-.4beak_jut); % upper arm and beak +% now cut away the excess arm +erase fill z99 --- z98 --- z96 --- z97 --- cycle ; +pickup fine.nib ; +pos10'(vair,90) ; pos11(cap_curve,0) ; +pos12(.1[vair,cap_curve],-90) ; +z10' - z3 = whatever*dir 30 ; +x10' = x3 + u ; x10 = x10' ; y10r = good.y y10'r ; pos10(vair,90) ; +bot y12r = -o ; x12 = .5w ; +y11 = .5[y10,y12] ; rt x11r = hround(w-.9u) ; +z3' = z3 ; z3'l = z3r ; z3'r = z3l ; +filldraw stroke z3'e .. z10e{right} ; +filldraw stroke pulled_arc.e(10,11) & pulled_arc.e(11,12) ; +if serifs: pos13(hair,-180) ; y13=.8bar_height ; lft x13r = hround .8u ; + pos14(flare,-180) ; bulb(12,13,14) ; +else: pos13(5/7[vair,flare],angle(-3u,-h)) ; +lft x13r = hround .9u ; y13 = .8bar_height ; +x13l := good.x x13l ; y13l := good.y y13l ; +filldraw stroke term.e(12,13,left,1,4) ; fi +penlabels(1,2,3,4,5,6,7,8,10,11,12,13,14); endchar; + +endinput; |