[Phpmyadmin-devel] move getStringWidth to common library

Dieter Adriaenssens dieter.adriaenssens at gmail.com
Fri Sep 27 19:17:28 CEST 2013


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?

-- 
Kind regards,

Dieter Adriaenssens




More information about the Developers mailing list