Index: src/pdf/SkPDFFont.cpp |
=================================================================== |
--- src/pdf/SkPDFFont.cpp (revision 8280) |
+++ src/pdf/SkPDFFont.cpp (working copy) |
@@ -549,6 +549,7 @@ |
SkPDFStream** fontStream) { |
int ttcIndex; |
SkAutoTUnref<SkStream> fontData(typeface->openStream(&ttcIndex)); |
vandebo (ex-Chrome)
2013/03/21 00:55:11
Shouldn't typeface->openStream() return a stream a
bungeman-skia
2013/03/21 03:25:12
I have to agree, this is an issue with reed's chan
edisonn
2013/03/21 13:33:08
done; added issue 1176 for the thread safety. righ
|
+ fontData->rewind(); |
edisonn
2013/03/21 13:33:08
Steve's comments:
1) openStream should give alread
|
int fontSize = fontData->getLength(); |