Generate char maps and glyph maps as Python code, issue #51