Headings And Body Theme Font

Headings and Body Theme Font in Excel

In Excel, select the Home tab, click on the font dropdown box, and you will see “Theme Fonts” with two theme fonts: Calibri Light (Headings) and Calibri (Body) at the top when using English region settings.

Theme Fonts

If Theme Font is selected, the font name will display differently in different regions. If you do not want the font to automatically change in different regions, don’t select the two Theme Fonts.

Changing Headings and Body Font Programmatically

With Aspose.Cells for Node.js via C++, we can check whether the default font is a theme font or set the theme font with Font.setSchemeType(FontSchemeType) method.

The following sample code shows how to manipulate the theme font.

Dynamically Get Local Theme Font

Sometimes, our servers and users' machines are not in the same region. How can we obtain the same font that users want for file processing?

We have to set the system regional settings before loading the file with LoadOptions.setRegion(CountryCode) method.

The following sample code shows how to get the local theme font.