summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/char_routines.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-15 13:34:11 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-15 13:34:11 +0000
commit15d75b35e0fe2d87ffbd38f6e017bf525130c62b (patch)
tree93c75e4572fdc61ec04e6d379aba8fbc50e87e10 /Build/source/texk/web2c/omegafonts/char_routines.c
parent88eaeeb11e3cb2592cd51985bb58a8a15bc101dc (diff)
texk/web2c/omegafonts: Fix some bugs and add a Lig/Kern test
git-svn-id: svn://tug.org/texlive/trunk@34942 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/char_routines.c')
-rw-r--r--Build/source/texk/web2c/omegafonts/char_routines.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegafonts/char_routines.c b/Build/source/texk/web2c/omegafonts/char_routines.c
index 2b0fe601ac5..fc8a0ef7a7f 100644
--- a/Build/source/texk/web2c/omegafonts/char_routines.c
+++ b/Build/source/texk/web2c/omegafonts/char_routines.c
@@ -657,6 +657,13 @@ adjust_labels(boolean play_with_starts)
label_table = (label_entry *)xmalloc((no_labels+2)*sizeof(label_entry));
label_ptr = 0;
label_table[0].rr = -1; /* sentinel */
+
+ if (bchar_label != 0) {
+ label_ptr = 1;
+ label_table[1].cc = -1;
+ label_table[1].rr = bchar_label;
+ }
+
FOR_ALL_CHARACTERS(
unsigned c = plane*PLANE + index;
if ((c>=bc) && (c<=ec) && (entry->tag == TAG_LIG)) {
@@ -699,6 +706,10 @@ adjust_labels(boolean play_with_starts)
}
}
}
+ if (bchar_label != 0) {
+ lig_kern_table[nl-1].entries[2] = (bchar_label + lk_offset) / (max_start + 1);
+ lig_kern_table[nl-1].entries[3] = (bchar_label + lk_offset) % (max_start + 1);
+ }
}
void