diff options
Diffstat (limited to 'Build/source/texk/xdvipdfmx/src/fontmap.h')
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/fontmap.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/fontmap.h b/Build/source/texk/xdvipdfmx/src/fontmap.h index b2ce2645397..59b00f07297 100644 --- a/Build/source/texk/xdvipdfmx/src/fontmap.h +++ b/Build/source/texk/xdvipdfmx/src/fontmap.h @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/fontmap.h,v 1.19 2005/07/30 11:44:18 hirata Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/fontmap.h,v 1.22 2008/05/18 08:09:09 chofchof Exp $ This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. @@ -29,7 +29,6 @@ #define FONTMAP_RMODE_APPEND '+' #define FONTMAP_RMODE_REMOVE '-' -#define FONTMAP_OPT_REMAP (1 << 0) #define FONTMAP_OPT_NOEMBED (1 << 1) #define FONTMAP_OPT_VERT (1 << 2) @@ -58,6 +57,7 @@ typedef struct fontmap_opt { char *charcoll; /* Adobe-Japan1-4, etc. */ int index; /* TTC index */ int style; /* ,Bold, etc. */ + int stemv; /* StemV value especially for CJK fonts */ #ifdef XETEX FT_Face ft_face; unsigned short *glyph_widths; @@ -91,13 +91,15 @@ extern void pdf_init_fontmap_record (fontmap_rec *mrec); extern void pdf_clear_fontmap_record (fontmap_rec *mrec); extern int pdf_load_fontmap_file (const char *filename, int mode); -extern int pdf_read_fontmap_line (fontmap_rec *mrec, - const char *mline, long mline_strlen); +extern int pdf_read_fontmap_line (fontmap_rec *mrec, const char *mline, long mline_strlen, int format); extern int pdf_append_fontmap_record (const char *kp, const fontmap_rec *mrec); extern int pdf_remove_fontmap_record (const char *kp); extern int pdf_insert_fontmap_record (const char *kp, const fontmap_rec *mrec); extern fontmap_rec *pdf_lookup_fontmap_record (const char *kp); + +extern int is_pdfm_mapline (const char *mline); + #ifdef XETEX extern int pdf_load_native_font (const char *ps_name, const char *fam_name, const char *sty_name, |