[Phpmyadmin-devel] move getStringWidth to common library
Marc Delisle
marc at infomarc.info
Fri Sep 27 19:29:48 CEST 2013
Dieter Adriaenssens a écrit :
> Hi,
>
> After refactoring the getStringWidth() method in the PMA_SVG, I found
> out this method exists in the PMA_EPS class as well and is identical.
>
> I suggest to move this method to a library file, both classes can
> statically call this method from there. (The method does not use any
> internal variables of the class so this is possible).
>
> Objections?
>
Good idea.
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list