aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
authorGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-05 00:24:50 +0000
committerGravatar vandebo@chromium.org <vandebo@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-05 00:24:50 +0000
commit6bcf995a2673fef7a41a7384108a0675f2a66eb6 (patch)
tree01851e66afa54a2813843fc5e0b10d7bb68c5b86 /src/pdf
parentbf4338cb3bd06f9488b7d36fef083c8eb0f3f56a (diff)
[PDF] Re add line accidentally removed in r892.
git-svn-id: http://skia.googlecode.com/svn/trunk@896 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/SkPDFDevice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp
index 62f4fa8424..6830081344 100644
--- a/src/pdf/SkPDFDevice.cpp
+++ b/src/pdf/SkPDFDevice.cpp
@@ -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];
}