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 2013-04-04 21:25:23 +08:00
parent 7275ebde8b
commit ed82bed2c3

View File

@ -90,14 +90,12 @@ void HTMLRenderer::reset_state()
{
draw_text_scale = 1.0;
cur_html_state.font_info = install_font(nullptr);
cur_font_size = 0.0;
memcpy(cur_text_tm, ID_MATRIX, sizeof(cur_text_tm));
// reset html_state
cur_html_state.font_info = nullptr;
cur_html_state.font_info = install_font(nullptr);
cur_html_state.font_size = 0;
cur_html_state.fill_color.transparent = true;
cur_html_state.stroke_color.transparent = true;