update fork

This commit is contained in:
Mat Geist 2016-02-03 23:10:50 -08:00
parent 60554bdab2
commit 46c8ad2f70
11 changed files with 19 additions and 19 deletions

2
README
View file

@ -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.

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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"
)

View file

@ -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"

View file

@ -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"
)

View file

@ -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"