|
|
@ -251,7 +251,7 @@ hb_subset_face_add_table (hb_face_t *face, hb_tag_t tag, hb_blob_t *blob) |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
HB_INTERNAL bool |
|
|
|
static bool |
|
|
|
_add_head_and_set_loca_version (hb_face_t *source, bool use_short_loca, hb_face_t *dest) |
|
|
|
_add_head_and_set_loca_version (hb_face_t *source, bool use_short_loca, hb_face_t *dest) |
|
|
|
{ |
|
|
|
{ |
|
|
|
hb_blob_t *head_blob = OT::Sanitizer<OT::head>().sanitize (hb_face_reference_table (source, HB_OT_TAG_head)); |
|
|
|
hb_blob_t *head_blob = OT::Sanitizer<OT::head>().sanitize (hb_face_reference_table (source, HB_OT_TAG_head)); |
|
|
@ -278,7 +278,7 @@ _add_head_and_set_loca_version (hb_face_t *source, bool use_short_loca, hb_face_ |
|
|
|
return has_head; |
|
|
|
return has_head; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
HB_INTERNAL bool |
|
|
|
static bool |
|
|
|
_subset_glyf (hb_subset_plan_t *plan, hb_face_t *source, hb_face_t *dest) |
|
|
|
_subset_glyf (hb_subset_plan_t *plan, hb_face_t *source, hb_face_t *dest) |
|
|
|
{ |
|
|
|
{ |
|
|
|
hb_blob_t *glyf_prime = nullptr; |
|
|
|
hb_blob_t *glyf_prime = nullptr; |
|
|
@ -300,7 +300,7 @@ _subset_glyf (hb_subset_plan_t *plan, hb_face_t *source, hb_face_t *dest) |
|
|
|
return success; |
|
|
|
return success; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
HB_INTERNAL bool |
|
|
|
static bool |
|
|
|
_subset_table (hb_subset_plan_t *plan, |
|
|
|
_subset_table (hb_subset_plan_t *plan, |
|
|
|
hb_face_t *source, |
|
|
|
hb_face_t *source, |
|
|
|
hb_tag_t tag, |
|
|
|
hb_tag_t tag, |
|
|
|