Dear Aspose team,
When we use PDF to convert pictures, the Chinese font is lost, and the generated pictures display all the Chinese random code. Please tell us how to write code to solve this problem.
You are facing this problem because of missing fonts in your environment. This could be fixed by installing the font being used in the PDF document.
Please install the font in default font directory or set a path to the font using the FontRepository.addLocalFontPath() or below function with Aspose.PDF for Java 19.2.
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.