3 ms·
Never tried anything like this, but I’d assume you’d probably use Freetype to render an existing Devanagari font to a matrix, then map each pixel position and b
by yawpitch 3y ago
Never tried anything like this, but I’d assume you’d probably use Freetype to render an existing Devanagari font to a matrix, then map each pixel position and brightness to a corresponding ASCII character… effectively your result is just a larger image that uses very large, letter-snapped “pixels” to represent shades of grey.
One possible (and randomly found) starting off point, in Go: https://fiwippi.net/blog/post/rendering_images_with_ascii_characters_in_go https://fiwippi.net/blog/post/rendering_images_with_ascii_ch...