You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an exception: SixLabors.Fonts.FontException: No fonts found installed on the machine.
I know it is a duplicate of #981, #1258 and #1259 but my case is on Windows OS and I don't find a solution for it.
I'm using: NPOI 2.7.2, SixLabors.Fonts 1.0.1
According to suggestion in the above issues, I run fc-list and I have many fonts installed but seems that SixLabors.Fonts doesn't find them. Maybe the cause is that (as stated by @ai3i3as it isn't compatible with .net 4.8.1)?
Is there a way to fix it? how can I "install" a font to be read by SixLabors.Font?
Or is there a workaround to auto size a column?
Thanks,
Vjncenzo
The text was updated successfully, but these errors were encountered:
My project DLL is built on .NET Framework 4.8.
I am using NPOI 2.7.0~2.7.2 (referencing the corresponding packages based on each version's declared dependencies).
The currently tested feasible results are shown in the table below, mainly due to issues caused by Microsoft packages.
After calling NPOI.XSSF.UserModel.XSSFSheet.AutoSizeColumn(Int32 column), the following error occurs:
Type: FontException
Message: No fonts found installed on the machine.
NPOI Version
2.7.2
File Type
Upload the Excel File
N/A
Reproduce Steps
Call void AutoSizeColumn(int column, bool useMergedCells)
Issue Description
I get an exception: SixLabors.Fonts.FontException: No fonts found installed on the machine.
I know it is a duplicate of #981, #1258 and #1259 but my case is on Windows OS and I don't find a solution for it.
I'm using: NPOI 2.7.2, SixLabors.Fonts 1.0.1
According to suggestion in the above issues, I run
fc-list
and I have many fonts installed but seems that SixLabors.Fonts doesn't find them. Maybe the cause is that (as stated by @ai3i3as it isn't compatible with .net 4.8.1)?Is there a way to fix it? how can I "install" a font to be read by SixLabors.Font?
Or is there a workaround to auto size a column?
Thanks,
Vjncenzo
The text was updated successfully, but these errors were encountered: