Fork of golang/freetype with some extra stuff
Find a file
Nigel Tao 6baa5f0a46 freetype: optimize []byte to uint16/uint32 conversions.
Thanks to Jeff R. Allen <jra@nella.org> for the conversation that
led to this change.

benchmark              old ns/op    new ns/op    delta
BenchmarkDrawString     21168440     20143860   -4.84%

The number of mallocs per iteration is unchanged.

R=rsc, r
CC=golang-dev, jra
http://codereview.appspot.com/6304077
2012-06-16 12:19:07 +10:00
example freetype: make freetype clean wrt "go vet". 2012-05-07 22:52:01 +10:00
freetype freetype: optimize []byte to uint16/uint32 conversions. 2012-06-16 12:19:07 +10:00
lib/codereview Freetype-Go: Add lib/codereview/codereview.cfg. 2010-05-28 14:17:10 -07:00
licenses Freetype-Go: Initial code check-in. 2010-04-02 10:07:24 +11:00
luxi-fonts Fix luxi-fonts/README to say there are only 3 fonts, not 12. 2010-04-29 08:56:26 +10:00
.hgignore freetype: update .hgignore. 2012-05-04 16:17:10 +10:00
AUTHORS freetype: A+C: Jeff R. Allen (individual CLA) 2012-06-14 11:41:58 +10:00
CONTRIBUTORS freetype: A+C: Jeff R. Allen (individual CLA) 2012-06-14 11:41:58 +10:00
LICENSE Freetype-Go: Add Luxi .ttf fonts, and the human-readable .ttx equivalents. 2010-04-28 22:25:52 +10:00
README freetype: delete Makefiles. 2012-02-04 09:32:01 +11:00

This is a port of the Freetype font rasterizer (www.freetype.org) to the Go
programming language (golang.org).

To download and install from source:
$ go get code.google.com/p/freetype-go/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 24.8 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.

The Freetype-Go homepage is http://code.google.com/p/freetype-go/