Failproofshark / cl-sdl2-ttf

A common lisp wrapper for SDL2_TTF used for loading fonts and creating text assets
25 stars 19 forks source link

How to use render-unicode-blended ? #14

Closed ghost closed 6 years ago

ghost commented 6 years ago

i want to render 123 (setf font0 (sdl2-ttf:open-font "/home/peiman/Desktop/Dev/lisp-draft/font.ttf" 40)) (setf text-surface (sdl2-ttf:render-unicode-blended font0 "u0031 u0032 u0033" 255 0 255 0))

but its not render properly i want to render persian symbols can you show me an example of using this function please.