I’m working on a project and they updated the libraries and now I get this error
SixLabors.Fonts.FontException: No fonts found installed on the machine. at NPOI.SS.Util.SheetUtil.IFont2FontImpl(FontCacheKey cacheKey) at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) at NPOI.SS.Util.SheetUtil.IFont2Font(IFont font1) at NPOI.SS.Util.SheetUtil.GetDefaultCharWidth(IWorkbook wb) at NPOI.SS.Util.SheetUtil.GetColumnWidth(ISheet sheet, Int32 column, Boolean useMergedCells, Int32 firstRow, Int32 lastRow, Int32 maxRows) at NPOI.SS.Util.SheetUtil.GetColumnWidth(ISheet sheet, Int32 column, Boolean useMergedCells) at NPOI.HSSF.UserModel.HSSFSheet.AutoSizeColumn(Int32 column, Boolean useMergedCells)
This problem happened when they updated the libraries
New contributor
jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.