awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
harfbuzz avatar

harfbuzz/harfbuzz

0
View on GitHub↗
5,800 星标·752 分支·C++·11 次浏览harfbuzz.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 历史

harfbuzz/harfbuzz 的 Star 历史图表harfbuzz/harfbuzz 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Harfbuzz 的开源替代方案

相似的开源项目,按与 Harfbuzz 的功能重合度排序。
  • mpdf/mpdfmpdf 的头像

    mpdf/mpdf

    4,693在 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
    在 GitHub 上查看↗4,693
  • google/skiagoogle 的头像

    google/skia

    10,762在 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++
    在 GitHub 上查看↗10,762
  • fonttools/fonttoolsfonttools 的头像

    fonttools/fonttools

    5,144在 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
    在 GitHub 上查看↗5,144
  • aui/font-spideraui 的头像

    aui/font-spider

    5,138在 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
    在 GitHub 上查看↗5,138
查看 Harfbuzz 的所有 30 个替代方案→

常见问题解答

harfbuzz/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…

harfbuzz/harfbuzz 的主要功能有哪些?

harfbuzz/harfbuzz 的主要功能包括: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。

harfbuzz/harfbuzz 有哪些开源替代品?

harfbuzz/harfbuzz 的开源替代品包括: 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,…