Prerequisite
1. How to check for the fonts to see if they exist or not
âC:\Windows\Fontsâ
2. How to install the font

Implementation


{
ânameâ: âCustomâ,
âtextClassesâ: {
âlabelâ: { âfontFaceâ: âArialâ },
âcalloutâ: { âfontFaceâ: âArialâ },
âtitleâ: { âfontFaceâ: âArialâ },
âheaderâ: { âfontFaceâ: âArialâ }
}
}
{
ânameâ: âRobotoâ,
âtextClassesâ: {
âlabelâ: { âfontFaceâ: â Roboto â },
âcalloutâ: { âfontFaceâ: â Roboto â },
âtitleâ: { âfontFaceâ: â Roboto â },
âheaderâ: { âfontFaceâ: â Roboto â }
}
}


Workaround
Occasionally it might happen that even after importing the JSON file, font doesnât get applied to all the visuals simultaneously. You might observe few visuals are unchanged. In such situations, we have a perfect workaround (note that custom fonts work perfectly fine for new visuals).
- Occasionally it might happen that even after importing the JSON file, font doesnât get applied to all the visuals simultaneously. You might observe few visuals are unchanged. In such situations, we have a perfect workaround (note that custom fonts work perfectly fine for new visuals).
- Select the visual and under the home tab, choose format painter

- Use the brush to paint over a selection of text or graphics to apply the formatting. This only works once. To change the format of multiple selections in your document, you must first double-click Format Painter.

- Follow Ignatiuz for more such interesting hands-on articles that can transform the way you work.