diff --git a/lib/fonts/BUCK b/lib/fonts/BUCK index 5e58126ec9..c5b78eb378 100644 --- a/lib/fonts/BUCK +++ b/lib/fonts/BUCK @@ -4,8 +4,8 @@ genrule( name = 'sourcecodepro', cmd = 'zip -rq $OUT .', srcs = [ - 'SourceCodePro-Regular.otf.woff', - 'SourceCodePro-Regular.otf.woff2' + 'SourceCodePro-Regular.woff', + 'SourceCodePro-Regular.woff2' ], out = 'sourcecodepro.zip', license = 'OFL1.1', diff --git a/lib/fonts/SourceCodePro-Regular.otf.woff b/lib/fonts/SourceCodePro-Regular.woff similarity index 100% rename from lib/fonts/SourceCodePro-Regular.otf.woff rename to lib/fonts/SourceCodePro-Regular.woff diff --git a/lib/fonts/SourceCodePro-Regular.otf.woff2 b/lib/fonts/SourceCodePro-Regular.woff2 similarity index 100% rename from lib/fonts/SourceCodePro-Regular.otf.woff2 rename to lib/fonts/SourceCodePro-Regular.woff2 diff --git a/polygerrit-ui/app/styles/fonts.css b/polygerrit-ui/app/styles/fonts.css index 6b3f933266..30c6e2ef16 100644 --- a/polygerrit-ui/app/styles/fonts.css +++ b/polygerrit-ui/app/styles/fonts.css @@ -144,8 +144,8 @@ font-style: normal; font-weight: 400; src: local('Source Code Pro'), local('SourceCodePro-Regular'), - url(../fonts/SourceCodePro-Regular.otf.woff2) format('woff2'), - url(../fonts/SourceCodePro-Regular.otf.woff) format('woff'); + url(../fonts/SourceCodePro-Regular.woff2) format('woff2'), + url(../fonts/SourceCodePro-Regular.woff) format('woff'); unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @@ -154,7 +154,7 @@ font-style: normal; font-weight: 400; src: local('Source Code Pro'), local('SourceCodePro-Regular'), - url(../fonts/SourceCodePro-Regular.otf.woff2) format('woff2'), - url(../fonts/SourceCodePro-Regular.otf.woff) format('woff'); + url(../fonts/SourceCodePro-Regular.woff2) format('woff2'), + url(../fonts/SourceCodePro-Regular.woff) format('woff'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; }