github.com/c-darwin/mobile@v0.0.0-20160313183840-ff625c46f7c9/exp/font/font_linux.go (about) 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 !android 6 7 package font 8 9 import "io/ioutil" 10 11 func buildDefault() ([]byte, error) { 12 return ioutil.ReadFile("/usr/share/fonts/truetype/droid/DroidSans.ttf") 13 } 14 15 func buildMonospace() ([]byte, error) { 16 return ioutil.ReadFile("/usr/share/fonts/truetype/droid/DroidSansMono.ttf") 17 }