[cff] minor, remove unused fields

This commit is contained in:
Ebrahim Byagowi authored and GitHub committed 2020-02-26 19:35:27 +03:30
1 parent 9fe0dc3464
commit 05a25c1a5b
1 file changed
+2 -4
+2 -4
View File
@@ -385,8 +385,6 @@ struct cff1_path_param_t
void end_path () { draw_helper->end_path (); }
hb_font_t *font;
const hb_draw_funcs_t *funcs;
void *user_data;
draw_helper_t *draw_helper;
point_t *delta;
@@ -401,13 +399,13 @@ struct cff1_path_procs_path_t : path_procs_t<cff1_path_procs_path_t, cff1_cs_int
env.moveto (pt);
}
static void line (cff1_cs_interp_env_t &env, cff1_path_param_t& param, const point_t &pt1)
static void line (cff1_cs_interp_env_t &env, cff1_path_param_t &param, const point_t &pt1)
{
param.line_to (pt1);
env.moveto (pt1);
}
static void curve (cff1_cs_interp_env_t &env, cff1_path_param_t& param, const point_t &pt1, const point_t &pt2, const point_t &pt3)
static void curve (cff1_cs_interp_env_t &env, cff1_path_param_t &param, const point_t &pt1, const point_t &pt2, const point_t &pt3)
{
param.cubic_to (pt1, pt2, pt3);
env.moveto (pt3);