docker linux does not pick up the necessary fonts (Times New Roman) looked at the forum for information, used all the recommendations that I found, including CustomFontFilePaths - it does not help. At the same time, if you convert docx to pdf everything is ok, but with xlsx - a problem
- Code: Select all
workbook.CustomFontFilePaths = new string[]
{
"/usr/share/fonts/truetype/msttcorefonts/times.ttf",
"/usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf",
"/usr/share/fonts/truetype/msttcorefonts/Times_New_Roman.ttf",
"/usr/share/fonts/truetype/msttcorefonts/georgiab.ttf"
};
Attached source file and converted via docker. It is clearly seen that the font is not matched. (sample.zip).
Thank you.