Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
K

kb

> 编程语言
Open source

kb single-header C/C++ libraries

1.1K stars0 likes0 views
WebsiteGitHub

About

kb single-header C/C++ libraries

kb

Single-header permissively-licensed libraries for C/C++.

Libraries

  • kb_text_shape.h: Unicode text segmentation and OpenType shaping

kb_text_shape.h

kb_text_shape.h provides:

  • ICU-like text segmentation (i.e. breaking Unicode text by direction, line, script, word and grapheme).
  • Harfbuzz-like text shaping for OpenType fonts, which means it is capable of handling complex script layout and ligatures, among other things.
  • Font coverage checking: know if a font can display a given string.

It does not handle rasterization. It does not handle paragraph layout. It does not handle selection and loading of system fonts. It will only help you know which glyphs to display where on a single, infinitely-long line, using the fonts you have provided!

(See https://www.newroadoldway.com/text1.html for an explanation of the different steps of text processing.)

For an in-depth usage example, check out refpad.

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言