Skip to main content

A filter that tries to make ASCII fancy with the help of Unicode

Project description

unifonter

unifonter is a filter that tries to make ASCII fancy with the help of Unicode

quick intro

unifonter is meant to be used as a filter, or as a quick lookup / translation tool. So you can use it either like

$ man man | unifonter
๐”๐”„๐”‘(1)                        ๐”๐”ž๐”ซ๐”ฒ๐”ž๐”ฉ ๐”ญ๐”ž๐”ค๐”ข๐”ฏ ๐”ฒ๐”ฑ๐”ฆ๐”ฉ๐”ฐ                        ๐”๐”„๐”‘(1)

๐”‘๐”„๐”๐”ˆ
       ๐”ช๐”ž๐”ซ - ๐”ž๐”ซ ๐”ฆ๐”ซ๐”ฑ๐”ข๐”ฏ๐”ฃ๐”ž๐” ๐”ข ๐”ฑ๐”ฌ ๐”ฑ๐”ฅ๐”ข ๐”ฐ๐”ถ๐”ฐ๐”ฑ๐”ข๐”ช ๐”ฏ๐”ข๐”ฃ๐”ข๐”ฏ๐”ข๐”ซ๐” ๐”ข ๐”ช๐”ž๐”ซ๐”ฒ๐”ž๐”ฉ๐”ฐ

๐”–๐”œ๐”‘๐”’๐”“๐”–โ„‘๐”–
       ๐”ช๐”ž๐”ซ [๐”ช๐”ž๐”ซ ๐”ฌ๐”ญ๐”ฑ๐”ฆ๐”ฌ๐”ซ๐”ฐ] [[๐”ฐ๐”ข๐” ๐”ฑ๐”ฆ๐”ฌ๐”ซ] ๐”ญ๐”ž๐”ค๐”ข ...] ...
       ๐”ช๐”ž๐”ซ -๐”จ [๐”ž๐”ญ๐”ฏ๐”ฌ๐”ญ๐”ฌ๐”ฐ ๐”ฌ๐”ญ๐”ฑ๐”ฆ๐”ฌ๐”ซ๐”ฐ] ๐”ฏ๐”ข๐”ค๐”ข๐”ต๐”ญ ...
       ๐”ช๐”ž๐”ซ -๐”Ž [๐”ช๐”ž๐”ซ ๐”ฌ๐”ญ๐”ฑ๐”ฆ๐”ฌ๐”ซ๐”ฐ] [๐”ฐ๐”ข๐” ๐”ฑ๐”ฆ๐”ฌ๐”ซ] ๐”ฑ๐”ข๐”ฏ๐”ช ...
       ๐”ช๐”ž๐”ซ -๐”ฃ [๐”ด๐”ฅ๐”ž๐”ฑ๐”ฆ๐”ฐ ๐”ฌ๐”ญ๐”ฑ๐”ฆ๐”ฌ๐”ซ๐”ฐ] ๐”ญ๐”ž๐”ค๐”ข ...

or

$ unifonter Hello
โ„๐•–๐•๐•๐• 

Several different styles are supported; use -k followed by a style combination you want, otherwise one is chosen at random.

Supported styles can be seen via unifonter -d:

Use To get
b ๐๐จ๐ฅ๐
i ๐ผ๐‘ก๐‘Ž๐‘™๐‘–๐‘
bi ๐‘ฉ๐’๐’๐’… ๐‘ฐ๐’•๐’‚๐’๐’Š๐’„
s ๐–ฒ๐–บ๐—‡๐—Œ-๐–ฒ๐–พ๐—‹๐—‚๐–ฟ
bs ๐—ฆ๐—ฎ๐—ป๐˜€-๐—ฆ๐—ฒ๐—ฟ๐—ถ๐—ณ ๐—•๐—ผ๐—น๐—ฑ
is ๐˜š๐˜ข๐˜ฏ๐˜ด-๐˜š๐˜ฆ๐˜ณ๐˜ช๐˜ง ๐˜๐˜ต๐˜ข๐˜ญ๐˜ช๐˜ค
bis ๐™Ž๐™–๐™ฃ๐™จ-๐™Ž๐™š๐™ง๐™ž๐™› ๐˜ฝ๐™ค๐™ก๐™™ ๐™„๐™ฉ๐™–๐™ก๐™ž๐™˜
c ๐’ฎ๐’ธ๐“‡๐’พ๐“…๐“‰
bc ๐“‘๐“ธ๐“ต๐“ญ ๐“ข๐“ฌ๐“ป๐“ฒ๐“น๐“ฝ
d ๐”ป๐• ๐•ฆ๐•“๐•๐•–-๐•Š๐•ฅ๐•ฃ๐•ฆ๐•”๐•œ
f ๐”‰๐”ฏ๐”ž๐”จ๐”ฑ๐”ฒ๐”ฏ
bf ๐•ญ๐–”๐–‘๐–‰ ๐•ฑ๐–—๐–†๐–๐–™๐–š๐–—
k Sแดแด€สŸสŸ-Cแด€แด˜๊œฑ
m ๐™ผ๐š˜๐š—๐š˜๐šœ๐š™๐šŠ๐šŒ๐šŽ
w ๏ผฆ๏ฝ•๏ฝŒ๏ฝŒ๏ฝ—๏ฝ‰๏ฝ„๏ฝ”๏ฝˆ

but note the order of the letters doesn't matter (-k bis is the same as -k sib), so if you find that you think "fraktur bold" instead of "bold fraktur", just go with it.

Some other options are supported; see the output of -h.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unifonter-0.5.0.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

unifonter-0.5.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file unifonter-0.5.0.tar.gz.

File metadata

  • Download URL: unifonter-0.5.0.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

File hashes

Hashes for unifonter-0.5.0.tar.gz
Algorithm Hash digest
SHA256 daf3e8a7b1f619d1eef7137eafdba1fc64eee17de34112c4f262ae09ee01a845
MD5 ad8d3123f010bfbcf24fda52f6b7bda1
BLAKE2b-256 1a122f74cd2f5e3caf644a9a6f78def1ec0596d3e4aa99db23b022369a92d00d

See more details on using hashes here.

File details

Details for the file unifonter-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: unifonter-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10

File hashes

Hashes for unifonter-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4dc1af3636e59d3088ebda6b96d8faa616b2afbebaca12058b0c4ebe130b3c5
MD5 17b73f921e4668293adf629c97606546
BLAKE2b-256 8e000f2a50a439770c1656c708934625daf4bc780024f869f47f5de8cfa95a7a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page