mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
fix font
This commit is contained in:
parent
cccb85f729
commit
9dca488d96
@ -98,6 +98,7 @@ void HTMLRenderer::reset_state()
|
||||
|
||||
cur_font_info = install_font(nullptr);
|
||||
|
||||
cur_font_size = 0.0;
|
||||
font_size_manager.reset();
|
||||
|
||||
memcpy(cur_text_tm, ID_MATRIX, sizeof(cur_text_tm));
|
||||
@ -262,7 +263,7 @@ void HTMLRenderer::check_state_change(GfxState * state)
|
||||
draw_text_scale = new_draw_text_scale;
|
||||
}
|
||||
|
||||
if(!font_size_manager.install(new_draw_font_size))
|
||||
if(font_size_manager.install(new_draw_font_size))
|
||||
{
|
||||
new_line_state = max<NewLineState>(new_line_state, NLS_SPAN);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user