summaryrefslogtreecommitdiff
path: root/print/tex-xdvik/files/patch-texk-xdvik-pk.c
diff options
context:
space:
mode:
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,