internationalscholarsprogram commited on
Commit
1b0b900
·
verified ·
1 Parent(s): 408422a

Upload app/core/fonts.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app/core/fonts.py +1 -0
app/core/fonts.py CHANGED
@@ -81,6 +81,7 @@ def font_face_css(font_meta: dict | None = None) -> str:
81
  f" src: url('data:font/ttf;base64,{encoded[variant]}') format('truetype');\n"
82
  f" font-weight: {weight};\n"
83
  f" font-style: {style};\n"
 
84
  f"}}"
85
  )
86
 
 
81
  f" src: url('data:font/ttf;base64,{encoded[variant]}') format('truetype');\n"
82
  f" font-weight: {weight};\n"
83
  f" font-style: {style};\n"
84
+ f" font-display: block;\n"
85
  f"}}"
86
  )
87