Working, yet buggy text renderer