summaryrefslogtreecommitdiff
path: root/fpdf_test.go
AgeCommit message (Collapse)Author
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
2015-07-04Dashed lines: tutorial example and tip of hat to Claudio FelberKurt Jung
2015-06-23Added path drawing methods:Stani
- MoveTo - LineTo - CurveTo - CurveBezierCubicTo - ClosePath - DrawPath
2015-04-28Cyrillic and Greek font exampleKurt Jung
2015-03-13Adjust references to account for move from code.google.com to githubKurt Jung
2014-12-30Added additional layout directives for document viewingKurt Jung
2014-10-28Robert Lillack's Beziergon function with example. Corrections to curve ↵Kurt Jung
argument names.
2014-10-12Add example that demonstrates how to embed an image that is retrieved from a ↵Kurt Jung
web server. Resolves issue 29.
2014-09-20Include keys for composite literalsKurt Jung
2014-09-16Added layer functionality. This allows content to be placed into layers, the ↵Kurt Jung
visibility of which can be controlled from the document reader.
2014-08-23No need to specify font directory for example 23.Kurt Jung
2014-08-22Embed core font definition files and the 1252 code page in the application. ↵Kurt Jung
Only if a non-core font or non-default code page is used does an actual font directory need to be specified when creating an Fpdf instance.
2014-06-29Polygon function and demonstrationKurt Jung
2014-05-10Extended example commentKurt Jung
2014-04-15Documentation adjustment.Kurt Jung
2014-04-15Document protection and exampleKurt Jung
2014-04-13Small page text adjustmentKurt Jung
2014-04-12Clarified commentKurt Jung
2014-04-12UTF-8 rune to code page byte translator so that some UTF-8 text can be ↵Kurt Jung
converted for proper rendering in the PDF document.
2014-03-24Demonstration of escaping characters to match code page layout of currently ↵Kurt Jung
selected font.
2014-02-17Added convenience function to write PDF to a file (rather than a Writer ↵Kurt Jung
interface) and then close the PDF instance.
2014-02-13Patch provided by Stefan Schroeder to control vertical alignment of text ↵Kurt Jung
within cell.
2014-01-29Name changes for Lint conformance. <rant>One key advantage of the camelback ↵Kurt Jung
naming convention is that a machine can quickly tokenize name segments for indexing and tagging purposes. For example, HtmlWrite easily breaks into Html and Write. By capitalizing all letters in an initialism, this name breaks into H, T, M, L, and Write -- not as useful for tagging purposes. Rather than having to manually filter through the mostly valuable output of golint, I have grudgingly changed names so that golint produces no output.</rant>
2014-01-29Factored basic SVG path rendering, basic HTML rendering, and color routines.Kurt Jung
2014-01-28Support for unstyled, path-only SVG images of the type generated by the ↵Kurt Jung
jSignature web control.
2013-12-06Added SplitLines function by Bruno Michel and demonstration of its use.Kurt Jung
2013-11-15Brush some lint off using github.com/golang/lint. This includes one breaking ↵Kurt Jung
change: WriteLinkID instead of WriteLinkId.
2013-11-07Lawrence Kesteloot provided code to allow an image's extent to be determined ↵Kurt Jung
prior to placement.
2013-09-10Transformation functionality adapted from Moritz Wagner and Andreas Würmser.Kurt Jung