canvas
gofpdf
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
canvas
-
Canvas vector graphics update: rich text and path boolean operation support
I wanted to share a recent large update to https://github.com/tdewolff/canvas, which is a vector graphics library written in Go to create images, PDFs, SVGs, OpenGL, etc. using vector drawing operations. Especially I wanted to show two new exciting features:
-
Client-side scripting for in-browser graphics.
It appears that there's a port of Cairo to Go which also targets webassembly. https://github.com/tdewolff/canvas
- Pixie – A full-featured 2D graphics library for Nim
-
Processing equivalent in GoLang
https://github.com/tdewolff/canvas/blob/master/examples/opengl/main.go can draw primitves but i think it would be a bit hard to do event based animation
-
tdewolff/canvas: vector graphics in Go (mayor update)
Yes! See https://github.com/tdewolff/canvas/tree/master/examples/gonum-plot for an example using gonum-plot. You should be able to plug-and-play to use the canvas library!
- Cairo in Go: Vector to SVG, PDF, EPS, Raster, HTML Canvas, etc.
gofpdf
-
Launch HN: Onedoc (YC W24) – A better way to create PDFs
I'm with you..
We ended up writing a similar wrapper around https://github.com/jung-kurt/gofpdf library. We haven't open sourced it yet. But it's made it a lot easier to deal with rendering a PDF, especially over pagebreaks ect.
- Ask HN: Slimvoice Alternative?
- Do you know any library to make pdf in golang?
-
Create PDF Form and fill PDF Form
I use: github.com/jung-kurt/gofpdf
- How To Create a PDF in Go: A Step-By-Step Tutorial
-
[Advice] Generating PDFs in Golang.
I used gofpdf before but it's not updated anymore.
-
Is there a good library for pdf generation golang?
gofpdf is an archived project but still works very well for me https://github.com/jung-kurt/gofpdf
-
tdewolff/canvas: vector graphics in Go (mayor update)
draw2d's PDF renderer uses https://github.com/jung-kurt/gofpdf which is not supported anymore, it includes a semi-functioning font system
What are some alternatives?
svgo - Go Language Library for SVG generation
gopdf - A simple library for generating PDF written in Go lang
gg - Go Graphics - 2D rendering in Go with a simple API.
maroto - A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.
tiny-skia - A tiny Skia subset ported to Rust
Jet Template Engine for GO - Jet template engine
generative-art-in-go - A companion source code repository to the book "Generative Art in Go"
raymond - Handlebars for golang
go-cairo - Go binding for the cairo graphics library
quicktemplate - Fast, powerful, yet easy to use template engine for Go. Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template
bgracontrols - 🆗 BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications.
pdfcpu - A PDF processor written in Go.