summaryrefslogtreecommitdiff
path: root/vendor/github.com/fogleman/gg/util.go
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2017-03-19 15:19:42 +0000
committerFelix Hanley <felix@userspace.com.au>2017-03-19 15:19:42 +0000
commit8a541d499b6f117cd3a81e475ee779ba60fc0637 (patch)
tree7b3b5326235725ab93056b5ff4637d987fb0a7b6 /vendor/github.com/fogleman/gg/util.go
parentfe847b2d01060044274d20d2c35ae01a684d4ee3 (diff)
downloadcrjw-maps-8a541d499b6f117cd3a81e475ee779ba60fc0637.tar.gz
crjw-maps-8a541d499b6f117cd3a81e475ee779ba60fc0637.tar.bz2
use golang dep tool for depsHEADmaster
Diffstat (limited to 'vendor/github.com/fogleman/gg/util.go')
-rw-r--r--vendor/github.com/fogleman/gg/util.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/fogleman/gg/util.go b/vendor/github.com/fogleman/gg/util.go
index 62577f5..a530fcb 100644
--- a/vendor/github.com/fogleman/gg/util.go
+++ b/vendor/github.com/fogleman/gg/util.go
@@ -4,6 +4,7 @@ import (
"fmt"
"image"
"image/draw"
+ _ "image/jpeg"
"image/png"
"io/ioutil"
"math"
@@ -99,7 +100,7 @@ func unfix(x fixed.Int26_6) float64 {
return 0
}
-func loadFontFace(path string, points float64) (font.Face, error) {
+func LoadFontFace(path string, points float64) (font.Face, error) {
fontBytes, err := ioutil.ReadFile(path)
if err != nil {
return nil, err