Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Wed Jul 28, 2021 6:47 am

Hello, there is a problem:
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.
Attachments
sample.zip
(29.72 KiB) Downloaded 302 times

s.shevyakov
 
Posts: 18
Joined: Thu Jul 15, 2021 8:42 am

Wed Jul 28, 2021 11:04 am

Hello,

Thanks for your inquiry.
I tested your case and did reproduce your issue. I have logged it in our bug tracking system with the ticket SPIREXLS-3377. If there is any update, we will let you know. Apologize for the inconvenience caused.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed Jul 28, 2021 12:02 pm

Thank you very much, forgot to mention that I'm using Spire.Office 6.7.0, will there be updates for Spire.Office as well?

s.shevyakov
 
Posts: 18
Joined: Thu Jul 15, 2021 8:42 am

Thu Jul 29, 2021 1:16 am

Hello,

Thanks for providing more details, and I am sorry that I cannot give you an estimate of when the Spire.Office will be updated at present. Anyway, we will inform you immediately as there is any update.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Thu Jul 29, 2021 5:56 am

Thank you very much, I will wait

s.shevyakov
 
Posts: 18
Joined: Thu Jul 15, 2021 8:42 am

Fri Aug 13, 2021 7:47 am

s.shevyakov wrote:Thank you very much, I will wait


Good afternoon, I would like to know if there have been any updates on the above issue, in particular on the spire.office 6.7.0 library?

The fact is that we have purchased a license for this library, but we cannot yet use it in full.

Thanks

Best regards, Stanislav Shevyakov

s.shevyakov
 
Posts: 18
Joined: Thu Jul 15, 2021 8:42 am

Fri Aug 13, 2021 8:36 am

Hello,

Thanks for your follow up.
I just check the status of the issue SPIREXLS-3377 but found that it has not been solved. Our Dev team is still investigating your issue. Anyway, I have requested them to share any possible ETA at their earliest time. We will inform you as soon as there is any update.
Besides, we don't find the purchase information related to your register email. Could you please provide your Order number or purchase email so that we could record your purchase information?

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Mon Aug 16, 2021 6:46 am

Hello,

Our number: Order No.9819

Best Regards, Stanislav Shevyakov

s.shevyakov
 
Posts: 18
Joined: Thu Jul 15, 2021 8:42 am

Mon Aug 16, 2021 7:52 am

Hello Stanislav,

Thank you very much for sharing your purchase information.
As for the issue SPIREXLS-3377, we will keep you informed if there is any update.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Tue Aug 24, 2021 10:56 am

Hello, I would like to clarify with you how things are progressing on the SPIREXLS-3377 problem. Are there any changes? Thank you.

s.shevyakov
 
Posts: 18
Joined: Thu Jul 15, 2021 8:42 am

Wed Aug 25, 2021 2:49 am

Hello,

Thanks for your follow up.
I just checked the status of the issue SPIREXLS-3377 but found that it has not been solved. Our Dev team is still investigating your issue.
At same time, to ensure that we can verify further after the problem is resolved, please tell us your project target framework (e.g. .NET Core 2.2), your docker version (e.g. 20.10.7) and your OS information (e.g. Centos7, 64bit).
Besides, our Spire.XLS also provides a way to directly set the directory of the custom font files. We recommend you try to see if this method can solve your issue (font files have been attached).
Code: Select all
            workbook.CustomFontFileDirectory = new string[] { "fonts/" };


Sincerely,
Brian
E-iceblue support team
Attachments
fonts.zip
(1.67 MiB) Downloaded 261 times
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed Aug 25, 2021 7:13 am

Hello,
Thank you, we will try to solve the problem in the specified way.

I am sending you information on versions.
-Target project version .Net 5.0
-Docker version 19.03.11
-OC: Debian GNU / Linux 10 64-bit

Best Regards, Stanislav Shevyakov

s.shevyakov
 
Posts: 18
Joined: Thu Jul 15, 2021 8:42 am

Wed Aug 25, 2021 10:33 am

Hello,

Thanks for providing more information.
We will keep you informed if the issue SPIREXLS-3377 has been resolved.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.XLS