From 06be6f2de88d7c64bd5371c5c01cd27d9dbfb986 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sat, 31 Jan 2015 12:48:14 +0000 Subject: - Add pTeX support to xdvik. This improvement is imported from the latest j1.42 patchset by adjusting it to the 22.87 code base. - Move files in TEXMFDISTDIR/xdvi to TEXMFDISTDIR/dvips/xdvi. --- print/tex-xdvik/files/patch-texk-xdvik-pk.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 print/tex-xdvik/files/patch-texk-xdvik-pk.c (limited to 'print/tex-xdvik/files/patch-texk-xdvik-pk.c') diff --git a/print/tex-xdvik/files/patch-texk-xdvik-pk.c b/print/tex-xdvik/files/patch-texk-xdvik-pk.c new file mode 100644 index 000000000000..243f5d02afd4 --- /dev/null +++ b/print/tex-xdvik/files/patch-texk-xdvik-pk.c @@ -0,0 +1,12 @@ +--- texk/xdvik/pk.c.orig 2014-09-02 18:41:34.000000000 +0900 ++++ texk/xdvik/pk.c 2015-01-31 21:02:18.000000000 +0900 +@@ -201,6 +201,9 @@ + + g->dvi_adv = fontp->dimconv * fpwidth; + ++#ifdef PTEX ++ g->tdir = fontp->dir; ++#endif /* PTEX */ + if (globals.debug & DBG_PK) { + if (g->bitmap.w != 0) + printf(", size=%dx%d, dvi_adv=%ld", g->bitmap.w, g->bitmap.h, -- cgit v1.2.3