summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/print_routines.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-07-16 07:51:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-07-16 07:51:07 +0000
commit7a00b27579c631f2389ee63ed38cea662ec78da1 (patch)
treee3661ae5f38cf4fc3b21723356a598c6db80f210 /Build/source/texk/web2c/omegafonts/print_routines.c
parentb0ee6760d9a625a2e5a95d4dcad6145602743019 (diff)
texk/web2c/omegafonts: fix handling of DVI specials in char packets
git-svn-id: svn://tug.org/texlive/trunk@14275 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/print_routines.c')
-rw-r--r--Build/source/texk/web2c/omegafonts/print_routines.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/omegafonts/print_routines.c b/Build/source/texk/web2c/omegafonts/print_routines.c
index 5bb2260c953..678adf9b4a5 100644
--- a/Build/source/texk/web2c/omegafonts/print_routines.c
+++ b/Build/source/texk/web2c/omegafonts/print_routines.c
@@ -388,11 +388,17 @@ print_special(string sval)
}
void
-print_special_hex(string sval)
+print_special_hex(unsigned char *special, int k)
{
left();
- out("SPECIALHEX");
- out(" "); out(sval);
+ out("SPECIALHEX ");
+ for (; k > 0; k--, special++) {
+ if ((k & 0x1f) == 0)
+ out_ln();
+ else if ((k & 0x03) == 0)
+ out(" ");
+ out_hex(*special);
+ }
right();
}