- 24 3月, 2016 1 次提交
-
-
由 Nigel Tao 提交于
A recent change added a Metrics method to the font.Face interface.
-
- 21 2月, 2016 1 次提交
-
-
由 Nigel Tao 提交于
-
- 19 2月, 2016 2 次提交
-
-
由 Michael Fogleman 提交于
- 18 2月, 2016 1 次提交
-
-
由 Michael Fogleman 提交于
Some constants were not updated properly when switching from raster.Point to fixed.26_6
-
- 29 1月, 2016 2 次提交
-
-
由 Nigel Tao 提交于
- 29 11月, 2015 1 次提交
-
-
由 Maksim Kochkin 提交于
Looks like since https://github.com/golang/freetype/commit/8a4428169df5c9ec333fbda61dca6b830cb47d66 you forget to change this in MonochromePainter
-
- 24 9月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
See the discussion on https://github.com/golang/freetype/pull/19
-
- 21 9月, 2015 3 次提交
-
-
由 Nigel Tao 提交于
-
由 Stephen Edwards 提交于
-
由 Nigel Tao 提交于
-
- 01 9月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
-
- 31 8月, 2015 2 次提交
- 30 8月, 2015 4 次提交
-
-
由 Nigel Tao 提交于
This is more consistent with the standard library's image/color package. The benchmarks didn't seem to change significantly.
-
由 Nigel Tao 提交于
The slice Foos is plural; it refers to multiple elements. The element Foos[i] is the i'th Foo.
-
由 Nigel Tao 提交于
The previous "the endpoints are inclusive" comment seems confusing. It's true that the bounding box's max X equals the right-most coordinate, which suggests <= instead of <, but that node's coordinate is itself exclusive. Consider the solid 1-pixel square: (0, 0), (64, 0), (64, 64), (0, 64) in fixed.Point26_6 coordinates. The right-most coordinate is 64, and the bounding box's max X equals 64, but rasterizing that square only affects sub-pixels up to but not including 64. Instead, it seems accurate to follow the fixed.Rectangle26_6 description, in that the max values are exclusive.
-
由 Nigel Tao 提交于
The zero value of a GlyphBuf is already perfectly usable.
-
- 27 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
benchmark old ns/op new ns/op delta BenchmarkDrawString-4 88103151 14188817 -83.90%
-
- 25 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
This is in anticipation of caching glyph images. Quantization means that cache hits are more likely. Also make NewFace take an *Options instead of an Options.
-
- 24 8月, 2015 3 次提交
- 23 8月, 2015 2 次提交
- 22 8月, 2015 2 次提交
-
-
由 Nigel Tao 提交于
These comments weren't updated when we went from 24.8 to 26.6.
-
由 Nigel Tao 提交于
Its implementation is mostly a copy/paste of the freetype.Context type. Follow-up commits will make it more efficient. Also add an example that uses a truetype.Face and the golang.org/x/exp/shiny/font package to draw text.
-
- 21 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
-
- 20 8月, 2015 2 次提交
- 18 8月, 2015 5 次提交
- 17 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
-
- 13 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
This is in anticipation of removing the Point type entirely. Instead, we will use the fixed.Point26_6 type from golang.org/x/image/math/fixed.
-
- 12 8月, 2015 2 次提交