Changes between Initial Version and Version 1 of Ticket #59166
- Timestamp:
- 09/11/2023 09:44:05 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #59166 – Description
initial v1 3 3 This ticket is for tracking the merge of the Font Library from Gutenberg into Core. 4 4 5 == What is Font Library?5 == What is the Font Library? 6 6 7 7 Font Library is a font manager for WordPress, similar to the Media Library. It provides a user interface and workflow experience for users to manage the fonts they want on globally used on their website. … … 11 11 The list of installed fonts and their assets are site-wide available and the users can select the fonts activated (available in the editor) for each theme. 12 12 13 Using the Font Library theusers can:13 Using the Font Library users can: 14 14 15 15 * Install fonts 16 * Install local fonts 16 17 * Install Google fonts 17 * Install localfonts18 * Activate/deactivate fonts 18 19 * Uninstall fonts 19 * Activate/deactivate fonts20 20 21 21 == How it works: 22 - **Install fonts:** add the font family definition to the installed fonts. list and download the font face assets to `/wp-content/uploads/fonts`). 23 - **Install Google fonts:** add the font families definition to the list and downloads the Google fonts assets to `/wp-content/uploads/fonts`. The assets from Google are called just at the time of previewing fonts in the font library. After the fonts is installed no other request to Google or other third-party servers will be made because the font assets are hosted locally in the `/wp-content/uploads/fonts` folder. 24 - **Install local fonts** The font assets are uploaded from the users devices to the `wp-content/uploads/fonts` folder and the font definitions are added to the list of installed fonts. 22 23 - **Install fonts:** add the font family definition to the installed fonts. List and download the font face assets to `/wp-content/fonts/` ([https://github.com/WordPress/gutenberg/pull/54122 see GB 54122]). 24 - **Install local fonts:** The font assets are uploaded from the users devices to the `/wp-content/fonts/` folder and the font definitions are added to the list of installed fonts. 25 - **Install Google fonts:** add the font families definition to the list and downloads the Google fonts assets to `/wp-content/fonts/`. The assets from Google are called just at the time of previewing fonts in the Font Library. After the fonts is installed no other request to Google or other third-party servers will be made because the font assets are hosted locally in the `/wp-content/fonts/` folder. 25 26 - **Activate/deactivate fonts:** add/remove font-family definitions from the font families list defined in Global Styles/Settings. The active fonts are the fonts that will be available to use in the editor. As we are using the Global Styles data the users are able to activate/deactivate fonts for each theme. 26 - **Uninstall fonts:** remove the font family definition from the list of installed fonts and delete the assets from `/wp-content/ uploads/fonts` folder. Only the non-active fonts from the user-installed fonts can be uninstalled. Theme fonts will be able to be deactivated but not uninstalled.27 - **Uninstall fonts:** remove the font family definition from the list of installed fonts and delete the assets from `/wp-content/fonts/` folder. Only the non-active fonts from the user-installed fonts can be uninstalled. Theme fonts will be able to be deactivated but not uninstalled. 27 28 28 29 == References: