Thanks for supporting Fontsource!
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
This repository hosts the font files for the Fontsource project. If you would like to submit a new font, please follow these steps:
-
Before you submit a PR, please search the repository for an open or closed PR that relates to your submission.
-
Fork the fontsource/font-files repository (click the Fork button at the top right of this page).
-
Clone the repository locally before creating your own branch.
git clone https://github.com/fontsource/font-files.git git checkout -b my-font-branch main
-
Create your font submission using the Fontsource CLI.
- Run
pnpm install
in this repository to install the necessary dependencies or install the Fontsource CLI (@fontsource-utils/cli
) globally with the package manager of your choice. - Run
npx fontsource create
in the root of this repository and follow the necessary prompts. Ensure your submission matches the Fontsource Submission Guidelines. - Add the font files to the generated directory following the guidelines given in the CLI prompts.
- Move the package into the
fonts/other
directory. - Run
pnpm test
to check if your package has all the required files.
- Run
-
On GitHub, send a pull request to fontsource/font-files:main.
-
After your pull request is merged, you can safely delete your branch and pull changes from the main repository.
Fontsource only accepts fonts that have a public official source (preferably Github) and is licensed under the following licenses:
- SIL Open Font License (OFL-1.1)
- Apache License 2.0 (Apache-2.0)
- Ubuntu Font License (UFL-1.0)
- MIT License
- CC0-1.0 License
If you are unsure about the licensing of a font, please contact the font author.