/ustyl

Convert ASCII letters to their Unicode pseudo-font equivalents

Primary LanguageGoCreative Commons Zero v1.0 UniversalCC0-1.0

ustyl

Command-line utility to convert the letters of a string or file into their Unicode pseudo-font equivalents.

NB there are some characters missing from those pseudo-font blocks - no character is defined for their numerical codepoint.

Examples:

  • Prints all options:
ustyl -h
  • Prints the provided string in Calligraphy normal and Fraktur bold:
ustyl -text "AlΓ©luia" -styles cF
  π’œπ“Γ©π“π“Šπ’Ύπ’Ά
  π•¬π–‘Γ©π–‘π–šπ–Žπ–†
  • Prints the provided string in Fraktur bold, converting also characters with diacritics:
ustyl -text "AlΓ©luia" -styles F -nfd
    π•¬π–‘π–ŠΜπ–‘π–šπ–Žπ–†
  • Takes the input file and generates one new file per each supported pseudo-font, converting also characters with diacritics:
ustyl -file somefile.txt -nfd