diff --git a/wp-content/themes/twentytwelve/fonts/font-open-sans.css b/wp-content/themes/twentytwelve/fonts/font-open-sans.css new file mode 100644 index 0000000000..27c31d0a84 --- /dev/null +++ b/wp-content/themes/twentytwelve/fonts/font-open-sans.css @@ -0,0 +1,389 @@ +/* +Open Sans +Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans) +SIL Open Font License, Version 1.1 (https://opensource.org/licenses/OFL-1.1) +*/ + +/* open-sans-cyrillic-ext-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-cyrillic-ext-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} + +/* open-sans-cyrillic-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-cyrillic-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} + +/* open-sans-greek-ext-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-greek-ext-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+1F00-1FFF; +} + +/* open-sans-greek-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-greek-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+0370-03FF; +} + +/* open-sans-hebrew-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-hebrew-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} + +/* open-sans-vietnamese-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-vietnamese-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} + +/* open-sans-latin-ext-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-latin-ext-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +/* open-sans-latin-400-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-latin-400-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-italic.woff?ver=34') format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* open-sans-cyrillic-ext-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-cyrillic-ext-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} + +/* open-sans-cyrillic-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-cyrillic-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} + +/* open-sans-greek-ext-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-greek-ext-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+1F00-1FFF; +} + +/* open-sans-greek-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-greek-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+0370-03FF; +} + +/* open-sans-hebrew-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-hebrew-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} + +/* open-sans-vietnamese-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-vietnamese-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} + +/* open-sans-latin-ext-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-latin-ext-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +/* open-sans-latin-400-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./open-sans/open-sans-latin-400-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-400-normal.woff?ver=34') format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* open-sans-cyrillic-ext-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-cyrillic-ext-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} + +/* open-sans-cyrillic-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-cyrillic-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} + +/* open-sans-greek-ext-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-greek-ext-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+1F00-1FFF; +} + +/* open-sans-greek-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-greek-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+0370-03FF; +} + +/* open-sans-hebrew-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-hebrew-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} + +/* open-sans-vietnamese-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-vietnamese-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} + +/* open-sans-latin-ext-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-latin-ext-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +/* open-sans-latin-700-italic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-latin-700-italic.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-italic.woff?ver=34') format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} + +/* open-sans-cyrillic-ext-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-cyrillic-ext-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} + +/* open-sans-cyrillic-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-cyrillic-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} + +/* open-sans-greek-ext-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-greek-ext-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+1F00-1FFF; +} + +/* open-sans-greek-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-greek-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+0370-03FF; +} + +/* open-sans-hebrew-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-hebrew-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} + +/* open-sans-vietnamese-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-vietnamese-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; +} + +/* open-sans-latin-ext-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-latin-ext-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; +} + +/* open-sans-latin-700-normal */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-display: fallback; + font-weight: 700; + src: + url('./open-sans/open-sans-latin-700-normal.woff2?ver=34') format('woff2'), + url('./open-sans/open-sans-all-700-normal.woff?ver=34') format('woff'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/LICENSE.txt b/wp-content/themes/twentytwelve/fonts/open-sans/LICENSE.txt new file mode 100644 index 0000000000..d5e5ab592f --- /dev/null +++ b/wp-content/themes/twentytwelve/fonts/open-sans/LICENSE.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-400-italic.woff b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-400-italic.woff new file mode 100644 index 0000000000..7b91f730c6 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-400-italic.woff differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-400-normal.woff b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-400-normal.woff new file mode 100644 index 0000000000..9bc5d1eede Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-400-normal.woff differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-700-italic.woff b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-700-italic.woff new file mode 100644 index 0000000000..e9cf9d6540 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-700-italic.woff differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-700-normal.woff b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-700-normal.woff new file mode 100644 index 0000000000..fd9eb374f4 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-all-700-normal.woff differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-400-italic.woff2 new file mode 100644 index 0000000000..c100a25460 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-400-normal.woff2 new file mode 100644 index 0000000000..6bc81f45b2 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-700-italic.woff2 new file mode 100644 index 0000000000..c6c37f36bd Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-700-normal.woff2 new file mode 100644 index 0000000000..26f70ab046 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-400-italic.woff2 new file mode 100644 index 0000000000..577fee15ab Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-400-normal.woff2 new file mode 100644 index 0000000000..e1d9435cc0 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-700-italic.woff2 new file mode 100644 index 0000000000..3b262f7250 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-700-normal.woff2 new file mode 100644 index 0000000000..8925e52154 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-cyrillic-ext-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-400-italic.woff2 new file mode 100644 index 0000000000..79cdbb3903 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-400-normal.woff2 new file mode 100644 index 0000000000..ce49b50c03 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-700-italic.woff2 new file mode 100644 index 0000000000..4eb925d7e8 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-700-normal.woff2 new file mode 100644 index 0000000000..25f9dbd1e8 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-400-italic.woff2 new file mode 100644 index 0000000000..44ba3eb1fe Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-400-normal.woff2 new file mode 100644 index 0000000000..75bfc5515c Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-700-italic.woff2 new file mode 100644 index 0000000000..e0d50d5c79 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-700-normal.woff2 new file mode 100644 index 0000000000..cae462c3eb Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-greek-ext-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-400-italic.woff2 new file mode 100644 index 0000000000..90462db92b Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-400-normal.woff2 new file mode 100644 index 0000000000..c8694ce8a7 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-700-italic.woff2 new file mode 100644 index 0000000000..74dd53ef7d Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-700-normal.woff2 new file mode 100644 index 0000000000..44e869bbf9 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-hebrew-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-400-italic.woff2 new file mode 100644 index 0000000000..8da39ae4c5 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-400-normal.woff2 new file mode 100644 index 0000000000..15339ea9cc Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-700-italic.woff2 new file mode 100644 index 0000000000..603f7c8a54 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-700-normal.woff2 new file mode 100644 index 0000000000..e832c2a07c Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-400-italic.woff2 new file mode 100644 index 0000000000..7123b8cacd Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-400-normal.woff2 new file mode 100644 index 0000000000..0bc7ce746d Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-700-italic.woff2 new file mode 100644 index 0000000000..6ba3c0f0ac Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-700-normal.woff2 new file mode 100644 index 0000000000..b553788a65 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-latin-ext-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-400-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-400-italic.woff2 new file mode 100644 index 0000000000..de5608e919 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-400-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-400-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-400-normal.woff2 new file mode 100644 index 0000000000..8f59cae0a0 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-400-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-700-italic.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-700-italic.woff2 new file mode 100644 index 0000000000..63ec9ac5b1 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-700-italic.woff2 differ diff --git a/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-700-normal.woff2 b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-700-normal.woff2 new file mode 100644 index 0000000000..b994dc7841 Binary files /dev/null and b/wp-content/themes/twentytwelve/fonts/open-sans/open-sans-vietnamese-700-normal.woff2 differ diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index d0e9280bce..06e08f78d6 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -137,50 +137,32 @@ require get_template_directory() . '/inc/custom-header.php'; */ require get_template_directory() . '/inc/block-patterns.php'; -/** - * Return the Google font stylesheet URL if available. - * - * The use of Open Sans by default is localized. For languages that use - * characters not supported by the font, the font can be disabled. - * - * @since Twenty Twelve 1.2 - * - * @return string Font stylesheet or empty string if disabled. - */ -function twentytwelve_get_font_url() { - $font_url = ''; - - /* - * translators: If there are characters in your language that are not supported - * by Open Sans, translate this to 'off'. Do not translate into your own language. +if ( ! function_exists( 'twentytwelve_get_font_url' ) ) : + /** + * Return the font stylesheet URL if available. + * + * The use of Open Sans by default is localized. For languages that use + * characters not supported by the font, the font can be disabled. + * + * @since Twenty Twelve 1.2 + * @since Twenty Twelve 3.9 Replaced Google URL with self-hosted font. + * + * @return string Font stylesheet or empty string if disabled. */ - if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'twentytwelve' ) ) { - $subsets = 'latin,latin-ext'; + function twentytwelve_get_font_url() { + $font_url = ''; /* - * translators: To add an additional Open Sans character subset specific to your language, - * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. - */ - $subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)', 'twentytwelve' ); - - if ( 'cyrillic' === $subset ) { - $subsets .= ',cyrillic,cyrillic-ext'; - } elseif ( 'greek' === $subset ) { - $subsets .= ',greek,greek-ext'; - } elseif ( 'vietnamese' === $subset ) { - $subsets .= ',vietnamese'; + * translators: If there are characters in your language that are not supported + * by Open Sans, translate this to 'off'. Do not translate into your own language. + */ + if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'twentytwelve' ) ) { + $font_url = get_template_directory_uri() . '/fonts/font-open-sans.css'; } - $query_args = array( - 'family' => urlencode( 'Open Sans:400italic,700italic,400,700' ), - 'subset' => urlencode( $subsets ), - 'display' => urlencode( 'fallback' ), - ); - $font_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); + return $font_url; } - - return $font_url; -} +endif; /** * Enqueue scripts and styles for front end. @@ -203,7 +185,8 @@ function twentytwelve_scripts_styles() { $font_url = twentytwelve_get_font_url(); if ( ! empty( $font_url ) ) { - wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null ); + $font_version = ( 0 === strpos( (string) twentytwelve_get_font_url(), get_template_directory_uri() . '/' ) ) ? '20230328' : null; + wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), $font_version ); } // Loads our main stylesheet. @@ -227,7 +210,8 @@ function twentytwelve_block_editor_styles() { // Block styles. wp_enqueue_style( 'twentytwelve-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20200713' ); // Add custom fonts. - wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), null ); + $font_version = ( 0 === strpos( (string) twentytwelve_get_font_url(), get_template_directory_uri() . '/' ) ) ? '20230328' : null; + wp_enqueue_style( 'twentytwelve-fonts', twentytwelve_get_font_url(), array(), $font_version ); } add_action( 'enqueue_block_editor_assets', 'twentytwelve_block_editor_styles' ); @@ -235,6 +219,7 @@ add_action( 'enqueue_block_editor_assets', 'twentytwelve_block_editor_styles' ); * Add preconnect for Google Fonts. * * @since Twenty Twelve 2.2 + * @deprecated Twenty Twelve 3.9 Disabled filter because, by default, fonts are self-hosted. * * @param array $urls URLs to print for resource hints. * @param string $relation_type The relation type the URLs are printed. @@ -254,14 +239,14 @@ function twentytwelve_resource_hints( $urls, $relation_type ) { return $urls; } -add_filter( 'wp_resource_hints', 'twentytwelve_resource_hints', 10, 2 ); +// add_filter( 'wp_resource_hints', 'twentytwelve_resource_hints', 10, 2 ); /** - * Filter TinyMCE CSS path to include Google Fonts. + * Filter TinyMCE CSS path to include hosted fonts. * * Adds additional stylesheets to the TinyMCE editor if needed. * - * @uses twentytwelve_get_font_url() To get the Google Font stylesheet URL. + * @uses twentytwelve_get_font_url() To get the font stylesheet URL. * * @since Twenty Twelve 1.2 * diff --git a/wp-content/themes/twentytwelve/readme.txt b/wp-content/themes/twentytwelve/readme.txt index 50599289f1..0e54fd8fec 100644 --- a/wp-content/themes/twentytwelve/readme.txt +++ b/wp-content/themes/twentytwelve/readme.txt @@ -40,6 +40,11 @@ HTML5 Shiv v3.7.0, Copyright 2014 Alexander Farkas Licenses: MIT/GPL2 Source: https://github.com/aFarkas/html5shiv +Open Sans Font +Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans) +License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1 +Source: https://fontsource.org/fonts/open-sans + "Fall Leaf Photo" by Tim Sullivan. CC0. https://stocksnap.io/photo/fall-leaf-ZBK0NLVP2B "Fall Leaf Photo" by Tim Sullivan. CC0. https://stocksnap.io/photo/fall-leaf-EEGO4GCPQD "Autumn City Photo" by Oleg Prokopenko. CC0. https://stocksnap.io/photo/autumn-city-PZP8EWR5MR diff --git a/wp-includes/version.php b/wp-includes/version.php index eb24590304..61c5672171 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55276'; +$wp_version = '6.2-alpha-55277'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.