Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-22 | Updated 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-17 | Fixed 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-17 | Refactored Encode and Decode functions, Fixed Template ID Conflicts | Paul 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-11 | Fix 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-16 | Make 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-10 | Add an example for Paul Montag's page box feature | Kurt | |
2018-11-08 | Fixed a stupid bug | Paul Montag | |
2018-11-08 | Added an error if an invalid box type is passed in | Paul Montag | |
2018-11-08 | Added page boxes | Paul Montag | |
2018-09-15 | fixed warnings gocritic 3.3 (#192) | Veselkov Konstantin | |
2018-06-15 | Merge branch 'master' of https://github.com/jung-kurt/gofpdf | Kurt | |
2018-06-15 | Support negative X position when placing image | Kurt | |
2018-06-01 | Added public wrapper "GetPageSizeStr" of private method (#181) | Marcus Oblak | |
2018-04-20 | EOF error when using reader (#176) | daill | |
While you're using a reader for i.e. an image you'll receive an EOF from go's io package which leads to pdf creation error | |||
2018-04-15 | Add 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-01 | Emit Fill/Draw/Text color codes only if changed from current value | Kurt | |
2018-03-19 | Add charting facility | Kurt | |
2018-02-03 | sort the objs in the output more consistently | Andy Bakun | |
When CatalogSort is enabled, the sort.Strings routine is used to order the "keys" used for the various objects being put into the PDF. Use sort.SliceStable instead, and specify a function Less function that, if possible, uses an attribute of the objs being sorted. This is more deterministic. | |||
2018-01-08 | Added generic alias-replacement function to enable Table of Contents ↵ | David Fish | |
functionality | |||
2017-12-02 | Add consts for page orientations (#150) | Paweł Słomka | |
2017-11-24 | Replace strings.Index with strings.Contains | Wang Guoliang | |
2017-11-12 | Add partial support for spot colors. This does not yet include gradients, etc | Kurt | |
2017-09-29 | Add "Tabloid" page size (#138) | OlegFX | |
Add "Tabloid" page size, 11 x 17 inches according to ANSI X3.151. | |||
2017-08-30 | output xmp earlier to not clash with trailer refs | Alexander Eichhorn | |
2017-08-30 | add xmp metadata output | Alexander Eichhorn | |
2017-07-19 | Remove reference to inapplicable example | Kurt | |
2017-07-19 | Tweak some last page expressions and comments | Kurt | |
2017-07-19 | Issue #121 Add Last Page information FooterFnc | Aloidev | |
2017-06-12 | Fix typo in documentation | Kurt | |
2017-06-12 | Trigger an error when attempting to render text if font has not been set | Kurt | |
2017-06-10 | add the ability to include JavaScript in PDFs (#117) | Dan Meyers | |
2017-02-11 | Accept interfaces where appropriate. (#103) | dchapes | |
* Accept interfaces where appropriate. `Fpdf.RawWriteBuf` only needs an `io.Reader`, it doesn't have to be a `bytes.Buffer`. The only reason I can see not to do this is to avoid the interface "boxing" if the caller is actually using a `bytes.Buffer`; however, since eventually this gets into `binary.Read` which takes an `io.Reader` the boxing will happen anyway (and possibly repeatedly if `readByte` gets called a number of times; I didn't bother to check). * Also use interface for segmentRead * Use read-only bytes.Reader instead of bytes.Buffer where appropriate. | |||
2016-12-16 | Merge branch 'master' of https://github.com/jung-kurt/gofpdf | Kurt | |
2016-12-16 | Clarify state of current position after call to MultiCell(). Thanks, Roger ↵ | Kurt | |
Flores | |||
2016-12-10 | Added A1 and A2 page sizes (#98) | Vinayak Nagpal | |
2016-12-09 | Add page size for A6 (#97) | Sebastian Müller | |
2016-09-08 | Adding support CMYK in parsejpg (#81) | midiland | |
* adding support CMYK in jpg parseur * adding support CMYK in parsejpg * clear code debug * Clear code * Clear code | |||
2016-08-18 | Allow 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-08-01 | Check for error in ghostscript example | Kurt | |
2016-07-30 | Fix some glitches reported by goreportcard.com | Kurt | |
2016-07-30 | Fix some typos and other goreportcard violations | Kurt | |
2016-07-30 | Fix lint violation in documentation | Kurt | |
2016-07-30 | Isolate embedded font data | Kurt | |
2016-07-28 | adding support to embedded fonts as byte array | Paulo Coutinho | |
2016-07-03 | fpdf: typo | Chris Ramón | |
typo fix | |||
2016-03-07 | Satisfy golint with small changes to documentation. Remove diagnostic print ↵ | Kurt | |
statement to allow tests to succeed. | |||
2016-03-07 | Support reading and/or setting image dpi | kentquirk | |
Adds the ability to support reading dpi from PNG images, and setting dpi on any image directly; this allows images to be displayed at the designed size. | |||
2015-10-12 | Add reference PDFs for comparison purposes. Document comparison of example ↵ | Kurt Jung | |
documents. | |||
2015-10-11 | Conditionally order another map iteration. Fix 'go vet' problem with unkeyed ↵ | Kurt Jung | |
field in composite literal. | |||
2015-10-11 | Conditionally sort two map iterations in template code; more to come. | Kurt Jung | |