The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi
I'm having trouble when importing a custom font using a JSON file. Using the code below I've managed to get the Lato Light font to work for certain parts of the report (e.g. values and axis titles) but it doesn't seem to work for visual titles:
{"name":"Custom","visualStyles":{"*":{"*":{"*":[{"fontFamily":"Lato Light"}]}}}}
When I look at the Title of a visual it doesn't give Lato Light as an option:
But when I look at, say, the Values of the visual, it has pulled Lato Light through (although it doesnt actually show in the drop-down for some reason):
Any help would be appreciated
NB i've also used this code but get the same issue:
{"name":"Custom","textClasses":{"label":{"fontFace":"Lato Light"},"callout":{"fontFace":"Lato Light"},"title":{"fontFace":"Lato Light"},"header":{"fontFace":"Lato Light"}}}
@DavidAtkins , Can you download the theme file and share it to check?
Also refer this video - https://www.youtube.com/watch?v=H-HuBXB4ahc
Hi @amitchandak
Thanks for the reply - The files are literally just the code that I put in the original request.
I've actually found a work around - if I reset the titles to default and load the theme then the font comes through. I'm guessing that if the font has been previously changed from the default then loading the theme won't over-ride the previous selection. It's not ideal but I guess it'll work for now.