From 2d13c5127c296c780a5875abcebaecff2d842602 Mon Sep 17 00:00:00 2001 From: Moazin Khatti Date: Tue, 23 Jul 2019 19:47:12 +0500 Subject: [PATCH] Add a comment there. That part can be confusing. --- src/base/ftobjs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index dc71a9823..626c93da0 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -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