Oops, CreateTypeface takes over ownership of the stream, instead of just ref()
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 20 Feb 2009 21:11:40 +0000 (21:11 +0000)
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 20 Feb 2009 21:11:40 +0000 (21:11 +0000)
commitff7f389c8ad6248a10ce39459b96ba3c4bbd4daf
tree480ddfdda309daec46f2540dff5730a1cdb5670d
parent1bfd0ca7804a082ce29fd56adb311c79fc11a99f
Oops, CreateTypeface takes over ownership of the stream, instead of just ref()
This should be changed, for until it is, fix CreateTypefaceFromFile to not call
unref() if the typeface got created.

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