all: update freetype import path
This commit is contained in:
parent
ad6b615bc4
commit
baf5e19bf7
8 changed files with 9 additions and 9 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
"github.com/llgcode/draw2d"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/truetype"
|
||||
"github.com/golang/freetype/truetype"
|
||||
)
|
||||
|
||||
var DefaultFontData = draw2d.FontData{Name: "luxi", Family: draw2d.FontFamilySans, Style: draw2d.FontStyleNormal}
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
"image/draw"
|
||||
"runtime"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/raster"
|
||||
"github.com/go-gl/gl/v2.1/gl"
|
||||
"github.com/golang/freetype/raster"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d/draw2dbase"
|
||||
"github.com/llgcode/draw2d/draw2dimg"
|
||||
|
|
|
@ -14,8 +14,8 @@ import (
|
|||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d/draw2dbase"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/raster"
|
||||
"code.google.com/p/freetype-go/freetype/truetype"
|
||||
"github.com/golang/freetype/raster"
|
||||
"github.com/golang/freetype/truetype"
|
||||
)
|
||||
|
||||
// Painter implements the freetype raster.Painter and has a SetColor method like the RGBAPainter
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
package draw2dimg
|
||||
|
||||
import (
|
||||
"code.google.com/p/freetype-go/freetype/raster"
|
||||
"github.com/golang/freetype/raster"
|
||||
)
|
||||
|
||||
type FtLineBuilder struct {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package draw2dimg
|
||||
|
||||
import (
|
||||
"code.google.com/p/freetype-go/freetype/truetype"
|
||||
"github.com/golang/freetype/truetype"
|
||||
"github.com/llgcode/draw2d"
|
||||
)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"os"
|
||||
"strconv"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/truetype"
|
||||
"github.com/golang/freetype/truetype"
|
||||
|
||||
"github.com/jung-kurt/gofpdf"
|
||||
"github.com/llgcode/draw2d"
|
||||
|
|
2
font.go
2
font.go
|
@ -9,7 +9,7 @@ import (
|
|||
"path"
|
||||
"path/filepath"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/truetype"
|
||||
"github.com/golang/freetype/truetype"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"image/color"
|
||||
"testing"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/raster"
|
||||
"github.com/golang/freetype/raster"
|
||||
"github.com/llgcode/draw2d/draw2dbase"
|
||||
"github.com/llgcode/draw2d/draw2dimg"
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue