golang-image/font
Nigel Tao 3ba119400e font: fix rectangle-union for empty rectangles.
The bounding box of a string does not necessarily contain the origin.
Prior to this commit, BoundString(etc, "x") would call grow exactly
once, with the first argument being the (empty) zero rectangle.

Change-Id: Id7d4f6c250ac0749f6dae19d11f4e97f9c6f45bc
Reviewed-on: https://go-review.googlesource.com/34674
Reviewed-by: Dave Day <djd@golang.org>
2016-12-28 23:11:51 +00:00
..
basicfont font/basicfont: add Descent and Left fields. 2016-06-30 00:32:31 +00:00
gofont font/gofont: add style descriptions to the generated package docs. 2016-11-18 00:40:29 +00:00
inconsolata font/inconsolata: new package. 2016-06-30 01:20:08 +00:00
plan9font font/plan9font: look for subfont ".0" suffixes. 2016-08-07 01:57:26 +00:00
sfnt font/sfnt: add a Font.Name method. 2016-12-20 10:23:14 +00:00
testdata font/sfnt: implement rrcurveto. 2016-12-12 04:37:57 +00:00
font_test.go font: fix rectangle-union for empty rectangles. 2016-12-28 23:11:51 +00:00
font.go font: fix rectangle-union for empty rectangles. 2016-12-28 23:11:51 +00:00