From d140c2646511bbfd6247122ebe14763049c4afb0 Mon Sep 17 00:00:00 2001 From: Stani Date: Sat, 27 Jun 2015 16:51:37 +0200 Subject: [PATCH] disable PathLogger --- pdf2d/graphiccontext.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pdf2d/graphiccontext.go b/pdf2d/graphiccontext.go index b53d532..e323439 100644 --- a/pdf2d/graphiccontext.go +++ b/pdf2d/graphiccontext.go @@ -159,9 +159,8 @@ var logger = log.New(os.Stdout, "", log.Lshortfile) // draw fills and/or strokes paths func (gc *GraphicContext) draw(style string, paths ...*draw2d.PathStorage) { paths = append(paths, gc.Current.Path) - pathConverter := NewPathConverter( - NewVertexMatrixTransform(gc.Current.Tr, - NewPathLogger(logger, gc.pdf))) + pathConverter := NewPathConverter(NewVertexMatrixTransform(gc.Current.Tr, gc.pdf)) + // pathConverter := NewPathConverter(NewVertexMatrixTransform(gc.Current.Tr,NewPathLogger(logger, gc.pdf))) pathConverter.Convert(paths...) if gc.Current.FillRule.UseNonZeroWinding() { style += "*"