diff --git a/src/hb-outline.cc b/src/hb-outline.cc index 7ed486a80..3dd53c7c5 100644 --- a/src/hb-outline.cc +++ b/src/hb-outline.cc @@ -103,6 +103,8 @@ float hb_outline_t::area () const void hb_outline_t::embolden (float x_strength, float y_strength) { + /* This function is a straight port of FreeType's FT_Outline_EmboldenXY */ + if (!x_strength && !y_strength) return; if (!points) return;