Did you mean adding a font from google that isn’t currently added on the customizer?
If that’s the case, try this:
https://docs.generatepress.com/article/customizing-the-google-font-list/
It’s the same link Leo provided on the thread.
The last PHP snippet on the documentation allows you to “localize” a font to the customizer.
Here’s how to add PHP – https://docs.generatepress.com/article/adding-php/
Note: If its not from Google and is from something else, you’ll have to create your own @font-face import on CSS and add it in on the customizer this way.
add_filter( 'generate_typography_default_fonts','tu_add_system_fonts' );
function tu_add_system_fonts( $fonts ) {
$fonts[] = 'Font Family name here';
return $fonts;
}
Where $fonts[]
value is the font-family
property value of the @font-face you’ve imported.