Add a comment there. That part can be confusing.

This commit is contained in:
Moazin Khatti 2019-07-23 19:47:12 +05:00
parent bb1b25e560
commit 2d13c5127c
1 changed files with 5 additions and 0 deletions

View File

@ -884,6 +884,11 @@
if ( ( load_flags & FT_LOAD_COLOR ) &&
( ttface->svg ) )
{
/* load the TTF/CFF glyph without any scaling,
* this is so that ultimately, these outlines
* can be used to calculate the bounding box and
* the advance metrics
*/
FT_Load_Glyph( face, glyph_index, FT_LOAD_NO_SCALE);
}
#endif