summaryrefslogtreecommitdiff
path: root/util.go
AgeCommit message (Collapse)Author
2019-08-21fix split line bughyzgh
Change-Id: I224a7ec1af8386dcbef757c76389fb88316401bc
2019-05-07Add command line goreportcard check; address ineffectual assignments called ↵Kurt
out by this tool
2019-05-06Added copyrights. And "right to left" languages support.DarkFreedman
2019-04-19Added full support for UTF-8 font. With MIT license.DarkFreedman
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-09-15fixed warnings gocritic 3.3 (#192)Veselkov Konstantin
2018-07-24gofpdf: add support for Go modules (#185)Sebastien Binet
* gofpdf: add support for Go modules * gofpdf: apply goimports
2017-08-18Return 'do nothing' function for Unicode translator rather than nil if ↵Kurt
document is in error state
2017-02-11Accept 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-07-30Fix some typos and other goreportcard violationsKurt
2015-08-04Templating fixesMarcus Downing
2015-07-07Convert sequential examples to ones that are bound to gofpdf methods.Kurt Jung
2015-07-04fix typo in documentation stringStani
2015-06-27Add SetDashPattern() methodClaudio Felber
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-04-14Call String() on buffer than casting Bytes() to string.Kurt 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-04-12Ivan Daniluk's patch to compress images more quickly.Kurt Jung
2014-04-12Added possibility to register images via custom Reader.Ivan Daniluk
2013-11-15Brush some lint off using github.com/golang/lint. This includes one breaking ↵Kurt Jung
change: WriteLinkID instead of WriteLinkId.
2013-08-28Placed tests in separate package. This keeps tests from having privileged ↵Kurt Jung
access to gofpdf internals, and makes tutorials more easily copied-and-pasted for other projects.
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-23Added clipping support adapted from script by Andreas WürmserKurt Jung
2013-08-08Corrected tag matching bugKurt Jung
2013-08-02Initial commit into mercurialKurt Jung