summaryrefslogtreecommitdiff
path: root/print/tex-xdvik/files/patch-texk-xdvik-dvi-init.h
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-03-17 19:54:14 -0500
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-03-17 19:58:12 -0500
commit10cb4eaa8cc89aee25a8def73fd9470f75090d70 (patch)
tree58f5d7dbc6ae51b13e8dd4ebf5400a04a6b7c960 /print/tex-xdvik/files/patch-texk-xdvik-dvi-init.h
parentsysutils/screen: Update to 4.9.0 (diff)
print/tex-xdvik: Update version 22.87=>22.87.06
While upgradingthe extra japanese ptex patches has been removed as those are not compatible with latest version and the old patches are also from early 2008. If someone make those work with the new version the patches are welcome. For further details or the older version of tex-xdvik with those patches please use japanese/ja-tex-xdvik Relnotes: https://sourceforge.net/projects/xdvi/files/xdvik/22.87.06/
Diffstat (limited to 'print/tex-xdvik/files/patch-texk-xdvik-dvi-init.h')
-rw-r--r--print/tex-xdvik/files/patch-texk-xdvik-dvi-init.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/print/tex-xdvik/files/patch-texk-xdvik-dvi-init.h b/print/tex-xdvik/files/patch-texk-xdvik-dvi-init.h
deleted file mode 100644
index 66eb4be06bd9..000000000000
--- a/print/tex-xdvik/files/patch-texk-xdvik-dvi-init.h
+++ /dev/null
@@ -1,45 +0,0 @@
---- texk/xdvik/dvi-init.h.orig 2013-03-31 05:28:20 UTC
-+++ texk/xdvik/dvi-init.h
-@@ -100,6 +100,12 @@ struct glyph {
- char *pixmap2_gc2; /* separate image data for drawing image to globals.gc.fore2 */
- #endif /* GREY */
- struct bitmap bitmap2; /* shrunken bitmap for character */
-+#ifdef PTEX
-+ int tdir;
-+#endif /* PTEX */
-+ short x3, y3; /* x and y offset in pixels (backup) */
-+ struct bitmap bitmap3; /* bitmap for character (backup) */
-+ float matrix[2][2];
- };
-
- /*
-@@ -131,6 +137,9 @@ struct macro {
- #define FONT_IN_USE 1 /* used for housekeeping */
- #define FONT_LOADED 2 /* if font file has been read */
- #define FONT_VIRTUAL 4 /* if font is virtual */
-+#ifdef PTEX
-+#define FONT_KANJI 8 /* if font is kanji */
-+#endif
-
- /* forward declarations */
- struct font;
-@@ -156,6 +165,11 @@ struct font {
- struct glyph *glyph;
- /* these fields are used by (loaded) virtual fonts */
- struct font **vf_table; /* list of fonts used by this vf */
-+#ifdef PTEX
-+ struct glyph **kglyph;
-+ int ft2_index;
-+ int dir;
-+#endif /* PTEX */
- struct tn *vf_chain; /* ditto, if TeXnumber >= VFTABLELEN */
- struct font *first_font; /* first font defined */
- struct macro *macro;
-@@ -175,6 +189,7 @@ struct tn {
- };
-
-
-+extern void free_bitmap2(struct glyph *g);
- extern void reset_fonts(void);
- #if COLOR
- extern void reset_colors(void);