| 1 |
The Freetype font rasterizer in the Go programming language. |
| 2 |
|
| 3 |
To download and install from source: |
| 4 |
$ go get github.com/golang/freetype |
| 5 |
|
| 6 |
It is an incomplete port: |
| 7 |
* It only supports TrueType fonts, and not Type 1 fonts nor bitmap fonts. |
| 8 |
* It only supports the Unicode encoding. |
| 9 |
|
| 10 |
There are also some implementation differences: |
| 11 |
* It uses a 26.6 fixed point co-ordinate system everywhere internally, |
| 12 |
as opposed to the original Freetype's mix of 26.6 (or 10.6 for 16-bit |
| 13 |
systems) in some places, and 24.8 in the "smooth" rasterizer. |
| 14 |
|
| 15 |
Freetype-Go is derived from Freetype, which is written in C. Freetype is |
| 16 |
copyright 1996-2010 David Turner, Robert Wilhelm, and Werner Lemberg. |
| 17 |
Freetype-Go is copyright The Freetype-Go Authors, who are listed in the |
| 18 |
AUTHORS file. |
| 19 |
|
| 20 |
Unless otherwise noted, the Freetype-Go source files are distributed |
| 21 |
under the BSD-style license found in the LICENSE file. |