From 3a9772c853adfc2a63d7974924ff0d3aa5bbe804 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Sat, 16 Oct 2010 11:25:00 -0700 Subject: fixed valgrind warnings --- lib/pdf/CharOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/pdf') diff --git a/lib/pdf/CharOutputDev.cc b/lib/pdf/CharOutputDev.cc index 6f2ecc90..b7cf5916 100644 --- a/lib/pdf/CharOutputDev.cc +++ b/lib/pdf/CharOutputDev.cc @@ -912,6 +912,10 @@ void CharOutputDev::beginPage(GfxState *state, int pageNum) { this->currentpage = pageNum; this->last_char_was_space = 1; + this->last_char_y = 0; + this->last_char_y_fontsize = 0; + this->last_ascent = 0; + this->last_descent = 0; } void GFXLink::draw(CharOutputDev*out, gfxdevice_t*dev) -- cgit v1.2.3