[PDF] Re add line accidentally removed in r892.
authorvandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 5 Mar 2011 00:24:50 +0000 (00:24 +0000)
committervandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 5 Mar 2011 00:24:50 +0000 (00:24 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@896 2bbb7eff-a529-9590-31e7-b0007b416f81

src/pdf/SkPDFDevice.cpp

index 62f4fa8..6830081 100644 (file)
@@ -638,6 +638,7 @@ void SkPDFDevice::updateFont(const SkPaint& paint, uint16_t glyphID) {
         fContent.appendS32(fontIndex);
         fContent.append(" ");
         SkPDFScalar::Append(paint.getTextSize(), &fContent);
+        fContent.append(" Tf\n");
         fGraphicStack[fGraphicStackIndex].fTextSize = paint.getTextSize();
         fGraphicStack[fGraphicStackIndex].fFont = fFontResources[fontIndex];
     }