From 4626566319176549cdc7173d65d7980c15ea74fa Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 22 Oct 2004 15:07:20 +0000 Subject: [PATCH] * changed logging interface * movex/movey are now passed in pixels instead of twips --- pdf2swf/swfoutput.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdf2swf/swfoutput.cc b/pdf2swf/swfoutput.cc index b8b96e9..dcba007 100644 --- a/pdf2swf/swfoutput.cc +++ b/pdf2swf/swfoutput.cc @@ -1295,7 +1295,7 @@ void swfoutput_setfont(struct swfoutput*obj, char*fontid, char*filename) swf_FontSetID(swffont, ++i->currentswfid); - if(screenloglevel >= LOGLEVEL_DEBUG) { + if(getScreenLogLevel() >= LOGLEVEL_DEBUG) { // print font information msg(" Font %s (%s)",swffont->name, filename); msg(" | ID: %d", swffont->id); @@ -1415,8 +1415,8 @@ void swfoutput_newpage(struct swfoutput*obj, int pageNum, int movex, int movey, endpage(obj); swf_GetMatrix(0, &i->page_matrix); - i->page_matrix.tx = movex; - i->page_matrix.ty = movey; + i->page_matrix.tx = movex*20; + i->page_matrix.ty = movey*20; for(i->depth--;i->depth>=i->startdepth;i->depth--) { i->tag = swf_InsertTag(i->tag,ST_REMOVEOBJECT2); -- 1.7.10.4