1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00
This commit is contained in:
Lu Wang 2012-08-19 22:50:28 +02:00
parent 3cdde4bce7
commit 188ce4f997

View File

@ -182,6 +182,11 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s)
cerr << "TODO: non-zero origins" << endl; cerr << "TODO: non-zero origins" << endl;
} }
if (n == 1 && *p == ' ')
{
++nSpaces;
}
if(uLen == 0) if(uLen == 0)
{ {
// TODO // TODO
@ -208,11 +213,6 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s)
dx += dx1; dx += dx1;
dy += dy1; dy += dy1;
if (n == 1 && *p == ' ')
{
++nSpaces;
}
++nChars; ++nChars;
p += n; p += n;
len -= n; len -= n;