From 7a9dca2b333f07e81a63a7222fd303bdc71e0248 Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Sat, 2 Apr 2016 12:16:38 -0400 Subject: [PATCH] Remove .otf extension from Source Code Pro woff fonts Change-Id: Ia654d5819c8ed35eef79a14ede705b75fe97e4a9 --- lib/fonts/BUCK | 4 ++-- ...-Regular.otf.woff => SourceCodePro-Regular.woff} | Bin ...egular.otf.woff2 => SourceCodePro-Regular.woff2} | Bin polygerrit-ui/app/styles/fonts.css | 8 ++++---- 4 files changed, 6 insertions(+), 6 deletions(-) rename lib/fonts/{SourceCodePro-Regular.otf.woff => SourceCodePro-Regular.woff} (100%) rename lib/fonts/{SourceCodePro-Regular.otf.woff2 => SourceCodePro-Regular.woff2} (100%) 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; }