Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Custom font not working when loading via JSON file

Most custom fonts work for me when customizing JSON files. I am trying to load two fonts, Avenir Next World and Avenir Next World Demi. Avenir Next World Works fine. Avenir Next World Demi does not work and defaults to Times New Roman.

 

This is the JSON code I am using for formatting a table. This works fine to set the column headers to Avenir Next World.

 

 

When I change the code to this, it does not work and the column headers are formatted as Times New Roman

 

 

Both fonts are installed on my computer

 

-----------------------------------------------------

 

I have tried the following in my JSON file with no luck:

"Avenir Next World Demi"

"Avenir Next World-Demi"

"Avenir Next World (Demi)"

"AvenirNextWorldDemi"

"AvenirNextWorld-Demi"

"AvenirNextWorld Demi"

 

Any help would be appreciated.

 

 

2 Replies

  • Anonymous , refer to the last part of this blog, if that can help  -https://towardsdatascience.com/custom-fonts-in-power-bi-everything-you-wanted-to-know-652163750ba3

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak I have tried everything in that blog already. Unfortunately no solution still.

       

      It works if I do "Algerian", "Magneto", "Avenir Next World", etc but not "Avenir Next World Demi".