Forum Discussion

sandeep07's avatar
sandeep07
Frequent Visitor
1 year ago
Solved

Custom Font in Power BI Embed Not Displaying for End Users

Hi Community,

I'm embedding a Power BI report using Power BI Embedded, and I’ve applied a custom font by modifying the theme with a custom JSON file.

Here’s what I did:

  • Added the custom font in the textClasses section of the theme JSON.
  • Applied it in Power BI Desktop – works fine on my machine.
  • Published and embedded the report via Power BI Embedded.
  • However, end users don't see the custom font, and it defaults to something else.

My Goal:
Have the report render the custom font consistently for all viewers when embedded.

What I Tried:

  • Verified the theme is applied correctly.
  • Font is installed on my local machine.
  • Tested in different browsers.
  • Ensured users have access to the embed link.

Question:
How can I ensure that custom fonts are rendered correctly for all users in an embedded Power BI report?

Is there a way to bundle the font or load it via a CDN?

 

 

Any help or best practices would be appreciated.

Thanks!

  • Hi sandeep07  You can try by hosting the font on a CDN or public URL. Update your theme JSON to reference the font's URL in the externalFonts section. Ensure the server hosting the font supports the correct MIME type and allows CORS. 

3 Replies

  • Hi sandeep07  You can try by hosting the font on a CDN or public URL. Update your theme JSON to reference the font's URL in the externalFonts section. Ensure the server hosting the font supports the correct MIME type and allows CORS. 

  • v-saisrao-msft's avatar
    v-saisrao-msft
    Community Support

    Hi sandeep07,
    I wanted to check if you had the opportunity to review the information provided by Akash_Varuna. Please feel free to contact us if you have any further questions. If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you.

  • Hi sandeep07 

     

    As far as I'm aware, when using custom fonts, those fonts have to be installed on the local PC. And that is why, if the change is not working for you,