Skip to main content

A font converter utility with the extra fonts included in utf8.

Project description

Smoltext

$ smoltext -h
usage: smoltext [-h] [-c] [-f FONT] [--list-fonts] [text [text ...]]

positional arguments:
  text                  text to process

optional arguments:
  -h, --help            show this help message and exit
  -c, --copy            copies processed text to clipboard
  -f FONT, --font FONT  which font to use
  --list-fonts          list all supported fonts
$ smoltext -f italic hello
𝘩𝘦𝘭𝘭𝘰
$ smoltext -f sub hello
ʰᵉˡˡᵒ
$ _

A font converter utility with the extra fonts included in utf8.

Installation

With pip:

pip install smoltext --user

Manually:

git clone https://gitlab.com/imsofi/smoltext/
cd smoltext
pip install --upgrade setuptools wheel
python setup.py bdist_wheel
pip install dist/smoltext-*.whl

Enable tab completion:

Either use this for global argcomplete for all python scripts.

activate-global-python-argcomplete --user

Or you can add eval "$(register-python-argcomplete smoltext)" to your .bashrc to only allow smoltext to have argcomplete completion.

More detailed instructions for argcomplete installation can be found here.

Current Features

  • Processes text input and gives an output of the desired font.
  • List out all available fonts with previews.
  • Clipboard functionality for fast usage.
  • Easy to use CLI commands.
  • Tab completion.

Common issues

  • Certain browsers and terminals fail to render certain font styles regardless of font.
  • Kerning can be off in the terminal due to monospaced font.
  • Certain fonts don't include all font styles used in this package.

Issues?

If you are having issues. Feel free to open an issue.

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

smoltext-1.1.0.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

smoltext-1.1.0-py3-none-any.whl (7.6 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