Converting a docx to PDF - custom embedded fonts not being used

Mark Macumber 1 Reputation point

I am using the Graph API convert content API (v1) to convert my SharePoint Online hosted files (docx) into PDF files.

The conversion has been working fine to date, however, I have now added custom fonts (proprietary) into the word doc - then I save the word doc with the font embedded.

I can open the docx file in SharePoint online and see the custom font - but when I convert the docx file to PDF using the Convert content API ( the font is dropped from the PDF and it reverts back to Calibri?

Is this a known limitation, are ther any work arounds that are in place for me to use custom fonts? This is critical for our clients brand to proceed.

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,825 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MichaelHan-MSFT 18,016 Reputation points

    Hi @Mark Macumber ,

    As far as I know, currently we don't have option to explicitly specify which font you can use with Graph API for conversion. You may try to sumit the request in Microsoft 365 Developer Platform:, so that it can be considered to be implemented.

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.