Skip to content

Vpype addon to write text to the vpype pipeline in glyphs

License

Notifications You must be signed in to change notification settings

johnbentcope/vpype-ttf

Repository files navigation

vpype-ttf

Vpype plugin for using True Type fonts for text.

For vpype, see: https://github.com/abey79/vpype

ftext

A shortening of "font text", this command accepts the required arguments of a path to a TrueType, and a string of text to render, and an optional argument of the text size, and adds the rendered text lines to the document in the pipeline.

Installation

  • Install repository:
  • pip install vpype-ttf

Usage

Have font file specified, eg:

  • vpype ftext /usr/share/fonts/truetype/open-sans/OpenSans-Bold.ttf "vpype-ttf" show

the text 'vpype-ttf' rendered with vpype show

Options

vpype-ttf currently supports font scaling with the -s or --size option.

  • vpype ftext -s 10cm /usr/share/fonts/truetype/open-sans/OpenSans-Bold.ttf "vpype!" show

Contributing

Thanks to Tatarize for creating this plugin in the first place. If you would like to contribute and expand vpype-ttf, bug reports, feature requests, and issues are welcome.

About

Vpype addon to write text to the vpype pipeline in glyphs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages