func renderGlyph(gc draw2d.GraphicContext, fontName string, chr rune) *Glyph {
	gc.Save()
	defer gc.Restore()
	gc.BeginPath()
	width := gc.CreateStringPath(string(chr), 0, 0)
	path := gc.GetPath()
	return &Glyph{
		Path:  &path,
		Width: width,
	}
}
func renderGlyph(gc draw2d.GraphicContext, fontName string, chr rune) *Glyph {
	gc.Save()
	defer gc.Restore()
	gc.BeginPath()
	width := gc.CreateStringPath(string(chr), 0, 0)
	path := gc.GetPath()
	return &Glyph{
		Path:  &path,
		Width: width,
	}
}
func renderGlyph ( gc draw2d . GraphicContext , fontName string , chr rune ) * Glyph { gc . Save ( ) defer gc . Restore ( ) gc . BeginPath ( ) width := gc . CreateStringPath ( string ( chr ) , 0 , 0 ) path := gc . GetPath ( ) return & Glyph { Path : & path , Width : width , } }
// renderGlyph renders a glyph then caches and returns it
renderGlyph renders a glyph then caches and returns it