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 2012-12-07 20:14:51 +08:00
commit c886e22292

View File

@ -161,6 +161,15 @@ void HTMLRenderer::check_state_change(GfxState * state)
new_draw_text_scale = 1.0;
}
if(!is_positive(new_draw_font_size))
{
// Page is flipped and css can't handle it.
new_draw_font_size = -new_draw_font_size;
for(int i = 0; i < 4; ++i)
new_draw_text_tm[i] *= -1;
}
if(!(equal(new_draw_text_scale, draw_text_scale)))
{
draw_text_scale_changed = true;