summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-02 10:03:39 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-02 10:03:39 +0000
commit6934c3725b996c567056ee7c74ef52e1c3ca3f67 (patch)
tree21de2649275645c79a50788311e37422dbae855b /Build
parent2cfef19afd755f24e80355cc326dfe61c93c8a6b (diff)
omegafonts: Fixed a bug in the computation of nw, nh, nd, and ni
git-svn-id: svn://tug.org/texlive/trunk@34798 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/omegafonts/ChangeLog5
-rw-r--r--Build/source/texk/web2c/omegafonts/dimen_routines.c8
2 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/omegafonts/ChangeLog b/Build/source/texk/web2c/omegafonts/ChangeLog
index 6145c11a60c..e4efc82b404 100644
--- a/Build/source/texk/web2c/omegafonts/ChangeLog
+++ b/Build/source/texk/web2c/omegafonts/ChangeLog
@@ -1,3 +1,8 @@
+2014-08-02 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dimen_routines.c: Fixed a bug in the computation of nw, nh,
+ nd, and ni.
+
2014-07-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* char_routines.c, ligkern_routines.c, omfonts.c,
diff --git a/Build/source/texk/web2c/omegafonts/dimen_routines.c b/Build/source/texk/web2c/omegafonts/dimen_routines.c
index 26387e148b1..74a34041adb 100644
--- a/Build/source/texk/web2c/omegafonts/dimen_routines.c
+++ b/Build/source/texk/web2c/omegafonts/dimen_routines.c
@@ -35,15 +35,15 @@ along with Omega; if not, write to the Free Software Foundation, Inc.,
int *measure_max_entries;
int TFM_measure_max_entries[] =
- {256,16,16,64, 0,0,0,0,
+ {255,15,15,63, 0,0,0,0,
0,0,0,0, 0,0,0,0,
0,0,0,0, 0,0,0,0};
int OFM0_measure_max_entries[] =
- {65536,256,256,256, 0,0,0,0,
+ {65535,255,255,255, 0,0,0,0,
0,0,0,0, 0,0,0,0,
0,0,0,0, 0,0,0,0};
int OFM2_measure_max_entries[] =
- {256,256,256,256, 256,256,256,256,
+ {255,255,255,255, 256,256,256,256,
256,256,256,256, 256,256,256,0,
256,256,256,256, 256,256,256,0};
@@ -76,6 +76,8 @@ set_character_measure(int index, int val)
internal_error_1("set_character_measure (index=%d)", index);
return;
}
+ if ((val == 0) && (index > C_WD) && (index <= C_IC))
+ return;
the_list = measure_list+index;
L1 = *the_list;
if (L1 == NULL) {