Forum Discussion
pbimhkc
3 years agoFrequent Visitor
Custom Theme Font Settings when viewing reports on Mac
I do report development on a windows vm but my primary device is a Mac. I noticed that some fonts are showing up as Times New Roman when viewed in the service on Mac after publishing from windows. The font in question is Consolas and is only being used in some data labels on certain visuals. I understand this is because the font is not supported on Mac and have no issues there. I am trying to get around this by setting a secondary font with a custom theme file but I cannot seem to get the fonts from the theme.json file to stick for the data labels. I got the data label visualStyles json from https://themes.powerbi.tips/themes/properties. Is there anything I'm doing wrong here? Thanks in advance
{
"name": "Theme",
"dataColors": [
"#005B3F",
"#003968",
"#1C2325"
],
"visualStyles": {
"lineStackedColumnComboChart": {
"*": {
"labels": [
{
"fontFamily": "'Consolas', 'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif",
"show": true,
"fontSize": 12
}
]
}
},
"barChart": {
"*": {
"labels": [
{
"fontFamily": "'Consolas', 'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif",
"show": true,
"fontSize": 12
}
]
}
}
},
"tableAccent": "#262A76",
"maximum": "#262A76",
"center": "#8E1F20",
"minimum": "#F1F1F1",
"textClasses": {
"callout": {
"fontFace": "'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif",
"fontSize": 24
},
"title": {
"fontFace": "'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif",
"fontSize": 16,
"color": "#101010"
},
"label": {
"fontFace": "'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif",
"fontSize": 12,
"color": "#1E1E1E"
},
"header": {
"fontSize": 14,
"fontFace": "'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif"
}
},
"good": "#46C83B"
}No RepliesBe the first to reply