Merge 2e287b3e47
into 7510d72d52
This commit is contained in:
commit
d758172b41
7 changed files with 8 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,7 +6,7 @@ import (
|
|||
"image/draw"
|
||||
"runtime"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/raster"
|
||||
"github.com/golang/freetype/raster"
|
||||
"github.com/go-gl/gl/v2.1/gl"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d/draw2dbase"
|
||||
|
|
|
@ -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"
|
||||
|
|
3
font.go
3
font.go
|
@ -8,8 +8,7 @@ import (
|
|||
"log"
|
||||
"path"
|
||||
"path/filepath"
|
||||
|
||||
"code.google.com/p/freetype-go/freetype/truetype"
|
||||
"github.com/golang/freetype/truetype"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Add table
Reference in a new issue