summaryrefslogtreecommitdiff
path: root/fpdf.go
AgeCommit message (Collapse)Author
2014-07-21Use integer math in SplitLines().Lawrence Kesteloot (lk
The math for the limit used to be done in floats, but round-off error sometimes resulted in a string being wrapped at a width that had previously been returned by GetStringWidth() for that same string. (I got this with the string "$53,013" in Arial 12 point.)
2014-07-21Add GetMargins() and GetPageSize() methods.Lawrence Kesteloot (lk
2014-06-29Polygon function and demonstrationKurt Jung
2014-04-15Documentation adjustment.Kurt Jung
2014-04-15Document protection and exampleKurt Jung
2014-04-12Removed unused argument from AddFontFromReaderKurt Jung
2014-04-12Documentation tweaksKurt Jung
2014-04-12Added AddFontFromReader()Ivan Daniluk
2014-04-12Added possibility to register images via custom Reader.Ivan Daniluk
2014-02-17Clarified comment.Kurt Jung
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-29Remove some obsolete commentsKurt Jung
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.
2014-01-28Corrected order of destination point and destination control points in ↵Kurt Jung
documentation for CurveCubic.
2013-12-06Added SplitLines function by Bruno Michel and demonstration of its use.Kurt Jung
2013-11-19One character typoKurt Jung
2013-11-19Bring new comments into lint conformanceKurt Jung
2013-11-19Restore comment about width and height in CellFormat.Kurt Jung
2013-11-18Add GetCellMargin(), SetCellMargin(), and one clarifying comment.Lawrence Kesteloot (lk
2013-11-16Clarify what empty string does in call to AliasNbPages.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-07Removed unnecessary code from image cataloging loop.Kurt Jung
2013-11-07Lawrence Kesteloot provided code to allow an image's extent to be determined ↵Kurt Jung
prior to placement.
2013-11-07Add a RegisterImage() function that adds the image to the PDF but not the page.Lawrence Kesteloot (lk
2013-10-15Bruno Michel identified a problem with encoded characters that have a value ↵Kurt Jung
of 0x80 or greater. His correction makes sure Go treats strings as an array of bytes rather than runes.
2013-10-09Bruno Michel caught and corrected yet another defect, this one an error in ↵Kurt Jung
determining the number of loaded fonts.
2013-09-11Increase precision of curve and transform instructionsKurt Jung
2013-09-10Bruno Michel identified and fixed a problem with non-cp1252 encodings, ↵Kurt Jung
specifically in the way differences with cp1252 are stored and accessed. Thanks, Bruno.
2013-09-10Transformation functionality adapted from Moritz Wagner and Andreas Würmser.Kurt Jung
2013-09-09Bruno Michel pointed out a shortcoming of the JPEG handler and provided a ↵Kurt Jung
cleaner solution. Thanks!
2013-09-08Bookmark outline support submitted by Manuel CornesKurt Jung
2013-09-04Set error condition if out-of-range Unicode rune is encountered in ↵Kurt Jung
GetStringWidth
2013-08-25Removed debugging code, specifically the dump function that uses the spew ↵Kurt Jung
package. Thanks, Anthony.
2013-08-24Documentation tweaksKurt Jung
2013-08-24Added PageSize() and NewCustom() methodsKurt Jung
2013-08-24Documentation tweaksKurt Jung
2013-08-23Added clipping support adapted from script by Andreas WürmserKurt Jung
2013-08-14Demonstration of alpha blending modesKurt Jung
2013-08-13Gradient support adapted from the FPDF gradients script by Andreas Würmser.Kurt Jung
2013-08-13Documentation updates regarding transparencyKurt Jung
2013-08-13Added support with example for transparency in a variety of blending modes.Kurt Jung
This was adapted from the FPDF transparency script by Martin Hall-May.
2013-08-11Expanded documentationKurt Jung
2013-08-10Added support for drawing curves and arcs with an example. This was adaptedKurt Jung
from the geometric figures FPDF script by David Hernández Sanz, with a starter function provided by Anthony Starks. Anthony Starks also made a case for not closing the io.Writer after it is used to produce a document. An additional method, OutputAndClose, was added so that the library can close the writer if desired.
2013-08-06Corrected bottom border bug in MultiCell()Kurt Jung
2013-08-06Corrected border error with MultiCell()Kurt Jung
2013-08-06TyposKurt Jung
2013-08-06Tutorial 10 exercises some uncommon functions as reported by gocov.Kurt Jung
2013-08-02Initial commit into mercurialKurt Jung