{"id":19464416,"url":"https://github.com/arrowtype/drawbot--loop-through-font-glyphs","last_synced_at":"2025-04-25T09:31:31.779Z","repository":{"id":50274219,"uuid":"332022049","full_name":"arrowtype/drawbot--loop-through-font-glyphs","owner":"arrowtype","description":"DrawBot scripts to loop through all glyphs of a built font binary (TTF or OTF), e.g. for use in proofing \u0026 SVG icon font conversion","archived":false,"fork":false,"pushed_at":"2021-01-24T23:41:49.000Z","size":11787,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T19:39:24.220Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arrowtype.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-22T17:52:48.000Z","updated_at":"2024-06-27T03:08:30.000Z","dependencies_parsed_at":"2022-08-25T11:11:30.299Z","dependency_job_id":null,"html_url":"https://github.com/arrowtype/drawbot--loop-through-font-glyphs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrowtype%2Fdrawbot--loop-through-font-glyphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrowtype%2Fdrawbot--loop-through-font-glyphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrowtype%2Fdrawbot--loop-through-font-glyphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrowtype%2Fdrawbot--loop-through-font-glyphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arrowtype","download_url":"https://codeload.github.com/arrowtype/drawbot--loop-through-font-glyphs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250790070,"owners_count":21487740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T18:14:58.192Z","updated_at":"2025-04-25T09:31:30.833Z","avatar_url":"https://github.com/arrowtype.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Looping through font binaries in DrawBot\n\nA quick exploration of looping through all glyphs in a font binary (TTF or OTF). Probably a WIP.\n\nUseful in cases such as:\n- Exporting an icon font to SVGs or PNGs, etc\n- Making a PDF to proofing every glyph in a font\n\n## Usage\n\n### Set up the environment\n\nTo build, set up the virtual environment\n\n```bash\nvirtualenv -p python3 venv\n```\n\nThen activate it:\n\n```bash\nsource venv/bin/activate\n```\n\nThen install requirements:\n\n```bash\npip install -U -r requirements.txt\n```\n\n### Run the scripts\n\nRun the desired DrawBot script in a terminal:\n\n```bash\npython source/export-ttf-to-svg.py\n```\n\n```bash\npython source/export-ttf-chars-to-svg.py # warning: this one can take a while for a large font!\n```\n\nTo alter the font, replace `source/RecursiveMonoCslSt-Med.ttf` with any ttf or otf font, then update the drawbot scripts to point to that new file path.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrowtype%2Fdrawbot--loop-through-font-glyphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farrowtype%2Fdrawbot--loop-through-font-glyphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrowtype%2Fdrawbot--loop-through-font-glyphs/lists"}