summaryrefslogtreecommitdiff
path: root/src/hb-shape.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/hb-shape.cc')
-rw-r--r--src/hb-shape.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hb-shape.cc b/src/hb-shape.cc
index c06b9a46..8a985839 100644
--- a/src/hb-shape.cc
+++ b/src/hb-shape.cc
@@ -371,11 +371,6 @@ hb_shape_full (hb_font_t *font,
unsigned int num_features,
const char * const *shaper_list)
{
- if (unlikely (!buffer->len))
- return true;
-
- assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE);
-
hb_shape_plan_t *shape_plan = hb_shape_plan_create_cached (font->face, &buffer->props, features, num_features, shaper_list);
hb_bool_t res = hb_shape_plan_execute (shape_plan, font, buffer, features, num_features);
hb_shape_plan_destroy (shape_plan);