summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/cid.c
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2014-07-25 13:56:38 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2014-07-25 13:56:38 +0000
commit796176898c849ec72156930daa2ea150b68c48a3 (patch)
treedf9ae1a767183ead147947882f8895cf07f2417a /Build/source/texk/dvipdfm-x/cid.c
parent31053cc388d6f0b348b297a3a0b950e8d707916a (diff)
Remove most of font related #ifdef XETEX
Almost all of this is not needed now since XeTeX’s native fonts are always passed by file name and face index now, so we can use original dvipdfmx direct file based code instead of using a FreeType font face. Has the side effect of fixing: https://sourceforge.net/p/xetex/bugs/97/ git-svn-id: svn://tug.org/texlive/trunk@34718 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/cid.c')
-rw-r--r--Build/source/texk/dvipdfm-x/cid.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/Build/source/texk/dvipdfm-x/cid.c b/Build/source/texk/dvipdfm-x/cid.c
index 35a562394a0..4d80097df1e 100644
--- a/Build/source/texk/dvipdfm-x/cid.c
+++ b/Build/source/texk/dvipdfm-x/cid.c
@@ -136,11 +136,6 @@ CIDFont_new (void)
font->fontname = NULL;
font->ident = NULL;
-#ifdef XETEX
- font->ft_face = NULL;
- font->ft_to_gid = NULL;
-#endif
-
/*
* CIDFont
*/
@@ -209,15 +204,6 @@ CIDFont_release (CIDFont *font)
}
}
-#ifdef XETEX
-unsigned short *
-CIDFont_get_ft_to_gid(CIDFont *font)
-{
- ASSERT(font);
- return font->ft_to_gid;
-}
-#endif
-
char *
CIDFont_get_fontname (CIDFont *font)
{
@@ -248,15 +234,6 @@ CIDFont_get_opt_index (CIDFont *font)
return opt_index;
}
-#ifdef XETEX
-FT_Face
-CIDFont_get_ft_face(CIDFont *font)
-{
- ASSERT(font);
- return font->ft_face;
-}
-#endif
-
int
CIDFont_get_subtype (CIDFont *font)
{
@@ -649,9 +626,6 @@ CIDFont_cache_find (const char *map_name,
if (font_id == __cache->num) {
font = CIDFont_new();
-#ifdef XETEX
- font->ft_face = fmap_opt->ft_face;
-#endif
if (CIDFont_type0_open(font, map_name, cmap_csi, opt) < 0 &&
CIDFont_type2_open(font, map_name, cmap_csi, opt) < 0 &&
CIDFont_type0_t1open(font, map_name, cmap_csi, opt) < 0 &&