ref: 5d64257340eb6973c920986318984cbe15e5920e
parent: 822604c83185d4b7c86d90f5e1d8eb2bd78152bf
author: Werner Lemberg <[email protected]>
date: Wed Oct 15 09:20:17 EDT 2008
add comment
--- 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;