How to convert text to SVG paths?
I have created my own class to process SVG font file and to turn text into glyphs. Example of using: include “SVGFont.php”; $svgFont = new SVGFont(); $svgFont->load(“/path/to/font.svg”); $result = $svgFont->textToPaths(“Simple text”, 20); Example result: <g transform=”scale(0.009765625) translate(0, 0)”><path transform=”translate(0,0) rotate(180) scale(-1, 1)” d=”M92 471l183 16q13 -110 60.5 -180.5t147.5 -114t225 -43.5q111 0 196 33t126.5 90.5t41.5 125.5q0 … Read more