nissl-lab / npoi

a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on autosize

prvacy opened this issue · comments

NPOI Version

2.6.2

File Type

  • XLSX
  • XLS
  • DOCX
  • XLSM
  • OTHER

Upload the Excel File

Doesn't matter

Reproduce Steps

  1. Call void AutoSizeColumn(int column, bool useMergedCells)

Issue Description

After calling authorize I get an exception: SixLabors.Fonts.FontException: No fonts found installed on the machine.
The exact place in code where the exception is thrown can be found on the screenshot attached.
Doesn't reproduce on the 2.5.6 version.

Screenshot

image

Hi, what is your OS version? Do you have any fonts installed?

Please read #981

duplicate with #1258