From f45e5e9196bb313883f36e0ccc72f052f46aa37e Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Tue, 20 Oct 2015 12:24:07 -0400 Subject: Remove listing of reference PDFs in README --- README.md | 45 +-------------------------------------------- doc.go | 2 +- mkdoc | 7 +------ 3 files changed, 3 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index 28d579f..fdcbac4 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ 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](https://github.com/jung-kurt/gofpdf/blob/master/fpdf_test.go) for -some helper routines, for example exampleFilename and summary. +some helper routines, for example exampleFilename() and summary(). Example PDFs can be compared with reference copies in order to verify that they have been generated as expected. This comparison will be performed if a PDF @@ -114,49 +114,6 @@ the internal creation timestamps must be the same. To do this, the methods SetCatalogSort() and SetCreationDate() need to be called for both files. This is done automatically for all examples. -[AddFont](pdf/reference/Fpdf_AddFont.pdf) -[AddLayer](pdf/reference/Fpdf_AddLayer.pdf) -[AddPage](pdf/reference/Fpdf_AddPage.pdf) -[Beziergon](pdf/reference/Fpdf_Beziergon.pdf) -[Bookmark](pdf/reference/Fpdf_Bookmark.pdf) -[CellFormat 1 tables](pdf/reference/Fpdf_CellFormat_1_tables.pdf) -[CellFormat 2 align](pdf/reference/Fpdf_CellFormat_2_align.pdf) -[CellFormat 3 codepageescape](pdf/reference/Fpdf_CellFormat_3_codepageescape.pdf) -[CellFormat 4 codepage](pdf/reference/Fpdf_CellFormat_4_codepage.pdf) -[Circle figures](pdf/reference/Fpdf_Circle_figures.pdf) -[ClipText](pdf/reference/Fpdf_ClipText.pdf) -[CreateTemplate](pdf/reference/Fpdf_CreateTemplate.pdf) -[DrawPath fill](pdf/reference/Fpdf_DrawPath_fill.pdf) -[HTMLBasicNew](pdf/reference/Fpdf_HTMLBasicNew.pdf) -[Image](pdf/reference/Fpdf_Image.pdf) -[LinearGradient gradient](pdf/reference/Fpdf_LinearGradient_gradient.pdf) -[MoveTo path](pdf/reference/Fpdf_MoveTo_path.pdf) -[MultiCell](pdf/reference/Fpdf_MultiCell.pdf) -[PageSize](pdf/reference/Fpdf_PageSize.pdf) -[Polygon](pdf/reference/Fpdf_Polygon.pdf) -[RegisterImage](pdf/reference/Fpdf_RegisterImage.pdf) -[RegisterImageReader url](pdf/reference/Fpdf_RegisterImageReader_url.pdf) -[SVGBasicWrite](pdf/reference/Fpdf_SVGBasicWrite.pdf) -[SetAcceptPageBreakFunc landscape](pdf/reference/Fpdf_SetAcceptPageBreakFunc_landscape.pdf) -[SetAlpha transparency](pdf/reference/Fpdf_SetAlpha_transparency.pdf) -[SetFontLoader](pdf/reference/Fpdf_SetFontLoader.pdf) -[SetKeywords](pdf/reference/Fpdf_SetKeywords.pdf) -[SetLeftMargin multicolumn](pdf/reference/Fpdf_SetLeftMargin_multicolumn.pdf) -[SetLineJoinStyle caps](pdf/reference/Fpdf_SetLineJoinStyle_caps.pdf) -[SetProtection](pdf/reference/Fpdf_SetProtection.pdf) -[Splitlines](pdf/reference/Fpdf_Splitlines.pdf) -[TransformBegin](pdf/reference/Fpdf_TransformBegin.pdf) -[WriteAligned](pdf/reference/Fpdf_WriteAligned.pdf) -[barcode Register](pdf/reference/contrib_barcode_Register.pdf) -[barcode RegisterCodabar](pdf/reference/contrib_barcode_RegisterCodabar.pdf) -[barcode RegisterCode128](pdf/reference/contrib_barcode_RegisterCode128.pdf) -[barcode RegisterCode39](pdf/reference/contrib_barcode_RegisterCode39.pdf) -[barcode RegisterDataMatrix](pdf/reference/contrib_barcode_RegisterDataMatrix.pdf) -[barcode RegisterEAN](pdf/reference/contrib_barcode_RegisterEAN.pdf) -[barcode RegisterQR](pdf/reference/contrib_barcode_RegisterQR.pdf) -[barcode RegisterTwoOfFive](pdf/reference/contrib_barcode_RegisterTwoOfFive.pdf) -[httpimg Register](pdf/reference/contrib_httpimg_Register.pdf) - ##Nonstandard Fonts diff --git a/doc.go b/doc.go index b05ed8e..15bf40e 100644 --- a/doc.go +++ b/doc.go @@ -118,7 +118,7 @@ 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 -some helper routines, for example exampleFilename and summary. +some helper routines, for example exampleFilename() and summary(). Example PDFs can be compared with reference copies in order to verify that they have been generated as expected. This comparison will be performed if a PDF diff --git a/mkdoc b/mkdoc index 213becc..71294d7 100755 --- a/mkdoc +++ b/mkdoc @@ -18,10 +18,5 @@ cat README.md | tr '\n' '\v' | sed \ -e 's/test.coverage.(\(https:\/\/blog\.golang\.org\/cover\))/[test coverage](\1)/g' \ -e 's/Pull.requests.(\(https:\/\/help\.github\.com\/articles\/using\-pull\-requests\/\))/[Pull requests](\1)/g' \ -e 's/Your change should\v/Your change should\v\v/g' \ - -e 's/##Nonstandard Fonts/__PDFS__\v\v##Nonstandard Fonts/g' \ | tr '\v' '\n' > _0 -sed -e '/__PDFS__/,$d' _0 > _1 -go run list/list.go >> _1 -sed -e '1,/__PDFS__/d' _0 >> _1 -rm _0 -mv _1 README.md +mv _0 README.md -- cgit v1.2.1-24-ge1ad