func TestSampleGeometry(t *testing.T) { // Set the global folder for searching fonts // The pdf backend needs for every ttf file its corresponding // json/.z file which is generated by gofpdf/makefont. draw2d.SetFontFolder("resource/font") test(t, geometry.Main) }
func TestSampleHelloWorld(t *testing.T) { // Set the global folder for searching fonts draw2d.SetFontFolder("resource/font") test(t, helloworld.Main) }