Configuring a Custom Font to set in Theme Settings

Hey! I think I just figured out how to make it work!

1. As suggested by r_levine you should rename fonts.json to font.json

2. Put the font.json file inside your AzoSans2 folder (one font.json file per font)

3. In theme.json file, add

"custom_fonts": [ "./fonts/AzoSans2" ]

as expected. It will then discover the font.json file inside the directory.

4. In the fields.json file of the theme (the one in the root of the theme folder), find your font object and then set the default object to

"default": { "fallback": "arial, sans-serif", "font": "Azo Sans 2", "font_set": "CUSTOM"}

I was kinda lucky with the

"font_set": "CUSTOM"property as I did not find it anywhere but guessed it!

Hope it helped, and maybe report the issue in the article you linked in your original post so the missing info is added to the doc.

Hope it helped :slightly_smiling_face: