From 46c8ad2f70d5ce00cdae8b93fadf90287ee026f1 Mon Sep 17 00:00:00 2001 From: Mat Geist Date: Wed, 3 Feb 2016 23:10:50 -0800 Subject: [PATCH] update fork --- README | 2 +- example/drawer/main.go | 4 ++-- example/freetype/main.go | 4 ++-- example/gamma/main.go | 4 ++-- example/raster/main.go | 4 ++-- example/round/main.go | 4 ++-- example/truetype/main.go | 4 ++-- freetype.go | 6 +++--- raster/raster.go | 2 +- truetype/face.go | 2 +- truetype/truetype.go | 2 +- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README b/README index 39b3d82..c4c9c45 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ The Freetype font rasterizer in the Go programming language. To download and install from source: -$ go get github.com/golang/freetype +$ go get github.com/mgeist/freetype It is an incomplete port: * It only supports TrueType fonts, and not Type 1 fonts nor bitmap fonts. diff --git a/example/drawer/main.go b/example/drawer/main.go index 4af981f..64233ab 100644 --- a/example/drawer/main.go +++ b/example/drawer/main.go @@ -5,7 +5,7 @@ // +build ignore // -// This build tag means that "go install github.com/golang/freetype/..." +// This build tag means that "go install github.com/mgeist/freetype/..." // doesn't install this example program. Use "go run main.go" to run it. package main @@ -23,7 +23,7 @@ import ( "math" "os" - "github.com/golang/freetype/truetype" + "github.com/mgeist/freetype/truetype" "golang.org/x/image/font" "golang.org/x/image/math/fixed" ) diff --git a/example/freetype/main.go b/example/freetype/main.go index 21657a3..fb65941 100644 --- a/example/freetype/main.go +++ b/example/freetype/main.go @@ -5,7 +5,7 @@ // +build ignore // -// This build tag means that "go install github.com/golang/freetype/..." +// This build tag means that "go install github.com/mgeist/freetype/..." // doesn't install this example program. Use "go run main.go" to run it. package main @@ -22,7 +22,7 @@ import ( "log" "os" - "github.com/golang/freetype" + "github.com/mgeist/freetype" "golang.org/x/image/font" ) diff --git a/example/gamma/main.go b/example/gamma/main.go index 778697f..652138c 100644 --- a/example/gamma/main.go +++ b/example/gamma/main.go @@ -5,7 +5,7 @@ // +build ignore // -// This build tag means that "go install github.com/golang/freetype/..." +// This build tag means that "go install github.com/mgeist/freetype/..." // doesn't install this example program. Use "go run main.go" to run it. package main @@ -19,7 +19,7 @@ import ( "log" "os" - "github.com/golang/freetype/raster" + "github.com/mgeist/freetype/raster" "golang.org/x/image/math/fixed" ) diff --git a/example/raster/main.go b/example/raster/main.go index ae9c57f..6baef74 100644 --- a/example/raster/main.go +++ b/example/raster/main.go @@ -5,7 +5,7 @@ // +build ignore // -// This build tag means that "go install github.com/golang/freetype/..." +// This build tag means that "go install github.com/mgeist/freetype/..." // doesn't install this example program. Use "go run main.go" to run it. package main @@ -20,7 +20,7 @@ import ( "log" "os" - "github.com/golang/freetype/raster" + "github.com/mgeist/freetype/raster" "golang.org/x/image/math/fixed" ) diff --git a/example/round/main.go b/example/round/main.go index 6c3012e..adc5690 100644 --- a/example/round/main.go +++ b/example/round/main.go @@ -5,7 +5,7 @@ // +build ignore // -// This build tag means that "go install github.com/golang/freetype/..." +// This build tag means that "go install github.com/mgeist/freetype/..." // doesn't install this example program. Use "go run main.go" to run it. // This program visualizes the quadratic approximation to the circle, used to @@ -26,7 +26,7 @@ import ( "math" "os" - "github.com/golang/freetype/raster" + "github.com/mgeist/freetype/raster" "golang.org/x/image/math/fixed" ) diff --git a/example/truetype/main.go b/example/truetype/main.go index 5fc72f7..f0d7870 100644 --- a/example/truetype/main.go +++ b/example/truetype/main.go @@ -5,7 +5,7 @@ // +build ignore // -// This build tag means that "go install github.com/golang/freetype/..." +// This build tag means that "go install github.com/mgeist/freetype/..." // doesn't install this example program. Use "go run main.go" to run it. package main @@ -16,7 +16,7 @@ import ( "io/ioutil" "log" - "github.com/golang/freetype/truetype" + "github.com/mgeist/freetype/truetype" "golang.org/x/image/font" "golang.org/x/image/math/fixed" ) diff --git a/freetype.go b/freetype.go index 9603586..383e9b8 100644 --- a/freetype.go +++ b/freetype.go @@ -6,15 +6,15 @@ // The freetype package provides a convenient API to draw text onto an image. // Use the freetype/raster and freetype/truetype packages for lower level // control over rasterization and TrueType parsing. -package freetype // import "github.com/golang/freetype" +package freetype // import "github.com/mgeist/freetype" import ( "errors" "image" "image/draw" - "github.com/golang/freetype/raster" - "github.com/golang/freetype/truetype" + "github.com/mgeist/freetype/raster" + "github.com/mgeist/freetype/truetype" "golang.org/x/image/font" "golang.org/x/image/math/fixed" ) diff --git a/raster/raster.go b/raster/raster.go index 7e6cd4e..40df678 100644 --- a/raster/raster.go +++ b/raster/raster.go @@ -13,7 +13,7 @@ // the Freetype "smooth" module, and the Anti-Grain Geometry library. A // description of the area/coverage algorithm is at // http://projects.tuxee.net/cl-vectors/section-the-cl-aa-algorithm -package raster // import "github.com/golang/freetype/raster" +package raster // import "github.com/mgeist/freetype/raster" import ( "strconv" diff --git a/truetype/face.go b/truetype/face.go index d64a014..49af69a 100644 --- a/truetype/face.go +++ b/truetype/face.go @@ -8,7 +8,7 @@ package truetype import ( "image" - "github.com/golang/freetype/raster" + "github.com/mgeist/freetype/raster" "golang.org/x/image/font" "golang.org/x/image/math/fixed" ) diff --git a/truetype/truetype.go b/truetype/truetype.go index 8d040c7..610bfb9 100644 --- a/truetype/truetype.go +++ b/truetype/truetype.go @@ -15,7 +15,7 @@ // // To measure a TrueType font in ideal FUnit space, use scale equal to // font.FUnitsPerEm(). -package truetype // import "github.com/golang/freetype/truetype" +package truetype // import "github.com/mgeist/freetype/truetype" import ( "fmt"