mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
06be6f2de8
the latest j1.42 patchset by adjusting it to the 22.87 code base. - Move files in TEXMFDISTDIR/xdvi to TEXMFDISTDIR/dvips/xdvi.
31 lines
868 B
C
31 lines
868 B
C
--- /dev/null 2015-01-31 21:35:05.000000000 +0900
|
|
+++ texk/xdvik/ptexmap.h 2015-01-31 21:02:18.000000000 +0900
|
|
@@ -0,0 +1,27 @@
|
|
+#ifndef PTEXMAP_H_
|
|
+#define PTEXMAP_H_
|
|
+
|
|
+#ifdef PTEX
|
|
+struct ptexmap {
|
|
+ char *jfm_name;
|
|
+ char *font_filename;
|
|
+ int ft2_index;
|
|
+ int face_index;
|
|
+ enum { ENC_UNKNOWN, ENC_JIS_H, ENC_JIS_V, ENC_UNICODE_H, ENC_UNICODE_V,
|
|
+ ENC_AJ16_H, ENC_AJ16_V,
|
|
+ ENC_IDENTITY } encoding;
|
|
+ enum { VAR_BOLD = 0x01, VAR_ITALIC = 0x02 } variant;
|
|
+ float extend, slant;
|
|
+ char *sfd_name;
|
|
+ char *csi;
|
|
+ char *map_filename; /* only for warning message */
|
|
+};
|
|
+
|
|
+void read_ptexmap_file(char *filename);
|
|
+struct ptexmap *getkanjifont(const char *jfm_name);
|
|
+#define iskanjifont(jfm_name) (getkanjifont(jfm_name) != NULL)
|
|
+
|
|
+void add_replace_dictionary(char *key, char *word);
|
|
+#endif /* PTEX */
|
|
+
|
|
+#endif /* PTEXMAP_H_ */
|