summaryrefslogtreecommitdiff
path: root/fpdf_test.go
AgeCommit message (Collapse)Author
2019-05-09Handle errors in UTF-8 exampleKurt
2019-05-06Correct some misspellingsKurt
2019-04-19Added full support for UTF-8 font. With MIT license.DarkFreedman
2019-04-17Anka2310's modified fix for the right justify bugKurt
2019-04-10Add watermark exampleKurt
2019-03-09Factored pattern draw for transformation / graphic state testKurt
2019-03-08Remove additional graphics state checksJoe Westcott
2019-03-06Unconditionally assign colors (fill, text and draw) and line width, cap ↵Kurt
style and line join style so that the manipulation of these properties in transformations, which begin with default values, will work as intended. Add example to demonstrate expected results.
2019-02-28Use local instance of random number generator so example documents are ↵Kurt
reproducable
2019-02-28Refer to example in SetPage() documentation.Kurt
2019-02-27added example for SetPage method of fpdfykamo001
2019-02-27cleanup for pull requestYash Kamothi
2019-02-27added functionality to change the current page in the pdf documentYash Kamothi
2019-02-21Add example usage for SetWordSpacingWojciech Matusiak
2018-12-27Support subscripted and superscripted text with new SubWrite methodKurt
2018-12-12Added the ability to have multiple pages in a template (#216)d1ngd0
* Added the ability to have multiple pages in a template Templates are now aware of the number of pages they have. The main additions are the FromPage and FromPages methods which allow you to extract a Template from a template if you pass in the page number. It follows the same page mechanism as FPDF where pages start in the index 1. * Update fpdf_test.go
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.