mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 23:39:20 -04:00
- print/texlive-infra was renamed with print/texlive-tlmgr. Note that currently tlmgr(1) does not work because of lack of TLPDB. This will be fixed. - Lua libraries used in LuaTeX are separated into devel/tex-libtexlua and devel/texlibtexluajit. USE_TEX supports them via keywords "texlua" and "texluajit". - libsynctex is currently installed by devel/tex-web2c. This will be separated into a single port. - Add graphics/libpotrace and use installed libpotrace and libharfbuzz.
45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
--- 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);
|