1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

remove debug code

This commit is contained in:
Lu Wang 2012-08-24 20:21:34 +02:00
parent 6e0b487ff5
commit 32fd0c6fdf

View File

@ -197,21 +197,8 @@ void HTMLRenderer::check_state_change(GfxState * state)
{ {
if(abs(cur_ctm[0]) > EPS) if(abs(cur_ctm[0]) > EPS)
{ {
//debug
html_fout<<"<em data-x=\"";
for(int i = 0; i < 6; ++i)
html_fout << old_ctm[i] << ' ';
html_fout << draw_tx << ' ' << draw_ty << "\"></em>";
draw_tx += tdx / cur_ctm[0]; draw_tx += tdx / cur_ctm[0];
draw_ty += dy; draw_ty += dy;
//debug
html_fout<<"<em data-x=\"";
for(int i = 0; i < 6; ++i)
html_fout << cur_ctm[i] << ' ';
html_fout << draw_tx << ' ' << draw_ty << ' ' << cur_tx << ' ' << cur_ty << "\"></em>";
} }
else if (abs(cur_ctm[1]) > EPS) else if (abs(cur_ctm[1]) > EPS)
{ {