# HG changeset patch # User Henry Precheur # Date 1630792911 25200 # Sat Sep 04 15:01:51 2021 -0700 # Node ID b37b8758d8539c002c0644ea6f297b13ab4f31ee # Parent cb53a01e0f0da11d087f1e5306dd5cbf56ea00a8 font-display: optional diff --git a/base64_css_fonts.sh b/base64_css_fonts.sh --- a/base64_css_fonts.sh +++ b/base64_css_fonts.sh @@ -21,7 +21,7 @@ font-family: %s; font-style: %s; font-weight: %s; -font-display: swap; +font-display: optional; src: url("data:application/font-woff2;charset=utf-8;base64,%s") format("woff2"); } ' "$family" "$style" "$weight" $(base64 -w0 < "$path")