Forum Discussion
JSON File is imported for theme, fonts not updating
I am trying to use Roboto font in my pbix. I have created a json file. It says that import is successful. However, it just changes the colors. Font style remain as is.
Below is the script I am using for json.
{
"name": "Theme",
"dataColors": ["#1a661f","#2b9630","#aac811","#F18643","#e52600","#73b0db","#335c73","#7E6996"],
"textClasses": {
"callout": {
"fontSize": 45,
"fontFace": "Roboto",
"color": "#252423"
},
"title": {
"fontSize": 12,
"fontFace": "Roboto",
"color": "#252423"
},
"header": {
"fontSize": 12,
"fontFace": "Roboto",
"color": "#252423"
},
"label": {
"fontSize": 10,
"fontFace": "Roboto",
"color": "#252423"
}
}
}
If it changes then it displays the "Times New roman" fonts but in visuals pane it will say "Roboto".
Hi Agam
This blog may be helpful: Custom fonts in Power BI — everything you wanted to know! | by Nikola Ilic | Towards Data Science
Please note that it is necessary to install the Roboto font on Windows (or any other font that is not preinstalled on Windows) before being able to actually use it in Power BI desktop.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
1 Reply
- v-jingzhangCommunity Support
Hi Agam
This blog may be helpful: Custom fonts in Power BI — everything you wanted to know! | by Nikola Ilic | Towards Data Science
Please note that it is necessary to install the Roboto font on Windows (or any other font that is not preinstalled on Windows) before being able to actually use it in Power BI desktop.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.