golang-image/font/sfnt
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
..
cmap.go font/sfnt: use charmap EncodeRune API. 2017-04-05 22:33:02 +00:00
data.go font/sfnt: implement Font.GlyphName. 2017-02-17 10:37:04 +00:00
example_test.go font/sfnt: rename ExampleRasterizeGlyph to Example_rasterizeGlyph 2018-11-09 00:22:02 +00:00
gen.go font/sfnt: implement Font.GlyphName. 2017-02-17 10:37:04 +00:00
postscript.go font/sfnt: implement hflex and hflex1. 2017-05-23 02:19:15 +00:00
proprietary_test.go font/sfnt: implement hflex and hflex1. 2017-05-23 02:19:15 +00:00
sfnt_test.go image/font: expose caret slope 2018-09-26 01:56:37 +00:00
sfnt.go font/sfnt: support post table version 1.0 2018-11-07 04:00:41 +00:00
truetype.go font/sfnt: implement Font.GlyphAdvance. 2017-04-05 22:26:46 +00:00