Algorithm · Asana · Medium
Write a function render_ascii_art(text, font, placeholder) that returns the ASCII-art rendering of text according to a font. A font maps supported characters to rectangular glyphs. Every glyph in a font has the same height H and width W; a glyph is represented as a list of H strings, and each string has length W. For one input line, build the first output row by horizontally concatenating the first rows of all glyphs, then build the second output row from the second rows,…
Checking your access…