mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-05 17:48:38 +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;
|
draw_text_scale = 1.0;
|
||||||
|
|
||||||
cur_html_state.font_info = install_font(nullptr);
|
|
||||||
|
|
||||||
cur_font_size = 0.0;
|
cur_font_size = 0.0;
|
||||||
|
|
||||||
memcpy(cur_text_tm, ID_MATRIX, sizeof(cur_text_tm));
|
memcpy(cur_text_tm, ID_MATRIX, sizeof(cur_text_tm));
|
||||||
|
|
||||||
// reset html_state
|
// 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.font_size = 0;
|
||||||
cur_html_state.fill_color.transparent = true;
|
cur_html_state.fill_color.transparent = true;
|
||||||
cur_html_state.stroke_color.transparent = true;
|
cur_html_state.stroke_color.transparent = true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user