void Test()
{
var doc = new Aspose.Pdf.Document(@"C:\Users\Administrator\Desktop\test\test.pdf");
string outputFileName = @"C:\Users\Administrator\Desktop\test\out.png";
using (var imageStream = new FileStream(outputFileName, FileMode.Create))
{
var resolution = new Aspose.Pdf.Devices.Resolution(300);
var pngDevice = new Aspose.Pdf.Devices.PngDevice(resolution);
pngDevice.RenderingOptions.DefaultFontName = "Arial Unicode MS";
pngDevice.Process(doc.Pages[1], imageStream);
}
}
Would you kindly make sure that the fonts are installed in your system that support Chinese characters? You can install Arial Unicode MS and SimSun fonts and try again. In case issue still persists, please let us know.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PDFNET-56389
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
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.