Class 'Font_Glyph_Outline' not found

If you are getting an error during invoice PDF creation might need to check your PHP error log. If you get the message PHP Fatal error:  Class 'Font_Glyph_Outline' not found then your php font library is out of date. The solution is to update your PHP to at least PHP 5.6 or PHP 7.0.