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 ...]]

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

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 subscript hello
ʰᵉˡˡᵒ
$ _

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

Installation

With pip:

pip3 install --upgrade --user smoltext

With git:

git clone https://gitlab.com/imsofi/smoltext/ && cd smoltext
pip3 install --upgrade build
python3 -m build
pip3 install dist/smoltext-*.whl

Current Features

  • Processes text input and gives an output of the desired font.
  • List out all available fonts with previews.
  • Easy to use CLI commands.

Tips & Tricks

You can use xclip or wl-copy to automatically copy the processed output to your clipboard.

Under xorg with xclip:

smoltext Hello! | xclip -sel clip

Under wayland with wl-copy:

smoltext Hello! | wl-copy

Common issues

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

Links

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.4.8.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smoltext-1.4.8-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file smoltext-1.4.8.tar.gz.

File metadata

  • Download URL: smoltext-1.4.8.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.1

File hashes

Hashes for smoltext-1.4.8.tar.gz
Algorithm Hash digest
SHA256 066de6bdaebea755a70cbb4505f627c620308db70dd81019bae07344b9fd2e10
MD5 9e089b3b7240c3ceccf964d2993cfa52
BLAKE2b-256 0cc1b4ebbcfa5a10c0549ac3b8b7d2f33e2b16eb734ce794b3f299ec4febc556

See more details on using hashes here.

File details

Details for the file smoltext-1.4.8-py3-none-any.whl.

File metadata

  • Download URL: smoltext-1.4.8-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.1

File hashes

Hashes for smoltext-1.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4200d401e431a1369fc14c17e3f4f67ca78869fdb64ea2ae385dc579df0ac465
MD5 5867a1e2c0bd3460ff9acfb30aaccff5
BLAKE2b-256 ab3afae4023002b34da67d2ec7b9ac0a0f74cedbf7fe2f2d315e46de8fbaa1c4

See more details on using hashes here.

Supported by

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