add placeholder function for truetype/text rendering (#4765)