diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-09-23 10:17:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-23 10:17:51 -0400 |
commit | 2ca0e8f9a0f9863555a26e984cde15efff9ef8f8 (patch) | |
tree | daae1ee67b14a3d0a84424f2a304885d9e75ce2b /vendor/golang.org/x/image/font/inconsolata/inconsolata.go | |
parent | 6d62d65b2dc85855aabea036cbd44f6059e19d13 (diff) | |
download | chat-2ca0e8f9a0f9863555a26e984cde15efff9ef8f8.tar.gz chat-2ca0e8f9a0f9863555a26e984cde15efff9ef8f8.tar.bz2 chat-2ca0e8f9a0f9863555a26e984cde15efff9ef8f8.zip |
Updating golang dependancies (#4075)
Diffstat (limited to 'vendor/golang.org/x/image/font/inconsolata/inconsolata.go')
-rw-r--r-- | vendor/golang.org/x/image/font/inconsolata/inconsolata.go | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/vendor/golang.org/x/image/font/inconsolata/inconsolata.go b/vendor/golang.org/x/image/font/inconsolata/inconsolata.go new file mode 100644 index 000000000..276a81589 --- /dev/null +++ b/vendor/golang.org/x/image/font/inconsolata/inconsolata.go @@ -0,0 +1,29 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:generate genbasicfont -size=16 -pkg=inconsolata -hinting=full -var=regular8x16 -fontfile=http://www.levien.com/type/myfonts/inconsolata/InconsolataGo-Regular.ttf +//go:generate genbasicfont -size=16 -pkg=inconsolata -hinting=full -var=bold8x16 -fontfile=http://www.levien.com/type/myfonts/inconsolata/InconsolataGo-Bold.ttf + +// The genbasicfont program is github.com/golang/freetype/example/genbasicfont + +// Package inconsolata provides pre-rendered bitmap versions of the Inconsolata +// font family. +// +// Inconsolata is copyright Raph Levien and Cyreal. This package is licensed +// under Go's BSD-style license (https://golang.org/LICENSE) with their +// permission. +// +// Inconsolata's home page is at +// http://www.levien.com/type/myfonts/inconsolata.html +package inconsolata // import "golang.org/x/image/font/inconsolata" + +import ( + "golang.org/x/image/font/basicfont" +) + +// Regular8x16 is a regular weight, 8x16 font face. +var Regular8x16 *basicfont.Face = ®ular8x16 + +// Bold8x16 is a bold weight, 8x16 font face. +var Bold8x16 *basicfont.Face = &bold8x16 |