Debian Codegraph @

texmf-dist/fonts/source/public/cmbright/tbpseudo.mf

raw
1 % tbpseudo.mf
2 % [= txpseudo.mf, changed by Walter Schmidt, see (CMBR)]
3 %
4 % (c) Copyright 1995, 1996, 1997 J"org Knappen
5 %
6 % This file is part of the EC Bright fonts version 1.0
7 %
8 % This file contains pseudoparameters which are not entered in the
9 % parameter files, but are computed from the initial parameter set.
10 % There are also ad hoc parameters needed only once, and scratch
11 % parameters with different values at each occuerence (like |theta|).
12 %
13
14 version_check(1,0); % |version_check| was introduced in dc1.3
15
16 % (CMBR)
17 % width of circles for copyright etc., ensures real circles!
18 numeric circ_w#;
19 circ_w#:=18.7u#;
20
21 % Diameters of dots
22
23 % (CMBR)
24 numeric idot_diam#,udot_diam#,pdot_diam#;
25 pdot_diam#=if monospace: 5/4 fi\\ dot_size#; % punctuation dots
26
27 % |limit_dist| is used in |put_cross|
28 % (the value of |u| is changed by |mono_adjust|, hence the global setting)
29
30 vardef limit_dist=5/4u enddef;
31
32 % More parametrisations for accents from csaccent.mf (csfonts):
33
34 numeric uc_acc_height, uc_acc_height#,
35 lc_acute_height, lc_acute_height#,
36 lc_hachek_height, lc_hachek_height#,
37 accent_u, accent_u#,
38 accent_thin,
39 uc_acc_shift, asc_acc_shift;
40 if unknown circ_weight: circ_weight:=1; fi
41
42 uc_acc_height# = cap_height#+asc_height#-hi.x_height#;
43 lc_acute_height# = asc_height#;
44 lc_hachek_height# = hi.x_height#+acc_height#;
45 accent_u# = u#; % unexpanded dimension unit
46
47 vardef accent_thin = if thin_join > crisp: thin_join else: crisp+eps fi enddef;
48
49 vardef uc_acc_shift = cap_height - hi.x_height enddef;
50 vardef asc_acc_shift = asc_height - hi.x_height enddef;
51
52 % Height of floating accents for capitals (note, that TeX raises them
53 % by |uc_acc_shift|)
54
55 numeric cap_accent_height, cap_accent_height#;
56 cap_accent_height# = acc_height# + hi.x_height#;
57
58 % (CMBR)
59 def pseudo_setup=
60 idot_diam#:=stem'/hppp; % dots on i and j, must fit stem width!
61 idot_diam:=stem';
62 udot_diam:=min(stem', hround(.85dot_size)); % umlaut dots
63 udot_diam#:=udot_diam/hppp;
64 define_whole_blacker_pixels(pdot_diam);
65 define_whole_vertical_pixels(uc_acc_height,lc_acute_height,
66 lc_hachek_height);
67 define_pixels(accent_u);
68 define_whole_vertical_pixels(cap_accent_height);
69 enddef;
70 endinput;