Commit 5d64257340eb6973c920986318984cbe15e5920e

Werner Lemberg 2008-10-15T13:20:17

add comment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
index d14d552..3333aa6 100644
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -952,7 +952,9 @@
                                      ? face->vertical.advance_Height_Max
                                      : root->height );
 
-        /* see http://www.microsoft.com/OpenType/OTSpec/post.htm */
+        /* See http://www.microsoft.com/OpenType/OTSpec/post.htm -- */
+        /* Adjust underline position from top edge to centre of     */
+        /* stroke to convert TrueType meaning to FreeType meaning.  */
         root->underline_position  = face->postscript.underlinePosition -
                                     face->postscript.underlineThickness / 2;
         root->underline_thickness = face->postscript.underlineThickness;