Skip to content

Forme Ruby 0.1.0

Latest

Choose a tag to compare

@ajaya ajaya released this 19 Sep 02:27
Immutable release. Only release title and notes can be modified.
266628a

First public release of Forme Ruby, an independent MIT-licensed Ruby binding for the Rust Forme PDF engine.

Install from this release

Download the native gem matching your platform and verify it against SHA256SUMS:

# Apple Silicon macOS 15+
gem install ./forme-ruby-0.1.0-arm64-darwin.gem
# Linux AMD64, glibc 2.28+
gem install ./forme-ruby-0.1.0-x86_64-linux-gnu.gem

Also available on RubyGems:

gem install forme-ruby -v 0.1.0

Registry packages match these GitHub assets byte-for-byte. The native gems contain the compiled renderer.

require "forme_pdf"
File.binwrite("hello.pdf", FormePDF.render_html("<h1>Hello from Ruby</h1>"))

Included

  • HTML and print CSS rendering, local TTF fonts, diagnostics and typed errors.
  • Optional Rails adapter; Rails is not required.
  • Native gems for Apple Silicon macOS 15+ and Linux AMD64 with glibc 2.28+.
  • Source gem for compilation with Rust 1.94.0 and a C toolchain.
  • CRuby 3.2, 3.3, 3.4 and 4.0 qualification.
  • Linux artifact qualification on Red Hat UBI 8/9/10, Ubuntu 24.04/26.04 and Arch Linux rolling; macOS qualification on 15 and 26.

The renderer accepts trusted HTML and can read local assets. See security guidance and native dependency audit exceptions.

See the guides for installation, rendering and Rails usage.

Qualification

Release commit: 266628a20a0a52bad222c8f8e6d2277b08122896.

Full build and platform qualification. Packages are the artifacts from this exact CI run.