summaryrefslogtreecommitdiff
path: root/language/mongolian/montex/mfinput/bcgbase/mbparmm.mf
blob: 83f9917d5d8a00965d98c92039e5035b789689b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%        File: mbparmm.mf
%      Author: Oliver Corff and Dorjpalam Dorj
%        Date: April 1st, 2001
%     Version: 0.8
%   Copyright: Ulaanbaatar, Beijing, Berlin
%
% Description: Local Mongolian Script (LMS)
%              Mongol Bicig Modyn Bar Medium Font Parameter Definition
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
mode_setup;
        mg:=1;
	width#:=mg*8pt#;
	height#:=mg*13.2pt#;
	depth#:=mg*9.6pt#;

	% Some 'standard' character sizes ...
	% From small to big ...
	secAwidth#:=3/8width#;
	shudwidth#:=4/8width#;
	shilbewidth#:=4.5/8width#;
	numtaigedeswidth#:=5/8width#;
	gedeswidth#:=6/8width#; orxicwidth#:=4/8width#;
	eswidth#:=7/8width#;
	tewidth#:=8/8width#;
	cewidth#:=9/8width#;
	bawidth#:=numtaigedeswidth#+shudwidth#+1/16width#;
	biwidth#:=eswidth#+shilbewidth#;
	numberwidth#:=12/8width#;

	% character features; ... see description in the Black Book
	Centerline#:=1/2(height#-depth#);
	u#:=1pt#;
	ispace#:=mg*5pt#;
	bearing#:=mg*0.75pt#;
	thin#:=mg*0.50pt#;
	medium#:=mg*1pt#;
	thick#:=mg*2pt#;
	nuruuwidth#:=mg*1.500pt#;
	 nuruuleft#:=Centerline#+1/2nuruuwidth#;
	nuruuright#:=Centerline#-1/2nuruuwidth#;
if style=steel:
	orxicouter#:=nuruuleft#+mg*10.00pt#;
else:
	orxicouter#:=nuruuleft#+mg*8.00pt#;
fi;
    yashilbeheight#:=nuruuleft#+mg*7.00pt#;
      shilbeheight#:=nuruuleft#+mg*6pt#;
	gedesouter#:=nuruuleft#+mg*5.00pt#;
	shudheight#:=nuruuleft#+mg*4.00pt#;
	gedesinner#:=nuruuleft#+mg*3.00pt#;
	underinner#:=nuruuright#-mg*3.00pt#;
	    sdepth#:=nuruuright#-mg*4.00pt#;
	underouter#:=nuruuright#-mg*5.00pt#;
if style=steel:
	 suulouter#:=nuruuright#-mg*10.00pt#;
else:
	 suulouter#:=nuruuright#-mg*8.00pt#;
fi;
      latintopline#:=2gedeswidth#-4thin#;
   latinbottomline#:=4thin#;

        define_pixels(u,bearing,
			width,height,depth,
			thin, medium, thick,
			shudheight,
			yashilbeheight,
			shilbeheight,
			sdepth,
			secAwidth,
			shudwidth,
			numtaigedeswidth,
			gedeswidth,
			shilbewidth,
			orxicwidth,
			eswidth,
			tewidth,
			cewidth,
			bawidth,
			biwidth,
			numberwidth,
			nuruuwidth,
			nuruuleft,
			nuruuright,
			Centerline,
			gedesinner,gedesouter,
			underinner,underouter,
			orxicouter,suulouter,
			exennwidth,
			latintopline,latinbottomline);

        define_blacker_pixels(thin,medium,thick);

	font_size		12pt#;

        font_normal_space       gedeswidth#;
        font_x_height           gedesouter#;
        font_quad               gedeswidth#;
        font_extra_space        gedeswidth#;
	font_normal_stretch	1.5gedeswidth#;
	font_normal_shrink	1thin#;

	boundarychar	:=	255;

	screen_rows	:=	500;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% File mbparmm.mf ends here.