From 1e84d9be144408bfdbb95582191158acd1805c74 Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Sat, 10 Aug 2013 21:34:54 -0400 Subject: =?UTF-8?q?Added=20support=20for=20drawing=20curves=20and=20arcs?= =?UTF-8?q?=20with=20an=20example.=20This=20was=20adapted=20from=20the=20g?= =?UTF-8?q?eometric=20figures=20FPDF=20script=20by=20David=20Hern=C3=A1nde?= =?UTF-8?q?z=20Sanz,=20with=20a=20starter=20function=20provided=20by=20Ant?= =?UTF-8?q?hony=20Starks.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Anthony Starks also made a case for not closing the io.Writer after it is used to produce a document. An additional method, OutputAndClose, was added so that the library can close the writer if desired. --- ttfparser_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ttfparser_test.go') diff --git a/ttfparser_test.go b/ttfparser_test.go index c856ec5..5e25eeb 100644 --- a/ttfparser_test.go +++ b/ttfparser_test.go @@ -51,7 +51,7 @@ func TestLoadMap(t *testing.T) { "168: 0x0E08 chochanthai", "169: 0x0E09 chochingthai", } - list, err := loadMap(GOFPDF_DIR + "/font/iso-8859-11.map") + list, err := loadMap(FONT_DIR + "/iso-8859-11.map") if err == nil { pos := 0 for j := 164; j < 170; j++ { -- cgit v1.2.1-24-ge1ad