From 377629e707b3132c5fc456c8b3792bfc3368d8a9 Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Fri, 13 Mar 2015 08:24:50 -0400 Subject: Adjust references to account for move from code.google.com to github --- .gitignore | 8 ++++++++ .hgignore | 9 --------- README.md | 8 ++++++++ doc.go | 4 ++-- fpdf_test.go | 6 +++--- image/gofpdf.png | Bin 0 -> 11832 bytes makefont/makefont.go | 2 +- ttfparser_test.go | 2 +- 8 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 .gitignore delete mode 100644 .hgignore create mode 100644 README.md create mode 100644 image/gofpdf.png diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cde0305 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +makefont/makefont +pdf/*.pdf +look +open +pdf.txt +*.sublime* +font/Ubuntu-* +*.0 diff --git a/.hgignore b/.hgignore deleted file mode 100644 index 508c2b7..0000000 --- a/.hgignore +++ /dev/null @@ -1,9 +0,0 @@ -syntax: glob -makefont/makefont -pdf/*.pdf -look -open -pdf.txt -*.sublime* -font/Ubuntu-* -*.0 diff --git a/README.md b/README.md new file mode 100644 index 0000000..f58951a --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +![gofpdf](image/gofpdf.png?raw=true "gofpdf") + +Package gofpdf implements a PDF document generator with high level support for +text, drawing and images. + +See the [documentation][1] for more details. + +[1]: http://godoc.org/github.com/jung-kurt/gofpdf diff --git a/doc.go b/doc.go index 29194e8..55ff390 100644 --- a/doc.go +++ b/doc.go @@ -83,11 +83,11 @@ Installation To install the package on your system, run - go get code.google.com/p/gofpdf + go get github.com/jung-kurt/gofpdf Later, to receive updates, run - go get -u code.google.com/p/gofpdf + go get -u github.com/jung-kurt/gofpdf Quick Start diff --git a/fpdf_test.go b/fpdf_test.go index 123dcd0..0cf7ce0 100644 --- a/fpdf_test.go +++ b/fpdf_test.go @@ -18,8 +18,8 @@ package gofpdf_test import ( "bufio" - "code.google.com/p/gofpdf" "fmt" + "github.com/jung-kurt/gofpdf" "io/ioutil" "math" "net/http" @@ -1128,7 +1128,7 @@ func ExampleFpdf_tutorial21() { pdf.CellFormat(170, 257, rec.txt, borderStr, 0, rec.align, false, 0, linkStr) borderStr = "" } - linkStr = "https://code.google.com/p/gofpdf/" + linkStr = "https://github.com/jung-kurt/gofpdf" } pdf.OutputAndClose(docWriter(pdf, 21)) // Output: @@ -1297,7 +1297,7 @@ func ExampleFpdf_tutorial27() { wd = 210 ht = 297 fontSize = 15 - urlStr = "https://code.google.com/p/gofpdf/logo?cct=1402750750" + urlStr = "https://github.com/jung-kurt/gofpdf/blob/master/image/gofpdf.png?raw=true" msgStr = `Images from the web can be easily embedded when a PDF document is generated.` ) diff --git a/image/gofpdf.png b/image/gofpdf.png new file mode 100644 index 0000000..29d8401 Binary files /dev/null and b/image/gofpdf.png differ diff --git a/makefont/makefont.go b/makefont/makefont.go index 0541e27..d3ea19f 100644 --- a/makefont/makefont.go +++ b/makefont/makefont.go @@ -1,9 +1,9 @@ package main import ( - "code.google.com/p/gofpdf" "flag" "fmt" + "github.com/jung-kurt/gofpdf" "os" ) diff --git a/ttfparser_test.go b/ttfparser_test.go index 6b9b4c1..9f494a6 100644 --- a/ttfparser_test.go +++ b/ttfparser_test.go @@ -18,8 +18,8 @@ package gofpdf_test import ( "bytes" - "code.google.com/p/gofpdf" "fmt" + "github.com/jung-kurt/gofpdf" // "testing" ) -- cgit v1.2.1-24-ge1ad