Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59166


Ignore:
Timestamp:
09/11/2023 09:44:05 PM (17 months ago)
Author:
ironprogrammer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59166 – Description

    initial v1  
    33This ticket is for tracking the merge of the Font Library from Gutenberg into Core.
    44
    5 == What is Font Library?
     5== What is the Font Library?
    66
    77Font 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.
     
    1111The 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.
    1212
    13 Using the Font Library the users can:
     13Using the Font Library users can:
    1414
    1515* Install fonts
     16   * Install local fonts
    1617   * Install Google fonts
    17    * Install local fonts
     18* Activate/deactivate fonts
    1819* Uninstall fonts
    19 * Activate/deactivate fonts
    2020
    2121== 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.
    2526- **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.
    2728
    2829== References: