{"id":13862045,"url":"https://github.com/jcs-elpa/use-ttf","last_synced_at":"2025-07-11T11:35:51.601Z","repository":{"id":60521434,"uuid":"134386433","full_name":"jcs-elpa/use-ttf","owner":"jcs-elpa","description":"Keep font consistency across different OSs.","archived":false,"fork":false,"pushed_at":"2025-04-23T00:12:26.000Z","size":912,"stargazers_count":16,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-02T01:38:01.353Z","etag":null,"topics":["emacs","font","installer","truetype","ttf"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","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/jcs-elpa.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null},"funding":{"github":["jcs-elpa","jcs090218"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2018-05-22T08:44:13.000Z","updated_at":"2025-04-23T00:12:30.000Z","dependencies_parsed_at":"2024-02-01T06:24:40.045Z","dependency_job_id":"473d12de-229d-4b95-862a-72ccc1bc2193","html_url":"https://github.com/jcs-elpa/use-ttf","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jcs-elpa/use-ttf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs-elpa%2Fuse-ttf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs-elpa%2Fuse-ttf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs-elpa%2Fuse-ttf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs-elpa%2Fuse-ttf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcs-elpa","download_url":"https://codeload.github.com/jcs-elpa/use-ttf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcs-elpa%2Fuse-ttf/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264795839,"owners_count":23665241,"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":["emacs","font","installer","truetype","ttf"],"created_at":"2024-08-05T06:01:35.570Z","updated_at":"2025-07-11T11:35:51.575Z","avatar_url":"https://github.com/jcs-elpa.png","language":"Emacs Lisp","funding_links":["https://github.com/sponsors/jcs-elpa","https://github.com/sponsors/jcs090218","https://www.paypal.me/jcs090218","https://www.patreon.com/jcs090218"],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![MELPA](https://melpa.org/packages/use-ttf-badge.svg)](https://melpa.org/#/use-ttf)\n[![MELPA Stable](https://stable.melpa.org/packages/use-ttf-badge.svg)](https://stable.melpa.org/#/use-ttf)\n\n# use-ttf\n\u003e Keep font consistency across different OSs.\n\n[![CI](https://github.com/jcs-elpa/use-ttf/actions/workflows/test.yml/badge.svg)](https://github.com/jcs-elpa/use-ttf/actions/workflows/test.yml)\n[![Activate](https://github.com/jcs-elpa/use-ttf/actions/workflows/activate.yml/badge.svg)](https://github.com/jcs-elpa/use-ttf/actions/workflows/activate.yml)\n\nI created this for people who have problems with their fonts not working\nover different OS’s due to different installation methods used in different\nOS’s. The purpose of this package is to automatically install font files (.ttf)\nbased on the OS you’re using. Saving you time from manually installing fonts.\n\n| Windows 10 / Ubuntu Mono                  | Ubuntu 14 / Classic Console                      | Mac OS / Ubuntu Mono                      |\n|------------------------------------------:|:------------------------------------------------:|:-----------------------------------------:|\n|\u003cimg src=\"./etc/ubuntu-mono-on-win10.png\"/\u003e|\u003cimg src=\"./etc/classic-console-on-ubuntu14.png\"/\u003e|\u003cimg src=\"./etc/ubuntu-mono-on-maxos.png\"/\u003e|\n\n\n\u003e [!CAUTION]\n\u003e\n\u003e **MAKE SURE EMACS HAS THE PERMISSION TO INSTALL FONTS!**\n\n## 📝 Configuration\n\nList of TTF fonts you want to use and install in the currnet OS.\n```el\n;; I just have all my fonts inside my '.emacs.d' directory for sake of simplicity.\n;; But you can have your font at any directory you want.\n(setq use-ttf-default-ttf-fonts '(;; \u003e\u003e Classic Console \u003c\u003c\n                                  \"~/.emacs.d/fonts/clacon.ttf\"\n                                  ;; \u003e\u003e Ubuntu Mono \u003c\u003c\n                                  \"~/.emacs.d/fonts/UbuntuMono-R.ttf\"))\n```\n\nName of the font you want to use as default. I choose `Ubuntu Mono` as my\ndefault font.\n```el\n(setq use-ttf-default-ttf-font-name \"Ubuntu Mono\")\n```\n\n## 🔧 Usage\n\nInstall fonts into the current OS. The more .ttf file you try to install might\ntake a while, but this function does not block the Emacs' process itself.\nFurthermore, you will want to call `use-ttf-set-default-font` function after\ninstall all the fonts in the `use-ttf-default-ttf-fonts` list.\n```el\nM-x use-ttf-install-fonts\n```\n\nUse the font by `use-ttf-default-ttf-font-name` variable. This will actually\nset your Emacs to your target font.\n```el\nM-x use-ttf-set-default-font\n```\n\n## 🛠️ Contribute\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)\n[![Elisp styleguide](https://img.shields.io/badge/elisp-style%20guide-purple)](https://github.com/bbatsov/emacs-lisp-style-guide)\n[![Donate on paypal](https://img.shields.io/badge/paypal-donate-1?logo=paypal\u0026color=blue)](https://www.paypal.me/jcs090218)\n[![Become a patron](https://img.shields.io/badge/patreon-become%20a%20patron-orange.svg?logo=patreon)](https://www.patreon.com/jcs090218)\n\nIf you would like to contribute to this project, you may either\nclone and make pull requests to this repository. Or you can\nclone the project and establish your own branch of this tool.\nAny methods are welcome!\n\n### 🔬 Development\n\nTo run the test locally, you will need the following tools:\n\n- [Eask](https://emacs-eask.github.io/)\n- [Make](https://www.gnu.org/software/make/) (optional)\n\nInstall all dependencies and development dependencies:\n\n```sh\neask install-deps --dev\n```\n\nTo test the package's installation:\n\n```sh\neask package\neask install\n```\n\nTo test compilation:\n\n```sh\neask compile\n```\n\n**🪧 The following steps are optional, but we recommend you follow these lint results!**\n\nThe built-in `checkdoc` linter:\n\n```sh\neask lint checkdoc\n```\n\nThe standard `package` linter:\n\n```sh\neask lint package\n```\n\n*📝 P.S. For more information, find the Eask manual at https://emacs-eask.github.io/.*\n\n## ⚜️ License\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\nSee [`LICENSE`](./LICENSE.txt) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcs-elpa%2Fuse-ttf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcs-elpa%2Fuse-ttf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcs-elpa%2Fuse-ttf/lists"}