diff options
Diffstat (limited to 'language/mongolian/montex/mfinput/km')
78 files changed, 9297 insertions, 0 deletions
diff --git a/language/mongolian/montex/mfinput/km/00readme b/language/mongolian/montex/mfinput/km/00readme new file mode 100644 index 0000000000..e82fae20b1 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/00readme @@ -0,0 +1,67 @@ +% File: 00readme
+% Based on: readme
+% Modified by: Oliver Corff
+% Date: June 1998, Ulaanbaatar
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% A detailed list of changes is found in change.log
+%
+% The km fonts are the result of a global renaming and reassignment
+% of font names where CM (Computer Modern) is matched by KM (Kom-
+% puter Modern, or Mongol Kirill, pick what you like).
+%
+% In addition, more glyphs (source: J. Knappen) were included,
+% more font parameter files were copied from the traditional CM
+% sources, and driver files tuned for better performance.
+%
+% The original text starts below the next line!
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%I have added typewriter caps
+%and changed coding from KOI to alternative
+%(A.Harin harin@ph.und.ac.za)
+
+
+This directory contains version 2.0 of the Cyrillic fonts created by
+Nana Glonti and Alexander Samarin at the Institute for High Energy
+Physics, Protvino, USSR. (email: SAMARIN@VXCERN.DECNET.CERN.CH)
+
+I renamed the fonts at Alex's suggestions to follow the font naming
+scheme described in ftp.cs.umb.edu
+[192.12.26.23]:pub/tex/fontname/fontname.texi.
+
+The non-typeface-specific Cyrillic files are:
+
+cycoding.mf assign character positions
+cyrillic.mf driver file + kerning table
+cyitall.mf lower case italic letters
+cyrl.mf lower case letters
+cyru.mf upper case letters
+cytextit.mf driver file for italic
+
+
+Here is the list of the typeface names with their meanings, and the
+sizes at which they are available. You can also use these fonts with
+the sauter distribution, to make the fonts at any point size: get
+ftp.cs.umb.edu:pub/tex/sauter.tar.Z.
+
+cmbizx 10 # bold italic extended
+cmbozx 10 # bold slanted extended
+cmbszx 10 # bold sans extended
+cmbz 10 # bold
+cmbzx 5 6 7 8 9 10 12 # bold extended
+czssq 8 # sans serif ``quotation''
+czssqi 8 # sans serif italic ``quotation''
+cmdszc 10 # demibold sans condensed
+cmrcz 8 9 10 # small caps
+cmrisz 8 9 10 12 17 # italic sans
+cmritz 10 # italic typewriter
+cmriz 7 8 9 10 12 # italic
+cmrotz 10 # slanted typewriter
+cmroz 8 9 10 12 # slanted
+cmrsz 8 9 10 12 17 # sans
+cmrtz 8 9 10 12 # typewriter
+cmruz 10 # unslanted italic
+cmrz 5 6 7 8 9 10 12 17 # regular
+cmrctz 10 # typewriter caps
+
+karl@cs.umb.edu
diff --git a/language/mongolian/montex/mfinput/km/change.log b/language/mongolian/montex/mfinput/km/change.log new file mode 100644 index 0000000000..d342f6204f --- /dev/null +++ b/language/mongolian/montex/mfinput/km/change.log @@ -0,0 +1,126 @@ +% File: change.log +% Author: Oliver Corff +% Date: October 1997, Ulaanbaatar +% June 1998, Ulaanbaatar +% December 1998, Beijing +% December 2001, Beijing +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +v 0.5, 2001/10/10 + +1) Renaming of all glyphs + + All glyph identifiers used in ligtables etc. are now + renamed according to the LH conventions. + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +v 0.3, 1998/12/15 + +1) New Glyph: Currency Sign + + The Mongolian togrog (aka tugrik) was added. The symbol is a + double-barred sans serif T or t but I decided to include + serif versions as well, and in lower case and upper case, + for those who love choice. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +v 0.2, 1998/06/01 + +1) Font Names + + The whole font set was renamed according to the CM + tradition (for easier diagnostics of missing and/or + unmatching fonts between Latin and Cyrillic). + + Read KM (substituting CM in the font names) as + "Komp`yuter Modern" (Mongolian for Computer Modern) + or + "Kirill Mongol" (Mongolian Cyrillic) + + +2) Font Shapes + + More fonts from the Computer Modern Family were added: + Dunhill, Variable Width Typewriter Text (also Italic); + Funny (both Upright and Italic). + + +3) Path Errors + + Some font source behave strangely in combination with + certain parameter files; in particular, it was necessary + to tune de, De and ze in the Cyrillic sources. +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +v 0.1, 1997/10/01 + +Changes involved for creating mcyr (Mongolian Cyrillic) +on the basis of cmcyralt + +1) Font Encoding + + The encoding definition file was rewritten in order + to accommodate for LMC (Local Mongolian Cyrillic) + encoding. This is basically a transliteration mirror + of T1 (Cork) encoding, with Mongolian front vowels in + the appropriate T1 umlaut slots. + +2) Internal Character Names + + CYR_HA ("X") and CYR_ha ("x") were changed to CYR_XA + and CYR_xa throughout all occurences of all files in + order to accommodate for the Buryad letter which looks + (and is pronounced very much) like a "h". + +3) Glyph Shapes + + The front vowel CYR_OE/CYR_oe was taken from J. Knappen's + Bashkirian sources; so were CYR_UE and CYR_HA/CYR_ha. + + CYR_HA had a strange path error when used in italics mode; + one angle of a penpos was changed from 90 to 95 degrees + which resolved the problem without distorting the result + visibly. + + CYR_ue was given as a gamma by J. Knappen which is not + acceptable; CYR_ue is a letter with a high frequeny so + reading the gamma would be quite irritating. Besides, + a proper gamma is used in transliterations. A new CYR_ue + was thus designed. + +4) Conventional Glyphs + + More glyphs (digits, punctuation, etc.) of the original + cmr sources were included in order to decrease the amount + of font switching in mixed-language documents. + +5) Ligatures + + A set of constantly active ligatures was introduced which + takes care of some of the Cyrillic umlauts as well as + "sh", "yo", "ya" etc. + +6) Font Names + + Everything was renamed properly so as to avoid collisions + with existing cmcyralt installations. A notice to that + effect was prepended to every file. + +7) Internal Clean-ups + + The parameter files are paragons of a Write-Only coding + style; just for the modifier's own convenience, some + tabbing was inserted here and there, without any functional + effect, of course. + + Some of the commands which are leftovers of the original + cmr sources (from where everything is derived) and which + do not make any sense in this encoding were simply deleted + for sake of a better readability of the file. + + +Oliver Corff, October 1997, Ulaanbaatar diff --git a/language/mongolian/montex/mfinput/km/cyrename.pl b/language/mongolian/montex/mfinput/km/cyrename.pl new file mode 100755 index 0000000000..f7b4ef2a67 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/cyrename.pl @@ -0,0 +1,81 @@ +#!/usr/bin/perl -p -i.bak +# vim: ts=16 +# A small script that replaces all old style labels with new ones +# + s/CYR_A/CYRA/g; + s/CYR_BE/CYRB/g; + s/CYR_VE/CYRV/g; + s/CYR_GHE/CYRG/g; + s/CYR_DE/CYRD/g; + s/CYR_IE/CYRE/g; + s/CYR_YERU/CYRERY/g; + s/CYR_YE/CYRYO/g; + s/CYR_ZHE/CYRZH/g; + s/CYR_ZE/CYRZ/g; + s/CYR_I/CYRI/g; + s/CYR_SHORT_I/CYRISHRT/g; + s/CYR_KA/CYRK/g; + s/CYR_EL/CYRL/g; + s/CYR_EM/CYRM/g; + s/CYR_EN/CYRN/g; + s/CYR_OE/CYROTLD/g; + s/CYR_O/CYRO/g; + s/CYR_PE/CYRP/g; + s/CYR_ER/CYRR/g; + s/CYR_ES/CYRS/g; + s/CYR_TE/CYRT/g; + s/CYR_UE/CYRY/g; + s/CYR_U/CYRU/g; + s/CYR_EF/CYRF/g; + s/CYR_XA/CYRH/g; + s/CYR_HARD_SIGN/CYRHRDSN/g; + s/CYR_HA/CYRSHHA/g; + s/CYR_TSE/CYRC/g; + s/CYR_CHE/CYRCH/g; + s/CYR_SHA/CYRSH/g; + s/CYR_SHCHA/CYRSHCH/g; + s/CYR_SOFT_SIGN/CYRSFTSN/g; + s/CYR_E/CYREREV/g; + s/CYR_YU/CYRYU/g; + s/CYR_YA/CYRYA/g; + s/CYR_number/CYRNo/g; +# s/CYR_TOGROG/g; +# s/CYR_togrog/g; + s/CYR_left/guillemotleft/g; + s/CYR_right/guillemotright/g; + s/CYR_a/cyra/g; + s/CYR_be/cyrb/g; + s/CYR_ve/cyrv/g; + s/CYR_ghe/cyrg/g; + s/CYR_de/cyrd/g; + s/CYR_ie/cyre/g; + s/CYR_yeru/cyrery/g; + s/CYR_ye/cyryo/g; + s/CYR_zhe/cyrzh/g; + s/CYR_ze/cyrz/g; + s/CYR_i/cyri/g; + s/CYR_short_i/cyrishrt/g; + s/CYR_ka/cyrk/g; + s/CYR_el/cyrl/g; + s/CYR_em/cyrm/g; + s/CYR_en/cyrn/g; + s/CYR_oe/cyrotld/g; + s/CYR_o/cyro/g; + s/CYR_pe/cyrp/g; + s/CYR_er/cyrr/g; + s/CYR_es/cyrs/g; + s/CYR_te/cyrt/g; + s/CYR_ue/cyry/g; + s/CYR_u/cyru/g; + s/CYR_ef/cyrf/g; + s/CYR_xa/cyrh/g; + s/CYR_hard_sign/cyrhrdsn/g; + s/CYR_ha/cyrshha/g; + s/CYR_tse/cyrc/g; + s/CYR_che/cyrch/g; + s/CYR_sha/cyrsh/g; + s/CYR_shcha/cyrshch/g; + s/CYR_soft_sign/cyrsftsn/g; + s/CYR_e/cyrerev/g; + s/CYR_yu/cyryu/g; + s/CYR_ya/cyrya/g; diff --git a/language/mongolian/montex/mfinput/km/cyrmorec.mf b/language/mongolian/montex/mfinput/km/cyrmorec.mf new file mode 100644 index 0000000000..3d650de9e3 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/cyrmorec.mf @@ -0,0 +1,132 @@ +% File: cyrmorec.mf +% Based on: jkbashc.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% + %jkbashc.mf by Joerg Knappen, bitnet: knappen@dmznat51 + % Version: 8. June 1990 + % Bashkirian letters with common shapes for upper and lower case + +cmchar "The bashkirian letter crossed Ge (looking like F)"; +beginchar(oct"200",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; + +cmchar "The Bashkirian letter variant KA"; +beginchar(oct"201",12u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(if serifs: 4 else: 2 fi u#,.25u#); +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 +if serifs: 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 + pickup fine.nib; pos3(vair,90); x3=x1; y3=.55h; z3'=z3; pos3'(varwid,90); + pos4(varwid,90); x4=w-.75flare-.125u; top y4r=h+oo; %original x4=w-2u + x41=x4; y41=y3'; x42=x4-2u; y42=y4; + filldraw stroke z3'e..controls z41 and z42..z4e; % upper diagonal + pos5(hair,0); pos6(flare,0); +rt x5r=hround(w-.125u); y5+.5flare=vround(top y4r-hair)+1;%original bot y4l-.03h + top y4'r=top y4r; x4'=x4; pos4'(hair,90); + bulb(4',5,6); % bulb + pos7(stem,0); pos8(varwid,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 +else: + numeric right_jut,stem[],alpha[]; + right_jut=.4tiny; + pickup tiny.nib; + 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); + 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 +fi +pickup crisp.nib; +top y55r=h; x55=x1; pos55(slab,90); pos56(hair,180); + x56=x1-if serifs: 6 else: 3 fi u; +y56=good.y(y55l-beak)-eps; +arm(55,56,q,beak_darkness**.8,-.4beak_jut); +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The Bashkirian letter variant EN (looks like H with leg)"; +beginchar(oct"202",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 right serif + r_cyr_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % lower right serif +else: + lcyrsanserif(4); lft x2'= lft x2l; bot y2'l=0; pos2'(slab,90); + rt x4'=rt x4r; y4'=y2'; pos4'(slab,90); filldraw stroke z2'e--z4'e; +fi +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + + +cmchar "The Bashkirian letter flipped e"; +beginchar(oct"206",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/language/mongolian/montex/mfinput/km/cyrmorei.mf b/language/mongolian/montex/mfinput/km/cyrmorei.mf new file mode 100644 index 0000000000..dea899d7dc --- /dev/null +++ b/language/mongolian/montex/mfinput/km/cyrmorei.mf @@ -0,0 +1,203 @@ +% File: cyrmorei.mf +% Based on: jkbashi.mf +% Modified by: Oliver Corff +% Date: October 1997, Ulaanbaatar +% + % jkbashi.mf by Joerg Knappen, Bitnet: knappen@dmznat51 + % Version 14. June 1990 + % Bashkirian special letters, lowercase italics + % Additional information at the end of this file + +% cmchar "Italic Bashkirian letter ghe-barred"; +% beginchar(oct"210",7u#,x_height#,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+1.5u; x3=.5w-1.5u; +% hook_in(0,1,2)(skewed); hook_out(3,4,5)(skewed); % hooks +% filldraw stroke z2e{down}...{down}z3e; % stem +% pickup crisp.nib; +% top y6r=top y7r=bar_height;lft x6=lft x0;rt x7=rt x5; +% pos6(bar,90); pos7(bar,90); +% filldraw stroke z6e--z7e; % bar +% penlabels(0,1,2,3,4,5,6,7); endchar; +% +% cmchar "Italic Bashkirian letter variant ka"; +% beginchar(oct"211",8u#,x_height#,0); +% italcorr x_height#*slant-.5u#; +% adjust_fit(u#,.25u#); +% pickup tiny.nib; pos1(fudged.stem,0); pos2(fudged.stem,0); +% lft x1l=lft x2l=hround max(1.3u,2u-.5fudged.stem); top y1=h; bot y2=0; +% filldraw stroke z1e--z2e; % stem +% if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper stem serif +% dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower stem serif +% pickup fine.nib; pos3(vair,90); x3=x1; y3=.55h; z3'=z3; pos3'(varwid,90); +% pos4(varwid,90); x4=w-.75flare-.08u; top y4r=h+oo; %original x4=w-2u +% x41=x4; y41=y3'; x42=x4-2u; y42=y4; +% filldraw stroke z3'e..controls z41 and z42..z4e; % upper diagonal +% pos5(hair,0); pos6(flare,0); +% rt x5r=hround(w-.08u); y5+.5flare=vround(top y4r-hair)+1;%original bot y4l-.03h +% top y4'r=top y4r; x4'=x4; pos4'(hair,90); +% bulb(4',5,6); % bulb +% pos7(stem,0); pos8(varwid,90); pos9(hair,180); +% x9+.5hair=hround(w+.5hair-eps); y9=1/3x_height; +% lft x7l=hround(w-1.8u-.5stem); y7=1/2y3; x8=w-.8u; bot y8l=-oo; +% filldraw stroke z3e{right}...z7e{down} +% ...z8e{right}...{up}z9e; % lower diagonal +% else: +% numeric right_jut,stem[],alpha[]; +% right_jut=.4tiny; +% pickup tiny.nib; +% stem2=max(tiny.breadth,fudged.stem-3stem_corr); +% stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +% top y3=h; rt x3r=hround(r-letter_fit-.67u-right_jut); +% bot y6=0; rt x6r=hround(r-letter_fit-.5u-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); +% 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 +% fi +% pickup crisp.nib; +% top y55r=h; x55=x1; pos55(slab,90); pos56(hair,180); +% x56=x1-if serifs: 4 else: 2 fi u; +% y56=good.y(y55l-beak)-eps; +% arm(55,56,q,beak_darkness**.8,-.4beak_jut); +% math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; +% +% +% cmchar "Italic Bashkirian letter variant en"; +% beginchar(oct"212",10u#,x_height#,desc_depth#); +% italcorr 1/3x_height#*slant+.5hair#+.5u#; +% adjust_fit(0,.25u#); pickup fine.nib; +% x0=0; x2=x3; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +% hook_in(0,1,2); % opening hook +% y3-.5stem=-oo; z2'=z2; pos2'(stem,-180); +% filldraw circ_stroke z3e--z2'e; %left stem +% x10=x3l; y10=y11=.55h; pos10(hair,90); pos11(hair,90); +% pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); y6+.5stem=h; +% x7=x6; x9=w; hook_out(7,8,9); %closing hook +% z7'=z7; pos7'(stem,0); +% filldraw circ_stroke z6e--z7'e; x11=x6l; % right stem +% filldraw stroke z10e{1,1}...{1,1}z11e; % bar +% pickup crisp.nib; +% y30=0; x30=x8-.1u; y32=-d; x32=x8-.75u; z31=.5[z30,z32]; +% pos30(hair,90); pos31(1.25stem,135); +% filldraw stroke z8{down}...z30e...z31e--z32; % descender +% endchar; +% +cmchar "Italic Bashkirian letter o-umlaut"; +beginchar(cyrotld,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 +z90=z2l; x91=x4l; y91=y90; pos90(bar,90); pos91(bar,90); +if serifs: z92=.5[z90,z91]; pos92(if serifs: 2.5 fi bar,90); + filldraw stroke z90e{1,1}..{1,-1}z92e..{1,1}z91e; % tilde-like bar +else: filldraw stroke z90e--z91e; fi % bar +math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar; + +% +% Sorry, the gamma is not acceptable in this context! OC, UB 1997 +% +% cmchar "The italic Bashkirian letter u-umlaut"; % I put the gamma in here +% beginchar(cyry,10u#,x_height#,desc_depth#); +% italcorr x_height#*slant-.5u#; +% adjust_fit(0,0); pickup fine.nib; +% pos1(hair,180); pos2(vstem+dw,90); +% pos4(hair,0); pos5(vair,-90); pos6(hair,-180); pos7(hair,-180); +% bot y1=.5772156649h; top y2r=h+oo; y4=y6=-.5d; +% bot y5r=-d-o; top y7=h; +% lft x1r=hround(.5u-.5hair); x2=3u; rt x4r=hround(w-2u); x5=.5[x4,x6]; +% rt x4r-lft x6r=hround 1/3[hair,stem]+eps; rt x7l=hround(w-u); +% if x4l<x6l: x4l:=x6l:=x5; fi +% pos3(hair,angle(z4-z2)+90); x3=superness[x2,x4]; y3=superness[y4,y2]; +% filldraw stroke z1e{up}...z2e{right}...z3e{z4-z2} +% ...z4e{down}...{left}z5e; % arc +% filldraw stroke z5e{left}...z6e{up}..{2(x7-x6),y7-y6}z7e; % stem +% math_fit(-.5772156649x_height#*slant,ic#-u#); +% penlabels(1,2,3,4,5,6,7); endchar; + +cmchar "The italic Bashkirian letter u-umlaut"; % +beginchar(cyry,8.5u#,x_height#,desc_depth#); +italcorr x_height#*slant+.5stem#-u#; +adjust_fit(0,0); pickup fine.nib; interim superness:=more_super; +x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem); +hook_in(0,1,2)(skewed); % opening hook +pos2'(stem,-180); z2'=z2; +pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5]; +pos6(stem,0); rt x6r=hround(w-1.5u+.5stem); +pos7(stem,0); pos8(vair,-90); +y3=.7[y4,y5]; bot y4r=-oo; y5=.37h; y6+.5stem=h; +bot y7=-d; bot y8r=-d-oo; x5=x6=x7; x8=.5w; +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 and link +sloped_serif.r(7,2,a,1/3,jut,serif_drop); % serif +math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-1/3x_height#*slant); +penlabels(0,1,2,3,4,5,6,7,8,9,10); +endchar; + +cmchar "Italic Bashkirian letter ha"; +beginchar(cyrshha,9u#,asc_height#,0); +italcorr 1/3x_height#*slant+.5hair#+.5u#; +adjust_fit(1.5u#,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; + +% +% cmchar "Italic Bashkirian letter flipped e"; +% beginchar(oct"216",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 + +"These letters aren't perfect. Especially, the variant k is not an italic +but a slanted letter. The variant n's descender is not precisely +positioned. This should be changed in a later version." JK. + +%-------------- end ------------------------------------------------------ +The now famous character code reference: + +Upper case letters: ABCDEFGHIJKLMNOPQRSTUVWXYZ +Lower case letters: abcdefghijklmnopqrstuvwxyz +Digits: 0123456789 +Square, curly, angle braces, parentheses: [] {} <> () +Backslash, slash, vertical bar: \ / | +Punctuation: . ? ! , : ; +Underscore, hyphen, equals sign: _ - = +Quotes--right left double: ' ` " +"at", "number" "dollar", "percent", "and": @ # $ % & +"hat", "star", "plus", "tilde": ^ * + ~ diff --git a/language/mongolian/montex/mfinput/km/cyrmorel.mf b/language/mongolian/montex/mfinput/km/cyrmorel.mf new file mode 100644 index 0000000000..a80d269bd7 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/cyrmorel.mf @@ -0,0 +1,75 @@ +% File: cyrmorel.mf +% Based on: jkbashl.mf +% Modified by: Oliver Corff +% Date: October 1997, Ulaanbaatar +% + % jkbashl.mf by Joerg Knappen, Bitnet: knappen@dmznat51 + % Version 11 June 1990 + % Bashkirian special lowercase letters + +cmchar "The Bashkirian letter o-umlaut"; +beginchar(cyrotld,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 +if serifs: z90=z2l; x91=x4; y91=y90; pos90(bar,90); pos91(bar,90); + z92=.5[z90,z91]; pos92(if serifs: 2.5 fi bar,90); + filldraw stroke z90e{1,1}..{1,-1}z92e..{1,1}z91e; +else: z90=z2l; x91=x4; y91=y90; penpos90(bar,90); penpos91(bar,90); + fill stroke z90e--z91e; fi +penlabels(1,2,3,4); endchar; + +cmchar "The Bashkirian letter u-umlaut"; +beginchar(cyry,if serifs: 9.5u# else: 9u# fi,x_height#,desc_depth#); +italcorr x_height#*slant+.45u#; +adjust_fit(serif_fit#,serif_fit#); +numeric left_stem,right_stem,outer_jut,dy,alpha; +left_stem=stem-stem_corr; +right_stem=min(hair if hefty:-2stem_corr fi,left_stem); +outer_jut=.75jut; x1l=w-x4r=l+letter_fit+outer_jut+.05u; +x2l=x5l=hround(.5w-.5left_stem); x3r=x5r; y1=y4=h; y2=y3=y5=0; +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=-desc_depth; +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0>y2+notch_cut: y0:=y2+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+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); % 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#-x_height#*slant,ic#-4u#); +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "The Bashkirian letter ha"; +beginchar(cyrshha,11u#,asc_height#,0); +italcorr .5[bar_height#,x_height#]*slant-serif_fit#+.5stem#-2u#; +adjust_fit(.5u#+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; diff --git a/language/mongolian/montex/mfinput/km/cyrmoreu.mf b/language/mongolian/montex/mfinput/km/cyrmoreu.mf new file mode 100644 index 0000000000..1eb338706c --- /dev/null +++ b/language/mongolian/montex/mfinput/km/cyrmoreu.mf @@ -0,0 +1,83 @@ +% File: cyrmoreu.mf +% Based on: jkbashu.mf +% Modified by: Oliver Corff +% Date: October 1997, Ulaanbaatar +% + % jkbashu.mf by Joerg Knappen, bitnet knappen@dmznat21 + % Version 10 June 1990 + % Bashkirian special uppercase letters + +cmchar "The Bashkirian letter O-Umlaut (looks like Theta)"; +beginchar(CYROTLD,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 +if serifs: z90=z2l; x91=x4; y91=y90; pos90(bar,90); pos91(bar,90); + z92=.5[z90,z91]; pos92(if serifs: 2.5 fi bar,90); + filldraw stroke z90e{1,1}..{1,-1}z92e..{1,1}z91e; +else: z90=z2l; x91=x4; y91=y90; penpos90(bar,90); penpos91(bar,90); + fill stroke z90e--z91e; fi +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); penlabels(1,2,3,4); endchar; + +cmchar "The Bashkirian letter U-Umlaut (looks like Y)"; +beginchar(CYRY,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; + +cmchar "The Bashkirian letter HA (looks like h)"; +beginchar(CYRSHHA,14u#+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=h; +bot y4=bot y2=0; +x22=x1; y22=.35h; +pos22(cap_bar,95); y3=y22; +filldraw stroke z4e--z3e{up}...{down}z22e; % right stem and bowl +filldraw stroke z1e--z2e; % left stem +if serifs: numeric inner_jut; + if rt x2r+cap_jut+.5u+1<=lft x4l-cap_jut: inner_jut=cap_jut; + else: rt x2r+inner_jut+.5u+1=lft x4l-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(4,3,g,1/3,inner_jut,h,1/3,cap_jut); fi % lower right serif +math_fit(0,.5ic#); penlabels(1,2,3,4,22); endchar; +\endinput diff --git a/language/mongolian/montex/mfinput/km/kmb10.mf b/language/mongolian/montex/mfinput/km/kmb10.mf new file mode 100644 index 0000000000..13a9a276f8 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmb10.mf @@ -0,0 +1,80 @@ +% File: kmb10.mf +% Based on: cmbz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Roman 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMB"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=10/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=17/36pt#; % lowercase hairline breadth +stem#:=41/36pt#; % lowercase stem breadth +curve#:=46/36pt#; % lowercase curve breadth +ess#:=38/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=56/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=51/36pt#; % uppercase stem breadth +cap_curve#:=55/36pt#; % uppercase curve breadth +cap_ess#:=53/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=11/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmbx10.mf b/language/mongolian/montex/mfinput/km/kmbx10.mf new file mode 100644 index 0000000000..b6567fb0ca --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbx10.mf @@ -0,0 +1,81 @@ +% File: kmbx10.mf +% Based on: cmbzx10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBX"; font_size 10pt#; + +u#:=23/36pt#; % unit width +width_adj#:=11/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=17/36pt#; % lowercase hairline breadth +stem#:=41/36pt#; % lowercase stem breadth +curve#:=46/36pt#; % lowercase curve breadth +ess#:=38/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=56/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=51/36pt#; % uppercase stem breadth +cap_curve#:=55/36pt#; % uppercase curve breadth +cap_ess#:=53/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=11/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmbx12.mf b/language/mongolian/montex/mfinput/km/kmbx12.mf new file mode 100644 index 0000000000..e5ec3848e9 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbx12.mf @@ -0,0 +1,81 @@ +% File: kmbx12.mf +% Based on: cmbzx12.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Roman 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBX"; font_size 12pt#; + +u#:=27/36pt#; % unit width +width_adj#:=13/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=296.4/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=192/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=102/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10.5/36pt#; % width of extrafine details +hair#:=18.3/36pt#; % lowercase hairline breadth +stem#:=47/36pt#; % lowercase stem breadth +curve#:=52/36pt#; % lowercase curve breadth +ess#:=44/36pt#; % breadth in middle of lowercase s +flare#:=51/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=62/36pt#; % diameter of dots +cap_hair#:=20/36pt#; % uppercase hairline breadth +cap_stem#:=57/36pt#; % uppercase stem breadth +cap_curve#:=61/36pt#; % uppercase curve breadth +cap_ess#:=59/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.66pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=12/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=46/36pt#; % protrusion of uppercase serifs +beak_jut#:=12.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=14.3/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=18.5/36pt#; % lowercase bar thickness +slab#:=18.5/36pt#; % serif and arm thickness +cap_bar#:=18.5/36pt#; % uppercase bar thickness +cap_band#:=18.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmbx5.mf b/language/mongolian/montex/mfinput/km/kmbx5.mf new file mode 100644 index 0000000000..068f3a5529 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbx5.mf @@ -0,0 +1,81 @@ +% File: kmbx5.mf +% Based on: cmbzx5.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Roman 5 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBX"; font_size 5pt#; + +u#:=14.5/36pt#; % unit width +width_adj#:=7/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3/36pt#; % extra space added to all sidebars + +body_height#:=135/36pt#; % height of tallest characters +asc_height#:=125/36pt#; % height of lowercase ascenders +cap_height#:=123.5/36pt#; % height of caps +fig_height#:=116/36pt#; % height of numerals +x_height#:=80/36pt#; % height of lowercase without ascenders +math_axis#:=45/36pt#; % axis of symmetry for math symbols +bar_height#:=40/36pt#; % height of crossbar in lowercase e +comma_depth#:=35/36pt#; % depth of comma below baseline +desc_depth#:=35/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=9/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=15/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=19/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=31/36pt#; % diameter of dots +cap_hair#:=17/36pt#; % uppercase hairline breadth +cap_stem#:=28/36pt#; % uppercase stem breadth +cap_curve#:=31/36pt#; % uppercase curve breadth +cap_ess#:=24/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.43pt#; % thickness of lines in math symbols + +dish#:=.7/36pt#; % amount erased at top or bottom of serifs +bracket#:=5/36pt#; % vertical distance from serif base to tangent +jut#:=13/36pt#; % protrusion of lowercase serifs +cap_jut#:=19/36pt#; % protrusion of uppercase serifs +beak_jut#:=7/36pt#; % horizontal protrusion of beak serifs +beak#:=25/36pt#; % vertical protrusion of beak serifs +vair#:=10/36pt#; % vertical diameter of hairlines +notch_cut#:=5pt#; % maximum breadth above or below notches +bar#:=12/36pt#; % lowercase bar thickness +slab#:=12/36pt#; % serif and arm thickness +cap_bar#:=12/36pt#; % uppercase bar thickness +cap_band#:=12/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=5pt#; % max breadth above/below uppercase notches +serif_drop#:=1.5/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.5/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=9/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmbx6.mf b/language/mongolian/montex/mfinput/km/kmbx6.mf new file mode 100644 index 0000000000..92ad8c0f20 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbx6.mf @@ -0,0 +1,81 @@ +% File: kmbx6.mf +% Based on: cmbzx6.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Roman 6 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBX"; font_size 6pt#; + +u#:=16.2/36pt#; % unit width +width_adj#:=7.8/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2/36pt#; % extra space added to all sidebars + +body_height#:=162/36pt#; % height of tallest characters +asc_height#:=150/36pt#; % height of lowercase ascenders +cap_height#:=148.2/36pt#; % height of caps +fig_height#:=139.2/36pt#; % height of numerals +x_height#:=96/36pt#; % height of lowercase without ascenders +math_axis#:=54/36pt#; % axis of symmetry for math symbols +bar_height#:=49/36pt#; % height of crossbar in lowercase e +comma_depth#:=42/36pt#; % depth of comma below baseline +desc_depth#:=42/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=10/36pt#; % diameter of rounded corners +fine#:=9/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=15.4/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=31/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=31/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=18/36pt#; % uppercase hairline breadth +cap_stem#:=33/36pt#; % uppercase stem breadth +cap_curve#:=36/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.47pt#; % thickness of lines in math symbols + +dish#:=.8/36pt#; % amount erased at top or bottom of serifs +bracket#:=6/36pt#; % vertical distance from serif base to tangent +jut#:=15/36pt#; % protrusion of lowercase serifs +cap_jut#:=23/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.8/36pt#; % horizontal protrusion of beak serifs +beak#:=36/36pt#; % vertical protrusion of beak serifs +vair#:=11/36pt#; % vertical diameter of hairlines +notch_cut#:=6pt#; % maximum breadth above or below notches +bar#:=13/36pt#; % lowercase bar thickness +slab#:=13/36pt#; % serif and arm thickness +cap_bar#:=13/36pt#; % uppercase bar thickness +cap_band#:=13/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=6pt#; % max breadth above/below uppercase notches +serif_drop#:=1.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.6/36pt#; % for small refinements of stem breadth +vair_corr#:=1.1/36pt#; % for small refinements of hairline height +apex_corr#:=5/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1.3; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmbx7.mf b/language/mongolian/montex/mfinput/km/kmbx7.mf new file mode 100644 index 0000000000..1bdce9676b --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbx7.mf @@ -0,0 +1,81 @@ +% File: kmbx7.mf +% Based on: cmbzx7.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Roman 7 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBX"; font_size 7pt#; + +u#:=17.9/36pt#; % unit width +width_adj#:=8.6/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=1/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.9/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=112/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=58/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=11/36pt#; % diameter of rounded corners +fine#:=9/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=15.8/36pt#; % lowercase hairline breadth +stem#:=32/36pt#; % lowercase stem breadth +curve#:=35/36pt#; % lowercase curve breadth +ess#:=29/36pt#; % breadth in middle of lowercase s +flare#:=35/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=41/36pt#; % diameter of dots +cap_hair#:=18/36pt#; % uppercase hairline breadth +cap_stem#:=38/36pt#; % uppercase stem breadth +cap_curve#:=41/36pt#; % uppercase curve breadth +cap_ess#:=37/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.51pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=7/36pt#; % vertical distance from serif base to tangent +jut#:=17/36pt#; % protrusion of lowercase serifs +cap_jut#:=27/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.6/36pt#; % horizontal protrusion of beak serifs +beak#:=46/36pt#; % vertical protrusion of beak serifs +vair#:=11.5/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=14/36pt#; % lowercase bar thickness +slab#:=14/36pt#; % serif and arm thickness +cap_bar#:=14/36pt#; % uppercase bar thickness +cap_band#:=14/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.1/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.7/36pt#; % for small refinements of stem breadth +vair_corr#:=1.2/36pt#; % for small refinements of hairline height +apex_corr#:=2/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1.1; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmbx8.mf b/language/mongolian/montex/mfinput/km/kmbx8.mf new file mode 100644 index 0000000000..8c547c07c5 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbx8.mf @@ -0,0 +1,81 @@ +% File: kmbx8.mf +% Based on: cmbzx8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Roman 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBX"; font_size 8pt#; + +u#:=19.6/36pt#; % unit width +width_adj#:=9.4/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.4/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=197.6/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=128/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=67/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=12/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=16.2/36pt#; % lowercase hairline breadth +stem#:=35/36pt#; % lowercase stem breadth +curve#:=39/36pt#; % lowercase curve breadth +ess#:=32/36pt#; % breadth in middle of lowercase s +flare#:=39/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=46/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=43/36pt#; % uppercase stem breadth +cap_curve#:=46/36pt#; % uppercase curve breadth +cap_ess#:=43/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.54pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=8/36pt#; % vertical distance from serif base to tangent +jut#:=19/36pt#; % protrusion of lowercase serifs +cap_jut#:=31/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.4/36pt#; % horizontal protrusion of beak serifs +beak#:=55/36pt#; % vertical protrusion of beak serifs +vair#:=12/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=15/36pt#; % lowercase bar thickness +slab#:=15/36pt#; % serif and arm thickness +cap_bar#:=15/36pt#; % uppercase bar thickness +cap_band#:=15/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=2.4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.8/36pt#; % for small refinements of stem breadth +vair_corr#:=1.3/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.9; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmbx9.mf b/language/mongolian/montex/mfinput/km/kmbx9.mf new file mode 100644 index 0000000000..05b85db905 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbx9.mf @@ -0,0 +1,81 @@ +% File: kmbx9.mf +% Based on: cmbzx9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Roman 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBX"; font_size 9pt#; + +u#:=21.3/36pt#; % unit width +width_adj#:=10.2/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=6.2/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=222.3/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=144/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=76/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=16.6/36pt#; % lowercase hairline breadth +stem#:=38/36pt#; % lowercase stem breadth +curve#:=43/36pt#; % lowercase curve breadth +ess#:=35/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=51/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=47/36pt#; % uppercase stem breadth +cap_curve#:=51/36pt#; % uppercase curve breadth +cap_ess#:=48/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.57pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=9/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=35/36pt#; % protrusion of uppercase serifs +beak_jut#:=10.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=12.5/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=16/36pt#; % lowercase bar thickness +slab#:=16/36pt#; % serif and arm thickness +cap_bar#:=16/36pt#; % uppercase bar thickness +cap_band#:=16/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=2.7/36pt#; % vertical drop of sloped serifs +stem_corr#:=1.9/36pt#; % for small refinements of stem breadth +vair_corr#:=1.4/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.7; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmbxsl10.mf b/language/mongolian/montex/mfinput/km/kmbxsl10.mf new file mode 100644 index 0000000000..6b9124b8f0 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbxsl10.mf @@ -0,0 +1,80 @@ +% File: kmbxsl10.mf +% Based on: cmbozx10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Slanted 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBXSL"; font_size 10pt#; + +u#:=23/36pt#; % unit width +width_adj#:=11/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=17/36pt#; % lowercase hairline breadth +stem#:=41/36pt#; % lowercase stem breadth +curve#:=46/36pt#; % lowercase curve breadth +ess#:=38/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=56/36pt#; % diameter of dots +cap_hair#:=19/36pt#; % uppercase hairline breadth +cap_stem#:=51/36pt#; % uppercase stem breadth +cap_curve#:=55/36pt#; % uppercase curve breadth +cap_ess#:=53/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=11/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmbxti10.mf b/language/mongolian/montex/mfinput/km/kmbxti10.mf new file mode 100644 index 0000000000..b60748967c --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmbxti10.mf @@ -0,0 +1,81 @@ +% File: kmbxti10.mf +% Based on: cmbizx10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Bold Extended Text Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMBXTI"; font_size 10pt#; + +u#:=21.2/36pt#; % unit width +width_adj#:=11/36pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=7/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=11/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=247/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=85/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=13/36pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=10/36pt#; % diameter of sharply rounded corners +thin_join#:=10/36pt#; % width of extrafine details +hair#:=20/36pt#; % lowercase hairline breadth +stem#:=38/36pt#; % lowercase stem breadth +curve#:=43/36pt#; % lowercase curve breadth +ess#:=35/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=53/36pt#; % diameter of dots +cap_hair#:=22/36pt#; % uppercase hairline breadth +cap_stem#:=49/36pt#; % uppercase stem breadth +cap_curve#:=52/36pt#; % uppercase curve breadth +cap_ess#:=50/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=27/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=17/36pt#; % serif and arm thickness +cap_bar#:=17/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=2/36pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=8/11; % parameter for superellipses +superpull:=1/8; % extra openness inside bowls +beak_darkness:=.4; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmcsc10.mf b/language/mongolian/montex/mfinput/km/kmcsc10.mf new file mode 100644 index 0000000000..390dc5e777 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmcsc10.mf @@ -0,0 +1,116 @@ +% File: kmcsc10.mf +% Based on: cmrcz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Caps and Small Caps 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMCSC"; font_size 10pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=16/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=4/36pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=2.4/36pt#; % extra space added to all sidebars + +lower.body_height#:=200/36pt#; % height of tallest characters +lower.cap_height#:=185/36pt#; % height of caps +lower.x_height#:=116/36pt#; % height of lowercase without ascenders +lower.bar_height#:=65/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=52/36pt#; % depth of comma below baseline + +lower.flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=9.1/36pt#; % uppercase hairline breadth +lower.stem#:=21/36pt#; % lowercase stem breadth +lower.cap_stem#:=26/36pt#; % uppercase stem breadth +lower.cap_curve#:=31/36pt#; % uppercase curve breadth +lower.cap_ess#:=28/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=26/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=7/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=52/36pt#; % vertical protrusion of beak serifs +lower.slab#:=9.1/36pt#; % serif and arm thickness +lower.cap_bar#:=9.1/36pt#; % uppercase bar thickness +lower.cap_band#:=9.1/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches + +lower.o#:=5/36pt#; % amount of overshoot for curves +lower.apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate mcyccsc; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmcsc8.mf b/language/mongolian/montex/mfinput/km/kmcsc8.mf new file mode 100644 index 0000000000..656e54d2c2 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmcsc8.mf @@ -0,0 +1,122 @@ +% File: kmcsc8.mf +% Based on: cmrcz8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% CMCSC8.MF June 1990 +% This Metafont file is part of AMSFonts 2.0. +% Copyright (C) 1990, American Mathematical Society. +% All rights reserved. Copying of this file is authorized only if either: +% (1) you make absolutely no changes to your copy including filename; OR +% (2) if you do make changes, you first rename it to some other filename. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Computer Modern Cyrillic Caps and Small Caps 8 point +% Computer Modern Roman Cap and Small Cap 8 point; created at AMS +if unknown cmbase: input cmbase fi + +font_identifier:="KMCSC"; font_size 8pt#; + +u#:=18/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2.5/36pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=13/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=2.7/36pt#;% extra sidebar near uppercase serifs +lower.letter_fit#:=4/36pt#; % extra space added to all sidebars + +lower.body_height#:=146/36pt#; % height of tallest characters +lower.cap_height#:=145.8/36pt#; % height of caps +lower.x_height#:=85/36pt#; % height of lowercase without ascenders +lower.bar_height#:=47.6/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=38/36pt#; % depth of comma below baseline + +lower.flare#:=20/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=8.1/36pt#; % uppercase hairline breadth +lower.stem#:=17/36pt#; % lowercase stem breadth +lower.cap_stem#:=21/36pt#; % uppercase stem breadth +lower.cap_curve#:=25/36pt#; % uppercase curve breadth +lower.cap_ess#:=20/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=20/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=5.4/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=38/36pt#; % vertical protrusion of beak serifs +lower.slab#:=8.1/36pt#; % serif and arm thickness +lower.cap_bar#:=8.1/36pt#; % uppercase bar thickness +lower.cap_band#:=8.1/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches + +lower.o#:=4/36pt#; % amount of overshoot for curves +lower.apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate mcyccsc; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmcsc9.mf b/language/mongolian/montex/mfinput/km/kmcsc9.mf new file mode 100644 index 0000000000..724bccc9a9 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmcsc9.mf @@ -0,0 +1,122 @@ +% File: kmcsc9.mf +% Based on: cmrcz9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% CMCSC9.MF June 1990 +% This Metafont file is part of AMSFonts 2.0. +% Copyright (C) 1990, American Mathematical Society. +% All rights reserved. Copying of this file is authorized only if either: +% (1) you make absolutely no changes to your copy including filename; OR +% (2) if you do make changes, you first rename it to some other filename. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Computer Modern Cyrillic Caps and Small Caps 9 point; base on +% Computer Modern Roman Caps and Small Caps 9 point; created at AMS +if unknown cmbase: input cmbase fi + +font_identifier:="KMCSC"; font_size 9pt#; + +u#:=19/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3.5/36pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=14.5/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=3.4/36pt#;% extra sidebar near uppercase serifs +lower.letter_fit#:=3.5/36pt#; % extra space added to all sidebars + +lower.body_height#:=173/36pt#; % height of tallest characters +lower.cap_height#:=170.4/36pt#; % height of caps +lower.x_height#:=100.5/36pt#; % height of lowercase without ascenders +lower.bar_height#:=56.3/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=45/36pt#; % depth of comma below baseline + +lower.flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=8.6/36pt#; % uppercase hairline breadth +lower.stem#:=19/36pt#; % lowercase stem breadth +lower.cap_stem#:=23.5/36pt#; % uppercase stem breadth +lower.cap_curve#:=28/36pt#; % uppercase curve breadth +lower.cap_ess#:=24/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=23/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=6.2/36pt#; % horizontal protrusion of beak serifs +lower.beak#:=45/36pt#; % vertical protrusion of beak serifs +lower.slab#:=8.6/36pt#; % serif and arm thickness +lower.cap_bar#:=8.6/36pt#; % uppercase bar thickness +lower.cap_band#:=8.6/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches + +lower.o#:=4.5/36pt#; % amount of overshoot for curves +lower.apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=1; % factor applied to weights of heavy characters + +generate mcyccsc; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmdunh10.mf b/language/mongolian/montex/mfinput/km/kmdunh10.mf new file mode 100644 index 0000000000..f5978de881 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmdunh10.mf @@ -0,0 +1,80 @@ +% File: kmdunh10.mf +% Based on: cmdunh10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Dunhill Roman 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMDUNH"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=370/36pt#; % height of tallest characters +asc_height#:=350/36pt#; % height of lowercase ascenders +cap_height#:=346/36pt#; % height of caps +fig_height#:=332/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmff10.mf b/language/mongolian/montex/mfinput/km/kmff10.mf new file mode 100644 index 0000000000..c78850b0f1 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmff10.mf @@ -0,0 +1,80 @@ +% File: kmff10.mf +% Based on: cmruz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Funny Roman 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMFF"; font_size 10pt#; + +u#:=16/36pt#; % unit width +width_adj#:=-16/36pt#; % width adjustment for certain characters +serif_fit#:=-3/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-4/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2/36pt#; % extra space added to all sidebars + +body_height#:=240/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=225/36pt#; % height of caps +fig_height#:=210/36pt#; % height of numerals +x_height#:=190/36pt#; % height of lowercase without ascenders +math_axis#:=55/36pt#; % axis of symmetry for math symbols +bar_height#:=60/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=100/36pt#; % depth of lowercase descenders + +crisp#:=10/36pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=14/36pt#; % width of extrafine details +hair#:=12/36pt#; % lowercase hairline breadth +stem#:=16/36pt#; % lowercase stem breadth +curve#:=20/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=16/36pt#; % uppercase hairline breadth +cap_stem#:=24/36pt#; % uppercase stem breadth +cap_curve#:=26/36pt#; % uppercase curve breadth +cap_ess#:=28/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.5pt#; % thickness of lines in math symbols + +dish#:=5/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=3/36pt#; % protrusion of lowercase serifs +cap_jut#:=4/36pt#; % protrusion of uppercase serifs +beak_jut#:=-8/36pt#; % horizontal protrusion of beak serifs +beak#:=10/36pt#; % vertical protrusion of beak serifs +vair#:=14/36pt#; % vertical diameter of hairlines +notch_cut#:=2/36pt#; % maximum breadth above or below notches +bar#:=17/36pt#; % lowercase bar thickness +slab#:=20/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=3/36pt#; % max breadth above/below uppercase notches +serif_drop#:=-10/36pt#; % vertical drop of sloped serifs +stem_corr#:=-1/36pt#; % for small refinements of stem breadth +vair_corr#:=-1/36pt#; % for small refinements of hairline height +apex_corr#:=6/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=-.1; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=2/3; % parameter for superellipses +superpull:=-1/8; % extra openness inside bowls +beak_darkness:=.5; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmfi10.mf b/language/mongolian/montex/mfinput/km/kmfi10.mf new file mode 100644 index 0000000000..369357e9ab --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmfi10.mf @@ -0,0 +1,80 @@ +% File: kmfi10.mf +% Based on: cmfi10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Funny Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMFI"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=-16/36pt#; % width adjustment for certain characters +serif_fit#:=-3/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-4/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2/36pt#; % extra space added to all sidebars + +body_height#:=240/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=225/36pt#; % height of caps +fig_height#:=210/36pt#; % height of numerals +x_height#:=190/36pt#; % height of lowercase without ascenders +math_axis#:=55/36pt#; % axis of symmetry for math symbols +bar_height#:=60/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=100/36pt#; % depth of lowercase descenders + +crisp#:=11/36pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=14/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=17/36pt#; % lowercase stem breadth +curve#:=21/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=15/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=29/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.5pt#; % thickness of lines in math symbols + +dish#:=5/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=3/36pt#; % protrusion of lowercase serifs +cap_jut#:=4/36pt#; % protrusion of uppercase serifs +beak_jut#:=-8/36pt#; % horizontal protrusion of beak serifs +beak#:=10/36pt#; % vertical protrusion of beak serifs +vair#:=15/36pt#; % vertical diameter of hairlines +notch_cut#:=2/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=21/36pt#; % serif and arm thickness +cap_bar#:=23/36pt#; % uppercase bar thickness +cap_band#:=18/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=3/36pt#; % max breadth above/below uppercase notches +serif_drop#:=-10/36pt#; % vertical drop of sloped serifs +stem_corr#:=-1/36pt#; % for small refinements of stem breadth +vair_corr#:=-1/36pt#; % for small refinements of hairline height +apex_corr#:=6/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=+.1; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=2/3; % parameter for superellipses +superpull:=-1/8; % extra openness inside bowls +beak_darkness:=.5; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmfib8.mf b/language/mongolian/montex/mfinput/km/kmfib8.mf new file mode 100644 index 0000000000..a5fb446cb8 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmfib8.mf @@ -0,0 +1,80 @@ +% File: kmfib8.mf +% Based on: cmfib8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Roman Fibonacci Font +if unknown cmbase: input cmbase fi + +font_identifier:="KMFIB"; font_size 8pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=-2/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=233/36pt#; % height of tallest characters +asc_height#:=233/36pt#; % height of lowercase ascenders +cap_height#:=233/36pt#; % height of caps +fig_height#:=233/36pt#; % height of numerals +x_height#:=144/36pt#; % height of lowercase without ascenders +math_axis#:=89/36pt#; % axis of symmetry for math symbols +bar_height#:=89/36pt#; % height of crossbar in lowercase e +comma_depth#:=55/36pt#; % depth of comma below baseline +desc_depth#:=55/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=13/36pt#; % diameter of rounded corners +fine#:=13/36pt#; % diameter of sharply rounded corners +thin_join#:=13/36pt#; % width of extrafine details +hair#:=21/36pt#; % lowercase hairline breadth +stem#:=34/36pt#; % lowercase stem breadth +curve#:=39/36pt#; % lowercase curve breadth +ess#:=34/36pt#; % breadth in middle of lowercase s +flare#:=34/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=34/36pt#; % diameter of dots +cap_hair#:=21/36pt#; % uppercase hairline breadth +cap_stem#:=34/36pt#; % uppercase stem breadth +cap_curve#:=39/36pt#; % uppercase curve breadth +cap_ess#:=34/36pt#; % breadth in middle of uppercase s +rule_thickness#:=21/36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=21/36pt#; % vertical distance from serif base to tangent +jut#:=21/36pt#; % protrusion of lowercase serifs +cap_jut#:=21/36pt#; % protrusion of uppercase serifs +beak_jut#:=13/36pt#; % horizontal protrusion of beak serifs +beak#:=55/36pt#; % vertical protrusion of beak serifs +vair#:=13/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=13/36pt#; % lowercase bar thickness +slab#:=13/36pt#; % serif and arm thickness +cap_bar#:=13/36pt#; % uppercase bar thickness +cap_band#:=13/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=3/8; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/13; % extra openness inside bowls +beak_darkness:=5/13; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kminch.mf b/language/mongolian/montex/mfinput/km/kminch.mf new file mode 100644 index 0000000000..63f2bb17f7 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kminch.mf @@ -0,0 +1,80 @@ +% File: kminch.mf +% Based on: czinch.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Inch-High Sans Serif Bold Extended Caps and Digits +if unknown cmbase: input cmbase fi +numeric Pt#; 250/36Pt#=1in#; +font_identifier:="KMINCH"; font_size 10Pt#; + +u#:=22/36Pt#; % unit width +width_adj#:=22/36Pt#; % width adjustment for certain characters +serif_fit#:=-9/36Pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-11/36Pt#; % extra sidebar near uppercase serifs +letter_fit#:=0Pt#; % extra space added to all sidebars + +body_height#:=270/36Pt#; % height of tallest characters +asc_height#:=250/36Pt#; % height of lowercase ascenders +cap_height#:=250/36Pt#; % height of caps +fig_height#:=250/36Pt#; % height of numerals +x_height#:=165/36Pt#; % height of lowercase without ascenders +math_axis#:=90/36Pt#; % axis of symmetry for math symbols +bar_height#:=90/36Pt#; % height of crossbar in lowercase e +comma_depth#:=38/36Pt#; % depth of comma below baseline +desc_depth#:=70/36Pt#; % depth of lowercase descenders + +crisp#:=26/36Pt#; % diameter of serif corners +tiny#:=26/36Pt#; % diameter of rounded corners +fine#:=9/36Pt#; % diameter of sharply rounded corners +thin_join#:=9/36Pt#; % width of extrafine details +hair#:=49/36Pt#; % lowercase hairline breadth +stem#:=49/36Pt#; % lowercase stem breadth +curve#:=49/36Pt#; % lowercase curve breadth +ess#:=43/36Pt#; % breadth in middle of lowercase s +flare#:=40/36Pt#; % diameter of bulbs or breadth of terminals +dot_size#:=47/36Pt#; % diameter of dots +cap_hair#:=49/36Pt#; % uppercase hairline breadth +cap_stem#:=53/36Pt#; % uppercase stem breadth +cap_curve#:=53/36Pt#; % uppercase curve breadth +cap_ess#:=51/36Pt#; % breadth in middle of uppercase s +rule_thickness#:=30/36Pt#; % thickness of lines in math symbols + +dish#:=0Pt#; % amount erased at top or bottom of serifs +bracket#:=0Pt#; % vertical distance from serif base to tangent +jut#:=0Pt#; % protrusion of lowercase serifs +cap_jut#:=0Pt#; % protrusion of uppercase serifs +beak_jut#:=0Pt#; % horizontal protrusion of beak serifs +beak#:=1.5/36Pt#; % vertical protrusion of beak serifs +vair#:=26/36Pt#; % vertical diameter of hairlines +notch_cut#:=49/36Pt#; % maximum breadth above or below notches +bar#:=26/36Pt#; % lowercase bar thickness +slab#:=36/36Pt#; % serif and arm thickness +cap_bar#:=34/36Pt#; % uppercase bar thickness +cap_band#:=31/36Pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=45/36Pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36Pt#; % vertical drop of sloped serifs +stem_corr#:=1/36Pt#; % for small refinements of stem breadth +vair_corr#:=2/36Pt#; % for small refinements of hairline height +apex_corr#:=18/36Pt#; % extra width at diagonal junctions + +o#:=8/36Pt#; % amount of overshoot for curves +apex_o#:=0Pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.88; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=3/4; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcytitle; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmitt10.mf b/language/mongolian/montex/mfinput/km/kmitt10.mf new file mode 100644 index 0000000000..024861ce78 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmitt10.mf @@ -0,0 +1,81 @@ +% File: kmitt10.mf +% Based on: cmritz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Italic Typewriter Text for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMITT"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=15/36pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=40/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr10.mf b/language/mongolian/montex/mfinput/km/kmr10.mf new file mode 100644 index 0000000000..54bd5ff35c --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr10.mf @@ -0,0 +1,82 @@ +% File: kmr10.mf +% Based on: cmrz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% Renamed: June 1998, Ulaanbaatar +% +% Kirill Mongol Computer Modern Roman 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr12.mf b/language/mongolian/montex/mfinput/km/kmr12.mf new file mode 100644 index 0000000000..6196d4d3bb --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr12.mf @@ -0,0 +1,81 @@ +% File: kmr12.mf +% Based on: cmrz12.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Roman 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=295.2/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=104.4/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=9.5/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=30/36pt#; % breadth in middle of lowercase s +flare#:=36/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=42/36pt#; % diameter of dots +cap_hair#:=11.5/36pt#; % uppercase hairline breadth +cap_stem#:=35/36pt#; % uppercase stem breadth +cap_curve#:=40/36pt#; % uppercase curve breadth +cap_ess#:=38/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=24/36pt#; % vertical distance from serif base to tangent +jut#:=33/36pt#; % protrusion of lowercase serifs +cap_jut#:=41/36pt#; % protrusion of uppercase serifs +beak_jut#:=11.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=8.5/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=12.5/36pt#; % lowercase bar thickness +slab#:=12.5/36pt#; % serif and arm thickness +cap_bar#:=12.5/36pt#; % uppercase bar thickness +cap_band#:=12.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=4.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr17.mf b/language/mongolian/montex/mfinput/km/kmr17.mf new file mode 100644 index 0000000000..ba00f099e8 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr17.mf @@ -0,0 +1,81 @@ +% File: kmr17.mf +% Based on: cmrz17.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Roman 17 point (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 17.28pt#; + +u#:=32.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=-0.1pt#; % extra space added to all sidebars + +body_height#:=466/36pt#; % height of tallest characters +asc_height#:=432/36pt#; % height of lowercase ascenders +cap_height#:=425/36pt#; % height of caps +fig_height#:=401/36pt#; % height of numerals +x_height#:=267.8/36pt#; % height of lowercase without ascenders +math_axis#:=155.5/36pt#; % axis of symmetry for math symbols +bar_height#:=150/36pt#; % height of crossbar in lowercase e +comma_depth#:=121/36pt#; % depth of comma below baseline +desc_depth#:=121/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=33/36pt#; % lowercase stem breadth +curve#:=41/36pt#; % lowercase curve breadth +ess#:=35/36pt#; % breadth in middle of lowercase s +flare#:=45/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=51/36pt#; % diameter of dots +cap_hair#:=13/36pt#; % uppercase hairline breadth +cap_stem#:=40/36pt#; % uppercase stem breadth +cap_curve#:=48/36pt#; % uppercase curve breadth +cap_ess#:=43/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=34/36pt#; % vertical distance from serif base to tangent +jut#:=42/36pt#; % protrusion of lowercase serifs +cap_jut#:=50/36pt#; % protrusion of uppercase serifs +beak_jut#:=15/36pt#; % horizontal protrusion of beak serifs +beak#:=121/36pt#; % vertical protrusion of beak serifs +vair#:=10/36pt#; % vertical diameter of hairlines +notch_cut#:=17pt#; % maximum breadth above or below notches +bar#:=16/36pt#; % lowercase bar thickness +slab#:=16/36pt#; % serif and arm thickness +cap_bar#:=16/36pt#; % uppercase bar thickness +cap_band#:=16/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=17pt#; % max breadth above/below uppercase notches +serif_drop#:=17/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=10/36pt#; % amount of overshoot for curves +apex_o#:=10/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr5.mf b/language/mongolian/montex/mfinput/km/kmr5.mf new file mode 100644 index 0000000000..066f544108 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr5.mf @@ -0,0 +1,81 @@ +% File: kmr5.mf +% Based on: cmrz5.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic 5 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 5pt#; + +u#:=12.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=2/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=5/36pt#; % extra space added to all sidebars + +body_height#:=135/36pt#; % height of tallest characters +asc_height#:=125/36pt#; % height of lowercase ascenders +cap_height#:=123/36pt#; % height of caps +fig_height#:=116/36pt#; % height of numerals +x_height#:=77.5/36pt#; % height of lowercase without ascenders +math_axis#:=45/36pt#; % axis of symmetry for math symbols +bar_height#:=43.5/36pt#; % height of crossbar in lowercase e +comma_depth#:=35/36pt#; % depth of comma below baseline +desc_depth#:=35/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=6/36pt#; % diameter of rounded corners +fine#:=5/36pt#; % diameter of sharply rounded corners +thin_join#:=5/36pt#; % width of extrafine details +hair#:=7.5/36pt#; % lowercase hairline breadth +stem#:=16/36pt#; % lowercase stem breadth +curve#:=18/36pt#; % lowercase curve breadth +ess#:=12/36pt#; % breadth in middle of lowercase s +flare#:=19/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=22/36pt#; % diameter of dots +cap_hair#:=8/36pt#; % uppercase hairline breadth +cap_stem#:=19/36pt#; % uppercase stem breadth +cap_curve#:=21/36pt#; % uppercase curve breadth +cap_ess#:=14/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.28pt#; % thickness of lines in math symbols + +dish#:=.7/36pt#; % amount erased at top or bottom of serifs +bracket#:=10/36pt#; % vertical distance from serif base to tangent +jut#:=15/36pt#; % protrusion of lowercase serifs +cap_jut#:=20/36pt#; % protrusion of uppercase serifs +beak_jut#:=6/36pt#; % horizontal protrusion of beak serifs +beak#:=35/36pt#; % vertical protrusion of beak serifs +vair#:=6/36pt#; % vertical diameter of hairlines +notch_cut#:=5pt#; % maximum breadth above or below notches +bar#:=8/36pt#; % lowercase bar thickness +slab#:=8/36pt#; % serif and arm thickness +cap_bar#:=8/36pt#; % uppercase bar thickness +cap_band#:=8/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=5pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=.7/36pt#; % for small refinements of stem breadth +vair_corr#:=.5/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=1; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr6.mf b/language/mongolian/montex/mfinput/km/kmr6.mf new file mode 100644 index 0000000000..79ed133427 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr6.mf @@ -0,0 +1,81 @@ +% File: kmr6.mf +% Based on: cmrz6.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic 6 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 6pt#; + +u#:=14/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=2.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=3/36pt#; % extra space added to all sidebars + +body_height#:=162/36pt#; % height of tallest characters +asc_height#:=150/36pt#; % height of lowercase ascenders +cap_height#:=147.6/36pt#; % height of caps +fig_height#:=139.2/36pt#; % height of numerals +x_height#:=93/36pt#; % height of lowercase without ascenders +math_axis#:=54/36pt#; % axis of symmetry for math symbols +bar_height#:=52.2/36pt#; % height of crossbar in lowercase e +comma_depth#:=42/36pt#; % depth of comma below baseline +desc_depth#:=42/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=8/36pt#; % lowercase hairline breadth +stem#:=18/36pt#; % lowercase stem breadth +curve#:=20.5/36pt#; % lowercase curve breadth +ess#:=17/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=8.5/36pt#; % uppercase hairline breadth +cap_stem#:=21.5/36pt#; % uppercase stem breadth +cap_curve#:=24/36pt#; % uppercase curve breadth +cap_ess#:=19/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.31pt#; % thickness of lines in math symbols + +dish#:=.8/36pt#; % amount erased at top or bottom of serifs +bracket#:=12/36pt#; % vertical distance from serif base to tangent +jut#:=17/36pt#; % protrusion of lowercase serifs +cap_jut#:=23/36pt#; % protrusion of uppercase serifs +beak_jut#:=6.8/36pt#; % horizontal protrusion of beak serifs +beak#:=42/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=6pt#; % maximum breadth above or below notches +bar#:=8.5/36pt#; % lowercase bar thickness +slab#:=8.5/36pt#; % serif and arm thickness +cap_bar#:=8.5/36pt#; % uppercase bar thickness +cap_band#:=8.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=6pt#; % max breadth above/below uppercase notches +serif_drop#:=2.4/36pt#; % vertical drop of sloped serifs +stem_corr#:=.8/36pt#; % for small refinements of stem breadth +vair_corr#:=.7/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=4.5/36pt#; % amount of overshoot for curves +apex_o#:=4.5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.8; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr7.mf b/language/mongolian/montex/mfinput/km/kmr7.mf new file mode 100644 index 0000000000..b061cd718a --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr7.mf @@ -0,0 +1,81 @@ +% File: kmr7.mf +% Based on: cmrz7.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Roman 7 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 7pt#; + +u#:=15.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=2/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.2/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=108.5/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=60.9/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=8.5/36pt#; % lowercase hairline breadth +stem#:=20/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=29/36pt#; % diameter of dots +cap_hair#:=9/36pt#; % uppercase hairline breadth +cap_stem#:=24/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=23/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.34pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=14/36pt#; % vertical distance from serif base to tangent +jut#:=19/36pt#; % protrusion of lowercase serifs +cap_jut#:=26/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.6/36pt#; % horizontal protrusion of beak serifs +beak#:=49/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=9/36pt#; % lowercase bar thickness +slab#:=9/36pt#; % serif and arm thickness +cap_bar#:=9/36pt#; % uppercase bar thickness +cap_band#:=9/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=.9/36pt#; % for small refinements of stem breadth +vair_corr#:=.9/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=5/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.6; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr8.mf b/language/mongolian/montex/mfinput/km/kmr8.mf new file mode 100644 index 0000000000..2cee96d44d --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr8.mf @@ -0,0 +1,81 @@ +% File: kmr8.mf +% Based on: cmrz8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Roman 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmr9.mf b/language/mongolian/montex/mfinput/km/kmr9.mf new file mode 100644 index 0000000000..ac131059d0 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmr9.mf @@ -0,0 +1,81 @@ +% File: kmr9.mf +% Based on: cmrz9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Roman 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMR"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmsl10.mf b/language/mongolian/montex/mfinput/km/kmsl10.mf new file mode 100644 index 0000000000..737b483677 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmsl10.mf @@ -0,0 +1,81 @@ +% File: kmsl10.mf +% Based on: cmroz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Slanted 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMSL"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=35/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmsl12.mf b/language/mongolian/montex/mfinput/km/kmsl12.mf new file mode 100644 index 0000000000..6371e92a6e --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmsl12.mf @@ -0,0 +1,80 @@ +% File: kmsl12.mf +% Based on: cmroz12.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Slanted Roman 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMSL"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=295.2/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=104.4/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=9.5/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=30/36pt#; % breadth in middle of lowercase s +flare#:=36/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=42/36pt#; % diameter of dots +cap_hair#:=11.5/36pt#; % uppercase hairline breadth +cap_stem#:=35/36pt#; % uppercase stem breadth +cap_curve#:=40/36pt#; % uppercase curve breadth +cap_ess#:=38/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=24/36pt#; % vertical distance from serif base to tangent +jut#:=33/36pt#; % protrusion of lowercase serifs +cap_jut#:=41/36pt#; % protrusion of uppercase serifs +beak_jut#:=11.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=8.5/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=12.5/36pt#; % lowercase bar thickness +slab#:=12.5/36pt#; % serif and arm thickness +cap_bar#:=12.5/36pt#; % uppercase bar thickness +cap_band#:=12.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=4.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmsl8.mf b/language/mongolian/montex/mfinput/km/kmsl8.mf new file mode 100644 index 0000000000..fc5febc1d7 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmsl8.mf @@ -0,0 +1,80 @@ +% File: kmsl8.mf +% Based on: cmroz8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Slanted Roman 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMSL"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=25.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=27/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=9.5/36pt#; % uppercase hairline breadth +cap_stem#:=26.5/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=22/36pt#; % protrusion of lowercase serifs +cap_jut#:=29/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.4/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmsl9.mf b/language/mongolian/montex/mfinput/km/kmsl9.mf new file mode 100644 index 0000000000..0abf3b9ad4 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmsl9.mf @@ -0,0 +1,80 @@ +% File: kmsl9.mf +% Based on: cmroz9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Slanted Roman 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMSL"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=10/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=33/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=25/36pt#; % protrusion of lowercase serifs +cap_jut#:=33/36pt#; % protrusion of uppercase serifs +beak_jut#:=9.2/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmsltt10.mf b/language/mongolian/montex/mfinput/km/kmsltt10.mf new file mode 100644 index 0000000000..b2803f6c9f --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmsltt10.mf @@ -0,0 +1,81 @@ +% File: kmsltt10.mf +% Based on: cmrotz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Slanted Typewriter Text for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMSLTT"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=34/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/6; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmss10.mf b/language/mongolian/montex/mfinput/km/kmss10.mf new file mode 100644 index 0000000000..ed4f69a1ce --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmss10.mf @@ -0,0 +1,80 @@ +% File: kmss10.mf +% Based on: cmrsz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Sans Serif 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSS"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=15/36pt#; % width adjustment for certain characters +serif_fit#:=-7/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-10/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=45/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=28/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=28/36pt#; % breadth in middle of lowercase s +flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=30/36pt#; % diameter of dots +cap_hair#:=28/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=32/36pt#; % uppercase curve breadth +cap_ess#:=32/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=18/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=23/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=20/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=5/36pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.96; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmss12.mf b/language/mongolian/montex/mfinput/km/kmss12.mf new file mode 100644 index 0000000000..349b75a624 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmss12.mf @@ -0,0 +1,80 @@ +% File: kmss12.mf +% Based on: cmrsz12.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Sans Serif 12 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSS"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=17/36pt#; % width adjustment for certain characters +serif_fit#:=-9/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-13/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=300/36pt#; % height of caps +fig_height#:=283/36pt#; % height of numerals +x_height#:=192/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=97/36pt#; % height of crossbar in lowercase e +comma_depth#:=54/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=20/36pt#; % width of extrafine details +hair#:=33/36pt#; % lowercase hairline breadth +stem#:=33/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=33/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=33/36pt#; % uppercase hairline breadth +cap_stem#:=37/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=37/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.6/36pt#; % vertical protrusion of beak serifs +vair#:=26/36pt#; % vertical diameter of hairlines +notch_cut#:=22/36pt#; % maximum breadth above or below notches +bar#:=25/36pt#; % lowercase bar thickness +slab#:=27/36pt#; % serif and arm thickness +cap_bar#:=26/36pt#; % uppercase bar thickness +cap_band#:=24/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=31/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=6/36pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.98; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmss17.mf b/language/mongolian/montex/mfinput/km/kmss17.mf new file mode 100644 index 0000000000..f4a389b101 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmss17.mf @@ -0,0 +1,80 @@ +% File: kmss17.mf +% Based on: cmrsz17.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Sans Serif 17 pt (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="KMSS"; font_size 17.28pt#; + +u#:=32.5/36pt#; % unit width +width_adj#:=24/36pt#; % width adjustment for certain characters +serif_fit#:=-12/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-17/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=466/36pt#; % height of tallest characters +asc_height#:=432/36pt#; % height of lowercase ascenders +cap_height#:=432/36pt#; % height of caps +fig_height#:=408/36pt#; % height of numerals +x_height#:=267.8/36pt#; % height of lowercase without ascenders +math_axis#:=155.5/36pt#; % axis of symmetry for math symbols +bar_height#:=136/36pt#; % height of crossbar in lowercase e +comma_depth#:=78/36pt#; % depth of comma below baseline +desc_depth#:=121/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=28/36pt#; % width of extrafine details +hair#:=47/36pt#; % lowercase hairline breadth +stem#:=47/36pt#; % lowercase stem breadth +curve#:=47/36pt#; % lowercase curve breadth +ess#:=47/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=50/36pt#; % diameter of dots +cap_hair#:=47/36pt#; % uppercase hairline breadth +cap_stem#:=52/36pt#; % uppercase stem breadth +cap_curve#:=52/36pt#; % uppercase curve breadth +cap_ess#:=52/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.8/36pt#; % vertical protrusion of beak serifs +vair#:=38/36pt#; % vertical diameter of hairlines +notch_cut#:=32/36pt#; % maximum breadth above or below notches +bar#:=36/36pt#; % lowercase bar thickness +slab#:=40/36pt#; % serif and arm thickness +cap_bar#:=38/36pt#; % uppercase bar thickness +cap_band#:=35/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=46/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=7/36pt#; % extra width at diagonal junctions + +o#:=10/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmss8.mf b/language/mongolian/montex/mfinput/km/kmss8.mf new file mode 100644 index 0000000000..6cece7399d --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmss8.mf @@ -0,0 +1,80 @@ +% File: kmss8.mf +% Based on: cmrsz8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Sans Serif 8 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSS"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=12/36pt#; % width adjustment for certain characters +serif_fit#:=-6/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-8.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=200/36pt#; % height of caps +fig_height#:=189/36pt#; % height of numerals +x_height#:=128/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=63/36pt#; % height of crossbar in lowercase e +comma_depth#:=37/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=15/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=29/36pt#; % uppercase curve breadth +cap_ess#:=28/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.4/36pt#; % vertical protrusion of beak serifs +vair#:=19/36pt#; % vertical diameter of hairlines +notch_cut#:=16/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=20/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=22/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.93; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmss9.mf b/language/mongolian/montex/mfinput/km/kmss9.mf new file mode 100644 index 0000000000..e85def409c --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmss9.mf @@ -0,0 +1,80 @@ +% File: kmss9.mf +% Based on: cmrsz9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Sans Serif 9 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSS"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=13/36pt#; % width adjustment for certain characters +serif_fit#:=-6.5/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-9/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=225/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=144/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=71/36pt#; % height of crossbar in lowercase e +comma_depth#:=41/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=16/36pt#; % width of extrafine details +hair#:=27/36pt#; % lowercase hairline breadth +stem#:=27/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=27/36pt#; % uppercase hairline breadth +cap_stem#:=31/36pt#; % uppercase stem breadth +cap_curve#:=31/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=17/36pt#; % maximum breadth above or below notches +bar#:=20/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=24/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4.5/36pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmssbx10.mf b/language/mongolian/montex/mfinput/km/kmssbx10.mf new file mode 100644 index 0000000000..78865704a8 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssbx10.mf @@ -0,0 +1,80 @@ +% File: kmssbx10.mf +% Based on: cmbszx10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Sans Serif Bold Extended 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSBX"; font_size 10pt#; + +u#:=22/36pt#; % unit width +width_adj#:=22/36pt#; % width adjustment for certain characters +serif_fit#:=-9/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-11/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=250/36pt#; % height of numerals +x_height#:=165/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=90/36pt#; % height of crossbar in lowercase e +comma_depth#:=38/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=26/36pt#; % diameter of serif corners +tiny#:=26/36pt#; % diameter of rounded corners +fine#:=9/36pt#; % diameter of sharply rounded corners +thin_join#:=9/36pt#; % width of extrafine details +hair#:=49/36pt#; % lowercase hairline breadth +stem#:=49/36pt#; % lowercase stem breadth +curve#:=49/36pt#; % lowercase curve breadth +ess#:=43/36pt#; % breadth in middle of lowercase s +flare#:=40/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=47/36pt#; % diameter of dots +cap_hair#:=49/36pt#; % uppercase hairline breadth +cap_stem#:=53/36pt#; % uppercase stem breadth +cap_curve#:=53/36pt#; % uppercase curve breadth +cap_ess#:=51/36pt#; % breadth in middle of uppercase s +rule_thickness#:=30/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=1.5/36pt#; % vertical protrusion of beak serifs +vair#:=26/36pt#; % vertical diameter of hairlines +notch_cut#:=49/36pt#; % maximum breadth above or below notches +bar#:=26/36pt#; % lowercase bar thickness +slab#:=36/36pt#; % serif and arm thickness +cap_bar#:=34/36pt#; % uppercase bar thickness +cap_band#:=31/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=45/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=2/36pt#; % for small refinements of hairline height +apex_corr#:=18/36pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.88; % factor applied to weights of heavy characters +math_spread:=.5; % extra openness of math symbols +superness:=3/4; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmssdc10.mf b/language/mongolian/montex/mfinput/km/kmssdc10.mf new file mode 100644 index 0000000000..2dfbe44422 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssdc10.mf @@ -0,0 +1,80 @@ +% File: kmssdc10.mf +% Based on: cmdszc10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Sans Serif Demibold Condensed 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSDC"; font_size 10pt#; + +u#:=19/36pt#; % unit width +width_adj#:=15/36pt#; % width adjustment for certain characters +serif_fit#:=-8/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-9/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=250/36pt#; % height of numerals +x_height#:=170/36pt#; % height of lowercase without ascenders +math_axis#:=95/36pt#; % axis of symmetry for math symbols +bar_height#:=95/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=60/36pt#; % depth of lowercase descenders + +crisp#:=23/36pt#; % diameter of serif corners +tiny#:=23/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=40/36pt#; % lowercase hairline breadth +stem#:=40/36pt#; % lowercase stem breadth +curve#:=40/36pt#; % lowercase curve breadth +ess#:=37/36pt#; % breadth in middle of lowercase s +flare#:=31/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=40/36pt#; % uppercase hairline breadth +cap_stem#:=44/36pt#; % uppercase stem breadth +cap_curve#:=44/36pt#; % uppercase curve breadth +cap_ess#:=42/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=1.5/36pt#; % vertical protrusion of beak serifs +vair#:=23/36pt#; % vertical diameter of hairlines +notch_cut#:=40/36pt#; % maximum breadth above or below notches +bar#:=23/36pt#; % lowercase bar thickness +slab#:=31/36pt#; % serif and arm thickness +cap_bar#:=29/36pt#; % uppercase bar thickness +cap_band#:=27/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=37/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=2/36pt#; % for small refinements of hairline height +apex_corr#:=14/36pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.91; % factor applied to weights of heavy characters +math_spread:=.3; % extra openness of math symbols +superness:=.74; % parameter for superellipses +superpull:=1/18; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmssi10.mf b/language/mongolian/montex/mfinput/km/kmssi10.mf new file mode 100644 index 0000000000..781654364f --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssi10.mf @@ -0,0 +1,81 @@ +% File: kmssi10.mf +% Based on: cmrisz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Slanted Sans Serif 10 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSI"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=15/36pt#; % width adjustment for certain characters +serif_fit#:=-7/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-10/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=250/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=160/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=45/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=17/36pt#; % width of extrafine details +hair#:=28/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=28/36pt#; % breadth in middle of lowercase s +flare#:=25/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=30/36pt#; % diameter of dots +cap_hair#:=28/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=32/36pt#; % uppercase curve breadth +cap_ess#:=32/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=18/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=23/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=20/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=5/36pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.96; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmssi12.mf b/language/mongolian/montex/mfinput/km/kmssi12.mf new file mode 100644 index 0000000000..542f1b31df --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssi12.mf @@ -0,0 +1,82 @@ +% File: kmssi12.mf +% Based on: cmrisz12.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% + +% Computer Modern Slanted Sans Serif 12 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSI"; font_size 12pt#; + +u#:=23.5/36pt#; % unit width +width_adj#:=17/36pt#; % width adjustment for certain characters +serif_fit#:=-9/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-13/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=300/36pt#; % height of caps +fig_height#:=283/36pt#; % height of numerals +x_height#:=192/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=97/36pt#; % height of crossbar in lowercase e +comma_depth#:=54/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=20/36pt#; % width of extrafine details +hair#:=33/36pt#; % lowercase hairline breadth +stem#:=33/36pt#; % lowercase stem breadth +curve#:=33/36pt#; % lowercase curve breadth +ess#:=33/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=33/36pt#; % uppercase hairline breadth +cap_stem#:=37/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=37/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.6/36pt#; % vertical protrusion of beak serifs +vair#:=26/36pt#; % vertical diameter of hairlines +notch_cut#:=22/36pt#; % maximum breadth above or below notches +bar#:=25/36pt#; % lowercase bar thickness +slab#:=27/36pt#; % serif and arm thickness +cap_bar#:=26/36pt#; % uppercase bar thickness +cap_band#:=24/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=31/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=6/36pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.98; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmssi17.mf b/language/mongolian/montex/mfinput/km/kmssi17.mf new file mode 100644 index 0000000000..e2bf958a21 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssi17.mf @@ -0,0 +1,81 @@ +% File: kmssi17.mf +% Based on: cmrisz17.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Slanted Sans Serif 17 pt (more or less) +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSI"; font_size 17.28pt#; + +u#:=32.5/36pt#; % unit width +width_adj#:=24/36pt#; % width adjustment for certain characters +serif_fit#:=-12/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-17/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=466/36pt#; % height of tallest characters +asc_height#:=432/36pt#; % height of lowercase ascenders +cap_height#:=432/36pt#; % height of caps +fig_height#:=408/36pt#; % height of numerals +x_height#:=267.8/36pt#; % height of lowercase without ascenders +math_axis#:=155.5/36pt#; % axis of symmetry for math symbols +bar_height#:=136/36pt#; % height of crossbar in lowercase e +comma_depth#:=78/36pt#; % depth of comma below baseline +desc_depth#:=121/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=28/36pt#; % width of extrafine details +hair#:=47/36pt#; % lowercase hairline breadth +stem#:=47/36pt#; % lowercase stem breadth +curve#:=47/36pt#; % lowercase curve breadth +ess#:=47/36pt#; % breadth in middle of lowercase s +flare#:=42/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=50/36pt#; % diameter of dots +cap_hair#:=47/36pt#; % uppercase hairline breadth +cap_stem#:=52/36pt#; % uppercase stem breadth +cap_curve#:=52/36pt#; % uppercase curve breadth +cap_ess#:=52/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.6pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.8/36pt#; % vertical protrusion of beak serifs +vair#:=38/36pt#; % vertical diameter of hairlines +notch_cut#:=32/36pt#; % maximum breadth above or below notches +bar#:=36/36pt#; % lowercase bar thickness +slab#:=40/36pt#; % serif and arm thickness +cap_bar#:=38/36pt#; % uppercase bar thickness +cap_band#:=35/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=46/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=7/36pt#; % extra width at diagonal junctions + +o#:=10/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmssi8.mf b/language/mongolian/montex/mfinput/km/kmssi8.mf new file mode 100644 index 0000000000..d25f96fdae --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssi8.mf @@ -0,0 +1,81 @@ +% File: kmssi8.mf +% Based on: cmrisz8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Slanted Sans Serif 8 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSI"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=12/36pt#; % width adjustment for certain characters +serif_fit#:=-6/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-8.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=200/36pt#; % height of caps +fig_height#:=189/36pt#; % height of numerals +x_height#:=128/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=63/36pt#; % height of crossbar in lowercase e +comma_depth#:=37/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=15/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=22/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=26/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=29/36pt#; % uppercase curve breadth +cap_ess#:=28/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.4/36pt#; % vertical protrusion of beak serifs +vair#:=19/36pt#; % vertical diameter of hairlines +notch_cut#:=16/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=20/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=17/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=22/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.93; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmssi9.mf b/language/mongolian/montex/mfinput/km/kmssi9.mf new file mode 100644 index 0000000000..b5ce9d4b01 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssi9.mf @@ -0,0 +1,81 @@ +% File: kmssi9.mf +% Based on: cmrisz9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Slanted Sans Serif 9 pt +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSI"; font_size 9pt#; + +u#:=18.5/36pt#; % unit width +width_adj#:=13/36pt#; % width adjustment for certain characters +serif_fit#:=-6.5/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-9/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=225/36pt#; % height of caps +fig_height#:=236/36pt#; % height of numerals +x_height#:=144/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=71/36pt#; % height of crossbar in lowercase e +comma_depth#:=41/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=0pt#; % diameter of rounded corners +fine#:=0pt#; % diameter of sharply rounded corners +thin_join#:=16/36pt#; % width of extrafine details +hair#:=27/36pt#; % lowercase hairline breadth +stem#:=27/36pt#; % lowercase stem breadth +curve#:=27/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=27/36pt#; % uppercase hairline breadth +cap_stem#:=31/36pt#; % uppercase stem breadth +cap_curve#:=31/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=.5/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=17/36pt#; % maximum breadth above or below notches +bar#:=20/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=24/36pt#; % max breadth above/below uppercase notches +serif_drop#:=2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=4.5/36pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=0pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt 2; % parameter for superellipses +superpull:=1/20; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmssq8.mf b/language/mongolian/montex/mfinput/km/kmssq8.mf new file mode 100644 index 0000000000..dd5d97025d --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssq8.mf @@ -0,0 +1,80 @@ +% File: kmssq8.mf +% Based on: cmssq8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Sans Serif Quotation Style 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSQ"; font_size 8pt#; + +u#:=20/36pt#; % unit width +width_adj#:=2/36pt#; % width adjustment for certain characters +serif_fit#:=-10/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-14/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=220/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=197/36pt#; % height of caps +fig_height#:=190/36pt#; % height of numerals +x_height#:=150/36pt#; % height of lowercase without ascenders +math_axis#:=80/36pt#; % axis of symmetry for math symbols +bar_height#:=80/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=40/36pt#; % depth of lowercase descenders + +crisp#:=18/36pt#; % diameter of serif corners +tiny#:=18/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=23/36pt#; % lowercase hairline breadth +stem#:=23/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=23/36pt#; % uppercase hairline breadth +cap_stem#:=27/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=20/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=0pt#; % vertical protrusion of beak serifs +vair#:=18/36pt#; % vertical diameter of hairlines +notch_cut#:=23/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=19/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=23/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=.5/36pt#; % for small refinements of stem breadth +vair_corr#:=.5/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=2/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/10; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmssqi8.mf b/language/mongolian/montex/mfinput/km/kmssqi8.mf new file mode 100644 index 0000000000..78dd299fb8 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmssqi8.mf @@ -0,0 +1,80 @@ +% File: kmssqi8.mf +% Based on: cmssqi8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Sans Serif Quotation Style Slanted 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMSSQI"; font_size 8pt#; + +u#:=20/36pt#; % unit width +width_adj#:=2/36pt#; % width adjustment for certain characters +serif_fit#:=-10/36pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=-14/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=220/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=197/36pt#; % height of caps +fig_height#:=190/36pt#; % height of numerals +x_height#:=150/36pt#; % height of lowercase without ascenders +math_axis#:=80/36pt#; % axis of symmetry for math symbols +bar_height#:=80/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=40/36pt#; % depth of lowercase descenders + +crisp#:=18/36pt#; % diameter of serif corners +tiny#:=18/36pt#; % diameter of rounded corners +fine#:=8/36pt#; % diameter of sharply rounded corners +thin_join#:=8/36pt#; % width of extrafine details +hair#:=23/36pt#; % lowercase hairline breadth +stem#:=23/36pt#; % lowercase stem breadth +curve#:=23/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=28/36pt#; % diameter of dots +cap_hair#:=23/36pt#; % uppercase hairline breadth +cap_stem#:=27/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=20/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=0pt#; % protrusion of lowercase serifs +cap_jut#:=0pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=0pt#; % vertical protrusion of beak serifs +vair#:=18/36pt#; % vertical diameter of hairlines +notch_cut#:=23/36pt#; % maximum breadth above or below notches +bar#:=18/36pt#; % lowercase bar thickness +slab#:=19/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=23/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=.5/36pt#; % for small refinements of stem breadth +vair_corr#:=.5/36pt#; % for small refinements of hairline height +apex_corr#:=4/36pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=2/36pt#; % amount of overshoot for diagonal junctions + +slant:=sind 12/cosd 12; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=.95; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/10; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=true; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=false; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmtcsc10.mf b/language/mongolian/montex/mfinput/km/kmtcsc10.mf new file mode 100644 index 0000000000..0ad8e42444 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmtcsc10.mf @@ -0,0 +1,115 @@ +% File: kmtcsc10.mf +% Based on: cmrctz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Typewriter Caps and Small Caps 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTCSC"; font_size 10pt#; + +% first come parameters used to set the uppercase letters +% (including some for lowercase that aren't actually used) +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=34/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +% now come replacements used to set the lowercase caps + +lower.u#:=21/36pt#; % unit width +lower.width_adj#:=0pt#; % width adjustment for certain characters +lower.cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +lower.letter_fit#:=3/36pt#; % extra space added to all sidebars + +lower.body_height#:=190/36pt#; % height of tallest characters +lower.cap_height#:=170/36pt#; % height of caps +lower.x_height#:=120/36pt#; % height of lowercase without ascenders +lower.bar_height#:=62/36pt#; % height of crossbar in lowercase e +lower.comma_depth#:=38/36pt#; % depth of comma below baseline + +lower.flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +lower.cap_hair#:=25/36pt#; % uppercase hairline breadth +lower.stem#:=25/36pt#; % lowercase stem breadth +lower.cap_stem#:=25/36pt#; % uppercase stem breadth +lower.cap_curve#:=25/36pt#; % uppercase curve breadth +lower.cap_ess#:=25/36pt#; % breadth in middle of uppercase s + +lower.cap_jut#:=26/36pt#; % protrusion of uppercase serifs +lower.beak_jut#:=0pt#; % horizontal protrusion of beak serifs +lower.beak#:=26/36pt#; % vertical protrusion of beak serifs +lower.slab#:=22/36pt#; % serif and arm thickness +lower.cap_bar#:=22/36pt#; % uppercase bar thickness +lower.cap_band#:=22/36pt#; % uppercase thickness above/below lobes +lower.cap_notch_cut#:=24/36pt#; % max breadth above/below uppercase notches + +lower.o#:=3/36pt#; % amount of overshoot for curves +lower.apex_o#:=2/36pt#; % amount of overshoot for diagonal junctions + +lower.fudge:=0.85; % factor applied to weights of heavy characters + +generate mcyccsc; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmti10.mf b/language/mongolian/montex/mfinput/km/kmti10.mf new file mode 100644 index 0000000000..7076060215 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmti10.mf @@ -0,0 +1,81 @@ +% File: kmti10.mf +% Based on: cmriz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Text Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTI"; font_size 10pt#; + +u#:=18.4/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=9.2/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=23/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=27/36pt#; % breadth in middle of lowercase s +flare#:=29/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=29/36pt#; % uppercase stem breadth +cap_curve#:=34/36pt#; % uppercase curve breadth +cap_ess#:=31/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=30/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=9/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmti12.mf b/language/mongolian/montex/mfinput/km/kmti12.mf new file mode 100644 index 0000000000..d7ce227c0b --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmti12.mf @@ -0,0 +1,81 @@ +% File: kmti12.mf +% Based on: cmriz12.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Text Italic 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTI"; font_size 12pt#; + +u#:=21.6/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5.8/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=10.8/36pt#; % extra space added to all sidebars + +body_height#:=324/36pt#; % height of tallest characters +asc_height#:=300/36pt#; % height of lowercase ascenders +cap_height#:=295.2/36pt#; % height of caps +fig_height#:=278.4/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=108/36pt#; % axis of symmetry for math symbols +bar_height#:=104.4/36pt#; % height of crossbar in lowercase e +comma_depth#:=84/36pt#; % depth of comma below baseline +desc_depth#:=84/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7.5/36pt#; % width of extrafine details +hair#:=12/36pt#; % lowercase hairline breadth +stem#:=26/36pt#; % lowercase stem breadth +curve#:=31/36pt#; % lowercase curve breadth +ess#:=29/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=42/36pt#; % diameter of dots +cap_hair#:=11.5/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=34/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.44pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=24/36pt#; % vertical distance from serif base to tangent +jut#:=35/36pt#; % protrusion of lowercase serifs +cap_jut#:=38/36pt#; % protrusion of uppercase serifs +beak_jut#:=10.4/36pt#; % horizontal protrusion of beak serifs +beak#:=84/36pt#; % vertical protrusion of beak serifs +vair#:=8.5/36pt#; % vertical diameter of hairlines +notch_cut#:=12pt#; % maximum breadth above or below notches +bar#:=12.5/36pt#; % lowercase bar thickness +slab#:=12.5/36pt#; % serif and arm thickness +cap_bar#:=12.5/36pt#; % uppercase bar thickness +cap_band#:=12.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=12pt#; % max breadth above/below uppercase notches +serif_drop#:=4.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=9/36pt#; % amount of overshoot for curves +apex_o#:=9/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=-0.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmti7.mf b/language/mongolian/montex/mfinput/km/kmti7.mf new file mode 100644 index 0000000000..52b6c5d984 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmti7.mf @@ -0,0 +1,80 @@ +% File: kmti7.mf +% Based on: cmti7.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Text Italic 7 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTI"; font_size 7pt#; + +u#:=14.8/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=3.5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=9.4/36pt#; % extra space added to all sidebars + +body_height#:=189/36pt#; % height of tallest characters +asc_height#:=175/36pt#; % height of lowercase ascenders +cap_height#:=172.2/36pt#; % height of caps +fig_height#:=162.4/36pt#; % height of numerals +x_height#:=108.5/36pt#; % height of lowercase without ascenders +math_axis#:=63/36pt#; % axis of symmetry for math symbols +bar_height#:=60.9/36pt#; % height of crossbar in lowercase e +comma_depth#:=49/36pt#; % depth of comma below baseline +desc_depth#:=49/36pt#; % depth of lowercase descenders + +crisp#:=7/36pt#; % diameter of serif corners +tiny#:=7/36pt#; % diameter of rounded corners +fine#:=6/36pt#; % diameter of sharply rounded corners +thin_join#:=6/36pt#; % width of extrafine details +hair#:=10.5/36pt#; % lowercase hairline breadth +stem#:=18.5/36pt#; % lowercase stem breadth +curve#:=21.5/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=21/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=29/36pt#; % diameter of dots +cap_hair#:=10.5/36pt#; % uppercase hairline breadth +cap_stem#:=21.5/36pt#; % uppercase stem breadth +cap_curve#:=24.5/36pt#; % uppercase curve breadth +cap_ess#:=21/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.34pt#; % thickness of lines in math symbols + +dish#:=.9/36pt#; % amount erased at top or bottom of serifs +bracket#:=14/36pt#; % vertical distance from serif base to tangent +jut#:=21/36pt#; % protrusion of lowercase serifs +cap_jut#:=24/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.4/36pt#; % horizontal protrusion of beak serifs +beak#:=49/36pt#; % vertical protrusion of beak serifs +vair#:=7/36pt#; % vertical diameter of hairlines +notch_cut#:=7pt#; % maximum breadth above or below notches +bar#:=9/36pt#; % lowercase bar thickness +slab#:=9/36pt#; % serif and arm thickness +cap_bar#:=9/36pt#; % uppercase bar thickness +cap_band#:=9/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=7pt#; % max breadth above/below uppercase notches +serif_drop#:=2.8/36pt#; % vertical drop of sloped serifs +stem_corr#:=.9/36pt#; % for small refinements of stem breadth +vair_corr#:=.9/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=5/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.6; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmti8.mf b/language/mongolian/montex/mfinput/km/kmti8.mf new file mode 100644 index 0000000000..2c234683f8 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmti8.mf @@ -0,0 +1,81 @@ +% File: kmti8.mf +% Based on: cmriz8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Text Italic 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTI"; font_size 8pt#; + +u#:=15.8/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.1/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=7.9/36pt#; % extra space added to all sidebars + +body_height#:=216/36pt#; % height of tallest characters +asc_height#:=200/36pt#; % height of lowercase ascenders +cap_height#:=196.8/36pt#; % height of caps +fig_height#:=185.6/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=72/36pt#; % axis of symmetry for math symbols +bar_height#:=69.6/36pt#; % height of crossbar in lowercase e +comma_depth#:=56/36pt#; % depth of comma below baseline +desc_depth#:=56/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=20/36pt#; % lowercase stem breadth +curve#:=23.5/36pt#; % lowercase curve breadth +ess#:=23/36pt#; % breadth in middle of lowercase s +flare#:=24/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=32/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=23.5/36pt#; % uppercase stem breadth +cap_curve#:=27/36pt#; % uppercase curve breadth +cap_ess#:=24/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.36pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=16/36pt#; % vertical distance from serif base to tangent +jut#:=24/36pt#; % protrusion of lowercase serifs +cap_jut#:=27/36pt#; % protrusion of uppercase serifs +beak_jut#:=7.9/36pt#; % horizontal protrusion of beak serifs +beak#:=56/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=8pt#; % maximum breadth above or below notches +bar#:=9.5/36pt#; % lowercase bar thickness +slab#:=9.5/36pt#; % serif and arm thickness +cap_bar#:=9.5/36pt#; % uppercase bar thickness +cap_band#:=9.5/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=8pt#; % max breadth above/below uppercase notches +serif_drop#:=3.2/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=6/36pt#; % amount of overshoot for curves +apex_o#:=6/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.4; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmti9.mf b/language/mongolian/montex/mfinput/km/kmti9.mf new file mode 100644 index 0000000000..3bb4804d3b --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmti9.mf @@ -0,0 +1,81 @@ +% File: kmti9.mf +% Based on: cmriz9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Text Italic 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTI"; font_size 9pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=4.6/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=8.5/36pt#; % extra space added to all sidebars + +body_height#:=243/36pt#; % height of tallest characters +asc_height#:=225/36pt#; % height of lowercase ascenders +cap_height#:=221.4/36pt#; % height of caps +fig_height#:=208.8/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=81/36pt#; % axis of symmetry for math symbols +bar_height#:=78.3/36pt#; % height of crossbar in lowercase e +comma_depth#:=63/36pt#; % depth of comma below baseline +desc_depth#:=63/36pt#; % depth of lowercase descenders + +crisp#:=8/36pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=11/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=26/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=26/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=35/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=26/36pt#; % uppercase stem breadth +cap_curve#:=30/36pt#; % uppercase curve breadth +cap_ess#:=27/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.38pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=18/36pt#; % vertical distance from serif base to tangent +jut#:=27/36pt#; % protrusion of lowercase serifs +cap_jut#:=30.5/36pt#; % protrusion of uppercase serifs +beak_jut#:=8.5/36pt#; % horizontal protrusion of beak serifs +beak#:=63/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=9pt#; % maximum breadth above or below notches +bar#:=10/36pt#; % lowercase bar thickness +slab#:=10/36pt#; % serif and arm thickness +cap_bar#:=10/36pt#; % uppercase bar thickness +cap_band#:=10/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=9pt#; % max breadth above/below uppercase notches +serif_drop#:=3.6/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=7/36pt#; % amount of overshoot for curves +apex_o#:=7/36pt#; % amount of overshoot for diagonal junctions + +slant:=.25; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=.2; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmtt10.mf b/language/mongolian/montex/mfinput/km/kmtt10.mf new file mode 100644 index 0000000000..a81117e71d --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmtt10.mf @@ -0,0 +1,81 @@ +% File: kmtt10.mf +% Based on: cmrtz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Typewriter Text for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTT"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=34/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmtt12.mf b/language/mongolian/montex/mfinput/km/kmtt12.mf new file mode 100644 index 0000000000..9adac562b2 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmtt12.mf @@ -0,0 +1,81 @@ +% File: kmtt12.mf +% Based on: cmrtz12.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Typewriter Text for use with 12 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTT"; font_size 12pt#; + +u#:=24.7/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=300/36pt#; % height of tallest characters +asc_height#:=264/36pt#; % height of lowercase ascenders +cap_height#:=264/36pt#; % height of caps +fig_height#:=264/36pt#; % height of numerals +x_height#:=186/36pt#; % height of lowercase without ascenders +math_axis#:=132/36pt#; % axis of symmetry for math symbols +bar_height#:=95/36pt#; % height of crossbar in lowercase e +comma_depth#:=60/36pt#; % depth of comma below baseline +desc_depth#:=96/36pt#; % depth of lowercase descenders + +crisp#:=25/36pt#; % diameter of serif corners +tiny#:=25/36pt#; % diameter of rounded corners +fine#:=22/36pt#; % diameter of sharply rounded corners +thin_join#:=22/36pt#; % width of extrafine details +hair#:=28/36pt#; % lowercase hairline breadth +stem#:=28/36pt#; % lowercase stem breadth +curve#:=28/36pt#; % lowercase curve breadth +ess#:=25/36pt#; % breadth in middle of lowercase s +flare#:=35/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=39/36pt#; % diameter of dots +cap_hair#:=28/36pt#; % uppercase hairline breadth +cap_stem#:=28/36pt#; % uppercase stem breadth +cap_curve#:=28/36pt#; % uppercase curve breadth +cap_ess#:=28/36pt#; % breadth in middle of uppercase s +rule_thickness#:=28/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=39/36pt#; % protrusion of lowercase serifs +cap_jut#:=39/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=39/36pt#; % vertical protrusion of beak serifs +vair#:=25/36pt#; % vertical diameter of hairlines +notch_cut#:=28/36pt#; % maximum breadth above or below notches +bar#:=25/36pt#; % lowercase bar thickness +slab#:=25/36pt#; % serif and arm thickness +cap_bar#:=25/36pt#; % uppercase bar thickness +cap_band#:=25/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=28/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=11/36pt#; % extra width at diagonal junctions + +o#:=5/36pt#; % amount of overshoot for curves +apex_o#:=4/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.86; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmtt8.mf b/language/mongolian/montex/mfinput/km/kmtt8.mf new file mode 100644 index 0000000000..0828b29df6 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmtt8.mf @@ -0,0 +1,81 @@ +% File: kmtt8.mf +% Based on: cmrtz8.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Typewriter Text for use with 8 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTT"; font_size 8pt#; + +u#:=17/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=200/36pt#; % height of tallest characters +asc_height#:=176/36pt#; % height of lowercase ascenders +cap_height#:=176/36pt#; % height of caps +fig_height#:=176/36pt#; % height of numerals +x_height#:=124/36pt#; % height of lowercase without ascenders +math_axis#:=88/36pt#; % axis of symmetry for math symbols +bar_height#:=63/36pt#; % height of crossbar in lowercase e +comma_depth#:=40/36pt#; % depth of comma below baseline +desc_depth#:=64/36pt#; % depth of lowercase descenders + +crisp#:=19/36pt#; % diameter of serif corners +tiny#:=19/36pt#; % diameter of rounded corners +fine#:=18/36pt#; % diameter of sharply rounded corners +thin_join#:=18/36pt#; % width of extrafine details +hair#:=22/36pt#; % lowercase hairline breadth +stem#:=22/36pt#; % lowercase stem breadth +curve#:=22/36pt#; % lowercase curve breadth +ess#:=19/36pt#; % breadth in middle of lowercase s +flare#:=28/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=31/36pt#; % diameter of dots +cap_hair#:=22/36pt#; % uppercase hairline breadth +cap_stem#:=22/36pt#; % uppercase stem breadth +cap_curve#:=22/36pt#; % uppercase curve breadth +cap_ess#:=22/36pt#; % breadth in middle of uppercase s +rule_thickness#:=22/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=27/36pt#; % protrusion of lowercase serifs +cap_jut#:=27/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=27/36pt#; % vertical protrusion of beak serifs +vair#:=19/36pt#; % vertical diameter of hairlines +notch_cut#:=22/36pt#; % maximum breadth above or below notches +bar#:=19/36pt#; % lowercase bar thickness +slab#:=19/36pt#; % serif and arm thickness +cap_bar#:=19/36pt#; % uppercase bar thickness +cap_band#:=19/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=22/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=8/36pt#; % extra width at diagonal junctions + +o#:=3/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmtt9.mf b/language/mongolian/montex/mfinput/km/kmtt9.mf new file mode 100644 index 0000000000..c6ffcc4883 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmtt9.mf @@ -0,0 +1,81 @@ +% File: kmtt9.mf +% Based on: cmrtz9.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Typewriter Text for use with 9 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMTT"; font_size 9pt#; + +u#:=18.9/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=225/36pt#; % height of tallest characters +asc_height#:=198/36pt#; % height of lowercase ascenders +cap_height#:=198/36pt#; % height of caps +fig_height#:=198/36pt#; % height of numerals +x_height#:=139.5/36pt#; % height of lowercase without ascenders +math_axis#:=99/36pt#; % axis of symmetry for math symbols +bar_height#:=71/36pt#; % height of crossbar in lowercase e +comma_depth#:=45/36pt#; % depth of comma below baseline +desc_depth#:=72/36pt#; % depth of lowercase descenders + +crisp#:=21/36pt#; % diameter of serif corners +tiny#:=21/36pt#; % diameter of rounded corners +fine#:=20/36pt#; % diameter of sharply rounded corners +thin_join#:=20/36pt#; % width of extrafine details +hair#:=24/36pt#; % lowercase hairline breadth +stem#:=24/36pt#; % lowercase stem breadth +curve#:=24/36pt#; % lowercase curve breadth +ess#:=21/36pt#; % breadth in middle of lowercase s +flare#:=30/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=33/36pt#; % diameter of dots +cap_hair#:=24/36pt#; % uppercase hairline breadth +cap_stem#:=24/36pt#; % uppercase stem breadth +cap_curve#:=24/36pt#; % uppercase curve breadth +cap_ess#:=24/36pt#; % breadth in middle of uppercase s +rule_thickness#:=24/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=31/36pt#; % protrusion of lowercase serifs +cap_jut#:=31/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=31/36pt#; % vertical protrusion of beak serifs +vair#:=21/36pt#; % vertical diameter of hairlines +notch_cut#:=24/36pt#; % maximum breadth above or below notches +bar#:=21/36pt#; % lowercase bar thickness +slab#:=21/36pt#; % serif and arm thickness +cap_bar#:=21/36pt#; % uppercase bar thickness +cap_band#:=21/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=24/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=9/36pt#; % extra width at diagonal junctions + +o#:=3.5/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=0; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=true; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill; % switch to the driver file + diff --git a/language/mongolian/montex/mfinput/km/kmu10.mf b/language/mongolian/montex/mfinput/km/kmu10.mf new file mode 100644 index 0000000000..c189fefcc7 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmu10.mf @@ -0,0 +1,80 @@ +% File: kmu10.mf +% Based on: cmruz10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Cyrillic Unslanted Italic 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMU"; font_size 10pt#; + +u#:=20/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=5/36pt#; % extra sidebar near uppercase serifs +letter_fit#:=10/36pt#; % extra space added to all sidebars + +body_height#:=270/36pt#; % height of tallest characters +asc_height#:=250/36pt#; % height of lowercase ascenders +cap_height#:=246/36pt#; % height of caps +fig_height#:=232/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=90/36pt#; % axis of symmetry for math symbols +bar_height#:=87/36pt#; % height of crossbar in lowercase e +comma_depth#:=70/36pt#; % depth of comma below baseline +desc_depth#:=70/36pt#; % depth of lowercase descenders + +crisp#:=0pt#; % diameter of serif corners +tiny#:=8/36pt#; % diameter of rounded corners +fine#:=7/36pt#; % diameter of sharply rounded corners +thin_join#:=7/36pt#; % width of extrafine details +hair#:=9/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=30/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=33/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=38/36pt#; % diameter of dots +cap_hair#:=11/36pt#; % uppercase hairline breadth +cap_stem#:=32/36pt#; % uppercase stem breadth +cap_curve#:=37/36pt#; % uppercase curve breadth +cap_ess#:=32/36pt#; % breadth in middle of uppercase s +rule_thickness#:=.4pt#; % thickness of lines in math symbols + +dish#:=1/36pt#; % amount erased at top or bottom of serifs +bracket#:=20/36pt#; % vertical distance from serif base to tangent +jut#:=28/36pt#; % protrusion of lowercase serifs +cap_jut#:=37/36pt#; % protrusion of uppercase serifs +beak_jut#:=10/36pt#; % horizontal protrusion of beak serifs +beak#:=70/36pt#; % vertical protrusion of beak serifs +vair#:=8/36pt#; % vertical diameter of hairlines +notch_cut#:=10pt#; % maximum breadth above or below notches +bar#:=11/36pt#; % lowercase bar thickness +slab#:=11/36pt#; % serif and arm thickness +cap_bar#:=11/36pt#; % uppercase bar thickness +cap_band#:=11/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=10pt#; % max breadth above/below uppercase notches +serif_drop#:=4/36pt#; % vertical drop of sloped serifs +stem_corr#:=1/36pt#; % for small refinements of stem breadth +vair_corr#:=1/36pt#; % for small refinements of hairline height +apex_corr#:=0pt#; % extra width at diagonal junctions + +o#:=8/36pt#; % amount of overshoot for curves +apex_o#:=8/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=1; % factor applied to weights of heavy characters +math_spread:=0; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=1/6; % extra openness inside bowls +beak_darkness:=11/30; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=false; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=false; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit; % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmvtt10.mf b/language/mongolian/montex/mfinput/km/kmvtt10.mf new file mode 100644 index 0000000000..ae72c168f6 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmvtt10.mf @@ -0,0 +1,80 @@ +% File: kmvtt10.mf +% Based on: cmvtt10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Variable-Width Typewriter Text for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="CMVTT"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=0pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=34/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=0pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=0; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=false; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mcyrill % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/kmvtti10.mf b/language/mongolian/montex/mfinput/km/kmvtti10.mf new file mode 100644 index 0000000000..3eeefeecbe --- /dev/null +++ b/language/mongolian/montex/mfinput/km/kmvtti10.mf @@ -0,0 +1,80 @@ +% File: kmvtti10.mf +% Based on: cmvtti10.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% Computer Modern Variable-Width Typewriter Text Italic for use with 10 point +if unknown cmbase: input cmbase fi + +font_identifier:="KMVTTI"; font_size 10pt#; + +u#:=21/36pt#; % unit width +width_adj#:=0pt#; % width adjustment for certain characters +serif_fit#:=0pt#; % extra sidebar near lowercase serifs +cap_serif_fit#:=0pt#; % extra sidebar near uppercase serifs +letter_fit#:=15/36pt#; % extra space added to all sidebars + +body_height#:=250/36pt#; % height of tallest characters +asc_height#:=220/36pt#; % height of lowercase ascenders +cap_height#:=220/36pt#; % height of caps +fig_height#:=220/36pt#; % height of numerals +x_height#:=155/36pt#; % height of lowercase without ascenders +math_axis#:=110/36pt#; % axis of symmetry for math symbols +bar_height#:=79/36pt#; % height of crossbar in lowercase e +comma_depth#:=50/36pt#; % depth of comma below baseline +desc_depth#:=80/36pt#; % depth of lowercase descenders + +crisp#:=22/36pt#; % diameter of serif corners +tiny#:=22/36pt#; % diameter of rounded corners +fine#:=21/36pt#; % diameter of sharply rounded corners +thin_join#:=21/36pt#; % width of extrafine details +hair#:=25/36pt#; % lowercase hairline breadth +stem#:=25/36pt#; % lowercase stem breadth +curve#:=25/36pt#; % lowercase curve breadth +ess#:=22/36pt#; % breadth in middle of lowercase s +flare#:=32/36pt#; % diameter of bulbs or breadth of terminals +dot_size#:=36/36pt#; % diameter of dots +cap_hair#:=25/36pt#; % uppercase hairline breadth +cap_stem#:=25/36pt#; % uppercase stem breadth +cap_curve#:=25/36pt#; % uppercase curve breadth +cap_ess#:=25/36pt#; % breadth in middle of uppercase s +rule_thickness#:=25/36pt#; % thickness of lines in math symbols + +dish#:=0pt#; % amount erased at top or bottom of serifs +bracket#:=0pt#; % vertical distance from serif base to tangent +jut#:=40/36pt#; % protrusion of lowercase serifs +cap_jut#:=34/36pt#; % protrusion of uppercase serifs +beak_jut#:=0pt#; % horizontal protrusion of beak serifs +beak#:=34/36pt#; % vertical protrusion of beak serifs +vair#:=22/36pt#; % vertical diameter of hairlines +notch_cut#:=25/36pt#; % maximum breadth above or below notches +bar#:=22/36pt#; % lowercase bar thickness +slab#:=22/36pt#; % serif and arm thickness +cap_bar#:=22/36pt#; % uppercase bar thickness +cap_band#:=22/36pt#; % uppercase thickness above/below lobes +cap_notch_cut#:=25/36pt#; % max breadth above/below uppercase notches +serif_drop#:=0pt#; % vertical drop of sloped serifs +stem_corr#:=0pt#; % for small refinements of stem breadth +vair_corr#:=1.5/36pt#; % for small refinements of hairline height +apex_corr#:=10/36pt#; % extra width at diagonal junctions + +o#:=4/36pt#; % amount of overshoot for curves +apex_o#:=3/36pt#; % amount of overshoot for diagonal junctions + +slant:=1/4; % tilt ratio $(\Delta x/\Delta y)$ +fudge:=0.81; % factor applied to weights of heavy characters +math_spread:=-1; % extra openness of math symbols +superness:=1/sqrt2; % parameter for superellipses +superpull:=0; % extra openness inside bowls +beak_darkness:=0; % fraction of triangle inside beak serifs +ligs:=2; % level of ligatures to be included + +square_dots:=false; % should dots be square? +hefty:=true; % should we try hard not to be overweight? +serifs:=true; % should serifs and bulbs be attached? +monospace:=false; % should all characters have the same width? +variant_g:=true; % should an italic-style g be used? +low_asterisk:=true; % should the asterisk be centered at the axis? +math_fitting:=false; % should math-mode spacing be used? + +generate mctextit % switch to the driver file diff --git a/language/mongolian/montex/mfinput/km/lmligs.mf b/language/mongolian/montex/mfinput/km/lmligs.mf new file mode 100644 index 0000000000..c31b2db077 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/lmligs.mf @@ -0,0 +1,38 @@ +% File: mcyrligs.mf +% Author: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% These ligatures are always active: +% Creates xagas i, yo, yu, ya ligatures: +ligtable cyrery: cyri =: cyrishrt, + cyro =: cyryo, + cyru =: cyryu, + cyra =: cyrya; + +% Creates XAGAS I, YO, YU, YA ligatures: +ligtable CYRERY: CYRI =: CYRISHRT, + CYRO =: CYRYO, + cyro =: CYRYO, + CYRU =: CYRYU, + cyru =: CYRYU, + CYRA =: CYRYA, + cyra =: CYRYA; + +% Creates the front vowels as ligatures: +ligtable oct"42": CYRA =: CYREREV, + CYRE=: CYRYO, + CYRI =: CYRISHRT, + CYRO =: CYROTLD, + CYRU =: CYRY, + + cyra =: cyrerev, + cyre=: cyryo, + cyri =: cyrishrt, + cyro =: cyrotld, + cyru =: cyry; + +% Creates the Sh and ShCh consonants as ligatures: +% ligtable CYRS: CYRSHHA =: CYRSH; +ligtable cyrs: cyrshha =: cyrsh; +ligtable CYRCH: CYRSHHA =: CYRSHCH; +ligtable cyrch: cyrshha =: cyrshch; diff --git a/language/mongolian/montex/mfinput/km/mcccscco.mf b/language/mongolian/montex/mfinput/km/mcccscco.mf new file mode 100644 index 0000000000..bab5c0791d --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcccscco.mf @@ -0,0 +1,41 @@ +% File: mcccscco.mf
+% Based on: cyccscco.mf
+% Modified by: Oliver Corff
+% Date: October 1997, Ulaanbaatar
+%
+CYRA := oct"141";
+CYRB := oct"142";
+CYRV := oct"167";
+CYRG := oct"147";
+CYRD := oct"144";
+CYRE := oct"145";
+CYRYO := oct"353";
+CYRZH := oct"152";
+CYRZ := oct"172";
+CYRI := oct"151";
+CYRISHRT := oct"357";
+CYRK := oct"153";
+CYRL := oct"154";
+CYRM := oct"155";
+CYRN := oct"156";
+CYRO := oct"157";
+CYROTLD := oct"366";
+CYRP := oct"160";
+CYRR := oct"162";
+CYRS := oct"163";
+CYRT := oct"164";
+CYRU := oct"165";
+CYRY := oct"374";
+CYRF := oct"146";
+CYRH := oct"170";
+CYRSHHA := oct"150";
+CYRC := oct"143";
+CYRCH := oct"161";
+CYRSH := oct"262";
+CYRSHCH := oct"260";
+CYRHRDSN := oct"263";
+CYRERY := oct"171";
+CYRSFTSN := oct"264";
+CYREREV := oct"344";
+CYRYU := oct"265";
+CYRYA := oct"266";
diff --git a/language/mongolian/montex/mfinput/km/mccoding.mf b/language/mongolian/montex/mfinput/km/mccoding.mf new file mode 100644 index 0000000000..331c5b1118 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mccoding.mf @@ -0,0 +1,88 @@ +% File: mccoding.mf +% Based on: cycoding.mf +% Modified by: Oliver Corff +% Date: October 1997, Ulaanbaatar +% +% This file is in parts modelled after the original Cyrillic +% encoding. File but was rebuilt by O. Corff, September 1997 +% +cyra := oct"141"; +cyrb := oct"142"; +cyrv := oct"167"; +cyrg := oct"147"; +cyrd := oct"144"; +cyre := oct"145"; +cyryo := oct"353"; +cyrzh := oct"152"; +cyrz := oct"172"; +cyri := oct"151"; +cyrishrt := oct"357"; +cyrk := oct"153"; +cyrl := oct"154"; +cyrm := oct"155"; +cyrn := oct"156"; +cyro := oct"157"; +cyrotld := oct"366"; +cyrp := oct"160"; +cyrr := oct"162"; +cyrs := oct"163"; +cyrt := oct"164"; +cyru := oct"165"; +cyry := oct"374"; +cyrf := oct"146"; +cyrh := oct"170"; +cyrshha := oct"150"; +cyrc := oct"143"; +cyrch := oct"161"; +cyrsh := oct"262"; +cyrshch := oct"260"; +cyrhrdsn := oct"263"; +cyrery := oct"171"; +cyrsftsn := oct"264"; +cyrerev := oct"344"; +cyryu := oct"265"; +cyrya := oct"266"; + +CYRA := oct"101"; +CYRB := oct"102"; +CYRV := oct"127"; +CYRG := oct"107"; +CYRD := oct"104"; +CYRE := oct"105"; +CYRYO := oct"313"; +CYRZH := oct"112"; +CYRZ := oct"132"; +CYRI := oct"111"; +CYRISHRT := oct"317"; +CYRK := oct"113"; +CYRL := oct"114"; +CYRM := oct"115"; +CYRN := oct"116"; +CYRO := oct"117"; +CYROTLD := oct"326"; +CYRP := oct"120"; +CYRR := oct"122"; +CYRS := oct"123"; +CYRT := oct"124"; +CYRU := oct"125"; +CYRY := oct"334"; +CYRF := oct"106"; +CYRH := oct"130"; +CYRSHHA := oct"110"; +CYRC := oct"103"; +CYRCH := oct"121"; +CYRSH := oct"222"; +CYRSHCH := oct"220"; +CYRHRDSN := oct"223"; +CYRERY := oct"131"; +CYRSFTSN := oct"224"; +CYREREV := oct"304"; +CYRYU := oct"225"; +CYRYA := oct"226"; + +CYRNo := oct"371"; +CYR_TOGROG := oct"372"; +CYR_togrog := oct"373"; + +guillemotleft := oct"023"; +guillemotright := oct"024"; diff --git a/language/mongolian/montex/mfinput/km/mctextit.mf b/language/mongolian/montex/mfinput/km/mctextit.mf new file mode 100644 index 0000000000..51e2c01108 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mctextit.mf @@ -0,0 +1,44 @@ +% File: mctextit.mf +% Based on: cytextit.mf +% Modified by: Oliver Corff +% Date: October 1997, Ulaanbaatar +% +% The Computer Modern Cyrillic Text Italic family + +let cmchar=message; % `|cmchar|' should precede each character + +mode_setup; font_setup; +input mccoding; +font_coding_scheme:="TeX text"; + +font_slant slant; font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; + letter_fit#:=letter_fit:=0; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; fi + +input itald; % italic digits from cmr +input punct; % punctuation +input accent; % accents +input italp; % more punctuation +input mcyru; % upper case (majuscules) +input mcyitall; % lower case (minuscules) +input mcyrsymb; % seven additional chars: < << > >> No. t== T== +input cyrmoreu; % The umlauts O U (majuscules) and Buriad H +input cyrmorei; % The umlauts o u (minuscules) and Buriad h + +if ligs>0: input comlig; fi % ligatures common with roman text +if ligs<=1: input romsub; fi % substitutes for ligatures + + +if not monospace: + k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +fi + +input mcyrligs; + +bye. diff --git a/language/mongolian/montex/mfinput/km/mcyccsc.mf b/language/mongolian/montex/mfinput/km/mcyccsc.mf new file mode 100644 index 0000000000..d0159d5aed --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcyccsc.mf @@ -0,0 +1,50 @@ +% File: mcyccsc.mf
+% Based on: cyccsc.mf
+% Modified by: Oliver Corff
+% Date: October 1997, Ulaanbaatar
+%
+% Caps and Small Caps in Computer Modern Cyrillic
+
+let cmchar=message; % `|cmchar|' should precede each character
+
+font_coding_scheme:=if ligs=0: "TeX typewriter text"
+ else: "TeX text without f-ligatures" fi;
+
+input mccoding;
+
+input mcyrligs; % ligatures defined for entering Cyrillic
+
+mode_setup; font_setup;
+input punct; % Computer Modern punctuation symbols
+input romanp; % more punctuation symbols
+input romand; % digits
+input mcyru; % upper case (majuscules)
+input cyrmoreu;
+input sym; % minus, etc.
+input mcyrsymb; % seven additional chars: < << > >> No. t== T==
+if ligs>0: input comlig; fi % ligatures common with italic
+
+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;
+
+%%% fine lower
+forsuffixes $= u, width_adj, cap_serif_fit, letter_fit,
+ body_height, cap_height, x_height, bar_height, comma_depth,
+ flare, cap_hair, stem, cap_stem, cap_curve, cap_ess,
+ cap_jut, beak_jut, beak, slab, cap_bar, cap_band, cap_notch_cut,
+ o, apex_o: $.#:=lower.$.#; endfor
+fudge:=lower.fudge;
+input mcccscco;
+font_setup; % now try again with |lower| settings
+input mcyru; % majuscules (in lowercase positions)
+input cyrmoreu;
+
+bye.
+
diff --git a/language/mongolian/montex/mfinput/km/mcyitall.mf b/language/mongolian/montex/mfinput/km/mcyitall.mf new file mode 100644 index 0000000000..61ce187077 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcyitall.mf @@ -0,0 +1,691 @@ +% File: mcyitall.mf
+% Based on: cyitall.mf
+% Modified by: Oliver Corff
+% Date: October 1997, Ulaanbaatar
+%
+% Computer Modern Cyrillic Italic lower case:
+
+cmchar "Cyrillic italic letter a";
+beginchar(cyra,9u#,x_height#,0);
+italcorr 1/3x_height#*slant+.5hair#+.5u#;
+adjust_fit(0,0); pickup fine.nib;
+pos0(hair,0); pos1(vair,90); pos2(curve,180); pos3(vair,270);
+pos4(stem,0); x4=x0; y4+.5stem=vround .98h;
+x1=x3=.5[x0,x2]; lft x2r=hround(1.5u-.5curve);
+rt x4r=hround(w-2.5u+.5stem);
+top y1r=h+oo; bot y3r=-oo; y0=y2=.5[y1,y3];
+filldraw stroke super_arc.e(0,1) & pulled_arc.e(1,2)
+ & pulled_arc.e(2,3) & super_arc.e(3,0); % bowl
+x5=x4; x7=w; hook_out(5,6,7); % closing hook
+filldraw circ_stroke z4e--z5e; % stem
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6,7); endchar;
+
+cmchar "Cyrillic italic letter be";
+beginchar(cyrb,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=x_height+oo; y2=y4=.5[y1,y3]; bot y3r=-oo;
+filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3)
+ & pulled_arc.e(3,4) & pulled_arc.e(4,1); % bowl
+pos2'(hair,180); z2'r=z2r; pos5(vstem,90); pos5'(vstem,-90); z5'=z5;
+pos6(hair,0); rt x6r=hround(w-u); top y6=h; top y5r=vround .9h; x5=x1;
+filldraw stroke pulled_arc.e(6,5'); filldraw stroke pulled_arc.e(5,2');
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar;
+
+cmchar "Cyrillic italic letter ve";
+beginchar(cyrv,9u#,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(curve,0); pos6(vair,180);
+x0=rt x3l; rt x1r=hround(w-2.5u+.5heavy_hair); x2=x4=.5w;
+lft x3r=hround(1.5u-.5curve); x5r=good.x(w-u-eps); x6=x2;
+y0=y3=y6-.1u=bar_height; y1=.5[y0,y2];
+top y2r=h+oo; bot y4r=-oo; y5=vround .5bar_height;
+filldraw stroke z0e{right}...z1e{up}
+ ...pulled_arc.e(2,3) & pulled_arc.e(3,4) &
+ {{surerness:=hein_super; pulled_arc.e(4,5) & pulled_arc.e(5,6)}};
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6); endchar;
+
+cmchar "Cyrillic italic letter ghe";
+beginchar(cyrg,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;
+pos2(hair,140); pos3(vair,90); pos4(curve,0);
+pos5(vair,-90); pos5'(vair,90); pos6(curve,180);
+pos7(vair,270); pos8(hair,320);
+x7=w-x3=.5(w+u); x5=.52w; y5=.52h; z5'=z5;
+lft x6r=w-rt x4r-.5u=hround(1.5u-.5curve); x8r=w-x2=good.x(w-eps);
+x9=x8; x1=x2; top y3=h+oo; y4=.5[y5,y3]; bot y7r=-oo; y6=.5[y5,y7];
+top y8l=h-bot y2l=vround .5bar_height; y9=h-y1=bar_height;
+path p[]; p1=z3{left}..z2..z1; p2=z7{right}..z8..z9;
+filldraw stroke pulled_arc.e(5,4)
+ & pulled_arc.e(4,3)...{direction 1 of p1}z2e;
+filldraw stroke pulled_arc.e(5',6)
+ & pulled_arc.e(6,7)...{direction 1 of p2}z8e; % arc
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6); endchar;
+
+cmchar "Cyrillic italic letter de";
+beginchar(cyrd,9u#,asc_height#,0);
+italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi;
+adjust_fit(0,0); pickup fine.nib;
+pos1(vair,150); pos2(vair,90); pos3(curve,0);
+pos4(vair,270); pos5(curve,180); pos6(vair,90);
+x1=x5l; x2=.5w-u; y1=h-.25u; top y2r=h+o; y3=.5[y2,y4];
+x6=x4=.5w; lft x5r=w-rt x3r=hround(1.5u-.5curve);
+top y6r=x_height+oo; y5=.5[y6,y4]; bot y4r=-oo;
+path p; p=pulled_super_arc.l(3,4)(superpull);
+numeric t; t=xpart(p intersectiontimes((x4,y5)--(x3r,y5)));
+pos7(thin_join,0); z7l=point t of p;
+filldraw stroke z1e...pulled_super_arc.e(2,3)(superpull)
+ & {{interim superness:=more_super; pulled_super_arc.e(3,4)(superpull)}}
+ & {{less_tense; pulled_super_arc.e(4,5)(superpull)}}
+ & pulled_super_arc.e(5,6)(superpull)
+ & z6e{right}...{direction t of p}z7e; % arc and bowl
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(1,2,3,4,5,6,7); endchar;
+
+cmchar "Cyrillic italic letter ie";
+beginchar(cyre,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
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6); endchar;
+
+cmchar "Cyrillic italic letter ye";
+numeric dot_diam#,dot_diam;
+beginchar(cyryo,8u#,1.4x_height#,0);
+dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr));
+italcorr max(1/3x_height#*slant,x_height#*slant+.5(.2[hair#,stem#])-u#);
+adjust_fit(0,0); pickup fine.nib;
+numeric heavy_hair,letter_h; letter_h=x_height; 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=letter_h+oo; bot y4r=-oo;
+top y5l=vround .5bar_height; path p; p=z4{right}..z5..z6;
+filldraw stroke z0e{right}...z1e{up}...pulled_arc.e(2,3)
+ & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+pos7(dot_diam,0); pos8(dot_diam,90);
+x7=x8=2.5u; top y8r=h+1;
+if bot y8l<letter_h+o+slab: y8l:=min(y8r-eps,letter_h+o+slab+.5tiny); fi
+y7=.5[y8l,y8r]; dot(7,8); % left dot
+pos9(dot_diam,0); penpos10(y8r-y8l,90); y9=y10=y7; x9=x10=w-x7;
+dot(9,10); % right dot
+penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar;
+
+
+cmchar "Cyrillic italic letter zhe";
+beginchar(cyrzh,17u#,x_height#,0);
+italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi;
+adjust_fit(0,0); pickup fine.nib;
+numeric arc_width; arc_width=7u;
+pos0(flare,180); pos1(hair,180); pos2(vair,-90);
+pos3(curve,0); pos4(vair,90); pos5(hair,140);
+pos7(flare,0); pos8(hair,0); pos9(vair,90);
+pos10(curve,180); pos11(vair,270); pos12(hair,320);
+x2=x4=w-x9=.5(arc_width-u); x11=x9;
+lft x1r=w-rt x8r=min(lft x2,hround u)-eps;
+rt x3r=w-lft x10r=hround(arc_width-1.5u+.5curve);
+x5r=w-x12r=good.x(eps); x6=x5; x13=x12;
+y8=h-y1=.5[bar_height,h]; bot y2r=-oo; top y9r=h+oo;
+top y4r=h+oo; bot y11r=-oo; y3=h-y10=.5[y2,y4];
+bot y5l=h-top y12l=vround h-.5bar_height; y13=h-y6=bar_height;
+path p[]; p1=z4{left}..z5..z6; p2=z11{right}..z12..z13;
+filldraw stroke pulled_arc.e(2,3)
+ & pulled_arc.e(3,4)...{direction 1 of p1}z5e; % left arc
+filldraw stroke pulled_arc.e(9,10)
+ & pulled_arc.e(10,11)...{direction 1 of p2}z12e; % right arc
+bulb(2,1,0); bulb(9,8,7); % left and right bulb
+pos14(stem,0); pos15(stem,0); x14=x15=.5w; top y14=h; bot y15=0;
+filldraw stroke z14e--z15e; % stem
+penpos3'(bar,90); penpos10'(bar,90); z3'=z3; z10'=z10;
+fill stroke z3'e--z10'e; % bar
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15); endchar;
+
+cmchar "Cyrillic italic letter ze";
+beginchar(cyrz,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(.54h+.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
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,7,8,9,10,11,12,13); endchar;
+
+cmchar "Cyrillic italic letter i";
+beginchar(cyri,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
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9); endchar;
+
+cmchar "Cyrillic italic letter short i";
+beginchar(cyrishrt,9.5u#,x_height#+3.5u#,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=.57x_height; y6+.5stem=x_height;
+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
+penpos10(hair-fine,-90); penpos11(hair-fine,-180); penpos12(.5flare,-180);
+penpos13(hair-fine,-90); penpos14(hair-fine,0); penpos15(.5flare,0);
+x10=.5[x11,x14]; x11=.5w-2u; x14=w-x11;
+y10=y13=x_height+u; y11=y14=h-.5u; z13=z10;
+bulb(10,11,12); bulb(13,14,15); % bulbs
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar;
+
+cmchar "Cyrillic italic letter ka";
+beginchar(cyrk,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;
+
+cmchar "Cyrillic italic letter el";
+beginchar(cyrl,9u#,x_height#,0);
+italcorr 1/3x_height#*slant+.5hair#+.5u#;
+adjust_fit(0,0); pickup fine.nib;
+pos6(stem,0); rt x6r=hround(w-2.5u+.5stem);
+x6=x7; x9=w; hook_out(7,8,9); % closing hook
+top y6=top y0=h; x0=lft x6r;
+filldraw stroke z6e--z7e; % right stem
+pickup tiny.nib; pos0(hair,-90); pos1(hair,0); pos2(hair,0);
+y1=.5h; rt x1r=hround(w-5.25u); x2=x1; y2=.21h;
+pos3(vair,-90); pos4(hair,-180); pos5(flare,-180);
+bot y3r=0; x3=.5[x4,x2]; y5=.25h; rt x5l=hround 2u; z5r=z4r;
+filldraw stroke pulled_arc.e(0,1) & z1e--z2e & super_arc.e(2,3); % arc
+bulb(3,4,5); % bulb
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9); endchar;
+
+cmchar "Cyrillic italic letter em";
+beginchar(cyrm,12u#,x_height#,0);
+italcorr 1/3x_height#*slant+.5hair#+.5u#;
+adjust_fit(0,0); pickup fine.nib;
+numeric stem[]; % thicknesses of the four strokes
+stem1=hround(fudged.stem-4stem_corr);
+stem2=hround(fudged.hair-stem_corr);
+pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); top y6=h;
+x6=x7; x9=w; hook_out(7,8,9); % closing hook
+filldraw stroke z6e--z7e; % right stem
+pickup tiny.nib; pos1(hair,0); pos2(hair,0);
+top y1=h; rt x1r=hround(w-8.25u); x2=x1; y2=.21h;
+pos3(vair,-90); pos4(hair,-180); pos5(flare,-180);
+bot y3r=0; x3=.5[x4,x2]; y5=.25h; rt x5l=hround 2u; z5r=z4r;
+filldraw stroke z1e--z2e & super_arc.e(2,3); % left stem and arc
+bulb(3,4,5); % bulb
+penpos10(stem1,0); penpos11(stem1,0); penpos12(stem2,0); penpos13(stem2,0);
+x10l=x1; x11l=x12l; x13=lft x6l; x11-x10=x13-x12; y10=y13=h; y11=y12;
+y11=0; z0=whatever[z10r,z11r]=whatever[z12l,z13l];
+fill z10l..{z11-z10}diag_in(10l,11l,1,11r)
+ ..diag_out(12l,1,12r,13r){z13-z12}
+ ..z13r--diag_out(13r,1,13l,12l){z12-z13}..{z12-z13}z0{z10-z11}
+ ..{z10-z11}diag_in(11r,10r,1,10l)--cycle; % diagonals
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar;
+
+cmchar "Cyrillic italic letter en";
+beginchar(cyrn,9.5u#,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
+pos6(stem,0); rt x6r=hround(w-2.5u+.5stem); y6+.5stem=h;
+x6=x7; x9=w; hook_out(7,8,9); % closing hook
+filldraw circ_stroke z6e--z7e; % right stem
+penpos10(bar,90); penpos11(bar,90); x10=x1; x11=x6; y10=y11=.5h;
+fill stroke z10e--z11e; % bar
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11); endchar;
+
+cmchar "Cyrillic italic letter o";
+beginchar(cyro,9u#,x_height#,0);
+italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi;
+adjust_fit(0,0); pickup fine.nib;
+pos1(vair,90); pos2(curve,180); pos3(vair,270); pos4(curve,360);
+x1=x3=.5w; lft x2r=hround(1.5u-.5curve); x4=w-x2;
+top y1r=h+oo; y2=y4=.5[y1,y3]; bot y3r=-oo;
+filldraw stroke pulled_arc.e(1,2) & pulled_arc.e(2,3)
+ & pulled_arc.e(3,4) & pulled_arc.e(4,1); % bowl
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#); penlabels(1,2,3,4); endchar;
+
+cmchar "Cyrillic italic letter pe";
+beginchar(cyrp,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#);
+penlabels(0,a,1,2,3,4,5,6,7); endchar;
+
+cmchar "Cyrillic italic letter er";
+beginchar(cyrr,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#);
+penlabels(0,1,2,3,4,5,6,7); endchar;
+
+cmchar "Cyrillic italic letter es";
+beginchar(cyrs,8u#,x_height#,0);
+italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi;
+adjust_fit(0,0); pickup fine.nib;
+pos0(flare,0); pos1(hair,0); pos2(vair,90);
+pos3(curve,180); pos4(vair,270); pos5(hair,320);
+x2=x4=.5(w+u); rt x1r=max(rt x2,hround(w-u))+eps;
+lft x3r=hround(1.5u-.5curve); x5r=good.x(w-eps); x6=x5;
+y1=.5[bar_height,h]; top y2r=h+oo; bulb(2,1,0); % bulb
+bot y4r=-oo; y3=.5[y2,y4]; top y5l=vround .5bar_height; y6=bar_height;
+path p; p=z4{right}..z5..z6;
+filldraw stroke pulled_arc.e(2,3)
+ & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6); endchar;
+
+cmchar "Cyrillic italic letter te";
+beginchar(cyrt,15u#,x_height#,0);
+italcorr 1/3x_height#*slant+.5hair#+.5u#;
+adjust_fit(if monospace:-1.5u#,-2u# else: 0,0 fi); pickup fine.nib;
+numeric shaved_stem; shaved_stem=mfudged.stem;
+save stem; stem=shaved_stem;
+pos2(stem,0); x1=x2;
+if monospace: pos1(stem,0); lft x1l=hround(2.5u-.5stem); top y1=h;
+else: x0=0; lft x2l=hround(2.5u-.5stem);
+ hook_in(0,a,1); fi % opening hook
+y2-.5stem=-oo; filldraw circ_stroke z2e--z1e; % left stem
+x4+.5stem=hround(.5w+.5stem); ital_arch(2,3,4); % left arch
+pos5(stem,0); y5=y2; x5=x4;
+filldraw circ_stroke z5e--z4e; % middle stem
+x7+.5stem=hround(w-2.5u+.5stem);
+x8=x7-.25u; ital_arch(5,6,7); % right arch
+if monospace: pos9(vair,90); x9=good.x .5[x8,w]; bot y9l=0; y8=1/3h;
+ pos8(stem,0); filldraw stroke z8e{-u,-x_height}...{right}z9e; % terminal
+else: x9=w; hook_out(8,b,9)(skewed); fi % closing hook
+filldraw stroke z7e{down}..{-u,-x_height}z8e; % right stem
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,a,1,2,3,4,5,6,7,8,9); endchar;
+
+cmchar "Cyrillic italic letter ef";
+beginchar(cyrf,12u#,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-2u); lft x8r=hround 2u; 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=.15[x_height,h]; y5=.4[-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
+penpos10(hair,180); penpos11(vair,90); penpos12(curve,0);
+penpos13(vair,-90); penpos14(hair,0); penpos15(vair,90);
+penpos16(curve,180); penpos17(vair,270);
+x10=x14=.5w; y11r=y15r=x_height+o; y12=y16=.5[y11l,y13l]; y13r=y17r=-o;
+y10=y14=.5x_height; x11r=x13r=w-x15r=w-x17r=.5w+1.75u;
+x12r=w-x16r=hround(w-.5u);
+fill stroke super_arc.e(10,11) & pulled_arc.e(11,12)
+ & pulled_arc.e(12,13) & super_arc.e(13,10);
+fill stroke super_arc.e(14,15) & pulled_arc.e(15,16)
+ & pulled_arc.e(16,17) & super_arc.e(17,14);
+math_fit(desc_depth#*slant+u#,x_height#*slant);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,88,89); endchar;
+
+cmchar "Cyrillic italic letter u";
+beginchar(cyru,8.5u#,x_height#,desc_depth#);
+italcorr x_height#*slant+.5stem#-u#;
+adjust_fit(0,0); pickup fine.nib; interim superness:=more_super;
+x0=0; x2=x3+.25u; pos3(stem,-180); lft x3r=hround(2.5u-.5stem);
+hook_in(0,1,2)(skewed); % opening hook
+pos2'(stem,-180); z2'=z2;
+pos4(vair,-90); pos5(hair,0); x4=.5[x3,x5];
+pos6(stem,0); rt x6r=hround(w-1.5u+.5stem);
+pos7(stem,0); pos8(vair,-90);
+y3=.7[y4,y5]; bot y4r=-oo; y5=.57h; y6+.5stem=h;
+y7=0; bot y8r=-d-oo; x5=x6=x7; x8=.5w;
+pos9(hair,-180); pos10(flare,-180); y9=-.5d;
+lft x9r=hround(2.75u-.5flare); bulb(8,9,10); % bulb
+filldraw stroke z2'e{-u,-x_height}
+ ...super_arc.e(3,4)...{up}z5e; % left stem and arc
+filldraw circ_stroke z6e---z7e...{left}z8e; % right stem and link
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#-1/3x_height#*slant);
+penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar;
+
+cmchar "Cyrillic italic letter xa";
+beginchar(cyrh,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 "Cyrillic italic letter tse";
+beginchar(cyrc,9.5u#,x_height#,desc_depth#-u#);
+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;
+pos7(stem,0); pos8(vair,90);
+x9:=hround(x9+.5hair-eps)-.5hair; pos9(hair,180);
+y7=1/4x_height; bot y8l=-oo; y9=1/3x_height; x8=x7+1.5u;
+path p,p.l,p.r;
+forsuffixes $=r,l: p.$=z7${down}...z8${right}
+ ...{x9-(x7+2.5u),x_height}z9$; endfor;
+p=p.r--reverse p.l--cycle;
+filldraw p; % 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
+pos10(stem,-140); pos11(stem,-150);
+x11r=x10; x10r=.9[x7,x8]; x12=x8;
+y11=.5[y12,y10]; y10=-.25d; bot y12=-d;
+filldraw stroke (subpath (1.5,3.5) of p)..z10e..z11e..z12;
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12); endchar;
+
+cmchar "Cyrillic italic letter che";
+beginchar(cyrch,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+.2u; 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=.325h; y5=.7h; 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
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9); endchar;
+
+cmchar "Cyrillic italic letter sha";
+beginchar(cyrsh,14.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); pos6(stem,-180); pos7(stem,-180);
+pos8(vair,-90); pos9(hair,0); pos10(stem,0);
+x4=.5[x3,x5]; x6=.5w; x8=.5[x5,x9]; rt x10r=hround(w-2.5u+.5stem);
+x5=x6=x7; x9=x10=x11; x13=w; hook_out(11,12,13); % closing hook
+y3=.7[y4,y5]; bot y4r=bot y8r=-oo; y5=y9=.57h; y7=y11;
+y6+.5stem=h; y10=y6;
+filldraw stroke z2'e{-u,-x_height}
+ ...super_arc.e(3,4)...{up}z5e; % left stem and arc
+filldraw circ_stroke z6e--z7e
+ ...super_arc.e(7,8)...{up}z9e; % middle stem and arc
+filldraw circ_stroke z10e--z11e; % right stem
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar;
+
+cmchar "Cyrillic italic letter shcha";
+beginchar(cyrshch,14.5u#,x_height#,desc_depth#-u#);
+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); pos6(stem,-180); pos7(stem,-180);
+pos8(vair,-90); pos9(hair,0); pos10(stem,0);
+x4=.5[x3,x5]; x6=.5w; x8=.5[x5,x9]; rt x10r=hround(w-2.5u+.5stem);
+x5=x6=x7; x9=x10=x11; x13=w;
+pos11(stem,0); pos12(vair,90);
+x13:=hround(x13+.5hair-eps)-.5hair; pos13(hair,180);
+y11=1/4x_height; bot y12l=-oo; y13=1/3x_height; x12=x11+1.5u;
+path p,p.l,p.r;
+forsuffixes $=r,l: p.$=z11${down}...z12${right}
+ ...{x13-(x11+2.5u),x_height}z13$; endfor;
+p=p.r--reverse p.l--cycle;
+filldraw p; % closing hook;
+y3=.7[y4,y5]; bot y4r=bot y8r=-oo; y5=y9=.57h; y7=y11;
+y6+.5stem=h; y10=y6;
+filldraw stroke z2'e{-u,-x_height}
+ ...super_arc.e(3,4)...{up}z5e; % left stem and arc
+filldraw circ_stroke z6e--z7e
+ ...super_arc.e(7,8)...{up}z9e; % middle stem and arc
+filldraw circ_stroke z10e--z11e; % right stem
+pos14(stem,-140); pos15(stem,-150);
+x15r=x14; x14r=.9[x11,x12]; x16=x12;
+y15=.5[y16,y14]; y14=-.25d; bot y16=-d;
+filldraw stroke (subpath (1.5,3.5) of p)..z14e..z15e..z16;
+math_fit(-2/3x_height#*slant+.5hair#+.5u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16); endchar;
+
+cmchar "Cyrillic italic letter soft_sign";
+beginchar(cyrsftsn,8u#,x_height#,0);
+italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi;
+adjust_fit(0,0); pickup tiny.nib;
+numeric x_bowl; x_bowl=2/3h;
+pos1(stem,0); pos2(stem,0); x1=x2;
+lft x1l=hround(1.5u-.5stem); top y1=h; y2=.5x_bowl;
+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(8u-1.5u+.5curve);
+bot y3r=-oo; top y5r=x_bowl+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;
+
+cmchar "Cyrillic italic letter hard_sign";
+beginchar(cyrhrdsn,12u#,x_height#,0);
+italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi;
+adjust_fit(0,0); pickup tiny.nib;
+numeric x_bowl; x_bowl=.52h;
+pos1(vair,0); pos2(stem,0); x1=x2;
+lft x1l=hround(5.5u-.5stem); top y1=h+oo; y2=.5x_bowl;
+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_bowl+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
+pos1'(vair,0); pos6(vstem,-90); pos6'(vstem,90); pos7(vair,180);
+z1'=z1; x6=.5[x7,x1]; top y6l=h+oo; z6'=z6; lft x7r=0; y7=h-1.75u;
+filldraw stroke pulled_arc.e(1',6);
+filldraw stroke pulled_arc.e(6',7);
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6,7); endchar;
+
+cmchar "Cyrillic italic letter yeru";
+beginchar(cyrery,12u#,x_height#,0);
+italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi;
+adjust_fit(0,0); pickup tiny.nib;
+numeric x_bowl; x_bowl=2/3h;
+pos1(stem,0); pos2(stem,0); x1=x2;
+lft x1l=hround(1.5u-.5stem); top y1r=h+oo; y2=.5x_bowl;
+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(8u-1.5u+.5curve);
+bot y3r=-oo; top y5r=x_bowl+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
+pickup fine.nib; x7-.5stem=hround(9.5u-.5stem); x9=w;
+hook_out(7,8,9); % closing hook
+pickup tiny.nib; pos6(stem,0); pos7'(stem,0); z7'=z7;
+top y6=h; x6=x7; filldraw stroke z6e--z7e; % stem
+sloped_serif.l(6,7,b,1/3,jut,serif_drop); % serif
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9); endchar;
+
+cmchar "Cyrillic italic letter e";
+beginchar(cyrerev,8u#,x_height#,0);
+italcorr if math_fitting:1/3x_height#*slant else:x_height#*slant-u# fi;
+adjust_fit(0,0); pickup fine.nib;
+pos0(flare,180); pos1(hair,180); pos2(vair,-90);
+pos3(curve,0); pos4(vair,90); pos5(hair,140);
+x2=x4=.5(w-u); lft x1r=.25u;
+rt x3r=hround(w-1.5u+.5curve); x5r=good.x(eps); x6=x5;
+y1=.52[0,h-bar_height]; bot y2r=-oo; bulb(2,1,0); % bulb
+top y4r=h+oo; y3=.5[y2,y4]; bot y5l=vround h-.5bar_height; y6=h-bar_height;
+path p; p=z4{left}..z5..z6;
+filldraw stroke pulled_arc.e(2,3)
+ & pulled_arc.e(3,4)...{direction 1 of p}z5e; % arc
+penpos7(bar,90); penpos8(bar,90);
+x7=x3; y7=.52h; y8=y7; x8=.5w-hround(u);
+fill stroke z7e--z8e; % bar
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(0,1,2,3,4,5,6); endchar;
+
+cmchar "Cyrillic italic letter yu";
+beginchar(cyryu,13u#,x_height#,0);
+italcorr .7x_height#*slant+.5curve#-u# if math_fitting:-.5u# fi;
+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); pos4(curve,180); pos5(vair,270); pos6(curve,360);
+x3=x5=w-4.5u; rt x6r=hround(w-1.5u+.5curve); x4=w-(x6-4u);
+top y3r=h+oo; y4=y6=.5[y3,y5]; bot y5r=-oo;
+filldraw stroke pulled_arc.e(3,4) & pulled_arc.e(4,5)
+ & pulled_arc.e(5,6) & pulled_arc.e(6,3); % bowl
+penpos4'(bar,90); penpos7(bar,90); z4'=z4; x7=x1; y7=y4';
+fill stroke z4'e--z7e; % bar
+math_fit(-.3x_height#*slant+.5curve#-u#,ic#);
+penlabels(1,2,3,4,4',5,6,7); endchar;
+
+cmchar "Cyrillic italic letter ya";
+beginchar(cyrya,8u#+.5max(2u#,curve#),x_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);
+rt x1r=rt x2r=w-hround(2.5u-.5stem'); top y1=h; bot y2=0;
+filldraw stroke z1e--z2e; % stem
+penpos3(cap_band,90); penpos4(cap_band,90);
+penpos5(curve if hefty:-3stem_corr fi,180);
+penpos6(vair,-90); penpos7(vair,-90);
+z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7;
+x7=x2; y7=.5h; x4=x6;
+if serifs: x4=.5w+.5u; x5r=hround(1.5u);
+else: x4=.5w-.5u; x5l=hround(.75u); fi
+x4l:=x6l:=x4+.125curve;
+fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe
+pos6'(vair,-90); pos0(stem,0);
+pos8(curve,0); pos9(vair,-90); pos10(hair,180);
+z6'=z6; rt x0r=rt x8r=hround(x5+2/3u+.5curve);
+y8=1/3[y2,y7]; y0=3/5[y2,y7]; x9=.5[x8l,x10r];
+bot y9l=0; lft x10r=hround(.05u); y10=1/4[y2,y7];
+filldraw stroke z6'e{left}..z0e---z8e....z9e{left}..z10e{up}; % tail
+nodish_serif(1,2,a,1/3,.5jut,b,1/3,jut); % upper serif
+dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower serif
+math_fit(-min(2/3x_height#*slant-.5hair#-.5u#,
+ 2u#-.5stem#-desc_depth#*slant),ic#);
+penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar;
+
diff --git a/language/mongolian/montex/mfinput/km/mcyrill.mf b/language/mongolian/montex/mfinput/km/mcyrill.mf new file mode 100644 index 0000000000..4e84505c41 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcyrill.mf @@ -0,0 +1,295 @@ +% File: mcyrill.mf +% Based on: cyrillic.mf +% Modified by: Oliver Corff +% Date: December 1998, Ulaanbaatar, Beijing, Shenyang, Berlin +% +% +% The Computer Modern Cyrillic family of fonts (by N. Glonti) +% +% +let cmchar=message; % `|cmchar|' should precede each character + +font_coding_scheme:="TeX text"; +input mccoding; + +mode_setup; font_setup; + + +input punct; % Computer Modern common punctuation symbols +input romanp; % more common symbols +input romand; % numbers +input accent; % useful accents +input mcyru; % upper case (majuscules) +input mcyrl; % lower case (minuscules) +input mcyrsymb; % seven additional chars: < << > >> No. T== t== +input cyrmoreu; % Umlaut O U and Buriad H +input cyrmorel; % Umlaut o u and Buriad h + +if ligs>0 : input comlig fi; % ligatures common with roman text +if ligs<=1: input romsub fi; + +font_slant slant; +font_x_height x_height#; +if monospace: font_normal_space 9u#; % no stretching or shrinking + font_quad 18u#; + font_extra_space 9u#; +else: font_normal_space 6u#+2letter_fit#; + font_normal_stretch 3u#; font_normal_shrink 2u#; + font_quad 18u#+4letter_fit#; + font_extra_space 2u#; + + k#:=.25u#; kk#:=.5u#; kkk#:=0.75u#; kkkk#:=-1.25u#; + +%k#:=.5u#; kk#:=.75u#; kkk#:=1.5u#; kkkk#:=-2u#; +%k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +%k#:=2u#; kk#:=u#; kkk#:=3u#; kkkk#:=-5u#; + + ligtable cyra: % a + cyrya kern -kk#, % ya + cyru kern -kk#, % u + cyrd kern k#, % d + cyrch kern -kk#; % ch + + ligtable cyrb: % b + cyrv kern -k#, % ve + cyrg kern -k#, % ghe + cyre kern k#, % e + cyrzh kern -k#, % zhe + cyri kern -k#, % i + cyrk kern -k#, % ka + cyrm kern -k#, % em + cyrn kern -k#, % en + cyrp kern -k#, % pe + cyrr kern -k#, % er +% cyrf kern -k#, % (was -kk# AS) f + cyrh kern -k#, % x +% cyro kern -k#, % o (-kkkk -> -kkk AS) + cyrs kern -k#, % s (-kkkk -> -kkk AS) + cyru kern -k#, % u + cyrsftsn kern -k#, % soft_sign + cyrery kern -k#, % yeru + cyrshch kern -k#, % shcha + cyrc kern -k#; % tse + + ligtable cyrc: cyrsh: cyrshch: + cyrn: cyrm: cyrp: + cyrb kern -k#, % be + cyro kern -k#, % o + cyre kern -k#, % es + cyrf kern -k#, % ef + cyrs kern -k#, % ie + cyrd kern k#; % d + + ligtable cyrd: % d + cyrb kern -kkk#, % be + cyro kern -kkk#, % o + cyre kern -kkk#, % es + cyrf kern -kk#, % ef + cyrs kern -kkk#, % ie + cyrd kern kk#; % d + + ligtable cyre: % e + cyrb kern kkk#, % b + cyrd kern -kk#, % d +% cyre kern -k#, % e + cyrzh kern -kk#, % e +% cyrf kern -k#, % f + cyrh kern -kk#, % x +% cyro kern -k#, % o +% cyrs kern -k#, % s +% cyrt kern -k#, % t + cyru kern -k#; % u + + ligtable cyrf: % f + cyre kern k#, % e + cyrh kern -kk#, % x + cyri kern -kk#, % i + cyrn kern -k#, % + cyrp kern -k#, % + cyrr kern -k#, % + cyro kern k#, % o + cyrs kern k#, % s + cyrt kern -k#; % t + + ligtable cyrg: % g + cyrb kern -k#, % b + cyre kern -kkk#, % e + cyro kern -kkk#, % o + cyrs kern -kkk#; % s + + ligtable cyrh: % kh + cyre kern -kk#, % e + cyro kern -kk#, % o + cyrf kern -kk#, % + cyrs kern -kk#; % s + + ligtable cyrk: % k + cyre kern -kk#, % e + cyrf kern -kk#, % f + cyro kern -kk#, % o + cyrs kern -kk#, % s + cyru kern -k#; % u + + ligtable cyrl: % l + cyre kern -kk#, % e + cyrf kern -kk#, % f + cyro kern -kk#, % o + cyrs kern -kk#; % s + + ligtable cyro: % o +% cyrb kern -k#, % b (was kkkk AS) + cyrv kern -kk#, % ve + cyrd kern -kkk#, % de +% cyre kern -k#, % e (was kkkk AS) + cyrh kern -kk#, % x +% cyro kern -k#, % o (was kkkk AS) +% cyrs kern -kk#, % s (was kkkk AS) + cyrm kern -kk#, % + cyrn kern -kk#, % + cyrp kern -kk#, % + cyri kern -kk#, % + cyrishrt kern -kk#, % + cyrk kern -kk#, % + cyrr kern -kk#, % + cyrsh kern -kk#, % + cyrshch kern -kk#, % + cyrch kern -kkk#, % + cyrzh kern -kk#; % zh + + ligtable cyrr: % p +% cyrb kern -k#, % b (kkkk -> -kkk AS) +% cyre kern -k#, % e(kkkk -> -kkk AS) + cyrh kern -kk#, % x +% cyro kern -k#, % o (kkkk -> -kkk AS) +% cyrs kern -kk#, % s (kkkk -> -kkk AS) + cyrt kern -k#; % t + +% ligtable cyrs: % s +% cyrb kern -k#, % b +% cyre kern -k#, % e +% cyrf kern -k#, % f +% cyro kern -k#, % o +% cyrs kern -k#; % s + ligtable cyrt: % t + cyrn kern -k#, % + cyrs kern -k#, % + cyre kern -k#, % e + cyro kern -k#; % o + ligtable cyru: % u + cyrd kern -k#, % d + cyrl kern -kk#, % + cyra kern -k#; % s + ligtable cyrzh: % zh + cyrb kern -kk#, % b + cyre kern -kk#, % + cyrf kern -kk#, % + cyro kern -kk#, % o + cyrs kern -kk#; % s + + ligtable cyrv: % w + cyrt kern -k#; % d + +% ligtable cyrz: % z +% cyrb kern -k#, % b +% cyre kern -k#, % e +% cyro kern -k#, % o +% cyrs kern -k#; % s + +% ligtable cyrs: cyrh=: cyrsh; + + ligtable CYRA: % A + cyru kern -kk#, % + CYRCH kern -kkk#; % ch + + ligtable CYRB: % B + CYRO kern -k#, % o + CYRS kern -k#, % s + CYRU kern -kk#; % u + + ligtable CYRG: CYRU: % G U + CYRA kern -kk#, % a +% cyrv kern -kk#, % w +% CYRG kern -kk#, % g + CYRD kern -kk#, % d +% CYRE kern -kk#, % e + CYRF kern -kk#, % f + CYRH kern -kk#, % kh +% CYRI kern -kk#, % i +% CYRISHRT kern -kk#, % j +% CYRK kern -kk#, % k + CYRL kern -kk#, % l +% CYRM kern -kk#, % m +% CYRN kern -kk#, % n +% CYRO kern -kk#, % o +% CYRP kern -kk#, % p + CYRYA kern -kk#, % ya +% CYRR kern -kk#, % r + CYRS kern -kk#, % s + CYRT kern -kk#, % t + CYRU kern -kk#; % u +% CYRV kern -kk#, % w +% CYRSFTSN kern -kk#, % ' +% CYRERY kern -kk#, % y +% CYRZ kern -kk#, % z +% CYRSH kern -kk#, % sh +% CYRSHCH kern -kk#, % shch +% CYRCH kern -kk#; % ch +% CYRHRDSN kern -k#; % '' + + ligtable CYRO: CYRS: CYRF: + cyrd kern -kkk#, % + CYRA kern -kkk#, % + CYRV kern -kkk#, % + CYRG kern -kkk#, % + CYRR kern -kkk#, % + CYRP kern -kkk#, % + CYRN kern -kkk#, % + CYREREV kern -kkk#, % + CYRH kern -kkk#, % + CYRI kern -kkk#, % + CYRK kern -kkk#, % + CYRM kern -kkk#, % + CYRSH kern -kkk#, % + CYRSHCH kern -kkk#, % + CYRISHRT kern -kkk#; % j + + ligtable CYRN: CYRM: CYRR: CYRP: + CYRZH: CYRK: CYRD: CYRH: + CYRO kern -kkk#, % + CYRS kern -kkk#, % + CYRF kern -kkk#; % + + ligtable CYRT: % T + CYRA kern -kkk#, % a +% CYRV kern -kkk#, % w +% CYRG kern -kkk#, % g + CYRD kern -kkk#, % d + CYRE kern -kkk#, % e + CYRF kern -kkk#, % f + CYRH kern -kkk#, % kh + CYRI kern -kkk#, % i + CYRISHRT kern -kkk#, % j + CYRK kern -kkk#, % k + CYRL kern -kkk#, % l +% CYRM kern -kkk#, % m +% CYRN kern -kkk#, % n + CYRO kern -kkk#, % o +% CYRP kern -kkk#, % p + CYRYA kern -kkk#, % ya +% CYRR kern -kkk#, % r + CYRS kern -kkk#, % s + CYRT kern -kkk#, % t + CYRU kern -kkk#, % u +% CYRV kern -kkk#, % +% CYRSFTSN kern -kkk#, % +% CYRERY kern -kkk#, % y + CYRZ kern -kkk#; % z +% CYRSH kern -kk#, % sh +% CYRSHCH kern -kk#, % shch +% CYRCH kern -kk#, % ch +% CYRHRDSN kern -kk#; % +fi; + +input mcyrligs; + +bye. diff --git a/language/mongolian/montex/mfinput/km/mcyrl.mf b/language/mongolian/montex/mfinput/km/mcyrl.mf new file mode 100644 index 0000000000..94212b8884 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcyrl.mf @@ -0,0 +1,1085 @@ +% File: mcyrl.mf +% Based on: cyrl.mf +% Modified by: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% The de was modified since it caused problems with +% thin_stem being < 0 which is not bearable. +% +% The ze was modified since it goofed in Funny mode. +% +cmchar "The cyrillic letter a"; +beginchar(cyra,9u#,x_height#,0); +bh#:=min(bar_height#,1.14x_height#-bar_height#); define_pixels(bh); +italcorr 1/3[bh#,x_height#]*slant+.5stem#-serif_fit#-2u#; +adjust_fit(0,serif_fit# if serifs: if hair#+.5stem#>1.5u#:-.25u# fi\\fi); +pickup fine.nib; top y3r=h+vround 1.5oo; +if serifs: pos1(flare,180); pos2(hair,180); + pos3(vair,90); lft x1r=hround max(u,2.1u-.5flare); x3=.5w-.5u; + y1=min(bh+.5flare+2vair+2,.9[bh,h]-.5flare); + bulb(3,2,1); % bulb +else: pos1(5/7[vair,flare],95); x1l=good.x 1.5u; x1r:=good.x x1r; + pos3(1/8[vair,thin_join],90); + x3=.5w-.2u; top y1r=vround .82[bh,top y3r]; + filldraw stroke term.e(3,1,left,.9,4); fi % terminal +pos4(stem,0); rt x4r=hround(w-2.5u+.5stem); y4=1/3[bh,h]; +pos5(stem,0); x5=x4; y5=max(.55bh,2vair); +filldraw stroke super_arc.e(3,4)&z4e..z5e; % arc and stem +pos6(.3[thin_join,vair],90); x6=x4; bot y6=bh; +pos7(hround(curve-2stem_corr),180); +lft x7r=hround max(.5u,1.5u-.5curve); y7=1/3[top y8l,top y6r]; +pos8(vair,270); x8l=.5w-.75u; bot y8r=-oo; +pos9(thin_join,360); z9l=z5l; +(x,y8r)=whatever[z8l,z9l]; x8r:=max(x,x8-u); +{{interim superness:=more_super; + filldraw stroke z9e{down}...z8e{left}...{up}z7e&super_arc.e(7,6)}}; % bowl +if serifs: numeric shaved_stem; shaved_stem=hround(stem-3stem_corr); + if hair#+.5stem#>1.5u#: pickup tiny.nib; + pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=.2[.5tiny,bh]; + pos11(shaved_stem,0); rt x11r=hround(w-.25u); bot y11=0; + pos12(shaved_stem,0); x11=x12; top y12=slab+eps; + filldraw z5'l---z10l...z11l{right}--z11r + --z12r{left}...z10r+.75(z12-z11)---z5'r--cycle; % foot + else: pickup crisp.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; y10=1/3bh; + pos11(.2[vair,stem],90); x11r=.5[x10r,x12r]; bot y11l=-vround .5oo; + pos12(hair,180); rt x12l=hround(w-.1u); y12=max(y10,y11+vair); + pos13(hair,180); x13=x12; top y13=max(vround .6bh,top y12); + (x',y11l)=whatever[z11r,z12r]; x11l:=max(x',x10); + filldraw stroke z5'e---z10e...z11e{right}...z12e---z13e; fi % hook +else: numeric shaved_stem; shaved_stem=hround(stem-stem_corr); + pickup tiny.nib; pos5'(shaved_stem,0); rt x5'r=fine.rt x5r; y5'=y5; + pos10(shaved_stem,0); x10=x5'; bot y10=0; + filldraw stroke z5'e--z10e; fi % base of stem +penlabels(1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "The cyrillic letter be"; +beginchar(cyrb,9u#,fig_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=x_height+vround 1.5oo; y3r=-oo; +y2=y4=.5x_height-vair_corr; y2l:=y4l:=.52x_height; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penpos2'(hair,180); lft x2'r=x2r; y2'=y2r; +penpos5(.8curve,90); penpos6(.8curve,90); +penpos6'(.8curve,-90); x6=.5[x5,x7]; y6=y5; z6'=z6; +penpos7(thin_join,0); rt x7r=rt x4r; +top y7=h; top y5r=.97h; x5=x1; +fill stroke z2'e{up}...{right}z5e..z6e; +fill circ_stroke pulled_arc.e(7,6'); +penlabels(1,2,2',3,4,5,6',6,7); endchar; + +cmchar "The cyrillic letter ve"; +beginchar(cyrv,9u#,x_height#,0); +italcorr .5x_height#*slant+min(.5curve#-u#,-.25u#); +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos6(middle_weight,-90); penpos7(middle_weight,-90); +penpos8(middle_weight,90); penpos9(middle_weight,90); +penpos5(right_curve-stem_corr,0); penpos10(right_curve,0); +penpos11(cap_band,-90); penpos12(cap_band,-90); +z3r=top z1; y4=y3; y5=.5[y4,y6]; y6=y7; y7l-y8l=vair; +z12r=bot z2; y11=y12; y10=.5[y11,y9]; y8=y9; .5[y7l,y8l]=.52h; +x4=x6; x9=x11=x4+.5u; x7=x8=x1; x9l:=x4+.25u; +x5r=hround(w-u); x10r=hround(w-.5u); +if serifs: right_curve=curve-stem_corr; x4=.5[x1,w-1.5u]; +else: right_curve=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,jut,b,1/3,.5jut); % upper serif + nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9,10,11,12); endchar; + +cmchar "The cyrillic letter ghe"; +beginchar(cyrg,8.5u#,x_height#,0); +italcorr x_height#*slant; +adjust_fit(serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); 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-.6beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +nodish_serif(1,2,a,1/3,jut,b,1/3,.5jut); % upper serif +dish_serif(2,1,c,1/3,jut,d,1/3,1.25jut); % lower serif +penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter de"; +beginchar(cyrd,10u#,x_height#,comma_depth#); +italcorr x_height#*slant-serif_fit# + +.75jut#-2.5u#+min(.5stem#,u#); +adjust_fit(0,serif_fit#); +pickup tiny.nib; numeric thin_stem; +thin_stem=if monospace: stem-tiny + else: min(hair,stem-1.3tiny) fi; +if thin_stem<0:thin_stem:=epsilon fi; % + % + % Making thin_stem epsilon + % was introduced after encountering + % problems with kmvtt10.mf + % + % Oliver Corff, June 1st, 1998, Ulaanbaatar + % +if serifs: penpos1(thin_stem,0); penpos2(thin_stem,0); x2=.5[hround .5u,x1]; +else: penpos1(thin_stem,0); penpos2(thin_stem,0); x2=.5u+stem; fi +pos3(stem,0); pos4(stem,0); +x1l=x0l=.33w; top y1=h; bot y2=0; +rt x3r=rt x4r=hround(w-2u); top y3=h; bot y4=0; +filldraw stroke z3e--z4e; +filldraw stroke z1e{down}..z2e; % stem and arc +if serifs: pickup crisp.nib; numeric inner_jut,newbracket; + newbracket:=max(1.5,bracket); inner_jut:=.5(x3l-x1r); + path p[]; p1=z1{down}...z2; + p12=(0,y1-newbracket)--(w,y1-newbracket); + p21=(0,y2+newbracket)--(w,y2+newbracket); + z12=p1 intersectionpoint p12; z21=p1 intersectionpoint p21; + nodish_serif(1,12,a,1/3,jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,c,1/3,inner_jut,d,1/3,jut); % upper right serif + inner_jut:=.5(x4l-x2r); + nodish_serif(2,21,e,1/3,jut,f,1/3,inner_jut); % middle left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % middle right serif + pickup crisp.nib; + pos5(slab,90); pos6(hair,180); pos7(hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x7r=tiny.rt x4r+jut; lft x6r=tiny.lft x2l-jut; + y6=y7=good.y(y5l-.5beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % left beak + arm(5,7,n,1.25beak_darkness,0); % right beak +else: + pos1'(slab,90); pos3'(slab,90); + pos6(slab,90); pos7(slab,90); + pos6'(slab,0); pos7'(slab,0); + pos8(slab,0); pos9(slab,0); + lft x1'=lft x1l; rt x3'=rt x3r; top y1'r=top y3'r=h; + lft x6=lft x6'l=lft x8l=.5u; rt x7=rt x7'r=rt x9r=w-.5u; + bot y6l=bot y7l=0; y6'=y7'=y6; bot y8=bot y9=-.75d; + filldraw stroke z1'e--z3'e; % upper bar + filldraw stroke z6e--z7e; % lower bar + filldraw stroke z6'e--z8e; % left beak + filldraw stroke z7'e--z9e; % right beak +fi +penlabels(1,1',2,3,3',4,5,6,7,8,9,12,21); endchar; + +cmchar "The cyrillic letter ie"; +beginchar(cyre,7.25u#+max(.75u#,.5curve#),x_height#,0); +italcorr .5[bar_height#,x_height#]*slant+.5min(curve#-1.5u#,0); +adjust_fit(if monospace: .25u#,.5u# else: 0,0 fi); +numeric left_curve,right_curve; +left_curve=right_curve+6stem_corr=curve if not serifs: -3stem_corr fi; +if right_curve<tiny.breadth: right_curve:=tiny.breadth; fi +if left_curve<tiny.breadth: left_curve:=tiny.breadth; fi +pickup tiny.nib; pos1(right_curve,0); +pos2(vair,90); pos3(left_curve,180); +y1=good.y bar_height; top y2r=h+vround 1.5oo; y0l=bot y1; +rt x1r=hround min(w-.5u,w-u+.5right_curve); +lft x3r=hround max(.5u,1.25u-.5left_curve); x2=.5w+.25u; +{{interim superness:=more_super; + filldraw stroke super_arc.e(1,2)}}; % right bowl +y3=.5[y2,y4]; bot y4r=-oo; x4=x2+.25u; +if serifs: pos4(vair',270); pos5(hair,360); + y5=max(good.y(.5bar_height-.9),y4l+vair); x5r=x1r; + (x,y4l)=whatever[z4r,z5]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_arc.e(2,3) & pulled_arc.e(3,4) + ...{x5-x4,5(y5-y4)}z5e; % left bowl, arc, and terminal +else: pos4(vair,270); + filldraw stroke super_arc.e(2,3) & super_arc.e(3,4); % left bowl and arc + pickup fine.nib; pos4'(vair,270); z4=z4'; + pos5(.5[vair,flare],275); rt x5r=hround(w-.6u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke term.e(4',5,right,1,4); fi % terminal +path testpath; testpath=super_arc.r(2,3) & super_arc.r(3,4); +y1'r=y0r=y0l+.6[thin_join,vair]; y1'l=y0l; x1'l=x1'r=x1; +forsuffixes $=l,r: + x0$=xpart(((0,y0$)--(x1,y0$)) intersectionpoint testpath); endfor +fill stroke z0e--z1'e; % crossbar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter ye"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(cyryo,7.25u#+max(.75u#,.5curve#),1.4x_height#,0); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +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,letter_h; letter_h=x_height; +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=letter_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 +pos6(dot_diam,0); pos7(dot_diam,90); +x6=x7=2.5u; top y7r=h+1; +if bot y7l<letter_h+o+slab: y7l:=min(y7r-eps,letter_h+o+slab+.5tiny); fi +y6=.5[y7l,y7r]; dot(6,7); % left dot +pos8(dot_diam,0); penpos9(y7r-y7l,90); y8=y9=y6; x8=x9=w-x6; +dot(8,9); % right dot +penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter zhe"; +beginchar(cyrzh,14u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(serif_fit#,serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.stem,0); pos2(fudged.stem,0); +x1=x2=.5w; top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +stem2=max(tiny.breadth,fudged.stem-3stem_corr); +rt x3r=w-lft x7l=hround(r-letter_fit-.9u-right_jut); +rt x6r=w-lft x9l=hround(r-letter_fit-.5u-right_jut); +top y3=top y7=h; bot y6=bot y9=0; x4=x1; y4=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +penpos7(alpha1*(stem1-tiny),0); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); penpos9(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=y7'$=h; y6'$=y9'$=0; + z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; + x8$=w-x5$; y8$=y5$; endfor +z5=.5[z5l,z5r]; z8=.5[z8l,z8r]; +z3'r=z3r+penoffset z3-z4 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); +x7'r=w-x3'r; x7'l=w-x3'l; x9'r=w-x6'r; x9'l=w-x6'l; +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % right upper diagonal +fill z4r--diag_end(4r,7'r,1,.5,7'l,4l)--z4l--cycle; % left upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % right lower diagonal +fill z8l--diag_end(8l,9'l,.5,1,9'r,8r)--z8r--cycle; % left lower diagonal +if serifs: numeric inner_jut,mon_jut; + if rt x2r+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x6l-inner_jut; fi + mon_jut=if monospace: inner_jut else: jut fi; + dish_serif(1,2,a,1/3,mon_jut,b,1/3,mon_jut); % upper stem serif + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower stem serif + dish_serif(3,4,e,2/3,right_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); % lower diagonal serif + dish_serif(7,4,i,1/2,right_jut,j,2/3,right_jut)(dark); % upper diagonal serif + dish_serif(9,8,k,1/3,right_jut,l,1/2,inner_jut)(dark); fi %lower diagonal seri +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter ze"; +beginchar(cyrz,7.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(0,0); +pickup fine.nib; +if serifs: pos1(hair,180); pos2(cap_band,90); + pos3(max(fine.breadth,curve-stem_corr),0); pos4(vair',270); + lft x1r=u; top y2r=h+oo; + bot y1=min(vround .7h,bot y2l-eps); rt x3r=hround(w-u); + pos7(vair,-90); pos8(vair,-90); + pos9(max(fine.breadth,vround 2/3vair),90); pos10(curve,0); + x9=.5w-u; x2=x4=.5w-.5u; bot y4r=-oo; + rt x10r=w-.5u; lft x8=min(hround 5u,lft x9)-eps; + y3=.5[top y7l,bot y2l]; y10=.5[bot y9l,top y4l]; + top y8l=vround(.54h+.5vair); y8r=y9l; + x7=1/3[x8,x3l]; z7=z8+whatever*(150u,h); + pos5(hair,180); lft x5r=hround(.5u); + y5=max(good.y(.3bar_height),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=max(x,x4l-.5u); + interim superness:=more_super; + filldraw stroke z1e{up} + ... pulled_super_arc.e(2,3)(.5superpull) + & z3e{down}...z7e---z8e; % upper bowl + %filldraw z8r--z9l--z9r--z8l---cycle; % middle tip + % Deactivated due to problems with some + % higher device resolutions like ljfive + % + % Oliver Corff, Ulaanbaatar 1998 + % + filldraw stroke pulled_super_arc.e(9,10)(.5superpull) + & pulled_super_arc.e(10,4)(.5superpull) + ..z5e; % arc and lower terminal + pos6(.3[fine.breadth,hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=1.5curve-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: pos1(1.2flare,100); pos2(slab,90); + pos3(curve,0); pos4(slab,-90); pos5(flare,-95); + rt x1r=hround(1.1u); x2=.5w; x4=.45[x1,x10]; x9=.5w-u; + rt x3r=hround w-max(u,2u-.5curve); rt x5r=hround(.9u); + top y1r=vround .9h+oo; top y2r=h+oo; y3=.5[y7,y2]; + bot y4r=-oo; bot y5r=vround .15h-oo; y5l:=good.y y5l; x5l:=good.x x5l; + pos7(vair,-90); pos8(vair,-90); + pos9(max(fine.breadth,vround 2/3vair),90); pos10(curve,0); + rt x10r=hround(w-.75u); lft x8=min(hround 5u,lft x9)-eps; + y10=.5[y9,y4]; 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_arc.e(3,8); % upper bowl + filldraw stroke pulled_arc.e(9,10) + & super_arc.e(10,4) & term.e(4,5,left,.8,4); fi % lower bowl +penlabels(1,1',2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The cyrillic letter i"; +beginchar(cyri,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +top y1=top y3=h; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround(w-2.5u+.5fudged.stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: y5=h-y6=.12h; + else: bot y5l=h-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=h-notch_cut; lower_notch=notch_cut; + penpos5(1.5stem,alpha); penpos6(1.5stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z7=z6l-(max(eps,hair-tiny),0) rotated (angle(z5-z6)-90); + z5r=z7+whatever*(z5-z6); z6r=z7+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); fi % lower right serif +penlabels(1,2,2',3,3',4,4',5,6); endchar; + +cmchar "The cyrillic letter short_i"; +beginchar(cyrishrt,10u#,if serifs: 1.5x_height# + else: 1.4x_height# fi,0); +italcorr 1.5x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +top y1=top y3=x_height; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; +rt x3r=hround(w-2.5u+.5fudged.stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: y5=x_height-y6=.12x_height; + else: bot y5l=x_height-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=x_height-notch_cut; lower_notch=notch_cut; + penpos5(1.5stem,alpha); penpos6(1.5stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z6'=z6l-(max(eps,hair-tiny),0) rotated (angle(z5-z6)-90); + z5r=z6'+whatever*(z5-z6); z6r=z6'+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % lower left serif + if monospace: penpos7(.25vair,-90); + else: penpos7(vair,-90); fi + penpos8(.7vair,-180); penpos9(.5flare,-180); + penpos10(.7vair,0); penpos11(.5flare,0); + x7=.5[x8,x10]; bot y7r=.8h; + x8=.5w-2u; x10=w-x8; y8=y11=.95h; + bulb(7,8,9); % left bulb + bulb(7,10,11); % right bulb +else: pickup fine.nib; penpos7(.75vair,-90); + penpos8(.75vair,-180); penpos10(.75vair,0); + x7=.5[x8,x10]; y7=.85h; + x8r=x1r; x10r=x3l; top y8=top y10=h; + filldraw stroke z8e...z7e...z10e; +fi +penlabels(1,2,2',3,3',4,5,6,7,8,9,10,11); endchar; + +cmchar "The cyrillic letter ka"; +beginchar(cyrk,9.5u#,x_height#,0); +italcorr x_height#*slant-.5u#; +adjust_fit(serif_fit#,serif_fit#); +numeric right_jut,stem[],alpha[]; +if serifs: right_jut=.6jut; +else: right_jut=.4tiny; fi +pickup tiny.nib; pos1(fudged.stem,0); pos2(fudged.stem,0); +lft x1l=lft x2l=hround(2.5u-.5fudged.stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +stem2=max(tiny.breadth,fudged.stem-3stem_corr); +stem1=max(tiny.breadth,fudged.hair if hefty:-3stem_corr fi); +top y3=h; rt x3r=hround(r-letter_fit-.75u-right_jut); +bot y6=0; rt x6r=hround(r-letter_fit-.5u-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+jut+.5u+1<=lft x6l-jut: inner_jut=jut; + else: rt x2r+jut+.5u+1=lft x6l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper stem serif + dish_serif(2,1,c,1/3,jut,d,1/3,jut); % lower stem serif + dish_serif(3,4,e,2/3,right_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 +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter el"; +beginchar(cyrl,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit# + +.75jut#-2.5u#+min(.5stem#,u#); +adjust_fit(0,serif_fit#); +pickup tiny.nib; numeric thin_stem; +thin_stem=min(1.2hair,stem); +if serifs: pos1(thin_stem,0); pos12(thin_stem,0); +else: pos1(hair,0); pos12(hair,0); fi +pos5(stem,0); pos6(stem,0); +x1=.33w; top y1=h; x12=x1; y12=.5h; +rt x5r=rt x6r=hround(w-2.5u+.5stem); top y5=h; bot y6=0; +filldraw stroke z5e--z6e; % right stem +if serifs: + numeric light_bulb,inner_jut; + inner_jut:=.5(x5l-x1r); light_bulb=hround 7/8[hair,flare]; + pos2(thin_stem,-90); pos3(thin_stem,-180); + pos4(light_bulb,-180); + bot y2r=-oo; x2=.3[x4,x1]; + y4=.2h; rt x4l=hround 2u; z4r=z3r; + bulb(2,3,4); % bulb + filldraw stroke z2e{right}...{up}z12e--z1e; % left stem and arc + nodish_serif(1,12,a,1/3,jut,b,1/3,inner_jut); % upper left serif + nodish_serif(5,6,g,1/3,inner_jut,h,1/3,jut); % upper right serif + dish_serif(6,5,e,1/3,jut,f,1/3,jut); % lower right serif +else: pos1'(slab,90); pos5'(slab,90); + pos2(hair,-90); pos3(hair,-90); + x2=.5u; x3=x2+u; bot y2r=0; bot y3r=-oo; + lft x1'=lft x1l; rt x5'=rt x5r; top y1'r=top y5'r=h; + filldraw stroke z1'e--z5'e; % upper bar + filldraw stroke z2e...z3e{right}...{up}z12e--z1e; % stem and arc +fi +penlabels(1,1',2,3,4,5,5',6,7); endchar; + +cmchar "The cyrillic letter em"; +beginchar(cyrm,12u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +numeric stem[]; % thicknesses of the four strokes +stem1=hround(fudged.hair+stem_corr); +stem2=hround(fudged.stem-4stem_corr); +stem3=hround(fudged.hair-stem_corr); +stem4=hround(fudged.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(w-2.5u+.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-notch_cut; lower_notch=y6+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,-jut); % upper left serif + dish_serif(2,1,b,1/2,jut,c,1/2,jut)(dark); % lower left serif + serif(3,4,d,1/3,jut); % upper right serif + dish_serif(4,3,e,1/3,jut,f,1/3,jut); fi % lower right serif +penlabels(0,1,1',2,3,3',4,5,6,7,8); endchar; + +cmchar "The cyrillic letter en"; +beginchar(cyrn,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); 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(bar,90); penpos6(bar,90); +x5=x1; x6=x3; y5=y6=.52h; +fill stroke z5e--z6e; % bar +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); fi % lower left serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter o"; +beginchar(cyro,9u#,x_height#,0); +italcorr .7x_height#*slant; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +penpos1(vair,90); penpos3(vair',-90); +penpos2(curve,180); penpos4(curve,0); +x2r=hround max(.5u,1.25u-.5curve); +x4r=w-x2r; x1=x3=.5w; y1r=h+vround 1.5oo; y3r=-oo; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_arc.e(1,2) & pulled_arc.e(2,3) + & pulled_arc.e(3,4) & pulled_arc.e(4,1) & cycle; % bowl +penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter pe"; +beginchar(cyrp,10u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); 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 +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); % lower left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % lower left serif + inner_jut:=inner_jut+u; + nodish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper left serif +else: pos5(slab,90); pos6(slab,90); + lft x5=x1l; rt x6=x3r; y5r=y6r=y3; + filldraw stroke z5e--z6e; fi % upper bar +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter er"; +beginchar(cyrr,10u#+serif_fit#,x_height#,desc_depth#); +italcorr .5x_height#*slant+min(.5curve#-.85u#,-.1u#); +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem',0); pos2(stem,0); +pos0'(stem',0); pos0(stem,0); z0l=z0'l; x0'=x1; x0=x2; +lft x1l=hround(2.5u-.5stem'); top y1=h if serifs: +min(oo,serif_drop) fi; +numeric edge; edge=rt x2r; +pickup fine.nib; pos3(if hefty:thin_join else: hair fi,180); +pos4(vair',90); pos5(curve,0); pos6(vair,-90); penpos7(x3l-x3r,-180); +rt x3l=max(rt x3l-(lft x3r-tiny.lft x2l), 1/3[rt x2,edge]); +y3=1/8[bar_height,x_height]; +x4l=w-.5(w-serif_fit)+.5u; top y4r=x_height+oo; +rt x5r=hround min(w-1.35u+.5curve,w-.6u); y5=.5x_height; +x6l=x4l-.2u; bot y6r=-oo; +x7=x3; y7=min(y3,y6+y4-y3+.6vair); +(x,y4r)=whatever[z3l,z4l]; x4r:=min(x,.5[x5r,x4]); +(x',y6r)=whatever[z7l,z6l]; x6r:=min(x',.5[x5r,x6]); +filldraw stroke z3e{up}...{right}z4e&super_arc.e(4,5) + &super_arc.e(5,6)&z6e{left}...{up}z7e; % bowl +y0=ypart(((edge,h)--(edge,0))intersectionpoint(z3l{up}...{right}z4l)); +pickup tiny.nib; bot y2=-d; +filldraw stroke z1e--z0'e--z0e--z2e; % stem +pickup crisp.nib; pos8(hair,0); pos7'(stem,0); +z7'=z2; x8l=x7'l; bot y8=0; +filldraw stroke z7'e--z8e; % point +if serifs: sloped_serif.l(1,0',a,1/3,jut,serif_drop); % upper serif + dish_serif(2,0,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter es"; +beginchar(cyrs,8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; pos2(vair',90); pos4(vair',270); +x2=x4=.5(w+u); top y2r=vround(h+1.5oo); bot y4r=-oo; +pos3(curve,180); lft x3r=hround max(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,0); pos0(flare,0); + y1=min(bar_height+.5flare+2vair'+2,.9[bar_height,h]-.5flare); + rt x1r=hround(w-.7u); bulb(2,1,0); % bulb + pos5(hair,0); rt x5r=hround(w-.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=min(x,x4l+.5u); + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal +else: pos1(4/7[vair',flare],80); + rt x1r=hround(w-.6u); top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,right,.8,4); % upper terminal + pos5(.6[vair',flare],275); rt x5r=hround(w-.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{right}..tension .9 and 1..z5e; + if angle direction 1 of p.e>75: + p.e:=z4e{right}..tension atleast.9 and 1..{dir 75}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.7superpull) + & pulled_super_arc.e(3,4)(.5superpull) & p.e; fi % arc and lower terminal +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter te"; +beginchar(cyrt,10u#,x_height#,0); +italcorr x_height#*slant-beak_jut#-.25u#; +adjust_fit(0,0); +h:=vround(h-2stem_corr); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +if odd(w-stem): change_width; fi +lft x1l=lft x2l=hround(.5w-.5stem); 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-.6beak)-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.414jut,d,1/3,1.414jut); % lower serif + nodish_serif(1,2,a,1/3,.5jut,b,1/3,.5jut); fi % upper bracketing +penlabels(1,2,3,4,5); endchar; + +cmchar "The cyrillic letter u"; +beginchar(cyru,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; + +cmchar "The cyrillic letter ef"; +beginchar(cyrf,12u#,x_height#+desc_depth#,desc_depth#); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +if odd(w-stem): change_width; fi +top y1=h if serifs: +min(oo,serif_drop) fi; +x1=x2=.5w; bot y2=-d; +penpos3(cap_band,180);penpos3'(cap_band,0); +penpos4(cap_band,90); penpos5(curve,0); +penpos6(.5[vair,cap_band],-90); +penpos7(.5[vair,cap_band],180); penpos7'(.5[vair,cap_band],0); +penpos8(cap_band,90); penpos9(curve,180); +penpos10(.5[vair,cap_band],270); +x3l=x7l=rt x1r; x3'l=x7'l=lft x1l; +y4r=y8r=x_height+oo; y5=y9=.5[y4l,y6l]; +x4r=x6r=.5[x1,x5]; x8r=x10r=.5[x9,x1]; +x5r=w-x9r=w-.5u; +y7=y7'=.25x_height; y3=y3'=x_height-y7; y6r=y10r=-oo; +filldraw stroke z1e--z2e; % stem +fill stroke z3e{up}..pulled_arc.e(4,5) & pulled_arc.e(5,6)..{up}z7e; +fill stroke z3'e{up}..pulled_arc.e(8,9) & pulled_arc.e(9,10)..{up}z7'e; % lobe +if serifs: + sloped_serif.l(1,2,a,1/3,jut,.1h); % upper serif + dish_serif(2,1,b,1/3,jut,c,1/3,jut); fi % lower serif +penlabels(0,1,2,3,3',4,5,6,7,7',8,9,10); endchar; + +cmchar "The cyrillic letter xa"; +beginchar(cyrh,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 cyrillic letter tse"; +beginchar(cyrc,10u#,x_height#,comma_depth#); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +pos3(stem,0); pos4(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); 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 +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,c,1/3, jut,d,1/3,inner_jut); % lower left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,jut); % lower right serif + pickup crisp.nib; pos5(slab,90); pos6(hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x6r=tiny.rt x4r+jut; y6=good.y(y5l-.5beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos4'(slab,90); + pos5(slab,0); pos6(slab,0); + lft x2'=lft x2l; rt x4'=rt x5r=rt x6r=w-.5u; + bot y2'l=bot y4'l=0; y5=y4; bot y6=-.75d; + filldraw stroke z2'e--z4'e; % lower bar + filldraw stroke z5e--z6e; % right beak +fi +penlabels(1,2,2',3,4,4',5,6); endchar; + +cmchar "The cyrillic letter che"; +beginchar(cyrch,10u#,x_height#,0); +italcorr 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); +pos3(stem,0); pos4(stem,0); +numeric light_vair; light_vair=vair-fine; +lft x1l=hround(2.5u-.5stem); x1=x2; x3l=w-x1r; x3r=x4r; +top y1=h; bot y4=0; +penpos2'(stem-fine,-180); z2'=z2; y3=y1; y2=.65h; +penpos5(light_vair,-90); penpos6(light_vair,0); +y6=.5h; lft x6l=lft x3l; if rt x6r>rt x3r: x6r:=x3r; fi +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +pickup fine.nib; bot y5r=y6-vair-.05h; x5=.5w; +filldraw stroke {{interim superness:=hein_super; + pulled_super_arc.e(2',5)(.01superpull)}} + & z5e{right}...z6e; % arc +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + dish_serif(4,3,g,1/3,jut,h,1/3,jut); fi % lower right serif +penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter sha"; +beginchar(cyrsh,15u#,x_height#,0); +italcorr x_height#*slant-.25u#; +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +pos3(stem',0); pos4(stem',0); +pos5(stem',0); pos6(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=lft x2l=hround(2.5u-.5stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +z3=.5[z1,z5]; z4=.5[z2,z6]; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +if serifs: numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3, jut,h,1/3, inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut, j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut, l,1/3,jut); % lower right serif +else: pos2'(slab,90); pos6'(slab,90); + lft x2'=lft x1l; rt x6'=rt x6r; bot y2'l=bot y6'l=0; + filldraw stroke z2'e--z6'e; % lower bar +fi +penlabels(1,2,2',3,4,5,6,6'); endchar; + + +cmchar "The cyrillic letter shcha"; +beginchar(cyrshch,15u#,x_height#,comma_depth#); +italcorr x_height#*slant-.25u#; +adjust_fit(serif_fit#,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +pos3(stem',0); pos4(stem',0); +pos5(stem',0); pos6(stem',0); +if odd(w-stem'): change_width; fi +lft x1l=lft x2l=hround (2.25u-.5stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +z3=.5[z1,z5]; z4=.5[z2,z6]; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +if serifs: + numeric inner_jut; + if rt x1r+jut+.5u+1<=lft x3l-jut: inner_jut=jut; + else: rt x1r+inner_jut+.5u+1=lft x3l-inner_jut; fi + dish_serif(1,2,a,1/3, jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3, jut,h,1/3, inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut, j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut, l,1/3,jut); % lower right serif + pickup crisp.nib; pos7(slab,90); pos8(hair,0); + x7=.5[x4,x6]; bot y7l=0; + rt x8r=tiny.rt x6r+jut; y8=good.y(y7l-.5beak)-eps; + arm(7,8,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos6'(slab,90); + pos7(slab,0); pos8(slab,0); + lft x2'=lft x1l; rt x6'=rt x7r=rt x8r=w-.5u; + bot y2'l=bot y6'l=0; y7=y6; bot y8=-.75d; + filldraw stroke z2'e--z6'e; % lower bar + filldraw stroke z7e--z8e; % right beak +fi +penlabels(1,2,2',3,4,5,6,6',7,8); endchar; + +cmchar "The cyrillic letter hard_sign"; +beginchar(cyrhrdsn,10.5u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(4u-.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:=x6-.25u; x7r=hround(w-.5u); x8l:=x8l-.5u; +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-1.2u]; +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,180); +top y3r=h; x3=x1; lft x4r=hround(.5u); y4=good.y(y3l-.6beak)-eps; +arm(3,4,e,beak_darkness,-.7beak_jut); % upper arm and beak +if serifs: nodish_serif(1,2,a,0,jut,b,1/3,jut); % upper serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter yeru"; +beginchar(cyrery,13u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.5left_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +pos3(stem,0); pos4(stem,0); x3=x4=w-x1; top y3=h; bot y4=0; +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; x6ltop +:=x6-.25u; x8l:=x8l-.5u; +x7r=if serifs: tiny.lft x3l-jut; else: 8.5u; fi +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-4.5u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-5.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +filldraw stroke z3e--z4e; % right stem +if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper left serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); % lower left serif +dish_serif(3,4,e,1/3,1.05jut,f,1/3,1.05jut); % upper right serif +dish_serif(4,3,g,1/3,1.05jut,h,1/3,1.05jut); fi % lower right serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter soft_sign"; +beginchar(cyrsftsn,9u#,x_height#,0); +italcorr .75x_height#*slant-.5u#; +adjust_fit(serif_fit#,0); +numeric left_stem,right_curve,middle_weight; +left_stem=stem-hround 2stem_corr; middle_weight=.6vair+.5; +pickup tiny.nib; pos1(left_stem,0); pos2(left_stem,0); +lft x1l=lft x2l=hround(2.5u-.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:=x6-.25u; x7r=hround(w-.5u); x8l:=x8l-.5u; +if serifs: right_curve=curve-stem_corr; x6=.5[x1,w-u]; +else: right_curve=curve-3stem_corr; x6=.5[x1,w-1.2u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +if serifs: dish_serif(1,2,a,1/3,jut,b,1/3,jut); % upper serif +nodish_serif(2,1,c,1/3,jut,d,1/3,.5jut); fi % lower serif +penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter e"; +beginchar(cyrerev,8u#,x_height#,0); +italcorr x_height#*slant-.2u#; +adjust_fit(if monospace: .5u#,.5u# else: 0,0 fi); +pickup fine.nib; +pos2(cap_band,90); pos4(vair',270); pos3(curve,0); +x2=x4=.5(w-u); top y2r=h+oo; bot y4r=-oo; +rt x3r=w-hround min(.6u,1.35u-.5curve); y3=.5h; +if serifs: pos1(hair,180); + lft x1r=u; bot y1=min(vround .7h,bot y2l-eps); + pos5(hair,180); lft x5r=hround(.5u); + y5=max(good.y(.5bar_height-.9),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=max(x,x4l-.5u); + filldraw stroke z1e{up} + ..pulled_super_arc.e(2,3)(superpull)%(.7superpull) + & pulled_super_arc.e(3,4)(superpull)%(.5superpull) + ..tension .9 and 1..{x5-x4,5(y5-y4)}z5e; % arc and lower terminal + pos6(.3[fine.breadth,hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=1.5curve-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: pos1(4/7[vair',flare],110); + lft x1r=hround(.6u); + top y1r=vround .82[bar_height,top y2r]; + filldraw stroke term.e(2,1,left,.8,4); % upper terminal + pos5(.6[vair',flare],265); lft x5r=hround(.5u); + y5r=good.y(y5r+1/3bar_height-y5); y5l:=good.y y5l; x5l:=good.x x5l; + forsuffixes e=l,r: path p.e; p.e=z4e{left}..tension .9 and 1..z5e; + if angle direction 1 of p.e<105: + p.e:=z4e{left}..tension atleast.9 and 1..{dir 105}z5e; fi endfor + filldraw stroke pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.7superpull) & p.e; fi % arc and lower terminal +penpos7(bar,90); penpos8(bar,90); +x7=lft x3l; x8=.5w-1.5u; +y7=y8=.5h; +fill stroke z7e--z8e; % bar +penlabels(0,1,2,3,4,5); endchar; + +cmchar "The cyrillic letter yu"; +beginchar(cyryu,13.5u#,x_height#,0); +italcorr x_height#*slant-serif_fit#+jut#-2.5u#+min(.5stem#,u#); +adjust_fit(serif_fit#,if monospace: .5u# else: 0 fi); +pickup tiny.nib; pos1(stem,0); pos2(stem,0); +lft x1l=lft x2l=hround(2.5u-.5stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +penpos5(vair,90); penpos7(vair',-90); +penpos6(curve,180); penpos8(curve,0); +x5=x7=.5[x6,x8]; y5r=h+oo; y7r=-oo; +x8r=hround(w-.5u); x6r=hround(w-8.5u); +y6=y8=.5h-vair_corr; y6l:=y8l:=.52h; +penstroke pulled_arc.e(5,6) & pulled_arc.e(6,7) + & pulled_arc.e(7,8) & pulled_arc.e(8,5) & cycle; % bowl +penpos3(bar,90); penpos4(bar,90); x3=x1; x4=x6; y3=y4=.52h; +fill stroke z3e--z4e; % bar +if serifs: numeric inner_jut; inner_jut=jut; + dish_serif(1,2,a,1/3,jut,b,1/3,inner_jut); % upper left serif + dish_serif(2,1,c,1/3,jut,d,1/3,inner_jut); fi % lower left serif +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter ya"; +beginchar(cyrya,8u#+.5max(2u#,curve#),x_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(0,serif_fit#); +pickup tiny.nib; pos1(stem',0); pos2(stem',0); +rt x1r=rt x2r=w-hround(2.5u-.5stem'); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +penpos3(cap_band,90); penpos4(cap_band,90); +penpos5(curve if hefty:-3stem_corr fi,180); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; x7=x2; y7=.5h; x4=x6; +if serifs: x4=.5w+.5u; x5r=hround(1.5u); +else: x4=.5w-.5u; x5r=hround(.75u); fi +x4l:=x6l:=x4+.125curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +pos6'(curve,0); pos8(curve,0); x6'r=x6l; y6'=y6; +tiny.lft x8l=.5u+.5jut; bot y8=0; +filldraw stroke z6'e--z8e; % diagonal stem +if serifs: numeric inner_jut; + if rt x8r+u+1<=lft x2l-jut: inner_jut=jut; + else: lft x2l-u-1=rt x8r+inner_jut; fi + nodish_serif(1,2,a,1/3,.5jut,b,1/3,jut); % upper serif + dish_serif(2,1,c,1/3,inner_jut,d,1/3,jut); % lower serif + serif(8,6',e,1/3,-.5jut); fi % lower diagonal serif +penlabels(1,2,3,4,5,6,7,8); endchar; + diff --git a/language/mongolian/montex/mfinput/km/mcyrligs.mf b/language/mongolian/montex/mfinput/km/mcyrligs.mf new file mode 100644 index 0000000000..c31b2db077 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcyrligs.mf @@ -0,0 +1,38 @@ +% File: mcyrligs.mf +% Author: Oliver Corff +% Date: June 1998, Ulaanbaatar +% +% These ligatures are always active: +% Creates xagas i, yo, yu, ya ligatures: +ligtable cyrery: cyri =: cyrishrt, + cyro =: cyryo, + cyru =: cyryu, + cyra =: cyrya; + +% Creates XAGAS I, YO, YU, YA ligatures: +ligtable CYRERY: CYRI =: CYRISHRT, + CYRO =: CYRYO, + cyro =: CYRYO, + CYRU =: CYRYU, + cyru =: CYRYU, + CYRA =: CYRYA, + cyra =: CYRYA; + +% Creates the front vowels as ligatures: +ligtable oct"42": CYRA =: CYREREV, + CYRE=: CYRYO, + CYRI =: CYRISHRT, + CYRO =: CYROTLD, + CYRU =: CYRY, + + cyra =: cyrerev, + cyre=: cyryo, + cyri =: cyrishrt, + cyro =: cyrotld, + cyru =: cyry; + +% Creates the Sh and ShCh consonants as ligatures: +% ligtable CYRS: CYRSHHA =: CYRSH; +ligtable cyrs: cyrshha =: cyrsh; +ligtable CYRCH: CYRSHHA =: CYRSHCH; +ligtable cyrch: cyrshha =: cyrshch; diff --git a/language/mongolian/montex/mfinput/km/mcyrsymb.mf b/language/mongolian/montex/mfinput/km/mcyrsymb.mf new file mode 100644 index 0000000000..9accfb827c --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcyrsymb.mf @@ -0,0 +1,171 @@ +% File: mcyrsymb.mf
+% Based on: cyrsymb.mf
+% Modified by: Oliver Corff
+% Date: October 1997, Ulaanbaatar,
+% December 1998, Beijing, Shenyang, Berlin
+%
+if ligs>0:
+ ligtable "<": "<" =: guillemotleft;
+ ligtable ">": ">" =: guillemotright;
+fi;
+
+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 "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 "open cyrillic quote (looks like <<)";
+beginchar(guillemotleft,10u#,x_height#,0);
+adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup rule.nib;
+lft x2=hround u-epsilon; x1=x3=.55w;
+y1=h; y3=0; y2=.5[y1,y3];
+draw z1--z2--z3; % left diagonals
+x4=w-x2; y4=.9[y3,y1]; y6=.1[y3,y1];
+x5-x2=x6-x3=x4-x1; y5=y2;
+draw z4--z5--z6; % right diagonals
+z2'=z2; x2':=x2-.625rule_thickness;
+z5'=z5; x5':=x5+.625rule_thickness;
+draw z1--z2'--z3; % left diagonals
+draw z4--z5'--z6; % right diagonals
+labels(1,2,3,4,5,6); endchar;
+
+cmchar "close cyrillic quote (looks like >>)";
+beginchar(guillemotright,10u#,x_height#,0);
+adjust_fit(if monospace:-u#,-u# else: 0,0 fi); pickup rule.nib;
+lft x2=.55w; x1=x3=hround u-epsilon;
+y1=.9h; y3=.1h; y2=.5[y1,y3];
+y4=h; y6=0; y5=.5[y4,y6];
+draw z1--z2--z3; % left diagonals
+x4=w-x2;
+x5-x2=x6-x3=x4-x1;
+draw z4--z5--z6; % right diagonals
+z2'=z2; x2':=x2-.625rule_thickness;
+z5'=z5; x5':=x5+.625rule_thickness;
+draw z1--z2'--z3; % left diagonals
+draw z4--z5'--z6; % right diagonals
+labels(1,2,3,4,5,6);
+endchar;
+
+cmchar "The number mark";
+beginchar(CYRNo,17u#,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,letter_w,light_bulb; letter_w=14u;
+thin_stem=hround(fudged.hair+stem_corr);
+pickup tiny.nib; pos1(thin_stem,0); pos2(thin_stem,0);
+pos3(thin_stem,0); pos4(thin_stem,0);
+top y1=h; bot y4=0;
+if serifs: top y3=h-bot y2=.9h; else: top y3=h; bot y2=0; fi
+x1=x2; x3=x4; x1l=letter_w-x3r;
+rt x3r=hround min(letter_w-3u,letter_w-4u+.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: serif(5,6,a,1/3,-cap_jut); % upper left serif
+ light_bulb=hround 7/8[cap_hair,flare];
+ z2'r=(tiny.rt x2r,y2); z2'l=(tiny.lft x2l,y2);
+ z3'l=(tiny.rt x3r,y3); z3'r=(tiny.lft x3l,y3);
+ penpos8(vair,-90); penpos9(cap_hair,-180); penpos10(light_bulb,-180);
+ penpos11(vair,90); penpos12(cap_hair,0); penpos13(light_bulb,0);
+ x8=x1-1.25u; x11=letter_w-x8;
+ x10r=hround .5u; x13r=hround(letter_w-.5u);
+ if monospace: y10=u; y11=h-y8=h;
+ else: y10=2u-min(.5light_bulb,.5u); top y11r=h+o; bot y8r=-o; fi
+ y13=h-y10;
+ fill stroke z2'e{down}...{left}z8e;
+ fill stroke z3'e{up}...{right}z11e; % upper and lower arcs
+ clearpen;
+ bulb(8,9,10); bulb(11,12,13); fi % upper and lower bulbs
+numeric thick_hair; thick_hair=max(hair,.75stem);
+penpos14(vair,90); penpos16(vair,-90);
+penpos15(thick_hair,180); penpos17(thick_hair,0);
+interim superness:=sqrt(more_super*hein_super);
+if monospace: x15=hround(w-4.5u); rt x17r=hround(w-.5u);
+ else: x15=hround(w-4u); rt x17r=hround(w-.5u); fi
+x14=x16=.5[x15,x17]; y14r=h-y16r=.7h; y15=y17=.5[y14,y16];
+if x17l<=x15l+10: x15l:=x15r+vair; x17l:=x17r-vair; fi
+penstroke pulled_arc.e(14,15) & pulled_arc.e(15,16)
+ & pulled_arc.e(16,17) & pulled_arc.e(17,14) & cycle; % bowl
+pickup crisp.nib; pos18(thick_hair,90); pos19(thick_hair,90);
+bot y18l=bot y19l=.075h; rt x19=x17r; lft x18=x15r;
+filldraw stroke z18e--z19e; % bar
+math_fit(0,max(.5ic#-.5u#,0));
+penlabels(1,1',2,3,4,4',5,6,7,8,9,10,11,12,13,14,15,16,17,18,19);
+endchar;
+
+cmchar "The Mongolian Currency symbol TOGROG";
+beginchar(CYR_TOGROG,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#);
+z11=(x5,2/4y5); z12=(x4,3/4y4); % define upper bar edges
+z13=(x5,1/4y5); z14=(x4,2/4y4); % define lower bar edges
+pos11(bar,90); pos12(bar,90); % define upper bar width
+pos13(bar,90); pos14(bar,90); % define lower bar width
+filldraw stroke z11e--z12e; % draw upper bar
+filldraw stroke z13e--z14e; % draw lower bar
+penlabels(1,2,3,4,5,6,11,12,13,14); endchar;
+
+cmchar "The Mongolian Currency symbol togrog";
+beginchar(CYR_togrog,10u#,x_height#,0);
+italcorr x_height#*slant-beak_jut#-.25u#;
+adjust_fit(0,0);
+h:=vround(h-2stem_corr);
+pickup tiny.nib; pos1(stem,0); pos2(stem,0);
+if odd(w-stem): change_width; fi
+lft x1l=lft x2l=hround(.5w-.5stem); 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-.6beak)-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.414jut,d,1/3,1.414jut); % lower serif
+ nodish_serif(1,2,a,1/3,.5jut,b,1/3,.5jut); fi % upper bracketing
+z11=(x5,2/4y5); z12=(x4,3/4y4); % define upper bar edges
+z13=(x5,1/4y5); z14=(x4,2/4y4); % define lower bar edges
+pos11(bar,90); pos12(bar,90); % define upper bar width
+pos13(bar,90); pos14(bar,90); % define lower bar width
+filldraw stroke z11e--z12e; % draw upper bar
+filldraw stroke z13e--z14e; % draw lower bar
+penlabels(1,2,3,4,5,11,12,13,14); endchar;
diff --git a/language/mongolian/montex/mfinput/km/mcyru.mf b/language/mongolian/montex/mfinput/km/mcyru.mf new file mode 100644 index 0000000000..ac78da4c20 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcyru.mf @@ -0,0 +1,1041 @@ +% File: mcyru.mf +% Based on: cyru.mf +% Modified by: Oliver Corff +% Date: October 1997, Ulaanbaatar +% +% The De was modified (thin_stem:=epsilon if thin_stem<0) +% +cmchar "The cyrillic letter A"; +beginchar(CYRA,13u#,cap_height#,0); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,outer_jut,alpha; +right_stem=cap_stem-stem_corr; +left_stem=min(cap_hair if hefty: -3stem_corr fi,right_stem); +outer_jut=.8cap_jut; x1l=w-x4r=l+letter_fit+outer_jut+.5u; y1=y4=0; +x2-x1=x4-x3; x3r=x2r+apex_corr; y2=y3=h+apex_o+apex_oo; +alpha=diag_ratio(2,left_stem,y2-y1,x4r-x1l-apex_corr); +penpos1(alpha*left_stem,0); penpos2(alpha*left_stem,0); +penpos3(alpha*right_stem,0); penpos4(alpha*right_stem,0); +z0=whatever[z1r,z2r]=whatever[z3l,z4l]; +if y0<h-cap_notch_cut: y0:=h-cap_notch_cut; + fill z0+.5right{down}...{z4-z3}diag_end(3l,4l,1,1,4r,3r) + --diag_end(4r,3r,1,1,2l,1l)--diag_end(2l,1l,1,1,1r,2r){z2-z1} + ...{up}z0+.5left--cycle; % left and right diagonals +else: fill z0--diag_end(0,4l,1,1,4r,3r)--diag_end(4r,3r,1,1,2l,1l) + --diag_end(2l,1l,1,1,1r,0)--cycle; fi % left and right diagonals +penpos5(whatever,angle(z2-z1)); z5=whatever[z1,z2]; +penpos6(whatever,angle(z3-z4)); z6=whatever[z3,z4]; y6=y5; +if hefty: y5r else: y5 fi =5/12y0; +y5r-y5l=y6r-y6l=cap_band; penstroke z5e--z6e; % bar line +if serifs: numeric inner_jut; pickup tiny.nib; + prime_points_inside(1,2); prime_points_inside(4,3); + if rt x1'r+cap_jut+.5u+1<=lft x4'l-cap_jut: inner_jut=cap_jut; + else: rt x1'r+inner_jut+.5u+1=lft x4'l-inner_jut; fi + dish_serif(1',2,a,1/2,outer_jut,b,.6,inner_jut)(dark); % left serif + dish_serif(4',3,c,1/2,inner_jut,d,1/3,outer_jut); fi % right serif +penlabels(0,1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter BE"; +beginchar(CYRB,12.5u#,cap_height#,0); +italcorr .75cap_height#*slant-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric left_stem,right_curve; +left_stem=cap_stem-hround 2stem_corr; +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; +x8=x6; x5=x1; x6l:=x6-.25u; x7r=hround(w-u); x8l:=x8l-.5u; +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-1.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-1.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-2u); y4=good.y(y3l-.8beak)-eps; +arm(3,4,e,beak_darkness,.9beak_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 cyrillic letter VE"; +beginchar(CYRV,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; + +cmchar "The cyrillic letter GHE"; +beginchar(CYRG,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 +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(1,2,3,4); endchar; + +cmchar "The cyrillic letter DE"; +beginchar(CYRD,13u#,cap_height#,comma_depth#); +italcorr cap_height#*slant-cap_serif_fit# + +.75cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; numeric thin_stem; +thin_stem=if monospace: cap_stem-tiny + else: min(cap_hair,cap_stem-1.5tiny) fi; +if thin_stem<0: thin_stem:=epsilon fi; +if serifs: penpos1(thin_stem,0); penpos2(thin_stem,0); % + % + % changed due to error with kmvtt10.mf + % see also mcyrl.mf + % + % O. Corff, June 1st, 1998, Ulaanbaatar + % +penpos0(thin_stem,0); x2=.5[hround .5u,x1]; +else: penpos1(thin_stem,0); penpos2(thin_stem,0); +penpos0(thin_stem,0); x2=.5u+cap_stem; fi +pos3(cap_stem,0); pos4(cap_stem,0); +x1l=x0l=.33w; top y1=h; y0=.75h; bot y2=0; +rt x3r=rt x4r=hround(w-2u); top y3=h; bot y4=0; +filldraw stroke z3e--z4e; +filldraw stroke z1e--z0e{down}..z2e; % stem and arc +if serifs: pickup crisp.nib; numeric inner_jut, newbracket; + newbracket:=max(1.5,bracket); inner_jut:=.5(x3l-x1r); + path p[]; p1=z1{down}...z2; + p12=(0,y1-newbracket)--(w,y1-newbracket); + p21=(0,y2+newbracket)--(w,y2+newbracket); + z12=p1 intersectionpoint p12; z21=p1 intersectionpoint p21; + nodish_serif(1,12,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,c,1/3,inner_jut,d,1/3,cap_jut); % upper right serif + inner_jut:=.5(x4l-x2r); + nodish_serif(2,21,e,1/3,cap_jut,f,1/3,inner_jut); % middle left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % middle right serif + pickup crisp.nib; + pos5(slab,90); pos6(cap_hair,180); pos7(cap_hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x7r=tiny.rt x4r+cap_jut; lft x6r=tiny.lft x2l-cap_jut; + y6=y7=good.y(y5l-.5beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % left beak + arm(5,7,n,1.25beak_darkness,0); % right beak +else: + pos1'(slab,90); pos3'(slab,90); + pos6(slab,90); pos7(slab,90); + pos6'(stem,0); pos7'(stem,0); + pos8(stem,0); pos9(stem,0); + lft x1'=lft x1l; rt x3'=rt x3r; top y1'r=top y3'r=h; + lft x6=lft x6'l=lft x8l=.5u; rt x7=rt x7'r=rt x9r=w-.5u; + bot y6l=bot y7l=0; y6'=y7'=y6; bot y8=bot y9=-.8d; + filldraw stroke z1'e--z3'e; % upper bar + filldraw stroke z6e--z7e; % lower bar + filldraw stroke z6'e--z8e; % left beak + filldraw stroke z7'e--z9e; % right beak +fi +math_fit(0,.5ic#-.5u#); +penlabels(0,1,1',2,3,3',4,5,6,7,8,9,12,21); endchar; + +cmchar "The cyrillic letter IE"; +beginchar(CYRE,12u#-width_adj#,cap_height#,0); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +h:=vround(h-stem_corr); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=h; x3=x1; rt x4r=hround(w-u); y4=good.y(y3l-beak)-eps; +arm(3,4,e,beak_darkness,beak_jut); % upper arm and beak +pos5(cap_bar,-90); pos6(hair,0); +top y5l=vround(.52[y2,y1]+.5cap_bar); x5=x1; +pos0(cap_bar,90); pos7(hair,0); +z0=z5; x6=x7; y6-y5l=y0l-y7; +if serifs: rt x6r=hround(w-4.4u+.5hair); y6=good.y(y5l+.6beak)+eps; + rt x9r=hround(w-.5u); +else: rt x6r=hround(w-1.5u); y6=y5l+eps; rt x9r=hround(w-.75u); fi +arm(5,6,f,beak_darkness,0); arm(0,7,g,beak_darkness,0); % middle arm and serif +pos8(slab if not serifs:+2stem_corr fi,-90); pos9(hair,0); +bot y8r=0; x8=x2; y9=good.y(y8l+7/6beak)+eps; +arm(8,9,h,beak_darkness,1.5beak_jut); % lower arm and beak +if serifs: nodish_serif(1,2,a,1/3,cap_jut,b,1/3,.5cap_jut); % upper serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); fi % lower serif +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter YE"; +numeric dot_diam#,dot_diam; +dot_diam#=max(dot_size#,cap_curve#); +beginchar(CYRYO,12u#-width_adj#,1.3cap_height#,0); +dot_diam=max(tiny.breadth,hround(max(dot_size,cap_curve)-2stem_corr)); +italcorr cap_height#*slant-beak_jut#-.5u#; +adjust_fit(cap_serif_fit#,0); +numeric letter_h; letter_h=cap_height; +letter_h:=vround(letter_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=letter_h; bot y2=0; +filldraw stroke z1e--z2e; % stem +pickup crisp.nib; pos3(slab,90); pos4(hair,0); +top y3r=letter_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 +pos10(dot_diam,0); pos11(dot_diam,90); +x10=x11=3.5u; top y11r=h+1; +if bot y11l<letter_h+o+slab: y11l:=min(y11r-eps,letter_h+o+slab+.5tiny); fi +y10=.5[y11l,y11r]; dot(10,11); % left dot +pos12(dot_diam,0); penpos13(y11r-y11l,90); y12=y13=y10; x12=x13=w-x10; +dot(12,13); % right dot +math_fit(0,.5ic#); +penlabels(0,1,2,3,4,5,6,7,8,9,10,11,12,13); endchar; + +cmchar "The cyrillic letter ZHE"; +beginchar(CYRZH,21u#,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); +x1=x2=.5w; 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); +rt x3r=w-lft x7l=hround(r-letter_fit-u-right_jut); +rt x6r=w-lft x9l=hround(r-letter_fit-.75u-right_jut); +top y3=top y7=h; bot y6=bot y9=0; x4=x4'=x1; y4=y4'=1/3h; +alpha1=diag_ratio(1,.5(stem1-tiny),y3-y4,x3r-x4); +penpos3(alpha1*(stem1-tiny),0); penpos4(whatever,-90); +penpos7(alpha1*(stem1-tiny),0); +alpha2=diag_ratio(1,.5(stem2-tiny),y1-y6,x6r-x1); +penpos6(alpha2*(stem2-tiny),0); penpos9(alpha2*(stem2-tiny),0); +forsuffixes $=l,r: y3'$=y7'$=h; y6'$=y9'$=0; + z4$=z3'$+whatever*(z3-z4); + z5$=z6'$+whatever*(z1-z6)=whatever[z3,z4]; + x8$=w-x5$; y8$=y5$; endfor +z5=.5[z5l,z5r]; z8=.5[z8l,z8r]; +z3'r=z3r+penoffset z3-z4 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); +x7'r=w-x3'r; x7'l=w-x3'l; x9'r=w-x6'r; x9'l=w-x6'l; +fill z4r--diag_end(4r,3'r,1,.5,3'l,4l)--z4l--cycle; % right upper diagonal +fill z4r--diag_end(4r,7'r,1,.5,7'l,4l)--z4l--cycle; % left upper diagonal +fill z5l--diag_end(5l,6'l,.5,1,6'r,5r)--z5r--cycle; % right lower diagonal +fill z8l--diag_end(8l,9'l,.5,1,9'r,8r)--z8r--cycle; % left 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); % lower diagonal serif + dish_serif(7,4,i,1/2,right_jut,j,2/3,1.2cap_jut)(dark); % upper diagonal seri + dish_serif(9,8,k,1/3,right_jut,l,1/2,inner_jut)(dark);fi % lower diagonal seri +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter ZE"; +beginchar(CYRZ,11u#,cap_height#,0); +italcorr cap_height#*slant-.5u#; +adjust_fit(0,0);pickup fine.nib; +if serifs: pos1(cap_hair,180); pos2(cap_band,90); + pos3(max(fine.breadth,cap_curve-stem_corr),0); pos4(vair',270); + lft x1r=1.5u; top y2r=h+o; + bot y1=min(vround .7h,bot y2l-eps); rt x3r=hround(w-u); + pos7(cap_bar,-90); pos8(cap_bar,-90); + pos9(max(fine.breadth,vround 2/3cap_bar),90); pos10(cap_curve,0); + x9=.5w-.75u; x2=x4=.5w; bot y4r=-o; + rt x10r=w-.5u; lft x8=min(hround 5u,lft x9)-eps; + y3=.5[top y7l,bot y2l]; y10=.5[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); lft x5r=hround(u); + y5=max(good.y(.6bar_height),y4l+vair'); + (x,y4l)=whatever[z4r,z5l]; x4l:=max(x,x4l-.5u); + interim superness:=more_super; + filldraw stroke z1e{up} + ... 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) + ..z5e; % arc and lower terminal + pos6(.3[fine.breadth,cap_hair],180); x6r=x1r; top y6=h+o; + x1'-x1r=1.5cap_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: pos1(1.2flare,100); pos2(slab,90); + pos3(cap_curve,0); pos4(slab,-90); pos5(flare,-95); + rt x1r=hround(1.1u); x2=.5w; x4=.45[x1,x10]; x9=.5w-u; + rt x3r=hround w-max(u,2u-.5cap_curve); rt x5r=hround(.9u); + top y1r=vround .9h+o; top y2r=h+o; y3=.5[y7,y2]; + 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=.5[y9,y4]; 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_arc.e(3,8); % upper bowl + filldraw stroke pulled_arc.e(9,10) + & super_arc.e(10,4) & term.e(4,5,left,.8,4); fi % lower bowl +penlabels(1,1',2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The cyrillic letter I"; +beginchar(CYRI,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); +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 serifs: y5=h-y6=.1h; + else: bot y5l=h-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=h-cap_notch_cut; lower_notch=cap_notch_cut; + penpos5(1.5cap_stem,alpha); penpos6(1.5cap_stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z7=z6l-(cap_hair,0) rotated (angle(z5-z6)-90); + z5r=z7+whatever*(z5-z6); z6r=z7+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +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,max(.5ic#-.5u#,0)); +penlabels(1,2,2',3,3',4,5,6,7); endchar; + +cmchar "The cyrillic letter SHORT I"; +beginchar(CYRISHRT,13u#+width_adj#,1.3cap_height#,0); +italcorr 1.3cap_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); +pickup tiny.nib; top y1=top y3=cap_height; bot y2=bot y4=0; +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround min(w-2u,w-3u+.5fudged.cap_stem); +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +if serifs: y5=cap_height-y6=.12cap_height; + else: bot y5l=cap_height-top y6r=0; fi +x5=rt x2r; x6=lft x3l; +if hefty: numeric upper_notch,lower_notch,alpha; + alpha=if monospace: 100 else: 90 fi; + upper_notch=cap_height-cap_notch_cut; lower_notch=cap_notch_cut; + penpos5(1.5cap_stem,alpha); penpos6(1.5cap_stem,alpha); + x2'=rt x2r; z2'=whatever[z6r,z5r]; x3'=lft x3l; z3'=whatever[z5l,z6l]; + fill z5l.. + if y2'<lower_notch: {right}(x2'+1,lower_notch){up}... fi + {z6-z5}diag_in(5l,6l,1,6r)--z6r.. + if y3'>upper_notch: {left}(x3'-1,upper_notch){down}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonal +else: penpos5(whatever,90); penpos6(whatever,90); + z6'=z6l-(cap_hair,0) rotated (angle(z5-z6)-90); + z5r=z6'+whatever*(z5-z6); z6r=z6'+whatever*(z5-z6); + filldraw stroke z5e..z6e; fi % diagonal +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 right serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % lower right serif + if monospace: penpos7(.25vair,-90); + else: penpos7(vair,-90); fi + penpos8(.7vair,-180); penpos9(.75flare,-180); + penpos10(.7vair,0); penpos11(.75flare,0); + x7=.5[x8,x10]; bot y7r=.85h; + x8=.5w-2u; x10=w-x8; y8=y11=.95h; + bulb(7,8,9); % left bulb + bulb(7,10,11); % right bulb +else: pickup fine.nib; penpos7(.75vair,-90); + penpos8(.75vair,-180); penpos10(.75vair,0); + x7=.5[x8,x10]; y7=.9h; + x8r=x1r; x10r=x3l; top y8=top y10=h; + filldraw stroke z8e...z7e...z10e; +fi +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(1,2,2',3,3',4,5,6,7,8,9,10,11); endchar; + +cmchar "The cyrillic letter KA"; +beginchar(CYRK,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; + +cmchar "The cyrillic letter EL"; +beginchar(CYRL,13u#,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; numeric thin_stem; +thin_stem=min(1.5cap_hair,cap_stem); +if serifs: pos1(thin_stem,0); pos12(thin_stem,0); +else: pos1(cap_hair,0); pos12(cap_hair,0); fi +pos5(cap_stem,0); pos6(cap_stem,0); +x1=.33w; top y1=h; x12=x1; y12=.5h; +rt x5r=rt x6r=hround(w-3u+.5cap_stem); top y5=h; bot y6=0; +filldraw stroke z5e--z6e; % right stem +if serifs: numeric inner_jut; + inner_jut:=.5(x5l-x1r); + pos2(thin_stem,-90); pos3(thin_stem,-180); + pos4(1.2flare,-180); + bot y2r=-o; x2=.38[x4,x1]; y4=.15h; rt x4l=hround 2.5u; z4r=z3r; + bulb(2,3,4); % bulb + filldraw stroke z2e{right}...{up}z12e--z1e; % left stem and arc + nodish_serif(1,12,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + nodish_serif(5,6,g,1/3,inner_jut,h,1/3,cap_jut); % upper right serif + dish_serif(6,5,e,1/3,cap_jut,f,1/3,cap_jut); % lower right serif +else: pos1'(slab,90); pos5'(slab,90); + pos2(cap_hair,-90); pos3(cap_hair,-90); + x2=.5u; x3=x2+u; bot y2r=0; bot y3r=-o; + lft x1'=lft x1l; rt x5'=rt x5r; top y1'r=top y5'r=h; + filldraw stroke z1'e--z5'e; % upper bar + filldraw stroke z2e...z3e{right}...{up}z12e--z1e; % stem and arc +fi +math_fit(0,.5ic#-.5u#); +penlabels(1,1',2,3,4,5,5',6,7); endchar; + +cmchar "The cyrillic letter EM"; +beginchar(CYRM,16u#+width_adj#,cap_height#,0); +italcorr cap_height#*slant-cap_serif_fit#+cap_jut#-2.5u#+min(.5cap_stem#,u#); +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric stem[]; % thicknesses of the four strokes +stem1=hround(fudged.hair+stem_corr); +stem2=hround(fudged.cap_stem-4stem_corr); +stem3=hround(fudged.hair-stem_corr); +stem4=hround(fudged.cap_stem-3stem_corr); +if stem4<stem1: stem4:=stem1; fi +pickup tiny.nib; pos1(stem1,0); pos2(stem1,0); +pos3(stem4,0); pos4(stem4,0); +x1=x2; x3=x4; x1l=w-x3r; rt x3r=hround min(w-2u,w-3u+.5stem4); +top y1=top y3=h; bot y2=bot y4=0; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +penpos5(stem2,0); penpos6(stem2,0); penpos7(stem3,0); penpos8(stem3,0); +x5l=x1; x6l=x7l; x8=lft x3l; x6-x5=x8-x7; y5=y8=h; y6=y7; +if hefty: y6=if monospace: vround 1/3h else: o fi; + numeric upper_notch,lower_notch; + upper_notch=h-cap_notch_cut; lower_notch=y6+cap_notch_cut; + x1'=rt x1r; z1'=whatever[z5l,z6l]; x3'=lft x3l; z3'=whatever[z7r,z8r]; + z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l.. + if y1'<upper_notch: {right}(x1'+1,upper_notch){down}... fi + {z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + if y3'<upper_notch: ...{up}(x3'-1,upper_notch){right} fi + ..z8r--diag_out(8r,1,8l,7l){z7-z8} + if y0<=lower_notch: ..{z7-z8}z0{z5-z6}.. + else: ...{down}(x0+.5,lower_notch)--(x0-.5,lower_notch){up}... fi + {z5-z6}diag_in(6r,5r,1,5l)--cycle; % diagonals +else: y6=0; z0=whatever[z5r,z6r]=whatever[z7l,z8l]; + fill z5l..{z6-z5}diag_in(5l,6l,1,6r)..diag_out(7l,1,7r,8r){z8-z7} + ..z8r--diag_out(8r,1,8l,7l){z7-z8}..{z7-z8}z0{z5-z6} + ..{z5-z6}diag_in(6r,5r,1,5l)--cycle; fi % diagonals +if serifs: serif(1,2,a,1/3,-cap_jut); % upper left serif + dish_serif(2,1,b,1/2,cap_jut,c,1/2,cap_jut)(dark); % lower left serif + serif(3,4,d,1/3,cap_jut); % upper right serif + dish_serif(4,3,e,1/3,cap_jut,f,1/3,cap_jut); fi % lower right serif +math_fit(0,max(.5ic#-.5u#,0)); +penlabels(0,1,1',2,3,3',4,5,6,7,8); endchar; + + +cmchar "The cyrillic letter EN"; +beginchar(CYRN,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; + +cmchar "The cyrillic letter O"; +beginchar(CYRO,14u#-width_adj#,cap_height#,0); +italcorr .7cap_height#*slant-.5u#; +adjust_fit(0,0); +penpos1(vair',90); penpos3(vround(vair+1.5vair_corr),-90); +penpos2(cap_curve,180); penpos4(cap_curve,0); +if monospace: x2r=hround 1.5u; + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: x2r=hround u; fi +x4r=w-x2r; x1=x3=.5w; y1r=h+o; y3r=-o; +y2=y4=.5h-vair_corr; y2l:=y4l:=.52h; +penstroke pulled_super_arc.e(1,2)(.5superpull) + & pulled_super_arc.e(2,3)(.5superpull) + & pulled_super_arc.e(3,4)(.5superpull) + & pulled_super_arc.e(4,1)(.5superpull) & cycle; % bowl +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); penlabels(1,2,3,4); endchar; + +cmchar "The cyrillic letter PE"; +beginchar(CYRP,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 +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(2,1,c,1/3,cap_jut,d,1/3,inner_jut); % lower left serif + dish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % lower left serif + inner_jut:=inner_jut+2u; + nodish_serif(1,2,a,1/3,cap_jut,b,1/3,inner_jut); % upper left serif + nodish_serif(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper left serif +else: pos5(slab,90); pos6(slab,90); + lft x5=x1l; rt x6=x3r; y5r=y6r=y3; + filldraw stroke z5e--z6e; fi % upper bar +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter ER"; +beginchar(CYRR,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; + +cmchar "The cyrillic letter ES"; +if serifs: beginchar(CYRS,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(CYRS,11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,80); pos2(slab,90); + pos3(cap_curve,180); pos4(slab,270); pos5(flare,275); + rt x1r=hround(w-1.1u); x2=x4=.5w+1.25u; + lft x3r=hround max(u,2u-.5cap_curve); rt x5r=hround(w-.9u); + top y1r=vround .95h+o; top y2r=h+o; y3=.5h; + bot y4r=-o; bot y5r=vround .08h-o; y5l:=good.y y5l; x5l:=good.x x5l; + filldraw stroke rterm.e(2,1,right,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,right,.8,4); fi % arc and terminals +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); endchar; + +cmchar "The cyrillic letter TE"; +beginchar(CYRT,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; + +cmchar "The cyrillic letter U"; +beginchar(CYRU,13u#,cap_height#,0); +italcorr cap_height#*slant+.25u#; +adjust_fit(cap_serif_fit#,cap_serif_fit#); +numeric left_stem,right_stem,bot_stem,bot_vair,outer_jut; +left_stem=fudged.cap_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=.75cap_jut; +x1l=w-x4r=l+letter_fit+outer_jut+.25u; y1=y4r=h; y2=y3=3.5u; x2l=x3l; +numeric alpha,alpha[]; x9=5u; y9=bot_vair-o; +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*right_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); +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 +penpos5(alpha*right_stem,0); z5r=whatever[z3r,z4r]; y5=.5[y3,y9]; +if serifs: numeric light_bulb; + light_bulb=hround 7/8[cap_hair,flare]; clearpen; + penpos6(vair,-90); penpos7(cap_hair,-180); penpos8(light_bulb,-180); + x6=4u; y6r=-o; y8+.5light_bulb=3u; x8r=hround 1.5u; + 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+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); % right serif +else: penpos6(right_stem,-90); x6=4.75u; y6r=-o; + fill stroke z3e---z5e...{left}z6e; % arc + pickup fine.nib; pos6'(right_stem,-90); z6'=z6; + pos7(2/3[bot_stem,flare],-85); + lft x7l=hround 3.5u; bot y7r=.02h-o; y7l:=good.y y7l; + filldraw stroke term.e(6',7,left,1,4); fi % arc and terminal +math_fit(0,.5ic#); penlabels(0,1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter EF"; +beginchar(CYRF,14u#-width_adj#,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); +x1=x2=.5w; top y1=h; bot y2=0; +penpos3(cap_band,90); penpos4(cap_band,90); penpos5(curve,0); +penpos6(.5[vair,cap_band],-90); penpos7(.5[vair,cap_band],-90); +penpos8(cap_band,90); penpos9(curve,180); +penpos10(.5[vair,cap_band],270); +x3=x1; y3=y4=y8=vround .8h; y5=y9=.5[y4l,y6l]; +x7=x2; y7=vround .2h; x4r=x6r=w-x8r=w-x10r=.5w+1.75u; +x5r=w-x9r=hround(w-.5u); y6=y10=y7; +filldraw stroke z1e--z2e; % stem +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; +fill stroke z3e..pulled_arc.e(8,9) & pulled_arc.e(9,10)..z7e; % lobe +if serifs: dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper serif +dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); fi % lower serif +math_fit(0,ic#-2.5u#); +penlabels(0,1,2,3,4,5,6,7,8,9,10); endchar; + +cmchar "The cyrillic letter XA"; +beginchar(CYRH,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 cyrillic letter TSE"; +beginchar(CYRC,13u#+width_adj#,cap_height#,comma_depth#); +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 +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(3,4,e,1/3,inner_jut,f,1/3,cap_jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,c,1/3, cap_jut,d,1/3,inner_jut); % lower left serif + nodish_serif(4,3,g,1/3,inner_jut,h,1/3,cap_jut); % lower right serif + pickup crisp.nib; pos5(slab,90); pos6(hair,0); + x5=.5[x2,x4]; bot y5l=0; + rt x6r=tiny.rt x4r+cap_jut; y6=good.y(y5l-.75beak)-eps; + arm(5,6,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos4'(slab,90); + pos5(stem,0); pos6(stem,0); + lft x2'=lft x2l; rt x4'=rt x5r=rt x6r=w-.5u; + bot y2'l=bot y4'l=0; y5=y4; bot y6=-.8d; + filldraw stroke z2'e--z4'e; % lower bar + filldraw stroke z5e--z6e; % right beak +fi +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6); endchar; + +cmchar "The cyrillic letter CHE"; +beginchar(CYRCH,13u#,cap_height#,0); % [AS] +italcorr cap_height#*slant-serif_fit#+.5cap_stem#-2u#; +adjust_fit(cap_serif_fit#+stem_shift#,cap_serif_fit#-stem_shift#); +pickup tiny.nib; pos1(cap_stem,0); pos2(cap_stem,0); +pos3(cap_stem,0); pos4(cap_stem,0); +lft x1l=hround(2.5u-.5cap_stem); x1=x2; x3l=w-x1r; x3r=x4r; +top y1=h; bot y4=0; +penpos2'(cap_stem-fine,-180); z2'=z2; y3=y1; y2=.65h; +if monospace: penpos5(.5vair,-90); penpos6(.5vair,-90); +else: penpos5(vair,-90); penpos6(vair,-25); fi +y6=.52h; lft x6l=lft x3l; +filldraw stroke z1e--z2e; % left stem +filldraw stroke z3e--z4e; % right stem +pickup fine.nib; bot y5r=y6-vair-.1h; x5=.5w; +filldraw stroke {{interim superness:=hein_super; + pulled_super_arc.e(2',5)(.01superpull)}} + & z5e{right}...z6e; % arc +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,jut,b,1/3,inner_jut); % upper left serif + dish_serif(3,4,e,1/3,inner_jut,f,1/3,jut); % upper right serif + dish_serif(4,3,g,1/3,jut,h,1/3,jut); fi % lower right serif +penlabels(1,2,2',3,4,5,6); endchar; + +cmchar "The cyrillic letter SHA"; +beginchar(CYRSH,18u#,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); +pos3(cap_stem',0); pos4(cap_stem',0); +pos5(cap_stem',0); pos6(cap_stem',0); +if odd(w-cap_stem'): change_width; fi +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +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(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, cap_jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3,cap_jut,h,1/3,inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut,j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut,l,1/3,cap_jut); % lower right serif +else: pos2'(slab,90); pos6'(slab,90); + lft x2'=lft x1l; rt x6'=rt x6r; bot y2'l=bot y6'l=0; + filldraw stroke z2'e--z6'e; % lower bar +fi +math_fit(0,.5ic#); penlabels(1,2,2',3,4,5,6,6'); endchar; + +cmchar "The cyrillic letter SHCHA"; +beginchar(CYRSHCH,18u#,cap_height#,comma_depth#); +italcorr cap_height#*slant-.25u#; +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); +pos5(cap_stem',0); pos6(cap_stem',0); +if odd(w-cap_stem'): change_width; fi +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); +x3=x4=.5w; x5=x6=w-x1; +top y1=top y5=top y3=h; bot y2=bot y6=bot y4=0; +filldraw stroke z1e--z2e; % right stem +filldraw stroke z3e--z4e; % middle stem +filldraw stroke z5e--z6e; % left stem +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(3,4,c,1/3,inner_jut,d,1/3,inner_jut); % upper middle serif + dish_serif(5,6,e,1/3,inner_jut,f,1/3, cap_jut); % upper right serif + inner_jut:=.5(x3l-x1r); + nodish_serif(2,1,g,1/3, cap_jut,h,1/3, inner_jut); % lower left serif + nodish_serif(4,3,i,1/3,inner_jut, j,1/3,inner_jut); % lower middle serif + nodish_serif(6,5,k,1/3,inner_jut, l,1/3, cap_jut); % lower right serif + pickup crisp.nib; pos7(slab,90); pos8(hair,0); + x7=.5[x4,x6]; bot y7l=0; + rt x8r=tiny.rt x6r+cap_jut; y8=good.y(y7l-.75beak)-eps; + arm(7,8,m,1.25beak_darkness,0); % beak +else: pos2'(slab,90); pos6'(slab,90); + pos7(stem,0); pos8(stem,0); + lft x2'=lft x1l; rt x6'=rt x7r=rt x8r=w-.5u; + bot y2'l=bot y6'l=0; y7=y6; bot y8=-.8d; + filldraw stroke z2'e--z6'e; % lower bar + filldraw stroke z7e--z8e; % right beak +fi +math_fit(0,.5ic#); penlabels(1,2,2',3,4,5,6,6',7,8); endchar; + +cmchar "The cyrillic letter HARD_SIGN"; +beginchar(CYRHRDSN,16u#,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(5.5u,6.5u-.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; +x8=x6; x5=x1; x6l:=x6-.25u; x7r=hround(w-u); x8l:=x8l-.5u; +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-1.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-1.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(cap_hair,180); +top y3r=h; x3=x1; lft x4r=hround(.5u); y4=good.y(y3l-.75beak)-eps; +arm(3,4,e,beak_darkness,-.7beak_jut); % upper arm and beak +if serifs: nodish_serif(1,2,a,0,cap_jut,b,1/3,cap_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 cyrillic letter YERU"; +beginchar(CYRERY,17.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; % left stem +pos3(cap_stem,0); pos4(cap_stem,0); +penpos5(cap_band,90); penpos6(cap_band,90); penpos7(right_curve,0); +penpos8(cap_band,-90); penpos9(cap_band,-90); +x3=x4=w-x1; top y3=h; bot y4=0; +z9r=bot z2; y8=y9; y7=.5[y8,y6]; y5=y6=.52h; +x6=x8; x5=x1; x6l:=x6-.25u; x8l:=x8l-.5u; +rt x7r=if serifs: tiny.lft x3l-cap_jut; else: 11.5u; fi +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-6.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-7.5u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +filldraw stroke z3e--z4e; % right stem +if serifs: dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_jut); % upper left serif + nodish_serif(2,1,c,1/3,cap_jut,d,1/3,.5cap_jut); % lower left serif + dish_serif(3,4,e,1/3,1.05cap_jut,f,1/3,1.05cap_jut); % upper right serif + dish_serif(4,3,g,1/3,1.05cap_jut,h,1/3,1.05cap_jut); fi % lower right serif +labels(1,2,3,4,5,6,7,8,9); +math_fit(0,.5ic#); penlabels(1,2,3,4,5,6,7,8,9); endchar; + +cmchar "The cyrillic letter SOFT_SIGN"; +beginchar(CYRSFTSN,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:=x6-.25u; x7r=hround(w-u); x8l:=x8l-.5u; +if serifs: right_curve=cap_curve-stem_corr; x6=.5[x1,w-1.8u]; +else: right_curve=cap_curve-3stem_corr; x6=.5[x1,w-1.5u]; +x6l:=x6l-.5u; fi +fill stroke z5e..super_arc.e(6,7) & super_arc.e(7,8)..z9e; % lower lobe +if serifs: dish_serif(1,2,a,1/3,cap_jut,b,1/3,cap_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 cyrillic letter E"; +if serifs: beginchar(CYREREV,13u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(cap_hair,180); pos2(cap_band,90); + pos3(cap_curve,0); pos4(cap_band,270); pos5(hair,180); + lft x1r=lft x5r=hround u; rt x3r=hround (w-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:=max(x2l',x2l-.5u); + (x4l',y4l)=whatever[z4r,z5l]; x4l:=max(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],180); x6r=x1r; top y6=h+o; + x1'-x1r=2cap_curve-fine; y1'=y1; + path upper_arc; upper_arc=z1{x2-x1,10(y2-y1)}..z2{right}; + numeric t; t=xpart(upper_arc intersectiontimes (z6l--z1')); + filldraw z1r--z6r--z6l--subpath(t,0) of upper_arc--cycle; % barb +else: beginchar(CYREREV,11.5u#,cap_height#,0); + italcorr cap_height#*slant-.5u#; + adjust_fit(0,0); + pickup fine.nib; pos1(1.2flare,110); pos2(slab,90); + pos3(cap_curve,0); pos4(slab,270); pos5(flare,265); + lft x1r=hround 1.1u; x2=x4=.5w-1.25u; + rt x3r=w-hround max(u,2u-.5cap_curve); lft x5r=hround .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,left,.9,4) & super_arc.e(2,3) + & super_arc.e(3,4) & term.e(4,5,left,.8,4); fi % arc and terminals +penpos7(cap_bar,90); penpos8(cap_bar,90); +x7=lft x3l; x8=.5w-1.5u; +%if serifs: y7l=y8l else: +y7=y8=.5h; +fill stroke z7e--z8e; % bar +math_fit(-.3cap_height#*slant-.5u#,.5ic#); +penlabels(1,1',2,3,4,5,6); endchar; + +cmchar "The cyrillic letter YU"; +beginchar(CYRYU,20u#,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); +lft x1l=lft x2l=hround max(2u,3u-.5cap_stem); top y1=h; bot y2=0; +filldraw stroke z1e--z2e; % left stem +penpos5(vair',90); penpos7(vround(vair+1.5vair_corr),-90); +penpos6(cap_curve,180); penpos8(cap_curve,0); +if monospace: x8r=hround(w-1.5u); x6r=hround(w-12.5u); + interim superness:=sqrt superness; % make |"O"|, not |"0"| +else: x8r=hround(w-u); x6r=hround(w-13u); fi +x5=x7=.5[x8,x6]; y5r=h+o; y7r=-o; y6=y8=.5h-vair_corr; y6l:=y8l:=.52h; +penstroke pulled_super_arc.e(5,6)(.5superpull) + & pulled_super_arc.e(6,7)(.5superpull) + & pulled_super_arc.e(7,8)(.5superpull) + & pulled_super_arc.e(8,5)(.5superpull) & cycle; % bowl +penpos3(cap_bar,90); penpos4(cap_bar,90); +x3=x1; x4=x6; y3=y4=.52h; +fill stroke z3e--z4e; % bar +if serifs: numeric inner_jut; inner_jut=cap_jut; + 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); fi % lower left serif +math_fit(-.3cap_height#*slant-.5u#,ic#-.5u#); +penlabels(1,2,3,4,5,6,7,8); endchar; + +cmchar "The cyrillic letter YA"; +beginchar(CYRYA,12u#+.5max(2u#,cap_curve#),cap_height#,0); +italcorr .75cap_height#*slant- if serifs: 1.75 else: .5 fi\\ u#; +adjust_fit(0,cap_serif_fit#); +pickup tiny.nib; pos1(cap_stem',0); pos2(cap_stem',0); +rt x1r=rt x2r=w-hround(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,180); +penpos6(vair,-90); penpos7(vair,-90); +z3r=top z1; y4=y3; y5=.5[y4l,y6l]; y6=y7; x7=x2; y7=.5h; x4=x6; +if serifs: x4=.5w+.5u; x5r=hround(1.5u); +else: x4=.5w-.5u; x5r=hround u; fi +x4l:=x6l:=x4+.125cap_curve; +fill stroke z3e..pulled_arc.e(4,5) & pulled_arc.e(5,6)..z7e; % lobe +pos6'(cap_curve,0); x6'r=x6l+.5u; y6'=y6; +pos8(cap_curve,0); tiny.lft x8l=.5u+.5cap_jut; bot y8=0; +filldraw stroke z6'e--z8e; % diagonal stem +if serifs: + nodish_serif(1,2,a,1/3,.5cap_jut,b,1/3,cap_jut); % upper serif + dish_serif(2,1,c,1/3,cap_jut,d,1/3,cap_jut); % lower serif + serif(8,6',e,1/3,-.5cap_jut); fi % lower diagonal serif +math_fit(0,.75ic#); penlabels(1,2,3,4,5,6,7,8); endchar; + diff --git a/language/mongolian/montex/mfinput/km/mcytitle.mf b/language/mongolian/montex/mfinput/km/mcytitle.mf new file mode 100644 index 0000000000..570bef5fa7 --- /dev/null +++ b/language/mongolian/montex/mfinput/km/mcytitle.mf @@ -0,0 +1,39 @@ +% File: mcytitle.mf +% Based on: cycitle.mf +% Modified by: Oliver Corff +% Date: October 1997, Ulaanbaatar +% +% This makes a short cyrillic font (caps only) + +let cmchar=message; % `|cmchar|' should precede each character + +font_coding_scheme:="ASCII caps"; +input mccoding; + +mode_setup; font_setup; + +input mcyru; % upper case (majuscules) +input cyrmoreu; % upper case (majuscules) +input romand; % numerals + +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 +% k#:=-.5u#; kk#:=-1.5u#; kkk#:=-2u#; % three degrees of kerning +% ligtable "P": "T": "Y": "A" kern kk#; +% ligtable "F": "V": "W": "A" kern if serifs: kkk# else: kk#\\fi, +% "K": "X": "O" kern k#, "C" kern k#, "G" kern k#, "Q" kern k#; +% ligtable "O": "D": "X" kern k#, "W" kern k#, "A" kern k#, +% "V" kern k#, "Y" kern k#; +% ligtable "A": if serifs: "R": fi +% "C" kern k#, "O" kern k#, "G" kern k#, "U" kern k#, "Q" kern k#, +% "L": "T" kern kk#, "Y" kern kkk#, "V" kern kk#, "W" kern kkk#; +% ligtable "I": "I" kern -k#; fi % Richard III +bye. + |