summaryrefslogtreecommitdiff
path: root/print/tex-xdvik/files/patch-texk-xdvik-pk.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2015-01-31 12:48:14 +0000
committerHiroki Sato <hrs@FreeBSD.org>2015-01-31 12:48:14 +0000
commit06be6f2de88d7c64bd5371c5c01cd27d9dbfb986 (patch)
treea405788599bab9ad7365316e1484954d9d847f81 /print/tex-xdvik/files/patch-texk-xdvik-pk.c
parent- Fix a bug that deactivate-input-method was not called in (diff)
- 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.
Diffstat (limited to 'print/tex-xdvik/files/patch-texk-xdvik-pk.c')
-rw-r--r--print/tex-xdvik/files/patch-texk-xdvik-pk.c12
1 files changed, 12 insertions, 0 deletions
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,