Convert PPT to PNG With Custom Japanese Fonts With GroupDocs.Conversion REST API

What is the name of the font used in the PowerPoint image converter?

I would like to use Meiryo or MS PGothic.

@maecyo

Please note our Cloud servers use Windows Server 2016 as the OS and fonts available with this OS are installed. I have converted the attached PowerPoint to PNG and unable to notice any issue. Please try your conversion and please let us know if you face any issues along with your input and output document.
TestText.zip (44.6 KB)

Thanks for the answer.

I can see it clearly when I convert to PDF.
“MS PGothic” will be converted to “Microsoft Jhenghei”.
This font is the Simplified Chinese version and is not used by Japanese companies.

“powerpoint_font_MS PGothic.PNG” is the screenshot when editing.
“TestText_ng_font_microsoft jhenghei.pdf” is the converted PDF.

Why is it converted to Simplified Chinese version?

TestText.zip (66.8 KB)

@maecyo

Thanks for your feedback. We are investigating the issue. Meanwhile, please confirm that you are using PowerPoint Image converter app or GroupDocs.Conversion Cloud API.

Thank you for your answer.

The “PowerPoint Image converter app” is not a problem.
“GroupDocs.Conversion Cloud API” has a problem.

Chinese or Korean fonts are being used.

result.zip (45.6 KB)

@maecyo

Actually, I asked it be sure for your issue resolution. I have logged a ticket CONVERSIONCLOUD-403 for the support of MS PGothic. We will update you as soon as it is fixed.

1 Like

@maecyo

We have introduced the custom fonts feature in GroupDocs.Conversion Cloud 20.4 release. So now you can convert PPT / PPTX to PNG With Custom Japanese Fonts. You need to upload a custom font to a cloud folder and pass its path in the API call. Please check the following documentation for more details.

Convert PowerPoint to PNG with Custom Fonts

// First get JSON Web Token
// Please get your Client Id and Client Secret from https://dashboard.groupdocs.cloud/applications. Kindly place Client Id in "client_id" and Client Secret in "client_secret" argument.

curl -v "https://api.groupdocs.cloud/connect/token" \
-X POST \
-d "grant_type#client_credentials&client_id#xxxxx-xxxx-xxxx-xxxx-xxxx&client_secret#xxxxxxxxxxxxx" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json"

// cURL example to convert document
curl -v "https://api.groupdocs.cloud/v2.0/conversion/conversion" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer <jwt token>"
-d "{
        'FilePath': 'Presentation/uses-custom-font.pptx',
        'Format': 'png',        
        'OutputPath': 'Output',
        'FontsPath': 'font/ttf'
    }"