- 30 8月, 2015 2 次提交
-
-
由 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 4 次提交
- 11 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
We use git and github now, not hg and code.google.com.
-
- 09 3月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
Fixes issue 16. LGTM=crawshaw R=crawshaw CC=golang-codereviews, philipz https://codereview.appspot.com/209280043
-
- 24 2月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
This code dates from before Go 1.0. LGTM=crawshaw R=crawshaw CC=golang-codereviews https://codereview.appspot.com/206860043
-
- 07 11月, 2014 2 次提交
-
-
由 Nigel Tao 提交于
of standard fonts like Deja Vu Sans Oblique. LGTM=bsiegert R=bsiegert CC=golang-codereviews https://codereview.appspot.com/164660043
-
由 Nigel Tao 提交于
Fixes issue 12. Fixes issue 13. LGTM=bsiegert R=bsiegert CC=golang-codereviews https://codereview.appspot.com/164650043
-
- 06 2月, 2014 1 次提交
-
-
由 Nigel Tao 提交于
LGTM=bsiegert R=bsiegert CC=golang-codereviews https://codereview.appspot.com/60380043
-
- 01 2月, 2014 1 次提交
-
-
由 Nigel Tao 提交于
hide the Hinter implementation in the freetype/truetype package. LGTM=bsiegert R=bsiegert CC=golang-codereviews https://codereview.appspot.com/58940043
-
- 30 1月, 2014 1 次提交
-
-
由 Nigel Tao 提交于
LGTM=bsiegert R=bsiegert CC=golang-codereviews https://codereview.appspot.com/54730043
-
- 21 1月, 2014 1 次提交
-
-
由 Nigel Tao 提交于
Also delete "q means that that opcode is not yet implemented", as all valid opcodes are now implemented. R=bsiegert CC=golang-codereviews https://codereview.appspot.com/53050044
-
- 20 1月, 2014 1 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-codereviews https://codereview.appspot.com/51760043
-
- 14 1月, 2014 1 次提交
-
-
由 Nigel Tao 提交于
The logic is a little clunky, but as before, let's get it right first, then get it clean once we have a full battery of tests. R=bsiegert CC=golang-codereviews https://codereview.appspot.com/50910043
-
- 21 12月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-codereviews, remyoudompheng https://codereview.appspot.com/39440045
-
- 20 12月, 2013 1 次提交
-
-
由 Russ Cox 提交于
See this thread for background: https://groups.google.com/forum/#!topic/golang-dev/xG7vPi21r8g R=golang-codereviews, r CC=golang-codereviews https://codereview.appspot.com/36380046
-
- 16 12月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/40690045
-
- 05 12月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
rounding. Pass all the hinting tests. Hooray! Removing the hintingBrokenAt field will be a follow-up CL. R=bsiegert, remyoudompheng, jeremyjackins CC=golang-dev https://codereview.appspot.com/36880043
-