Fix for broken text to paths conversion