make_icons ========== .. py:module:: make_icons .. autoapi-nested-parse:: Convert Phosphor icons (Bold weight) into a bitmap glyph module. uv run tools/make_icons.py 64 src/icons_large.py sun cloud-rain Reads the Phosphor Bold webfont and its CSS (for the codepoints) from build/phosphor/, where `make icons` downloads them. Glyphs are stored under their Phosphor name and drawn with text.draw_glyph. Phosphor Icons: MIT License, https://phosphoricons.com Attributes ---------- .. autoapisummary:: make_icons.ICON_DIR make_icons.FONT make_icons.CSS Functions --------- .. autoapisummary:: make_icons.codepoints make_icons.main Module Contents --------------- .. py:data:: ICON_DIR .. py:data:: FONT .. py:data:: CSS .. py:function:: codepoints(css) {icon name: character} from the Phosphor Bold stylesheet. .. py:function:: main() Run the command line tool.