Hi, sorry I did not realize, that SWFFont_getShape() returned the font outline as text! So I've added a more generic function char *SWFShape_dumpOutline(shape_to_dump) which generates a string consisting of moveto, lineto and curveto statements. For compat reasons I've also readded SWFFont_getShape(), but marked it as deprecated. It will be removed in the future! To resemble the behaviour of SWFFont _getShape() do something similar to: SWFShape shape = newSWFShape(); SWFShape_drawGlyph(shape, font, character_code); out = SWFShape_dumpOutline(s); Cheers Klaus > Hi, > > SWFFont_getShape() is gone, because of the new font model. For drawing > glyphs you can use > > swfshape->drawglyph(SWFFont font, string character [, int size]) > > which draws the first character in the given string into the shape using > the glyph definition from the given font. > > Cheers > Klaus > >> in the demo on http://www.gazbming.com/getexample.php?id=76 , there is >> $f=new SWFFont($fontpath); >> $fostring=$f->getShape($offset+$i); >> >> I cannot find the SWFFont_getShap function in Ming 0.4.x, but it does >> exists in Ming 0.3.x. So what can I do for this script? thanx >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Ming-users mailing list >> Ming-users@xxxxxxxxxxxxxxxxxxxxx >> https://lists.sourceforge.net/lists/listinfo/ming-users >> >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Ming-users mailing list > Ming-users@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/ming-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ming-users mailing list Ming-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ming-users