summaryrefslogtreecommitdiff
path: root/fpdf.go
AgeCommit message (Collapse)Author
2019-08-22Add SetUnderlineThickness methodJoe Westcott
2019-08-21fix split line bughyzgh
Change-Id: I4fdf3b7b23fbb2340427d06a7eadd88e081effb6
2019-08-21fix split line bughyzgh
Change-Id: I224a7ec1af8386dcbef757c76389fb88316401bc
2019-08-20improve the speed of MultiCellhyzgh
Change-Id: Ieaacbf19acfce1e776eccbfa3bbc030a2ab93d5f
2019-08-15Add method `SetProducer`Tim S
This allows changing or removing the PDF producer string in the metadata of the PDF file.
2019-08-12Revise comment, fix style write, extend example for RoundedRectKurt
2019-08-11adds RoundedRect per Issue #272Brigham Thompson
2019-07-20Wrap some commentsKurt
2019-07-20Correct placement of pageWidth variableKurt
2019-07-20Merge branch 'master' of https://github.com/seletskiy/gofpdf into ↵Kurt
seletskiy-master
2019-07-18Revert "Merge branch 'seletskiy-master'"Kurt
This reverts commit a542cf333bc2e3e4e138bb4848f02997aba71ce9, reversing changes made to 3aaf0b1a66c0ab02d925917376898a5856061d59.
2019-07-18fix bug introduced in #279Stanislav Seletskiy
2019-07-18fix utf8 text wrappingStanislav Seletskiy
UTF8 text splitted correctly by SplitText function in WriteAligned method: https://github.com/jung-kurt/gofpdf/blob/3aaf0b1a66c0ab02d925917376898a5856061d59/fpdf.go#L2811 Then, lines of text are written via Write function, and if text is already wrapped by given width it will be printed using 'last chunk' case: https://github.com/jung-kurt/gofpdf/blob/3aaf0b1a66c0ab02d925917376898a5856061d59/fpdf.go#L2747,L2754 But in this case, gofpdf does not move cursor to the next cell, which cause all text to be printed on the same line without actual wrapping. This commit makes workaround for it by explicitly setting right margin to force automatic line break case: https://github.com/jung-kurt/gofpdf/blob/3aaf0b1a66c0ab02d925917376898a5856061d59/fpdf.go#L2705
2019-07-03Do not execute Multicell if instance is in error stateKurt
2019-06-23Merge branch 'master' of https://github.com/tmcli/gofpdf into tmcli-masterKurt
2019-06-18WriteAligned: use SplitText for UTF-8Stanislav Seletskiy
2019-06-10Improve write performanceCallum Li
2019-05-15Merge branch 'master' of https://github.com/toncek345/gofpdf into ↵Kurt
toncek345-master
2019-05-15Clean up code based on jung-kurt's feedback.Dave Barnes
2019-05-15Add support for imported objects and templates to version 1 of gofpdf.Dave Barnes
2019-05-15fix for not concating already defined filepathAntonio Bosak
2019-05-10Add SplitText() method for splitting utf-8 strings constrained by rendered widthKurt
2019-05-07Add command line goreportcard check; address ineffectual assignments called ↵Kurt
out by this tool
2019-05-06Check for errors when loading UTF-8 fontKurt
2019-05-06Remove some ineffectual assignments as reported by goreportcard.comKurt
2019-05-06Correct some misspellingsKurt
2019-05-06Adjust method comments to coform with Go documentation standardsKurt
2019-05-06Merge ArtemKor' UTF-8 pull requestKurt
2019-05-06Added copyrights. And "right to left" languages support.DarkFreedman
2019-04-29Add SetFontStyle method (#248)Joe Westcott
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-17Fix right alignmentAnka2310
width has already been reduced by left and right margin, so right margin doesn't need to be subtracted twice
2019-04-10Add watermark exampleKurt
2019-04-09Add PageCount() methodKurt
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-28Refer to example in SetPage() documentation.Kurt
2019-02-27added functionality to change the current page in the pdf documentYash Kamothi
2019-02-21Acknowledge word spacing authorKurt
2019-02-21Match precision of word spacing with rest of code.Wojciech Matusiak
2019-02-21Adds the ability to set word spacing.Wojciech Matusiak
2018-12-22Updated font id generation and image id (#222)Paul Montag
Generated font ID will now be the same across machines when generating the same font file. Generated image Id will now be the same across machines when generating the same image file.
2018-12-17Fixed id collisions with fonts when encoding and decoding (#220)d1ngd0
- Made font id a string which is a sha1 sum of the contents of the json file.
2018-12-17Refactored Encode and Decode functions, Fixed Template ID ConflictsPaul Montag
- Updated Encode and Decode to ensure templates and images are pointers to the original objects - Refactored so encoding no longer has to create p and o labels for images - removed id from template and generate it using Bytes instead.
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-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-10Add an example for Paul Montag's page box featureKurt
2018-11-08Fixed a stupid bugPaul Montag
2018-11-08Added an error if an invalid box type is passed inPaul Montag