From 63932d6d793dfa6c35817992c154ceb6cf40623d Mon Sep 17 00:00:00 2001 From: Alexander Weinhold Date: Thu, 6 Dec 2018 16:58:32 +0100 Subject: [PATCH] change import paths --- example/capjoin/main.go | 2 +- example/drawer/main.go | 4 ++-- example/freetype/main.go | 2 +- example/gamma/main.go | 2 +- example/genbasicfont/main.go | 8 ++++---- example/raster/main.go | 2 +- example/round/main.go | 2 +- example/truetype/main.go | 4 ++-- freetype.go | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/example/capjoin/main.go b/example/capjoin/main.go index 71f3356..c19ba80 100644 --- a/example/capjoin/main.go +++ b/example/capjoin/main.go @@ -22,7 +22,7 @@ import ( "os" "github.com/golang/freetype/raster" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/math/fixed" ) func main() { diff --git a/example/drawer/main.go b/example/drawer/main.go index d26d066..9cd398a 100644 --- a/example/drawer/main.go +++ b/example/drawer/main.go @@ -25,8 +25,8 @@ import ( "os" "github.com/golang/freetype/truetype" - "golang.org/x/image/font" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/font" + "git.gutmet.org/golang-image.git/math/fixed" ) var ( diff --git a/example/freetype/main.go b/example/freetype/main.go index dfbde9a..5dda0aa 100644 --- a/example/freetype/main.go +++ b/example/freetype/main.go @@ -24,7 +24,7 @@ import ( "os" "github.com/golang/freetype" - "golang.org/x/image/font" + "git.gutmet.org/golang-image.git/font" ) var ( diff --git a/example/gamma/main.go b/example/gamma/main.go index cdd50bc..878448f 100644 --- a/example/gamma/main.go +++ b/example/gamma/main.go @@ -21,7 +21,7 @@ import ( "os" "github.com/golang/freetype/raster" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/math/fixed" ) func p(x, y int) fixed.Point26_6 { diff --git a/example/genbasicfont/main.go b/example/genbasicfont/main.go index 5b2f2bc..74528b2 100644 --- a/example/genbasicfont/main.go +++ b/example/genbasicfont/main.go @@ -10,7 +10,7 @@ // install -tags=example" to install it. // Program genbasicfont generates Go source code that imports -// golang.org/x/image/font/basicfont to provide a fixed width font face. +// git.gutmet.org/golang-image.git/font/basicfont to provide a fixed width font face. package main import ( @@ -27,8 +27,8 @@ import ( "unicode" "github.com/golang/freetype/truetype" - "golang.org/x/image/font" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/font" + "git.gutmet.org/golang-image.git/math/fixed" ) var ( @@ -203,7 +203,7 @@ func main() { buf := new(bytes.Buffer) fmt.Fprintf(buf, "// generated by go generate; DO NOT EDIT.\n\npackage %s\n\n", *pkg) - fmt.Fprintf(buf, "import (\n\"image\"\n\n\"golang.org/x/image/font/basicfont\"\n)\n\n") + fmt.Fprintf(buf, "import (\n\"image\"\n\n\"git.gutmet.org/golang-image.git/font/basicfont\"\n)\n\n") fmt.Fprintf(buf, "// %s contains %d %d×%d glyphs in %d Pix bytes.\n", *vr, len(glyphs), width, height, len(glyphs)*width*height) fmt.Fprintf(buf, `var %s = basicfont.Face{ diff --git a/example/raster/main.go b/example/raster/main.go index 3e572e1..ac409d9 100644 --- a/example/raster/main.go +++ b/example/raster/main.go @@ -22,7 +22,7 @@ import ( "os" "github.com/golang/freetype/raster" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/math/fixed" ) type node struct { diff --git a/example/round/main.go b/example/round/main.go index 2920e83..f87b108 100644 --- a/example/round/main.go +++ b/example/round/main.go @@ -28,7 +28,7 @@ import ( "os" "github.com/golang/freetype/raster" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/math/fixed" ) // pDot returns the dot product p·q. diff --git a/example/truetype/main.go b/example/truetype/main.go index e7db2d0..a73f52a 100644 --- a/example/truetype/main.go +++ b/example/truetype/main.go @@ -18,8 +18,8 @@ import ( "log" "github.com/golang/freetype/truetype" - "golang.org/x/image/font" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/font" + "git.gutmet.org/golang-image.git/math/fixed" ) var fontfile = flag.String("fontfile", "../../testdata/luxisr.ttf", "filename of the ttf font") diff --git a/freetype.go b/freetype.go index 36b323c..c35c598 100644 --- a/freetype.go +++ b/freetype.go @@ -15,8 +15,8 @@ import ( "git.gutmet.org/golang-freetype.git/raster" "git.gutmet.org/golang-freetype.git/truetype" - "golang.org/x/image/font" - "golang.org/x/image/math/fixed" + "git.gutmet.org/golang-image.git/font" + "git.gutmet.org/golang-image.git/math/fixed" ) // These constants determine the size of the glyph cache. The cache is keyed