Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

ttf True Type Fonts

Hi all,

 

Our designer has set that the fonts to be used for our report is a ttf 'Barlow Semi Condensed'. I know I have to make a JSON file in order to implement this and so I did, both for colors which works fine as well as for fonts and that part does not work.

First, the font does not display on all visuals, sometimes when it says it uses the font, it actually is not and finally it does not seem to work on all visuals. Did I do something wrong?

 

Here is the part of the JSON file 

 

"textClasses": {
"callout": {
"fontSize": 36,
"fontFace": "Barlow Semi Condensed",
"color": "#575756"
},
"title": {
"fontSize": 14,
"fontFamily": "Barlow Semi Condensed",
"color": "#575756"
},
"header": {
"fontSize": 12,
"fontFamily": "Barlow Semi Condensed",
"color": "#575756"
},
"label": {
"fontSize": 10,
"fontFamily": "Barlow Semi Condensed",
"color": "#575756"
}
}

 

 

So in short, I want (need) to use this font in all places in my report ...

Thanks

 

Ubo

 

 

 

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Please check if the json file structure is valid. You can refer to doc below:

https://docs.microsoft.com/en-us/power-bi/desktop-report-themes#structure-of-a-report-theme-json-file

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hi @v-yuta-msft,

 

Thanks for the suggestion and that has been my to-go document, for the colors it worked fine, for the fonts not so. I also saw somewhere that there may be an option to define a font family to override all fonts??? That would be just what I need

 

Ubo

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.