- 08 12月, 2016 1 次提交
-
-
由 Nigel Tao 提交于
-
- 01 9月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
-
- 30 8月, 2015 3 次提交
-
-
由 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.
-
- 20 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
-
- 18 8月, 2015 2 次提交
- 12 8月, 2015 1 次提交
-
-
由 Nigel Tao 提交于
-
- 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
-
- 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
-
- 03 12月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
The very subtle pp1x versus phantomPoints[0].X distinction is pretty ugly code, but let's get all the tests passing first, so that we can refactor with confidence. R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/35850043
-
- 29 11月, 2013 2 次提交
-
-
由 Nigel Tao 提交于
*before* hinting. R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/35070044
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/34700043
-
- 26 11月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
2nd / 4th phantom point rounding. R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/32040043
-
- 07 11月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
Successfully hint all of DejaVu Sans Oblique, barring 4 exceptions that are errors in the upstream C Freetype project. See http://lists.nongnu.org/archive/html/freetype/2013-11/msg00004.html for details. R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/21580044
-
- 05 11月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
Also add API for vertical metrics. R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/21330043
-
- 30 10月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/19090043
-
- 29 10月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
Also make phantom point delta-X adjustment. Also make print-glyph-points require Freetype version >= 2.5, which is the latest version, at the time of writing. R=bsiegert CC=golang-dev, remyoudompheng https://codereview.appspot.com/18370043
-
- 17 10月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
Also increase the maximum recursion depth from 4 to 8, since some x-deja-vu-sans-oblique glyphs are actually depth 4. It's an arbitrary limit. The C Freetype code doesn't seem to limit recursion (below whatever the font says it needs), but it seems safer to have a limit. R=bsiegert CC=golang-dev https://codereview.appspot.com/14494062
-
- 16 10月, 2013 2 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-dev https://codereview.appspot.com/14425064
-
由 Nigel Tao 提交于
one more test case. R=bsiegert CC=golang-dev https://codereview.appspot.com/14691043
-
- 10 10月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
points accordingly. Yes, it's a mess, but let's pass the tests first, and then refactor. R=bsiegert CC=golang-dev https://codereview.appspot.com/14419052
-
- 02 10月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
Hinter's state, instead of having a glyph shrink and restore its points around hinting. R=bsiegert CC=golang-dev https://codereview.appspot.com/14203043
-
- 01 10月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-dev https://codereview.appspot.com/14117043
-
- 24 9月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-dev https://codereview.appspot.com/13855043
-
- 31 8月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
We can now hint the .notdef glyph from luxisr.ttf. Yay. R=bsiegert CC=golang-dev https://codereview.appspot.com/12829048
-
- 13 8月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
Also add a test that freetype-go derives the same glyph points as the C freetype implementation. R=bsiegert CC=golang-dev https://codereview.appspot.com/12670046
-
- 02 8月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
These new opcodes aren't unit-tested per se, but they will be exercised by an end-to-end hinting test of the Luxi fonts. R=bsiegert CC=golang-dev https://codereview.appspot.com/12100043
-
- 30 7月, 2013 1 次提交
-
-
由 Nigel Tao 提交于
R=bsiegert CC=golang-dev https://codereview.appspot.com/11983043
-
- 25 7月, 2012 1 次提交
-
-
由 Nigel Tao 提交于
to package truetype. R=bsiegert CC=golang-dev http://codereview.appspot.com/6427062
-
- 16 6月, 2012 1 次提交
-
-
由 Nigel Tao 提交于
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
-
- 07 5月, 2012 1 次提交
-
-
由 Nigel Tao 提交于
No code changes, just a copy/paste. R=bradfitz CC=golang-dev http://codereview.appspot.com/6201052
-