2009-07-30 Jeffrey Stedfast <fejj@novell.com>
* fontmanager.cpp (GetExtents): Much better fix than the
string-comparison hack. Poke at the TrueType/OpenType OS/2 table
and use the usWinAscent/usWinDescent values since this is what
most Windows applications (brokenly) use according to some info I
found on the web. Low and behold, this also makes the Adobe Caslon
Pro metrics work out exactly like they do in Silverlight, so I'm
guessing that the info I found is accurate :-)
git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/moon@139130 e3ebcda4-bce8-0310-ba0a-eca2169e7518