summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/cidtype0.c
diff options
context:
space:
mode:
authorJjgod Jiang <gzjjgod@gmail.com>2014-08-04 21:56:36 +0000
committerJjgod Jiang <gzjjgod@gmail.com>2014-08-04 21:56:36 +0000
commit74f38ed6a0ef898bb6a188e4d89bb85bb4ac7ebe (patch)
tree7d58c7aeee2d1a991e48365d2e95224db28b70d6 /Build/source/texk/dvipdfm-x/cidtype0.c
parent40cde69d904eb89fe89fcd7bc4b7d458d113fe6d (diff)
Fix some warnings and remove unused code
git-svn-id: svn://tug.org/texlive/trunk@34837 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/cidtype0.c')
-rw-r--r--Build/source/texk/dvipdfm-x/cidtype0.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/Build/source/texk/dvipdfm-x/cidtype0.c b/Build/source/texk/dvipdfm-x/cidtype0.c
index 1605a536515..18c99e6129f 100644
--- a/Build/source/texk/dvipdfm-x/cidtype0.c
+++ b/Build/source/texk/dvipdfm-x/cidtype0.c
@@ -82,7 +82,7 @@ CIDFont_type0_set_flags (long flags)
#endif
static void
-add_CIDHMetrics (sfnt *sfont, pdf_obj *fontdict,
+add_CIDHMetrics (pdf_obj *fontdict,
unsigned char *CIDToGIDMap, unsigned short last_cid,
struct tt_maxp_table *maxp,
struct tt_head_table *head, struct tt_longMetrics *hmtx)
@@ -318,7 +318,7 @@ add_CIDMetrics (sfnt *sfont, pdf_obj *fontdict,
sfnt_locate_table(sfont, "hmtx");
hmtx = tt_read_longMetrics(sfont, maxp->numGlyphs, hhea->numOfLongHorMetrics, hhea->numOfExSideBearings);
- add_CIDHMetrics(sfont, fontdict, CIDToGIDMap, last_cid, maxp, head, hmtx);
+ add_CIDHMetrics(fontdict, CIDToGIDMap, last_cid, maxp, head, hmtx);
if (need_vmetrics)
add_CIDVMetrics(sfont, fontdict, CIDToGIDMap, last_cid, maxp, head, hmtx);
@@ -1477,7 +1477,7 @@ create_ToUnicode_stream (cff_font *cffont,
total_fail_count, glyph_count);
WARN("ToUnicode CMap \"%s-UTF16\" removed.", font_name);
} else {
- stream = CMap_create_stream(cmap, 0);
+ stream = CMap_create_stream(cmap);
}
CMap_release(cmap);
@@ -2041,9 +2041,3 @@ CIDFont_type0_t1dofont (CIDFont *font)
return;
}
-
-void
-CIDFont_type0_release(CIDFont *font)
-{
- return;
-}