mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
fix
This commit is contained in:
parent
7275ebde8b
commit
ed82bed2c3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user