Latest version | 0.7.2 |
---|---|
Minimum Core | 0.7.9 |
Compatible Core | 10 |
Last updated | 2 years ago |
Created | 2 years ago |
Authors |
|
Languages |
English Français Polski 日本語 |
Systems | All systems |
Project source | Project URL |
Report bugs | Bug tracker URL |
Read-me | Readme URL |
Changelog | Changelog URL |
License | License URL |
Facilitates using Custom Fonts in Journal Entries, Text Drawings on the canvas, or for the entire UI! You can upload your own font or load a font directly from Google Fonts.
Go to module settings and set the font families you want to use. It's recommended to only use fonts from Google Fonts or in your font directory so that's it's available for all users, but you can enter locally installed fonts as well.
Using fonts from Google Fonts requires connection to Internet. You cannot load more than 100 fonts from Google Fonts. You also cannot load more than 50 fonts from more than 50 folders in your local fonts directory.
Check that you have spelled the font exactly the same as on Google Fonts or as the name of the file in your fonts folder.
If your drawings don't update, run the following in a script macro or the browser console (F12):
canvas.drawings.placeables.filter(d => d.data.type === 't').forEach(d => d.draw());
If you are using The Forge, you need to create a folder in the Asset library first (try calling it fonts
, for example) and then select that folder in the file picker in the module settings.
For developers and content creators, there is a button in module settings to download a CSS file that you can include in your package (under the CC0 license). To use this file, add this to your package's folder and put a styles
field in your manifest containing the name of this file. Before doing this, it's suggested that you set Custom Fonts' local folder setting to a folder within your package's folder so that this button generates the correct paths. Don't forget to include all of the local font files when distributing!
You can specify presets by adding the settings values to your module's manifest flags. See the example module. It's important to note that the "fonts"
field must contain valid font names from Google Fonts and that the "directory"
field is relative to the module's folder.
Known presets will be listed here:
Please let me know if you have any questions about how to create a preset or if you have created a preset which you would like added to the list!
Come hang out on my Discord server if you have questions, suggestions, or need help.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: custom-fonts or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.