We have redirected you to our new domain: store.godotengine.org. Please update your bookmarks!

Description
Changelog
Reviews

Quick Start

Precompiled binaries are provided:

  • Windows: .dll
  • Linux: .so

You only need to copy the addons/godotharu/ folder into your Godot project (from the release archive), especially:

  • godotharu.gdextension
  • the native library for your platform (.dll or .so)

Features

  • Create and save PDF documents
  • Page management (size, orientation, layout)
  • Vector drawing (lines, curves, rectangles, etc.)
  • Text handling (fonts, alignment, transforms, measuring)
  • PNG/JPEG/RAW image support
  • Annotations, destinations, outlines
  • PDF encryption and permissions
  • Godot class documentation in doc_classes/
  • Included Godot demos

Quick Example (GDScript)

var pdf := PDF_DOC.new()
var page := pdf.add_page()
var font := pdf.get_font("Helvetica")

page.begin_text()
page.set_font_and_size(font, 24)
page.text_out(50, 800, "Hello PDF from GodotHaru!")
page.end_text()

pdf.save_to_file("res://hello.pdf")
pdf.free()

Changelog for version v0.1.2

No changelog provided for this version.

Reviews (0)

GodotHaru PDF has no reviews yet.

Login to write a review.