aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/SkPDFFont.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp
index 6f108a8c79..7d8c286e2e 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);