mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-09-29 01:31:29 +00:00
merge #54
This commit is contained in:
commit
c886e22292
@ -161,6 +161,15 @@ void HTMLRenderer::check_state_change(GfxState * state)
|
|||||||
new_draw_text_scale = 1.0;
|
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)))
|
if(!(equal(new_draw_text_scale, draw_text_scale)))
|
||||||
{
|
{
|
||||||
draw_text_scale_changed = true;
|
draw_text_scale_changed = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user