Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: third_party/go/src/golang.org/x/mobile/font/font.go

Issue 1275153002: Remove third_party/golang.org/x/mobile as it is no longer used with Go 1.5. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove golang.org/x/mobile Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 // +build linux darwin
6
7 package font
8
9 // Default returns the default system font.
10 // The font is encoded as a TTF.
11 func Default() []byte {
12 b, err := buildDefault()
13 if err != nil {
14 panic(err)
15 }
16 return b
17 }
18
19 // Monospace returns the default system fixed-pitch font.
20 // The font is encoded as a TTF.
21 func Monospace() []byte {
22 b, err := buildMonospace()
23 if err != nil {
24 panic(err)
25 }
26 return b
27 }
OLDNEW
« no previous file with comments | « third_party/go/src/golang.org/x/mobile/font/doc.go ('k') | third_party/go/src/golang.org/x/mobile/font/font_android.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698