When I try and convert an Excel spreadsheet to PDF, the spreadsheet is using the wrong fonts. I have injected a font folder into the docker image and it is showing up in the container with all the ttf, tc, etc. fonts. This docker container is the latest and running on Linux.
I am using the following endpoint (which does work, but bad fonts) “http://10.0.10.115:47900/v3.0/cells/convert/pdf?checkExcelRestriction=true”
Is there a reason the fonts are not registering? Is there something I need to do manually to get them to register? I have searched and seen topics related to slides, etc. that I have tried - to no avail.
@trever.jones
If the installed fonts cannot be found, you can use the FontConfigs.SetFontFolder and FontConfigs.SetFontFolders methods to set custom font folders. Regarding fonts configuration for rendering excel file, please refer to the following document.
@John.He These methods are not exposed via the Rest API for Cells (Cloud). I am using the Docker that is created by Aspose for self-hosting (Cloud). I also was not able to use the aspose-php-cloud API, since it does not work for the docker container. I am just doing a POST request to the URL shown previously.
@trever.jones
Thank you for your feedback. I am moving your thread to respective Reporting Services section where staff member will assist you accordingly soon.
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.