freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] GSoC-2019-moazin da440b1: Add a comment there. That part can


From: Moazin Khatti
Subject: [freetype2] GSoC-2019-moazin da440b1: Add a comment there. That part can be confusing.
Date: Tue, 23 Jul 2019 10:48:00 -0400 (EDT)

branch: GSoC-2019-moazin
commit da440b1a80f9ec03c49d291383a8a576dda6c882
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]