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

fontfor

> 开发工具
Open source

Find fonts which can show a specified character and preview them in terminal or browser.

176 stars0 likes1 views
WebsiteGitHub

About

Find fonts which can show a specified character and preview them in terminal or browser.

FontFor

license-badge version-badge ci-badge

Find fonts which can show a specified character and preview them in browser.

This is port from my early python script called which_fonts_support, but with some improvements:

  • ️ Write in Rust, without unsafe. Safety
  • ️ Mmap to load font file. Fast
  • ️ Only parse font table we need, not all bytes of font file. Faster
  • Support preview in terminal and browser. Friendly

Install or Update

bash
cargo install -f fontfor

Only guaranteed to compile with the latest stable Rust version.

Or download binary from release page.

Usage

Basic

…

Character Input Format

You can use the following formats for the character:

  • Character: א
  • Unicode scalar value
    • U+XXXXXX: U+5d0, U+05d0, U+0005d0
    • Direct input
      • Dec format: 1488
      • Oct format: 0o2720
      • Binary format: 0b010111010000
  • UTF8 bytes: 0xd790

Show All Font Styles

add -v flag to show all font style.

We don't show screenshot picture here because it's a bit long.

add more -v, or -vv to show font file and face index.

Preview in Browser

Add -p flag to enable browser preview:

browser-preview-screenshot

Preview in Shell

Add -t flag to enter tui mode for preview in shell:

tui-mono-mode

And you can change render mode to ASCII(10 Level):

tui-ascii-10-mode

ASCII(70 Level):

tui-ascii-70-mode

Or moon-render mode:

tui-moon-mode

LICENSE

GPLv3 or later.

See COPYING.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcharacterclifontutilities

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具