Index: src/pdf/SkPDFFont.cpp |
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp |
index 6f108a8c79b77e36f9038064663e8f6459290b8b..7d8c286e2e52c5da6aabacbd4747a6adce3a0c98 100644 |
--- a/src/pdf/SkPDFFont.cpp |
+++ b/src/pdf/SkPDFFont.cpp |
@@ -582,6 +582,7 @@ static int get_subset_font_stream(const char* fontName, |
*fontStream = subsetFontStream; |
return fontSize; |
} |
+ fontData->rewind(); |
#else |
sk_ignore_unused_variable(fontName); |
sk_ignore_unused_variable(subset); |