--- In [email protected], bizaro <[EMAIL PROTECTED]> wrote: > > > - new signature for create_array, allowing creation of an array of > > chars from a string or an array of unsigned chars from a byteblock. > > getTextSize.powerpro included with Dll plugin seems to be different > from what Sean has posted. Which script should I use?
I think you can use either this one or the one I posted using CreateFont. Within quick test (:not extensive though), both produced the same results. But, don't use the one I posted in the forum using CreateFontIndirect, which produced different results now. However, I recommend the one using CreateFont, as LogFont struct looks awkward to me. I think Alan just shipped the one as it would be a good example of the usage of the new signature, dll.create_array(<string>). > In getTextSize.powerpro the following line seems to be surplus, i.e. > nLeng variable is only used in the following line, > local nLeng=length(sFaceName) You may delete this line which isn't needed. Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
