[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] GSoC-2019-moazin 2d13c51 10/47: Add a comment there. That pa
From: |
Moazin Khatti |
Subject: |
[freetype2] GSoC-2019-moazin 2d13c51 10/47: Add a comment there. That part can be confusing. |
Date: |
Sun, 25 Aug 2019 16:18:10 -0400 (EDT) |
branch: GSoC-2019-moazin
commit 2d13c5127c296c780a5875abcebaecff2d842602
Author: Moazin Khatti <address@hidden>
Commit: Moazin Khatti <address@hidden>
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 dc71a98..626c93d 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] GSoC-2019-moazin 2d13c51 10/47: Add a comment there. That part can be confusing.,
Moazin Khatti <=