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
pbimhkc
Frequent 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"
}
0 REPLIES 0

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.

Top Solution Authors
Top Kudoed Authors