weigert / splash

Unix Data Splashing Tool
MIT License
172 stars 4 forks source link

Experimental #13

Closed weigert closed 4 years ago

weigert commented 4 years ago

Added a truetype font rendering program. Allows for specifying the text, the font face, size, color, decorations (bold, italic, underline, strikethrough) and the alignment in the splash quad on both axes. The general properties of the splash also work.

This does not let you wrap the text or anything - it's intended for short data.

Currently it is also only static because I could not figure out how to get a bash command to pipe its data into another program and let the other program execute without waiting for the first one to terminate. Otherwise I would be able to stream input from a bash while loop to e.g. make a clock.

This is a general problem with "non-static" data streams / updating streams. I might have to think of a work-around with named pipes but I would rather not if it isn't elegant.

Still, dynamic data is an important feature, so I'm thinking about how it can be added in elegantly.

The parse struct has been improved so it can capture any type of flag input the user sets. Thereby programs can define their own flags if they want to.