aboutsummaryrefslogtreecommitdiff
path: root/src/api/cp_replace.c
AgeCommit message (Collapse)Author
2021-04-01Implement unicode character replacementsFrancesco Abbate
Useful to draw whitespaces with alternate characters and colors without slowing down the text rendering. A new API is implemented. A renderer.replacements object can be created to list the replacements. In turns the function renderer.draw_text and draw_text_subpixel now accept two optional arguments for replacements.