{"id":16793518,"url":"https://github.com/mdp/smallfont","last_synced_at":"2025-04-10T23:52:52.502Z","repository":{"id":66279422,"uuid":"80960552","full_name":"mdp/smallfont","owner":"mdp","description":"Small monospaced pixel font (8x8) and rasterizer for LED/LCD projects","archived":false,"fork":false,"pushed_at":"2017-02-14T16:25:33.000Z","size":27,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T23:52:48.050Z","etag":null,"topics":["font","rasterizer","ssd1306"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-05T01:24:13.000Z","updated_at":"2025-03-21T09:02:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"23b7f269-e525-4398-9fe6-fa24faae0667","html_url":"https://github.com/mdp/smallfont","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/mdp%2Fsmallfont","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fsmallfont/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fsmallfont/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fsmallfont/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdp","download_url":"https://codeload.github.com/mdp/smallfont/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317703,"owners_count":21083528,"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":["font","rasterizer","ssd1306"],"created_at":"2024-10-13T08:49:32.545Z","updated_at":"2025-04-10T23:52:52.497Z","avatar_url":"https://github.com/mdp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![smallfont](https://cloud.githubusercontent.com/assets/2868/22627960/8b74b71c-eb80-11e6-947e-776c3477a12d.png)\n\n# SmallFont\n\n[![Build Status](https://travis-ci.org/mdp/smallfont.svg?branch=master)](https://travis-ci.org/mdp/smallfont)\n\nRasterize small fonts (8x8, 6x8 and 5x8 currently supported) for LED projects\n\n## Example usage\n\n```golang\npackage main\n\nimport \"github.com/mdp/smallfont\"\n\nfunc main() {\n  message := []byte(\"smallfont\")\n  img := image.NewRGBA(image.Rect(0, 0, 128, 32)) // 52Pi OLED size\n  ctx := smallfont.Context{\n    Font:  smallfont.Font8x8,\n    Dst:   img,\n    Color: color.Black,\n  }\n  err := ctx.Draw(message, 0, 0)\n  if err != nil {\n    fmt.Println(err)\n  }\n  f, _ := os.OpenFile(\"out.png\", os.O_CREATE|os.O_RDWR, 0644)\n  defer f.Close()\n  png.Encode(f, img)\n}\n```\n\n## License\n\nMIT - Do with this as you please\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fsmallfont","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdp%2Fsmallfont","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fsmallfont/lists"}