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:
commit
6b28049d76
@ -528,9 +528,17 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s)
|
||||
}
|
||||
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)
|
||||
{
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dx += dx1;
|
||||
|
Loading…
Reference in New Issue
Block a user