summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/cidtype0.c
diff options
context:
space:
mode:
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;
-}