Set Default Font while rendering spreadsheet to images with Golang via C++

Set Default Font while rendering spreadsheet to images

The following sample code creates a workbook, adds some text in cell A4 of the first worksheet, and sets its font to an invalid or non‑existent font. Then, it takes two images of the worksheet. The first image is generated by setting the ImageOrPrintOptions.GetDefaultFont() property to Courier New, and the second image is generated by setting the same property to Times New Roman.

This is the output image after setting the ImageOrPrintOptions.GetDefaultFont() property to Courier New.

todo:image_alt_text

This is the output image after setting the ImageOrPrintOptions.GetDefaultFont() property to Times New Roman.

todo:image_alt_text

Sample Code