{"id":13645358,"url":"https://github.com/ayoy/fontedit","last_synced_at":"2025-04-06T03:07:19.827Z","repository":{"id":48782884,"uuid":"237691475","full_name":"ayoy/fontedit","owner":"ayoy","description":"A desktop app to import, edit and export fonts as byte arrays for use in embedded systems","archived":false,"fork":false,"pushed_at":"2024-08-08T12:10:42.000Z","size":1659,"stargazers_count":336,"open_issues_count":9,"forks_count":24,"subscribers_count":10,"default_branch":"develop","last_synced_at":"2025-03-30T02:05:26.416Z","etag":null,"topics":["embedded","epaper","font","generator","lcd","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://kapusta.cc/fontedit","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ayoy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-02-01T23:16:14.000Z","updated_at":"2025-03-12T18:39:25.000Z","dependencies_parsed_at":"2024-11-22T12:02:44.453Z","dependency_job_id":null,"html_url":"https://github.com/ayoy/fontedit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoy%2Ffontedit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoy%2Ffontedit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoy%2Ffontedit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ayoy%2Ffontedit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ayoy","download_url":"https://codeload.github.com/ayoy/fontedit/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427006,"owners_count":20937201,"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":["embedded","epaper","font","generator","lcd","raspberry-pi"],"created_at":"2024-08-02T01:02:33.970Z","updated_at":"2025-04-06T03:07:19.811Z","avatar_url":"https://github.com/ayoy.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# FontEdit\n\nFontEdit is a desktop application that allows you to convert general-purpose \nfixed-width desktop fonts to byte array representation that's suitable for\nuse in embedded systems displays.\n\nIt's written in C++ with Qt UI and was tested on Windows, Linux and MacOS.\n\nRead more about it in [the blog post](https://kapusta.cc/2019/03/20/fontedit/).\n\n![FontEdit](https://kapusta.cc/assets/fontedit/imported_font.png)\n\n## Features\n\nWith FontEdit you can:\n\n* import fonts from the operating system - to load a custom font, you should\n  first register it in your OS,\n* edit individual font glyphs after importing - automatic import is a best-effort\n  operation and although the font should be usable right after importing, you\n  might want to tweak it so that it looks better,\n* add new glyphs to a font document - either by copying an existing glyph, starting \n  from scratch or adding a glyph from a character you input (useful for adding\n  non-ASCII characters to your font),\n* export the font as source code (in a form of byte array) suitable for Arduino,\n  C/C++ or Python,\n* save your progress to a file - the font document file is cross-platform so you can\n  e.g. import and edit it on MacOS and then move to RPi and export the code from there,\n* as of 1.1.0 you can do partial exports, i.e. export only a bunch of font characters\n  that you really need for your application (read more in \n  [this blog post](https://kapusta.cc/2020/05/31/fontedit-1-1-0)).\n\n### Font Editor\n\nYou can edit font glyphs with a minimal editor that's controlled with a mouse\nand keyboard. Click and drag the mouse to set pixels (making them black), hold\nAlt or Ctrl (⌘) to erase. Use touchpad scroll (mouse wheel) with Ctrl (⌘) to zoom\nthe editor canvas.\n\nYou can also reset the current glyph or the whole font to their initial state\n(from latest save). The editor supports Undo/Redo for most operations.\n\n### Source Code Export\n\nThe font data can be exported to:\n\n* a C file (also suitable for use with C++),\n* an Arduino-specific C file (using PROGMEM),\n* a Python list or bytes object (both compatible with Python 2.x/3.x and MicroPython).\n\nYou can switch between MSB and LSB mode, invert all the bits, and conditionally include\nline spacings in font definition (not recommended unless you have a very good reason\nfor it). The tab size can be configured.\n\n## Getting FontEdit\n\n### Packages\n\nThe [Releases GitHub page](https://github.com/ayoy/fontedit/releases) contains\npackages for:\n* Ubuntu/Debian (amd64),\n* Raspbian Buster (armhf),\n* MacOS,\n* Windows.\n\n### Building from source\n\nPrerequisites:\n\n* Qt (tested with \u003e= 5.9)\n* cmake (3.9 or newer)\n* C++ compiler that supports C++17\n\nFollow these steps to build the app from the source code:\n\n1. Clone the Git repository:\n\n    ```\n    $ git clone https://github.com/ayoy/fontedit\n    $ cd fontedit\n    ```\n\n2. Check out Git submodules:\n\n    ```\n    $ git submodule update --init\n    ```\n\n3. Build with CMake:\n\n    ```\n    $ mkdir build\n    $ cd build\n    $ cmake -DCMAKE_BUILD_TYPE=Release ..\n    $ make\n    ```\n\n4. (Optionally) Install on Linux with: `make install` or create a dmg\n  image on MacOS with `make dmg`.\n\n## Bugs, ideas, improvements\n\nPlease report bugs and feature requests via [GitHub Issues](https://github.com/ayoy/fontedit/issues) or as a [pull request](https://github.com/ayoy/fontedit/pulls).\n\n## License\n\n© 2020 Dominik Kapusta\n\nThis app is distributed in accordance with GPL v3. See [LICENSE](https://github.com/ayoy/fontedit/blob/master/LICENSE) for details.\nThe app uses icons from [www.flaticon.com](https://www.flaticon.com) made by\n[Smashicons](https://www.flaticon.com/authors/smashicons),\n[Freepik](https://www.flaticon.com/authors/freepik) and\n[Pixel perfect](https://www.flaticon.com/authors/pixel-perfect).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayoy%2Ffontedit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fayoy%2Ffontedit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fayoy%2Ffontedit/lists"}