Generates g-code from text with a hershey font