请注意,将电子表格呈现为 PDF 或图像时必须使用字体,并且电子表格中使用的字体必须在操作系统的默认字体目录中可访问/可用。如果您有自定义字体文件夹,那么您应该确保底层字体位于自定义字体文件夹中,并且您已在开始时和使用其他 API 之前在代码中设置了字体目录。 如果所需的字体不存在,Aspose.Cells API 将尝试用可用的字体替换所需的字体。 Linux 操作系统上似乎没有所需的字体。 请参阅 配置字体 文档供您参考。
linux下好像没有中文字体。 我之前问过您,电子表格中使用的字体必须在操作系统的字体目录中可用。 因此,您可以将字体复制到相应的文件夹中。 如果所需的字体不存在,Aspose.Cells API 将尝试用可用的字体替换所需的字体。 Linux 操作系统上似乎不提供所需的字体。 请参阅【配置字体】文档供您参考。 请务必将代码行添加到代码段中,以指定包含这些字体的文件夹。
在 Linux 上提供底层字体(e.g., .ttf 文件)并在代码中指定字体文件夹后。 然后,再次尝试您的场景/案例。 如果您仍然发现问题,请提供在 Linux 上生成的图表的输出图像。 我们将尽快调查您的问题。
The issues you have found earlier (filed as CELLSNET-55408) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.