Skip to content

The Freetype font rasterizer in the Go programming language.

License

Notifications You must be signed in to change notification settings

golang/freetype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e2365df · Jun 9, 2017
Dec 16, 2013
Jun 26, 2016
Apr 1, 2010
Feb 18, 2016
Nov 6, 2014
Jun 9, 2017
Feb 18, 2016
Feb 18, 2016
Oct 4, 2013
Aug 11, 2015
Sep 1, 2015
Aug 20, 2015

Repository files navigation

The Freetype font rasterizer in the Go programming language.

To download and install from source:
$ go get github.com/golang/freetype

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:
  * It uses a 26.6 fixed point co-ordinate system everywhere internally,
    as opposed to the original Freetype's mix of 26.6 (or 10.6 for 16-bit
    systems) in some places, and 24.8 in the "smooth" rasterizer.

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.

Unless otherwise noted, the Freetype-Go source files are distributed
under the BSD-style license found in the LICENSE file.