Creates a new Font object with specified attributes, allowing for detailed customization of text appearance in the workbook. Provides the ability to define fonts with specific names, sizes, styles, and colors, which can then be applied to cell styles.
fontName
A string specifying the name of the font.
size
A double representing the font size in points.
fontStyle
A FontStyle enumeration value indicating the style of the font.
color
A string specifying the color of the font.
A new instance of the Font object configured with the specified font attributes.