From: kramm Date: Wed, 21 May 2003 19:04:24 +0000 (+0000) Subject: changed to new librfxswf shape functions. X-Git-Tag: release-0-5-0~220 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=964655e551bef6690e696625701a6817aeb77b94 changed to new librfxswf shape functions. --- diff --git a/pdf2swf/font2swf.cc b/pdf2swf/font2swf.cc index e44c0e5..b0031ae 100644 --- a/pdf2swf/font2swf.cc +++ b/pdf2swf/font2swf.cc @@ -231,7 +231,7 @@ SWFFONT * t1font2swffont(int i) SRECT bbox; shape2 = swf_ShapeToShape2(shape); if(!shape2) { fprintf(stderr, "Shape parse error\n");exit(1);} - bbox = swf_GetShapeBoundingBox(shape2->lines); + bbox = swf_GetShapeBoundingBox(shape2); swf_Shape2Free(shape2); wfont->layout->bounds[num] = bbox; //wfont->glyph[num].advance = (int)(width/6.4); // 128/20