diff options
-rw-r--r-- | README.md | 8 | ||||
-rwxr-xr-x | mkdoc | 2 |
2 files changed, 6 insertions, 4 deletions
@@ -53,7 +53,7 @@ pdf.Cell(40, 10, "Hello, world") err := pdf.OutputFileAndClose("hello.pdf") ``` -See the functions in the fpdf_test.go file (shown as examples in this +See the functions in the [fpdf_test.go](https://github.com/jung-kurt/gofpdf/blob/master/fpdf_test.go) file (shown as examples in this documentation) for more advanced PDF examples. ##Errors @@ -74,8 +74,8 @@ retrieved with a call to Error(). ##Conversion Notes -This package is a relatively straightforward translation from the original [FPDF](http://www.fpdf.org/) library written in PHP (despite the caveat in the introduction to Effective -Go). The API names have been retained even though the Go idiom would suggest +This package is a relatively straightforward translation from the original [FPDF](http://www.fpdf.org/) library written in PHP (despite the caveat in the introduction to [Effective +Go](https://golang.org/doc/effective_go.html)). The API names have been retained even though the Go idiom would suggest otherwise (for example, pdf.GetX() is used rather than simply pdf.X()). The similarity of the two libraries makes the original FPDF website a good source of information. It includes a forum and FAQ. @@ -96,7 +96,7 @@ A side effect of running "go test" is the production of a number of example PDFs. These can be found in the gofpdf/pdf directory after the tests complete. Please note that these examples run in the context of a test. In order run an -example as a standalone application, you'll need to examine fpdf_test.go for +example as a standalone application, you'll need to examine [fpdf_test.go](https://github.com/jung-kurt/gofpdf/blob/master/fpdf_test.go) for some helper routines, for example exampleFilename and summary. ##Nonstandard Fonts @@ -9,5 +9,7 @@ cat README.md | tr '\n' '\v' | sed \ -e 's/draw2d.package.(\(https:\/\/github\.com\/llgcode\/draw2d\))/[draw2d](\1) package/g' \ -e 's/FPDF.library.(\(http:\/\/www\.fpdf\.org\/\))/[FPDF](\1) library/g' \ -e 's/original.FPDF.library/original [FPDF](http:\/\/www.fpdf.org\/) library/g' \ + -e 's/\(Effective.Go\)/[\1](https:\/\/golang.org\/doc\/effective_go.html)/g' \ + -e 's/\(fpdf_test.go\)/[\1](https:\/\/github.com\/jung-kurt\/gofpdf\/blob\/master\/fpdf_test.go)/g' \ | tr '\v' '\n' > 0 mv 0 README.md |