1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

Merge branch 'devv' of github.com:coolwanglu/pdf2htmlEX into devv

Conflicts:
	src/HTMLRenderer/text.cc
This commit is contained in:
Lu Wang 2012-09-28 20:07:25 +08:00
commit 6b28049d76

View File

@ -528,8 +528,16 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s)
} }
else else
{ {
Unicode uu = (cur_font_info->use_tounicode ? check_unicode(u, uLen, code, font) : unicode_from_font(code, font)); if(cur_font_info->use_tounicode)
line_buf.append_unicodes(&uu, 1); {
Unicode uu = check_unicode(u, uLen, code, font);
line_buf.append_unicodes(&uu, 1);
}
else
{
Unicode uu = unicode_from_font(code, font);
line_buf.append_unicodes(&uu, 1);
}
} }
} }