2
0
mirror of synced 2025-02-23 14:58:12 +00:00
mobile/exp/font/font_linux.go
Nigel Tao 981e383923 font: move to exp/font.
Change-Id: I62d5bcd829cb35e13843586b25829938778c79f5
Reviewed-on: https://go-review.googlesource.com/11133
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-06-16 21:35:30 +00:00

18 lines
447 B
Go

// Copyright 2014 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.
// +build !android
package font
import "io/ioutil"
func buildDefault() ([]byte, error) {
return ioutil.ReadFile("/usr/share/fonts/truetype/droid/DroidSans.ttf")
}
func buildMonospace() ([]byte, error) {
return ioutil.ReadFile("/usr/share/fonts/truetype/droid/DroidSansMono.ttf")
}