summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-08-29 18:09:55 -0700
committerBehdad Esfahbod <behdad@behdad.org>2018-08-29 18:09:55 -0700
commitf39166f0c0c09fac7874fda6b0b0825f20768e3e (patch)
treeddb625bc8158c1826cc9de1c4dfc2e7f4cabc089 /util
parent2ccc322cf88a01248aa5df88a5073db3dfb40eea (diff)
[subset] Remove unused hb_subset_profile_t
We might reintroduce it later, but for now remove, as it was unused. Some things that should have been in this object (drop_hints, etc) are already in hb_subset_input_t. So, for now, keep everything there.
Diffstat (limited to 'util')
-rw-r--r--util/hb-subset.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/util/hb-subset.cc b/util/hb-subset.cc
index a15495fa..f333be8a 100644
--- a/util/hb-subset.cc
+++ b/util/hb-subset.cc
@@ -92,17 +92,15 @@ struct subset_consumer_t
{
input->drop_hints = subset_options.drop_hints;
- hb_subset_profile_t *subset_profile = hb_subset_profile_create();
hb_face_t *face = hb_font_get_face (font);
- hb_face_t *new_face = hb_subset(face, subset_profile, input);
+ hb_face_t *new_face = hb_subset(face, input);
hb_blob_t *result = hb_face_reference_blob (new_face);
failed = !hb_blob_get_length (result);
if (!failed)
write_file (options.output_file, result);
- hb_subset_profile_destroy (subset_profile);
hb_subset_input_destroy (input);
hb_blob_destroy (result);
hb_face_destroy (new_face);