Improve usability of SkAdvancedTypefaceMetrics for non PDF cases.
authorvandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Feb 2011 21:48:23 +0000 (21:48 +0000)
committervandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 3 Feb 2011 21:48:23 +0000 (21:48 +0000)
commitc3a2ae5823049f589c1841a855bb5675d69e31dd
tree24259a55dc6965099b697988297f1a730e68f9e9
parent1aef2ed83c155509f9c46ee001bfde1eb12cd2e6
Improve usability of SkAdvancedTypefaceMetrics for non PDF cases.

Change the code to fill out the metrics even if the font isn't embeddable. Previously, if the font wasn't embeddable, the code would set the type to not embeddable and return without filling out the rest of the metrics.

Review URL: http://codereview.appspot.com/3973053

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