Commit beb2272949e6217efed73a9077c494b60f9d3c0b

Alexei Podtelezhnikov 2023-02-04T09:47:44

Comment on optional ascender and descender.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/freetype/internal/t1types.h b/include/freetype/internal/t1types.h
index a4ea66b..5a105c5 100644
--- a/include/freetype/internal/t1types.h
+++ b/include/freetype/internal/t1types.h
@@ -172,8 +172,8 @@ FT_BEGIN_HEADER
   {
     FT_Bool        IsCIDFont;
     FT_BBox        FontBBox;
-    FT_Fixed       Ascender;
-    FT_Fixed       Descender;
+    FT_Fixed       Ascender;     /* optional, mind the zero */
+    FT_Fixed       Descender;    /* optional, mind the zero */
     AFM_TrackKern  TrackKerns;   /* free if non-NULL */
     FT_UInt        NumTrackKern;
     AFM_KernPair   KernPairs;    /* free if non-NULL */