X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=pdf2swf%2Fswfoutput.cc;h=dcba00745b75a6585a89bd02c68f1de42362c082;hb=50c757db52590bc2e187d2728271346b34677217;hp=b8b96e94221259613f36843aa6d4b7b62acbf9c5;hpb=5ca580d4583834edd01e83a901d1ec416c3033a1;p=swftools.git 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);