All Projects → 7sDream → Fontfor

7sDream / Fontfor

Licence: gpl-3.0
Find fonts which can show a specified character and preview them in terminal or browser.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Fontfor

Gitlab Cli
Create a merge request from command line in gitlab
Stars: ✭ 224 (+89.83%)
Mutual labels:  cli, utilities
Haxor News
Browse Hacker News like a haxor: A Hacker News command line interface (CLI).
Stars: ✭ 3,342 (+2732.2%)
Mutual labels:  cli, utilities
Webfont
Awesome generator of webfont
Stars: ✭ 170 (+44.07%)
Mutual labels:  cli, font
Best Of Python
🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.
Stars: ✭ 1,869 (+1483.9%)
Mutual labels:  cli, utilities
Airshare
Cross-platform content sharing in a local network
Stars: ✭ 497 (+321.19%)
Mutual labels:  cli, utilities
Tqdm
A Fast, Extensible Progress Bar for Python and CLI
Stars: ✭ 20,632 (+17384.75%)
Mutual labels:  cli, utilities
Pycycle
Tool for pinpointing circular imports in Python. Find cyclic imports in any project
Stars: ✭ 278 (+135.59%)
Mutual labels:  cli, utilities
Cfonts
Sexy fonts for the console
Stars: ✭ 789 (+568.64%)
Mutual labels:  cli, font
Pokemon Font
GAME BOY font from Pokémon R/G/B/Y/G/S/C, Unicode extended.
Stars: ✭ 437 (+270.34%)
Mutual labels:  character, font
Yaspin
A lightweight terminal spinner for Python with safe pipes and redirects 🎁
Stars: ✭ 413 (+250%)
Mutual labels:  cli, utilities
Saws
A supercharged AWS command line interface (CLI).
Stars: ✭ 4,886 (+4040.68%)
Mutual labels:  cli, utilities
Glom
☄️ Python's nested data operator (and CLI), for all your declarative restructuring needs. Got data? Glom it! ☄️
Stars: ✭ 1,341 (+1036.44%)
Mutual labels:  cli, utilities
User Bundle
A new Symfony user bundle
Stars: ✭ 116 (-1.69%)
Mutual labels:  cli
1pass
A caching wrapper for the 1Passworld CLI
Stars: ✭ 117 (-0.85%)
Mutual labels:  cli
Wordup Cli
Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
Stars: ✭ 116 (-1.69%)
Mutual labels:  cli
Quicssh
SSH over QUIC
Stars: ✭ 116 (-1.69%)
Mutual labels:  cli
Youtube Dl Interactive
OBSOLETE - Interactively select the quality and format for youtube-dl
Stars: ✭ 1,482 (+1155.93%)
Mutual labels:  cli
Jarvis
J.A.R.V.I.S - Just Another Rudimentary Verbal Instruction Shell
Stars: ✭ 117 (-0.85%)
Mutual labels:  cli
Zoya
Truly highly composable logging utility
Stars: ✭ 116 (-1.69%)
Mutual labels:  cli
Afctl
afctl helps to manage and deploy Apache Airflow projects faster and smoother.
Stars: ✭ 116 (-1.69%)
Mutual labels:  cli

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, safe and faster
  • Use Fontconfig library instead of depends on fc-list command installed
  • Support preview in shell (powered by FreeType), no browser needed

Dependencies

This program needs Fontconfig and FreeType library to run, and some of their deps needs cmake to compile, so we need to install them before compile:

  • macOS: brew install cmake freetype fontconfig
  • Linux: Please refer to the docs of your Linux distribution to figure out how to install them
  • Win: Do not support Windows for now

Install or Update

cargo install -f fontfor

Usage

Basic

$ fontfor א
Font(s) support the character "א"(U+05D0, 1488, 0xD7 0x90):
Arial                       with 4 styles
Arial Hebrew                with 3 styles
Arial Hebrew Desk Interface with 3 styles
Arial Hebrew Scholar        with 3 styles
Arial Unicode MS            with 1 style
Corsiva Hebrew              with 2 styles
Courier New                 with 4 styles
DejaVu Sans                 with 8 styles
FreeMono                    with 4 styles
FreeSans                    with 4 styles
FreeSerif                   with 4 styles
HanaMinA                    with 1 style
LastResort                  with 1 style
Lucida Grande               with 2 styles
Microsoft Sans Serif        with 1 style
New Peninim MT              with 4 styles
Raanana                     with 2 styles
TW-Kai                      with 1 style
TW-Sung                     with 1 style
Tahoma                      with 2 styles
Times New Roman             with 4 styles

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.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].