awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
harfbuzz avatar

harfbuzz/harfbuzz

0
View on GitHub↗
5,800 stars·752 forks·C++·12 viewsharfbuzz.github.io↗

Harfbuzz

HarfBuzz is a text shaping engine that converts Unicode text into correctly positioned glyphs for any writing system. It processes OpenType layout features, substitution rules, and positioning tables to produce shaped glyph sequences from font data, and also handles Apple Advanced Typography font tables. The library provides a stable C API that abstracts over platform-specific font access and rendering backends, and includes a font table caching layer to avoid redundant parsing during repeated shaping operations.

The project implements script-specific shaping logic for complex writing systems including Indic, Arabic, Hangul, and Thai, and applies the Unicode Bidirectional Algorithm to reorder glyphs for mixed left-to-right and right-to-left scripts. It manages glyph input and output as a mutable buffer, allowing incremental shaping passes and reordering without intermediate allocations. HarfBuzz also includes a font subsetting capability that creates a new font by copying only the required glyphs and tables from the source, pruning unused data to minimize file size.

The library connects with FreeType, Cairo, CoreText, and DirectWrite to handle text layout and drawing across operating systems. It produces bitmap, vector, or GPU-ready representations of glyph shapes from font outlines, and can encode glyph outlines into a compact format for direct rendering on graphics hardware. Additional capabilities include generating scalable vector glyph outlines in formats such as SVG while preserving color font data, and outputting shaped text as a bitmap or vector image for preview or integration.

Features

  • Text Shaping Engines - Converts Unicode text into correctly positioned glyphs for any writing system using OpenType and Apple Advanced Typography font tables.
  • Glyph Buffer Managers - Provides a mutable glyph buffer for incremental shaping passes and reordering without intermediate allocations.
  • Text Shaping Integration APIs - Ships a stable C API abstracting over FreeType, CoreText, and DirectWrite for cross-platform font access.
  • Platform Renderer Integrations - Connects with FreeType, Cairo, CoreText, and DirectWrite for native text rendering across platforms.
  • Rendering Library Integrations - Connects with FreeType, Cairo, CoreText, and DirectWrite for text layout and drawing across operating systems.
  • OpenType Table Encoding - Processes Unicode text through OpenType GSUB and GPOS tables for glyph substitution and positioning.
  • Layout Rule Processors - Processes OpenType layout features, substitution rules, and positioning tables to produce shaped glyph sequences from font data.
  • Rendering Backend Adapters - Integrates with FreeType, Cairo, CoreText, and DirectWrite to handle text shaping and rendering across operating systems.
  • Rendering Backend Integrations - Integrates with FreeType, Cairo, CoreText, and DirectWrite to handle text shaping and drawing across operating systems.
  • Font Table Caches - Caches parsed OpenType and Apple Advanced Typography font tables to avoid redundant parsing during repeated shaping.
  • Bidirectional Text Layouts - Applies the Unicode Bidirectional Algorithm to reorder glyphs for mixed left-to-right and right-to-left scripts.
  • Glyph Rasterization - Produces bitmap, vector, or GPU-ready representations of glyph shapes from font outlines.
  • Font Subsetting Engines - Creates a new font by copying only required glyphs and tables, pruning unused data to minimize file size.
  • Font Manipulation - Engine for complex text shaping.
  • Networking and Utilities - Text shaping and glyph positioning library.
  • Media & Communication - Text shaping engine
  • Open-source projects made by Iranian developers - Listed in the “Open-source projects made by Iranian developers” section of the Github Do Not Ban Us awesome list.

Star history

Star history chart for harfbuzz/harfbuzzStar history chart for harfbuzz/harfbuzz

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does harfbuzz/harfbuzz do?

HarfBuzz is a text shaping engine that converts Unicode text into correctly positioned glyphs for any writing system. It processes OpenType layout features, substitution rules, and positioning tables to produce shaped glyph sequences from font data, and also handles Apple Advanced Typography font tables. The library provides a stable C API that abstracts over platform-specific font access and rendering backends, and includes a font table caching layer to avoid redundant…

What are the main features of harfbuzz/harfbuzz?

The main features of harfbuzz/harfbuzz are: Text Shaping Engines, Glyph Buffer Managers, Text Shaping Integration APIs, Platform Renderer Integrations, Rendering Library Integrations, OpenType Table Encoding, Layout Rule Processors, Rendering Backend Adapters.

What are some open-source alternatives to harfbuzz/harfbuzz?

Open-source alternatives to harfbuzz/harfbuzz include: mpdf/mpdf — mPDF is a PHP library that transforms UTF-8 encoded HTML and CSS into formatted PDF documents. It serves as a PDF… google/skia — Skia is a high-performance 2D graphics rendering library used for drawing text, geometries, and images on digital… fonttools/fonttools — FontTools is a Python library for programmatically reading, modifying, and writing font files. It serves as an… adobe-fonts/source-han-serif — Source Han Serif is a standardized Pan-CJK serif typeface family provided as an OpenType font collection. It provides… aui/font-spider — Font-spider is a set of specialized tools for web font optimization. It functions as a font subsetter and compression… 0x7c13/notepads — Notepads is a minimalist text editor for Windows that renders its interface directly through native Win32 API calls,…

Open-source alternatives to Harfbuzz

Similar open-source projects, ranked by how many features they share with Harfbuzz.
  • mpdf/mpdfmpdf avatar

    mpdf/mpdf

    4,693View on GitHub↗

    mPDF is a PHP library that transforms UTF-8 encoded HTML and CSS into formatted PDF documents. It serves as a PDF generation engine and document architect capable of converting web pages and HTML forms into professional files. The project is distinguished by its multilingual rendering capabilities, providing comprehensive support for bidirectional text, right-to-left scripts, and CJK languages using Unicode font embedding and OpenType layout processing. It further enables professional print-ready design through advanced color modeling in CMYK, precise page dimensioning, and compliance with PD

    PHPcjkcsshtml
    View on GitHub↗4,693
  • google/skiagoogle avatar

    google/skia

    10,762View on GitHub↗

    Skia is a high-performance 2D graphics rendering library used for drawing text, geometries, and images on digital surfaces. It functions as a hardware-accelerated graphics engine that offloads drawing operations to the GPU, a vector graphics processor for SVG and complex paths, and a typography engine for shaping and drawing characters with Unicode support. The project provides a cross-platform image codec for encoding and decoding standard image formats into raw pixel data across multiple operating systems. It also enables the development of user interfaces that maintain visual consistency a

    C++
    View on GitHub↗10,762
  • fonttools/fonttoolsfonttools avatar

    fonttools/fonttools

    5,144View on GitHub↗

    FontTools is a Python library for programmatically reading, modifying, and writing font files. It serves as an OpenType and TrueType font parser and a tool for transforming binary font files into human-readable XML for editing and rebuilding. The project includes a manager for reading and writing Unified Font Object source files within local folders or archives. It also provides a specialized utility for compressing web fonts to reduce file size and improve loading performance. The library covers programmatic font manipulation, including the modification of font metrics and glyph data. It pr

    Python
    View on GitHub↗5,144
  • aui/font-spideraui avatar

    aui/font-spider

    5,138View on GitHub↗

    Font-spider is a set of specialized tools for web font optimization. It functions as a font subsetter and compression utility that analyzes HTML content to extract only the characters used on a page, creating minimized font files to reduce page weight and improve loading speeds. The project includes a web font converter that generates files in multiple binary formats to ensure cross-browser compatibility for text rendering. It also provides a build tool plugin to integrate font analysis and subsetting directly into automated development pipelines. The toolset covers glyph-based font subsetti

    JavaScript
    View on GitHub↗5,138
See all 30 alternatives to Harfbuzz→