libraqm
brew install libraqm
v0.10.5
MIT
C shared library for complex text layout with bidirectional and script shaping support.
Why you might care
Libraqm wraps FreeType, HarfBuzz, and FriBiDi into a single API for rendering right-to-left, mixed-direction, and complex scripts (Arabic, Devanagari, etc.). It's a runtime dependency for applications that need proper Unicode text layout beyond basic character sequences; use it when building text editors, rendering engines, or document processors that handle global scripts.
5.0k
30-day installs · #596
20.6k
90-day · #506
68.6k
365-day · #546
321
★ GitHub stars · updated 2mo ago
Runtime dependencies
Build dependencies
Links
- https://github.com/HOST-Oman/libraqm
- GitHub: HOST-Oman/libraqm
- Brew formula source: Formula/lib/libraqm.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"HarfBuzz",
"Pango"
],
"build_dependencies": [
"meson",
"ninja",
"pkgconf"
],
"categories": [
"library",
"text-processor"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"freetype",
"fribidi",
"harfbuzz"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Library for complex text layout",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:58+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "libraqm",
"github_default_branch": "main",
"github_last_commit_at": "2026-04-22T02:42:14Z",
"github_readme_excerpt": "Raqm\n====\n\n[](https://github.com/HOST-Oman/libraqm/actions)\n\nRaqm is a small library that encapsulates the logic for complex text layout and\nprovides a convenient API.\n\nIt currently provides bidirectional text support (using [FriBiDi][1] or\n[SheenBidi][2]), shaping (using [HarfBuzz][3]), and proper script itemization.\nAs a result, Raqm can support most writing systems covered by Unicode.\n\nThe documentation can be accessed on the web at:\n\u003e https://host-oman.github.io/libraqm/\n\nRaqm (Arabic: \u0631\u064e\u0642\u0652\u0645) is writing, also number or digit and the Arabic word for\ndigital (\u0631\u064e\u0642\u064e\u0645\u0650\u064a\u0651) shares the same root, so it is a play on \u201cdigital\u00a0writing\u201d.\n\nBuilding\n--------\n\nRaqm depends on the following libraries:\n* [FreeType][4]\n* [HarfBuzz][3]\n* [FriBiDi][1] or [SheenBidi][2]\n\nTo build the documentation you will also need:\n* [GTK-Doc][5]\n\nTo install dependencies on Fedora:\n\n sudo dnf install freetype-devel harfbuzz-devel fribidi-devel meson gtk-doc\n\nTo install dependencies on Ubuntu:\n\n sudo apt-get install libfreetype6-dev libharfbuzz-dev libfribidi-dev meson gtk-doc-tools\n\nOn Mac OS X you can use Homebrew:\n\n brew install freetype harfbuzz fribidi meson gtk-doc\n export XML_CATALOG_FILES=\"/usr/local/etc/xml/catalog\" # for the docs\n\nOnce you have the source code and the dependencies, you can proceed to build.\nTo do that, run the customary sequence of commands in the source code\ndirectory:\n\n $ meson build\n $ ninja -C build\n $ ninja -C build install\n\nTo build the documentation, pass `-Ddocs=true` to the `meson`.\n\nTo run the tests:\n\n $ ninja -C build test\n\nContributing\n------------\n\nOnce you have made a change that you are happy with, contribute it back, we\u2019ll\nbe happy to integrate it! Just fork the repository and make a pull request.\n\nProjects using Raqm\n-------------------\n\n1. [ImageMagick](https://github.com/ImageMagick/ImageMagick)\n2. [LibGD](https://github.com/libgd/libgd",
"github_repo": "HOST-Oman/libraqm",
"github_stars": 321,
"github_topics": [],
"homepage": "https://github.com/HOST-Oman/libraqm",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 5037,
"installs_365d": 68614,
"installs_90d": 20631,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:45:50+00:00",
"llm_model": "claude-haiku-4-5",
"name": "libraqm",
"oldnames": [],
"one_liner": "C shared library for complex text layout with bidirectional and script shaping support.",
"optional_dependencies": [],
"rank_30d": 596,
"rank_365d": 546,
"rank_90d": 506,
"raw_hash": "a6fa40314ab9e521",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/lib/libraqm.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "0.10.5",
"versioned_formulae": [],
"why_use_this": "Libraqm wraps FreeType, HarfBuzz, and FriBiDi into a single API for rendering right-to-left, mixed-direction, and complex scripts (Arabic, Devanagari, etc.). It\u0027s a runtime dependency for applications that need proper Unicode text layout beyond basic character sequences; use it when building text editors, rendering engines, or document processors that handle global scripts."
}