1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +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;
}
if (n == 1 && *p == ' ')
{
++nSpaces;
}
if(uLen == 0)
{
// TODO
@ -208,11 +213,6 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s)
dx += dx1;
dy += dy1;
if (n == 1 && *p == ' ')
{
++nSpaces;
}
++nChars;
p += n;
len -= n;