README 898 字节
Newer Older
N
Nigel Tao 已提交
1
The Freetype font rasterizer in the Go programming language.
N
Nigel Tao 已提交
2

N
Nigel Tao 已提交
3
To download and install from source:
N
Nigel Tao 已提交
4
$ go get github.com/golang/freetype
N
Nigel Tao 已提交
5

N
Nigel Tao 已提交
6 7 8 9 10
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:
N
Nigel Tao 已提交
11
  * It uses a 26.6 fixed point co-ordinate system everywhere internally,
N
Nigel Tao 已提交
12
    as opposed to the original Freetype's mix of 26.6 (or 10.6 for 16-bit
N
Nigel Tao 已提交
13
    systems) in some places, and 24.8 in the "smooth" rasterizer.
N
Nigel Tao 已提交
14 15 16 17 18 19

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.

N
Nigel Tao 已提交
20 21
Unless otherwise noted, the Freetype-Go source files are distributed
under the BSD-style license found in the LICENSE file.