summaryrefslogtreecommitdiff
path: root/fpdf_test.go
AgeCommit message (Collapse)Author
2018-01-08Acknowledge David Fish's generic alias replacement contribution; change test ↵Kurt
name so that example hang's off of RegisterAlias method in documentation
2018-01-08Added generic alias-replacement function to enable Table of Contents ↵David Fish
functionality
2017-12-02Add consts for page orientations (#150)Paweł Słomka
2017-11-12Add partial support for spot colors. This does not yet include gradients, etcKurt
2017-08-25Demonstrate word-wrapping in table cellsKurt
2017-07-19Tweak some last page expressions and commentsKurt
2017-07-19Issue #121 Add Last Page information FooterFncAloidev
2017-06-12Trigger an error when attempting to render text if font has not been setKurt
2017-06-10add the ability to include JavaScript in PDFs (#117)Dan Meyers
2016-12-02Issue #53 - Support for <RIGHT> alignment tag on basic HTML (#95)Guillermo Pascual
* Added <RIGHT> tag support to the html basic parser. Also added a test line for the RIGHT alignment on fpdf_test ExampleFpdf_HTMLBasicNew * Updated the reference PDF for HTMLBasicNew
2016-11-11Adjust some names of test functions to conform with Go's naming conventionsKurt
2016-11-07Use struct keywords in examples of fpdf_test to comply with go vet (#90)Wilk
Good catch, @flibustenet -- thanks!
2016-11-06Add tables examples ClippedTableCells and WrappedTableCellsWilk
2016-08-18Allow default compression mode to be set. Go 1.7 introduces a new ↵Kurt
compression/flate routine that results in different compressed streams than before. Consequently, PDFs generated with go 1.7 are not generally binary-equivalent with those generated with previous versions. Turning off compression for test files removes this variability. However, it does not help with PDFs that contain images. For now, those reference PDFs have been removed to allow tests to proceed.
2016-07-30Correct names of various CellFormat examples and generated filesKurt
2016-07-30Correct example function nameKurt
2016-07-30Fix some glitches reported by goreportcard.comKurt
2016-07-30Fix some typos and other goreportcard violationsKurt
2016-07-30Isolate embedded font dataKurt
2016-07-28adding support to embedded fonts as byte arrayPaulo Coutinho
2016-03-09Demonstrate UTF-8 translation with Portuguese pangramKurt
2015-10-12Allow SVG example to be compressedKurt Jung
2015-10-11Conditionally order another map iteration. Fix 'go vet' problem with unkeyed ↵Kurt Jung
field in composite literal.
2015-10-11Investigate missing spaces between wordsKurt Jung
2015-10-11Move default assignments to init function of example file from various test ↵Kurt Jung
files. Now any package that imports the example package will generate PDFs with sorted catalogs and a fixed creation timestamp.
2015-10-10Conditionally sort image catalog. Correct small typos.Kurt Jung
2015-10-10Introduce helper functions to set default catalog sort flag and creation ↵Kurt Jung
date value. Remove regular expression scheme that effectively ignored the embedded creation date when comparing PDFs.
2015-10-10Implement conditional catalog sort featureKurt Jung
2015-10-09Implement PDF comparison with rudimentary byte-difference display. If a ↵Kurt Jung
reference file exists, it will be compared with its associated example file. If the reference file is missing, the associated example file is considered to be without differences. PDF files in any subdirectory named reference are not deleted when the test begins. This commit is broken -- it illustrates how the use of maps for fonts, images and other resources lead to different dictionary tables in the PDF document.
2015-09-25Fpdf: add WriteAligned.Jelmer Snoeck
WriteAligned allows a user to write a single string and align it. Previously, Write() would only write with Left alignment. Sometimes, you want to align a specific text string to the center or the right. HTMLBasic: add <center> tag. This allows a user to center text within the HTML block. This way they do not have to split up their input. A new line will be created automatically before and after the centered text.
2015-09-05Windows testing 2Marcus Downing
2015-08-26Factor various test example helper routines into their own internal packageKurt Jung
2015-08-21Change GetImageInfo to return pointerKurt Jung
2015-08-19Add image information retrieval method and testKurt Jung
2015-08-12Allow the tests to work on WindowsMarcus Downing
2015-08-04Templating fixesMarcus Downing
2015-08-04TemplatingMarcus Downing
2015-07-23Add a sample Type1 font and metric file pair for testing purposesKurt Jung
2015-07-12implement vertical baseline alignment for textStani
2015-07-11fix long lines in documentation examplesStani
2015-07-09synchronize filenames example pdf files with godocStani
2015-07-07Convert sequential examples to ones that are bound to gofpdf methods.Kurt Jung
2015-07-07Explain error handling in package exampleKurt Jung
2015-07-06Start with the conversion of indexed examples to ones that are associated withKurt Jung
a gofpdf method. This involves changes mostly in the test source file, but also references in the main source files. After this conversion is complete, the docWriter routine and interface can be scrapped. The current scheme will be more straightforward for programmers using the library.
2015-07-06Small tweak to increment operator keep golint happyKurt Jung
2015-07-06add example tutorial 32 to demonstrate fillstylesStani
2015-07-06update tutorial 30 for ArcToStani
2015-07-06added tutorial 31: line cap join styleStani
2015-07-04Multi-segment path drawing routines by stanimKurt Jung
2015-07-04Example of Claudio Felber's generalized font loaing implementationKurt Jung