diff --git a/wp-content/themes/twentyseventeen/assets/fonts/font-libre-franklin.css b/wp-content/themes/twentyseventeen/assets/fonts/font-libre-franklin.css new file mode 100644 index 0000000000..1ea1ae5786 --- /dev/null +++ b/wp-content/themes/twentyseventeen/assets/fonts/font-libre-franklin.css @@ -0,0 +1,293 @@ +/* +Libre Franklin +Copyright 2020 The LibreFranklin Project Authors (https://github.com/impallari/Libre-Franklin) +SIL Open Font License, Version 1.1 (https://opensource.org/licenses/OFL-1.1) +*/ + +/* libre-franklin-vietnamese-300-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 300; + src: + url('./libre-franklin/libre-franklin-vietnamese-300-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-300-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-300-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 300; + src: + url('./libre-franklin/libre-franklin-latin-ext-300-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-300-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-300-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 300; + src: + url('./libre-franklin/libre-franklin-latin-300-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-300-normal.woff?ver=13') 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; +} + +/* libre-franklin-vietnamese-300-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 300; + src: + url('./libre-franklin/libre-franklin-vietnamese-300-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-300-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-300-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 300; + src: + url('./libre-franklin/libre-franklin-latin-ext-300-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-300-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-300-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 300; + src: + url('./libre-franklin/libre-franklin-latin-300-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-300-italic.woff?ver=13') 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; +} + +/* libre-franklin-vietnamese-400-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./libre-franklin/libre-franklin-vietnamese-400-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-400-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-400-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./libre-franklin/libre-franklin-latin-ext-400-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-400-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-400-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 400; + src: + url('./libre-franklin/libre-franklin-latin-400-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-400-normal.woff?ver=13') 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; +} + +/* libre-franklin-vietnamese-400-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./libre-franklin/libre-franklin-vietnamese-400-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-400-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-400-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./libre-franklin/libre-franklin-latin-ext-400-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-400-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-400-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 400; + src: + url('./libre-franklin/libre-franklin-latin-400-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-400-italic.woff?ver=13') 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; +} + +/* libre-franklin-vietnamese-600-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 600; + src: + url('./libre-franklin/libre-franklin-vietnamese-600-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-600-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-600-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 600; + src: + url('./libre-franklin/libre-franklin-latin-ext-600-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-600-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-600-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 600; + src: + url('./libre-franklin/libre-franklin-latin-600-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-600-normal.woff?ver=13') 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; +} + +/* libre-franklin-vietnamese-600-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 600; + src: + url('./libre-franklin/libre-franklin-vietnamese-600-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-600-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-600-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 600; + src: + url('./libre-franklin/libre-franklin-latin-ext-600-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-600-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-600-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 600; + src: + url('./libre-franklin/libre-franklin-latin-600-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-600-italic.woff?ver=13') 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; +} + +/* libre-franklin-vietnamese-800-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 800; + src: + url('./libre-franklin/libre-franklin-vietnamese-800-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-800-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-800-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 800; + src: + url('./libre-franklin/libre-franklin-latin-ext-800-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-800-normal.woff?ver=13') 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; +} + +/* libre-franklin-latin-800-normal */ +@font-face { + font-family: 'Libre Franklin'; + font-style: normal; + font-display: fallback; + font-weight: 800; + src: + url('./libre-franklin/libre-franklin-latin-800-normal.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-800-normal.woff?ver=13') 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; +} + +/* libre-franklin-vietnamese-800-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 800; + src: + url('./libre-franklin/libre-franklin-vietnamese-800-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-800-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-ext-800-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 800; + src: + url('./libre-franklin/libre-franklin-latin-ext-800-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-800-italic.woff?ver=13') 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; +} + +/* libre-franklin-latin-800-italic */ +@font-face { + font-family: 'Libre Franklin'; + font-style: italic; + font-display: fallback; + font-weight: 800; + src: + url('./libre-franklin/libre-franklin-latin-800-italic.woff2?ver=13') format('woff2'), + url('./libre-franklin/libre-franklin-all-800-italic.woff?ver=13') 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/twentyseventeen/assets/fonts/libre-franklin/LICENSE.txt b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/LICENSE.txt new file mode 100644 index 0000000000..8ebded2f24 --- /dev/null +++ b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/LICENSE.txt @@ -0,0 +1,93 @@ +Copyright 2020 The LibreFranklin Project Authors (https://github.com/impallari/Libre-Franklin) + +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/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-300-italic.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-300-italic.woff new file mode 100644 index 0000000000..2f95fef864 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-300-italic.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-300-normal.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-300-normal.woff new file mode 100644 index 0000000000..e353e12a04 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-300-normal.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-400-italic.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-400-italic.woff new file mode 100644 index 0000000000..b26e1ee042 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-400-italic.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-400-normal.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-400-normal.woff new file mode 100644 index 0000000000..dc8b33884c Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-400-normal.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-600-italic.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-600-italic.woff new file mode 100644 index 0000000000..3df366ca86 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-600-italic.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-600-normal.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-600-normal.woff new file mode 100644 index 0000000000..eb90fbb48f Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-600-normal.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-800-italic.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-800-italic.woff new file mode 100644 index 0000000000..f193595aff Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-800-italic.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-800-normal.woff b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-800-normal.woff new file mode 100644 index 0000000000..6aff79015d Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-all-800-normal.woff differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-300-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-300-italic.woff2 new file mode 100644 index 0000000000..df4e8e748f Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-300-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-300-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-300-normal.woff2 new file mode 100644 index 0000000000..f222fdf0fe Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-300-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-400-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-400-italic.woff2 new file mode 100644 index 0000000000..2c679d2273 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-400-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-400-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-400-normal.woff2 new file mode 100644 index 0000000000..982f904f02 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-400-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-600-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-600-italic.woff2 new file mode 100644 index 0000000000..b194dc0d80 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-600-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-600-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-600-normal.woff2 new file mode 100644 index 0000000000..3b1817970d Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-600-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-800-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-800-italic.woff2 new file mode 100644 index 0000000000..32d8140e0d Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-800-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-800-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-800-normal.woff2 new file mode 100644 index 0000000000..0e418e2bf1 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-800-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-300-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-300-italic.woff2 new file mode 100644 index 0000000000..0d949e19fb Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-300-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-300-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-300-normal.woff2 new file mode 100644 index 0000000000..38fe815de0 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-300-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-400-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-400-italic.woff2 new file mode 100644 index 0000000000..4582bd011e Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-400-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-400-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-400-normal.woff2 new file mode 100644 index 0000000000..e24c1102cb Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-400-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-600-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-600-italic.woff2 new file mode 100644 index 0000000000..110f308f24 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-600-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-600-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-600-normal.woff2 new file mode 100644 index 0000000000..364842dde7 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-600-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-800-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-800-italic.woff2 new file mode 100644 index 0000000000..01b66425eb Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-800-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-800-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-800-normal.woff2 new file mode 100644 index 0000000000..66d1294fbd Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-latin-ext-800-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-300-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-300-italic.woff2 new file mode 100644 index 0000000000..1d11aa76b1 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-300-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-300-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-300-normal.woff2 new file mode 100644 index 0000000000..22468f29e5 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-300-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-400-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-400-italic.woff2 new file mode 100644 index 0000000000..4ad4d8ae80 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-400-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-400-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-400-normal.woff2 new file mode 100644 index 0000000000..4597f736b6 Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-400-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-600-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-600-italic.woff2 new file mode 100644 index 0000000000..efe12cd02d Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-600-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-600-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-600-normal.woff2 new file mode 100644 index 0000000000..3819f3b7fe Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-600-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-800-italic.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-800-italic.woff2 new file mode 100644 index 0000000000..aed97215fc Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-800-italic.woff2 differ diff --git a/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-800-normal.woff2 b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-800-normal.woff2 new file mode 100644 index 0000000000..23742325ea Binary files /dev/null and b/wp-content/themes/twentyseventeen/assets/fonts/libre-franklin/libre-franklin-vietnamese-800-normal.woff2 differ diff --git a/wp-content/themes/twentyseventeen/functions.php b/wp-content/themes/twentyseventeen/functions.php index b7c65a5368..27e8b417aa 100644 --- a/wp-content/themes/twentyseventeen/functions.php +++ b/wp-content/themes/twentyseventeen/functions.php @@ -121,9 +121,15 @@ function twentyseventeen_setup() { /* * This theme styles the visual editor to resemble the theme style, - * specifically font, colors, and column width. + * specifically font, colors, and column width. When fonts are + * self-hosted, the theme directory needs to be removed first. */ - add_editor_style( array( 'assets/css/editor-style.css', twentyseventeen_fonts_url() ) ); + $font_stylesheet = str_replace( + array( get_template_directory_uri() . '/', get_stylesheet_directory_uri() . '/' ), + '', + twentyseventeen_fonts_url() + ); + add_editor_style( array( 'assets/css/editor-style.css', $font_stylesheet ) ); // Load regular editor styles into the new block-based editor. add_theme_support( 'editor-styles' ); @@ -283,39 +289,37 @@ function twentyseventeen_content_width() { } add_action( 'template_redirect', 'twentyseventeen_content_width', 0 ); -/** - * Register custom fonts. - */ -function twentyseventeen_fonts_url() { - $fonts_url = ''; - - /* - * translators: If there are characters in your language that are not supported - * by Libre Franklin, translate this to 'off'. Do not translate into your own language. +if ( ! function_exists( 'twentyseventeen_fonts_url' ) ) : + /** + * Register custom fonts. + * + * @since Twenty Seventeen 1.0 + * @since Twenty Seventeen 3.2 Replaced Google URL with self-hosted fonts. + * + * @return string Fonts URL for the theme. */ - $libre_franklin = _x( 'on', 'Libre Franklin font: on or off', 'twentyseventeen' ); + function twentyseventeen_fonts_url() { + $fonts_url = ''; - if ( 'off' !== $libre_franklin ) { - $font_families = array(); + /* + * translators: If there are characters in your language that are not supported + * by Libre Franklin, translate this to 'off'. Do not translate into your own language. + */ + $libre_franklin = _x( 'on', 'Libre Franklin font: on or off', 'twentyseventeen' ); - $font_families[] = 'Libre Franklin:300,300i,400,400i,600,600i,800,800i'; + if ( 'off' !== $libre_franklin ) { + $fonts_url = get_template_directory_uri() . '/assets/fonts/font-libre-franklin.css'; + } - $query_args = array( - 'family' => urlencode( implode( '|', $font_families ) ), - 'subset' => urlencode( 'latin,latin-ext' ), - 'display' => urlencode( 'fallback' ), - ); - - $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); + return esc_url_raw( $fonts_url ); } - - return esc_url_raw( $fonts_url ); -} +endif; /** * Add preconnect for Google Fonts. * * @since Twenty Seventeen 1.0 + * @deprecated Twenty Seventeen 3.2 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. @@ -331,7 +335,7 @@ function twentyseventeen_resource_hints( $urls, $relation_type ) { return $urls; } -add_filter( 'wp_resource_hints', 'twentyseventeen_resource_hints', 10, 2 ); +// add_filter( 'wp_resource_hints', 'twentyseventeen_resource_hints', 10, 2 ); /** * Register widget area. @@ -451,7 +455,8 @@ add_action( 'wp_head', 'twentyseventeen_colors_css_wrap' ); */ function twentyseventeen_scripts() { // Add custom fonts, used in the main stylesheet. - wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), null ); + $font_version = ( 0 === strpos( (string) twentyseventeen_fonts_url(), get_template_directory_uri() . '/' ) ) ? '20230328' : null; + wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), $font_version ); // Theme stylesheet. wp_enqueue_style( 'twentyseventeen-style', get_stylesheet_uri(), array(), '20221101' ); @@ -517,7 +522,8 @@ function twentyseventeen_block_editor_styles() { // Block styles. wp_enqueue_style( 'twentyseventeen-block-editor-style', get_theme_file_uri( '/assets/css/editor-blocks.css' ), array(), '20220912' ); // Add custom fonts. - wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), null ); + $font_version = ( 0 === strpos( (string) twentyseventeen_fonts_url(), get_template_directory_uri() . '/' ) ) ? '20230328' : null; + wp_enqueue_style( 'twentyseventeen-fonts', twentyseventeen_fonts_url(), array(), $font_version ); } add_action( 'enqueue_block_editor_assets', 'twentyseventeen_block_editor_styles' ); diff --git a/wp-content/themes/twentyseventeen/readme.txt b/wp-content/themes/twentyseventeen/readme.txt index 8739a4f3b4..b7c228c7af 100644 --- a/wp-content/themes/twentyseventeen/readme.txt +++ b/wp-content/themes/twentyseventeen/readme.txt @@ -53,6 +53,11 @@ Font Awesome icons, Copyright Dave Gandy License: SIL Open Font License, version 1.1. Source: http://fontawesome.io/ +Libre Franklin Font +Copyright 2020 The LibreFranklin Project Authors (https://github.com/impallari/Libre-Franklin) +License: SIL Open Font License, 1.1, https://opensource.org/licenses/OFL-1.1 +Source: https://fontsource.org/fonts/libre-franklin + Bundled header image, Copyright Alvin Engler License: CC0 1.0 Universal (CC0 1.0) Source: https://unsplash.com/@englr?photo=bIhpiQA009k diff --git a/wp-includes/version.php b/wp-includes/version.php index 616b960590..de30be7469 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-55265'; +$wp_version = '6.2-alpha-55266'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.