https://github.com/flagrow/fonts
Easily add Google Fonts to your Flarum install
https://github.com/flagrow/fonts
flagrow flarum flarum-extension google-fonts
Last synced: 6 months ago
JSON representation
Easily add Google Fonts to your Flarum install
- Host: GitHub
- URL: https://github.com/flagrow/fonts
- Owner: flagrow
- License: mit
- Archived: true
- Created: 2017-07-05T03:15:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-01-05T23:17:56.000Z (over 7 years ago)
- Last Synced: 2025-02-21T23:17:23.884Z (over 1 year ago)
- Topics: flagrow, flarum, flarum-extension, google-fonts
- Language: PHP
- Homepage: https://discuss.flarum.org/d/6207-flagrow-fonts-easily-add-fonts-to-your-forum
- Size: 143 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Fonts by  [Flagrow](https://discuss.flarum.org/d/1832-flagrow-extension-developer-group), a project of [Gravure](https://gravure.io/)
[](https://github.com/flagrow/fonts/blob/master/LICENSE.md) [](https://packagist.org/packages/flagrow/fonts) [](https://packagist.org/packages/flagrow/fonts) [](https://www.patreon.com/flagrow) [](https://flagrow.io/join-discord)
Easily add Google Fonts to your Flarum install.
> Note: To work around an [issue with Flarum](https://github.com/flagrow/fonts/issues/4), we disable horizontal scrolling of editor controls on mobile.
> This could make it impossible to access some buttons while on a narrow screen.
## Install
Use [Bazaar](https://discuss.flarum.org/d/5151-flagrow-bazaar-the-extension-marketplace) or install manually:
composer require flagrow/fonts
## Usage
Before you start using the extension, create a [Google Fonts API Key](https://developers.google.com/fonts/docs/developer_api#identifying_your_application_to_google) and save it in the extension settings (you should automatically get a prompt after enabling the extension).
Go to the Admin panel > Fonts to enable fonts.
Use them in your posts with the `[font]` BBCode. For example:
[font=Fresca]Hello World[/font]
**Don't forget**: adding many fonts will increase your website size and load time.
Keep them to a minimum.
## Support our work
We prefer to keep our work available to everyone.
In order to do so we rely on voluntary contributions on [Patreon](https://www.patreon.com/flagrow).
## Security
If you discover a security vulnerability within Fonts, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed.
Please include as many details as possible. You can use `php flarum info` to get the PHP, Flarum and extension versions installed.
## Links
- [Flarum Discuss post](https://discuss.flarum.org/d/6207-flagrow-fonts-easily-add-fonts-to-your-forum)
- [Source code on GitHub](https://github.com/flagrow/fonts)
- [Report an issue](https://github.com/flagrow/fonts/issues)
- [Download via Packagist](https://packagist.org/packages/flagrow/fonts)
An extension by [Flagrow](https://flagrow.io/), a project of [Gravure](https://gravure.io/).