summaryrefslogtreecommitdiff
path: root/fpdf_test.go
AgeCommit message (Collapse)Author
2018-12-11Fix comments according to best practices by effective go (#217)CodeLingo Bot
* Fix comments according to best practices by effective go * Update font.go * Update fpdf_test.go * Update fpdf.go * Update example.go * Update util.go
2018-12-04Fixed the Pdf interface to be implemented by Fpdf and Tpl again. Added tests ↵d1ngd0
to ensure they will always implement (#212)
2018-11-21Merge branch 'master' of https://github.com/jung-kurt/gofpdfKurt
2018-11-21Center tables in exampleKurt
2018-11-16Make SplitLines and MultiCell split at the same place (#210)Wilk
* Make SplitLines and MultiCell split at the same place * Use integer math for SplitLines and MultiCell
2018-11-10Change name of page box example so it is linked from SetPageBox() in ↵Kurt
documentation
2018-11-10Add an example for Paul Montag's page box featureKurt
2018-11-10Merge branch 'd1ngd0-ftr/boxes'Kurt
2018-11-10Simplify example and display output from 'pdfinfo -box'Kurt
2018-11-10Added some comments to new encoding/decoding methodsKurt
2018-11-10Demonstrate page boxesKurt
2018-11-07Created helper functions for serialiationPaul Montag
2018-10-31Added Ability to turn template into a byte stringPaul Montag
2018-09-19Add beginning of test to study issue 193Kurt
2018-06-16Change example name to match methodKurt
2018-06-15Support negative X position when placing imageKurt
2018-04-15Add SetHeaderFuncMode() method to automatically set position to left and top ↵Kurt
margin after header function is called. Backward compatibility is preserved. This addresses issue #174.
2018-04-03Add option to rotate X-axis labels; demonstrate in grid exampleKurt
2018-04-03Add option to place chart labels outside of grid boundary. Make this the defaultKurt
2018-03-19Add charting facilityKurt
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.