Custom font doesn't work in newer Streamlit versions in deployment

Hi,

I’m trying to add a custom font to my app. I have the font in a ttf file.

The font works locally in all versions. But when i deploy my app to an openshift container, it does not work i versions >1.45.0, and uses a fall back font

Im adding the font to my config file like this

[[theme.fontFaces]]
family = "yyyyyyy"
url = "app/static/xxxxxx.ttf"

[theme]
font = "xxxxxx"

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.