From: Matthias Kramm Date: Mon, 12 Oct 2009 22:53:47 +0000 (-0700) Subject: small fix in new text selection code X-Git-Tag: version-0-9-1~264 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=37fe01b7f4ec00f173fe25dceb53fa25faf6c2a7 small fix in new text selection code --- diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 8ee0070..dbb851e 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -832,10 +832,11 @@ static void chararray_writetodev(gfxdevice_t*dev, chararray_t*array, MATRIX*matr swf_SetU32(i->tag, 0);//sharpness swf_SetU8(i->tag, 0);//reserved } - i->tag = swf_InsertTag(i->tag,ST_PLACEOBJECT2); if(invisible && i->config_flashversion>=8) { + i->tag = swf_InsertTag(i->tag,ST_PLACEOBJECT3); swf_ObjectPlaceBlend(i->tag,textid,getNewDepth(dev),&i->page_matrix,NULL,NULL,BLENDMODE_MULTIPLY); } else { + i->tag = swf_InsertTag(i->tag,ST_PLACEOBJECT2); swf_ObjectPlace(i->tag,textid,getNewDepth(dev),&i->page_matrix,NULL,NULL); } }