reimplement generateFontMetrics to keep all calculations in SkScalar, avoiding the
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 6 May 2013 12:21:16 +0000 (12:21 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 6 May 2013 12:21:16 +0000 (12:21 +0000)
commitf073b3332d7c9f7dba6bcf7eb93708593a90036c
tree6e1d00a5113ad405bb9215c61de123c7967066a1
parent038635940c6c0c143c7cb39188dc48cc2a65d93a
reimplement generateFontMetrics to keep all calculations in SkScalar, avoiding the
risk of over/under-flow w/ the current fixed-point intermediates.

Review URL: https://codereview.chromium.org/14736005

git-svn-id: http://skia.googlecode.com/svn/trunk@9005 2bbb7eff-a529-9590-31e7-b0007b416f81
src/ports/SkFontHost_FreeType.cpp