From 87ae148179617a7c20717571b2c95902e8a751be Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Tue, 21 Aug 2012 22:34:39 +0200 Subject: [PATCH] .. --- src/HTMLRenderer/text.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/HTMLRenderer/text.cc b/src/HTMLRenderer/text.cc index 83af78c..d431497 100644 --- a/src/HTMLRenderer/text.cc +++ b/src/HTMLRenderer/text.cc @@ -198,7 +198,8 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s) } else { - // TODO: consider horiz scaling + // should not consider hozi scaling here + // will be handled by draw_ctm double target = dx1 + state->getCharSpace(); if(n == 1 && *p == ' ') target += state->getWordSpace(); @@ -216,7 +217,7 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s) len -= n; } - // TODO, horiz_scaling is merged into ctm now, + // horiz_scaling is merged into ctm now, // so the coordinate system is ugly dx = (dx * state->getFontSize() + nChars * state->getCharSpace()