Archived topic
Adding Custom Font
3 replies · Started by Balendu on December 11, 2021
Hey,
I love the new typography manager that help me to manage gogle fonts only. But I wanted to add new fonts locally that I have puchased. How can I achieve this.
Eg, segoe ui font uplaod in GP latest Version.
Hi Balendu,
This article introduced how to add local fonts: https://docs.generatepress.com/article/adding-local-fonts/
Let me know if there's anything unclear to you :)
Hey,
Tutorial refers for only google font. But I wanted to upload premium purchased font.
Hi there,
the principles are the same whether it be a Google or another Font.
The font files still need to be uploaded.
The @font-face still needs to be generated.
There are several services online that will convert fonts to .woff files and create the @font-face for you. Like this one:
https://www.fontsquirrel.com/tools/webfont-generator
Just make sure that the src urls in your @font-face match the location of the fonts.