Change using higher-order function at StringSVG.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>