summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dvi.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvi.h')
-rw-r--r--Build/source/texk/dvipdfm-x/dvi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvi.h b/Build/source/texk/dvipdfm-x/dvi.h
index 720db74b841..ab29f3b6a46 100644
--- a/Build/source/texk/dvipdfm-x/dvi.h
+++ b/Build/source/texk/dvipdfm-x/dvi.h
@@ -82,6 +82,17 @@ extern int dvi_locate_font (const char *name, spt_t ptsize);
* footnote and page number in link annotation.
*/
extern void dvi_link_annot (int flag);
+
+/* linkmode
+ * To capture \phantom's, DVI "right" instructions are also taken into
+ * account in calculation of annotaion rectangle.
+ * Mode 1 for catching phantoms.
+ * dvi_set_phantom_height() specifies the height of phantom box (default
+ * is the current font size).
+ */
+extern void dvi_set_linkmode (int mode);
+extern void dvi_set_phantom_height (double height, double depth);
+
/* The followings are for calculating bounding box of text for annotation.
* DVI uses push/pop to do line-feed-carriage-return. So line breaking is
* handled by inspecting current depth of DVI register stack.