diff --git a/fonts.json b/fonts.json index 1fa583e..67cabea 100644 --- a/fonts.json +++ b/fonts.json @@ -134,6 +134,12 @@ "author": "Primož Peterlin, Steve White", "year": 2002, "website": "https://www.gnu.org/software/freefont/" +},{ + "alias": "go-mono", + "name": "Go Mono", + "author": "Bigelow & Holmes", + "year": 2016, + "website": "https://blog.golang.org/go-fonts" },{ "alias": "hack", "name": "Hack", diff --git a/fonts/resources/go-mono/LICENSE b/fonts/resources/go-mono/LICENSE new file mode 100644 index 0000000..7043c36 --- /dev/null +++ b/fonts/resources/go-mono/LICENSE @@ -0,0 +1,36 @@ +These fonts were created by the Bigelow & Holmes foundry specifically for the +Go project. See https://blog.golang.org/go-fonts for details. + +They are licensed under the same open source license as the rest of the Go +project's software: + +Copyright (c) 2016 Bigelow & Holmes Inc.. All rights reserved. + +Distribution of this font is governed by the following license. If you do not +agree to this license, including the disclaimer, do not distribute or modify +this font. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + * Neither the name of Google Inc. nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/fonts/resources/go-mono/go-mono-bold-italic.ttf b/fonts/resources/go-mono/go-mono-bold-italic.ttf new file mode 100644 index 0000000..0884406 Binary files /dev/null and b/fonts/resources/go-mono/go-mono-bold-italic.ttf differ diff --git a/fonts/resources/go-mono/go-mono-bold.ttf b/fonts/resources/go-mono/go-mono-bold.ttf new file mode 100644 index 0000000..bbad5fd Binary files /dev/null and b/fonts/resources/go-mono/go-mono-bold.ttf differ diff --git a/fonts/resources/go-mono/go-mono-italic.ttf b/fonts/resources/go-mono/go-mono-italic.ttf new file mode 100644 index 0000000..ec27133 Binary files /dev/null and b/fonts/resources/go-mono/go-mono-italic.ttf differ diff --git a/fonts/resources/go-mono/go-mono.ttf b/fonts/resources/go-mono/go-mono.ttf new file mode 100644 index 0000000..e64e22f Binary files /dev/null and b/fonts/resources/go-mono/go-mono.ttf differ diff --git a/fonts/stylesheets/fonts.less b/fonts/stylesheets/fonts.less index 53466b0..993e6e9 100755 --- a/fonts/stylesheets/fonts.less +++ b/fonts/stylesheets/fonts.less @@ -82,6 +82,11 @@ .font ( 'gnu-freefont', normal, italic, 'gnu-freefont/gnu-freefont-italic.woff' ); .font ( 'gnu-freefont', normal, normal, 'gnu-freefont/gnu-freefont.woff' ); +.font ( 'go-mono', bold, italic, 'go-mono/go-mono-bold-italic.ttf' ); +.font ( 'go-mono', bold, normal, 'go-mono/go-mono-bold.ttf' ); +.font ( 'go-mono', normal, italic, 'go-mono/go-mono-italic.ttf' ); +.font ( 'go-mono', normal, normal, 'go-mono/go-mono.ttf' ); + .font ( 'hack', bold, italic, 'hack/hack-bold-italic.woff' ); .font ( 'hack', bold, normal, 'hack/hack-bold.woff' ); .font ( 'hack', normal, italic, 'hack/hack-italic.woff' ); diff --git a/fonts/stylesheets/stylesheet.css b/fonts/stylesheets/stylesheet.css index ab446c7..f4308e8 100755 --- a/fonts/stylesheets/stylesheet.css +++ b/fonts/stylesheets/stylesheet.css @@ -352,6 +352,30 @@ font-style: normal; src: url('../resources/gnu-freefont/gnu-freefont.woff'); } +@font-face { + font-family: 'go-mono'; + font-weight: bold; + font-style: italic; + src: url('../resources/go-mono/go-mono-bold-italic.ttf'); +} +@font-face { + font-family: 'go-mono'; + font-weight: bold; + font-style: normal; + src: url('../resources/go-mono/go-mono-bold.ttf'); +} +@font-face { + font-family: 'go-mono'; + font-weight: normal; + font-style: italic; + src: url('../resources/go-mono/go-mono-italic.ttf'); +} +@font-face { + font-family: 'go-mono'; + font-weight: normal; + font-style: normal; + src: url('../resources/go-mono/go-mono.ttf'); +} @font-face { font-family: 'hack'; font-weight: bold;