2015-08-11 04:38:11 +00:00
|
|
|
The Freetype font rasterizer in the Go programming language.
|
2010-04-01 23:07:24 +00:00
|
|
|
|
2012-02-03 22:32:01 +00:00
|
|
|
To download and install from source:
|
2015-08-11 04:38:11 +00:00
|
|
|
$ go get github.com/golang/freetype
|
2012-02-03 22:32:01 +00:00
|
|
|
|
2010-04-01 23:07:24 +00:00
|
|
|
It is an incomplete port:
|
|
|
|
* It only supports TrueType fonts, and not Type 1 fonts nor bitmap fonts.
|
|
|
|
* It only supports the Unicode encoding.
|
|
|
|
|
|
|
|
There are also some implementation differences:
|
2015-08-11 04:38:11 +00:00
|
|
|
* It uses a 26.6 fixed point co-ordinate system everywhere internally,
|
2010-04-01 23:07:24 +00:00
|
|
|
as opposed to the original Freetype's mix of 26.6 (or 10.6 for 16-bit
|
2015-08-11 04:38:11 +00:00
|
|
|
systems) in some places, and 24.8 in the "smooth" rasterizer.
|
2010-04-01 23:07:24 +00:00
|
|
|
|
|
|
|
Freetype-Go is derived from Freetype, which is written in C. Freetype is
|
|
|
|
copyright 1996-2010 David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
Freetype-Go is copyright The Freetype-Go Authors, who are listed in the
|
|
|
|
AUTHORS file.
|
|
|
|
|
2015-08-11 04:38:11 +00:00
|
|
|
Unless otherwise noted, the Freetype-Go source files are distributed
|
|
|
|
under the BSD-style license found in the LICENSE file.
|