golang-image/font
Dmitri Shuralyov aa35264064 font/sfnt: rename ExampleRasterizeGlyph to Example_rasterizeGlyph
This change renames the example to follow correct naming convention,
as documented at https://godoc.org/testing#hdr-Examples. As a result,
it shows up in godoc.

This issue was caught and reported by vet:

	$ go vet golang.org/x/image/font/sfnt
	# golang.org/x/image/font/sfnt_test
	font/sfnt/example_test.go:19: ExampleRasterizeGlyph refers to unknown identifier: RasterizeGlyph

Fixes golang/go#28684

Change-Id: I2749c638c5f3ed15e4db0448bc7a5e2c12c056e5
Reviewed-on: https://go-review.googlesource.com/c/148576
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-11-09 00:22:02 +00:00
..
basicfont image/font: expose caret slope 2018-09-26 01:56:37 +00:00
gofont font/gofont: new Smallcaps; update other Go Fonts. 2017-03-30 00:58:26 +00:00
inconsolata font/inconsolata: new package. 2016-06-30 01:20:08 +00:00
opentype image/font: expose caret slope 2018-09-26 01:56:37 +00:00
plan9font image/font: expose caret slope 2018-09-26 01:56:37 +00:00
sfnt font/sfnt: rename ExampleRasterizeGlyph to Example_rasterizeGlyph 2018-11-09 00:22:02 +00:00
testdata font/sfnt: implement flagWeHaveATwoByTwo. 2017-03-22 21:43:44 +00:00
font_test.go font: fix rectangle-union for empty rectangles. 2016-12-28 23:11:51 +00:00
font.go image/font: expose caret slope 2018-09-26 01:56:37 +00:00