# libharu/libharu

libharu - free PDF library

Repository: https://github.com/libharu/libharu
Canonical: https://ross.abutalabs.com/products/libharu
Homepage: http://libharu.org
Language: C
License: Zlib
License Family: permissive
Last push: 2026-03-26T20:36:21+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 44, longevity 100
- inputs: {"age_days": 6461, "days_push": 160, "days_rel": 160, "gap_med": 380, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1993, forks 549 (observed 2026-08-28T04:06:03.262972+00:00)

## What it is
libHaru is a free, open-source ANSI C library for generating PDF files, supporting text, lines, images, annotations, font embedding, compression, and encryption. It is generation-only and does not read or edit existing PDFs.

## Use cases
- generate pdf files from c or c++
- create pdf reports programmatically
- embed png and jpeg images in pdfs
- create encrypted pdf documents
- generate pdfs with cjk fonts
- produce pdf invoices from an application

## When to choose
- you need to create PDFs from C/C++ or via language bindings
- you need a lightweight, cross-platform PDF generation library with no PDF-reading needs
- you need encryption, CJK fonts, or PDF/A support in generated documents

## When to avoid
- you need to read, parse, or edit existing PDF files
- you need an actively developed project with fast bug fixes
- you want a high-level document layout engine rather than a low-level drawing API

## Facets
- artifact type: library
- maturity: maintenance
- function: pdf, image-processing, compression, cryptography
- domain: pdf, files, developer-tools, cross-platform
- platform: windows, cross-platform, cpp, c
- tags: pdf-generation, ansi-c, font-embedding, pdf-encryption, cjk-support, zlib-license, linux, macos

## Member repositories
- libharu/libharu (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:03.262972+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:02:35.612209+00:00, confidence not recorded.
  - readme: https://github.com/libharu/libharu (fetched 2026-08-28T04:06:03.262972+00:00, sha 01f25d83d62b)
  - homepage: http://libharu.org (fetched 2026-08-29T10:42:17.068614+00:00, sha eb8b7d38a6e0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
