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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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