[outline] Comment

This commit is contained in:
Behdad Esfahbod 2023-02-01 16:26:07 -07:00
parent ae522a1372
commit 4247b78e31
1 changed files with 2 additions and 0 deletions

View File

@ -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;