The vertically oriented icons are next, I already have the height parameter working (with the text centered vertically... should there be an option to put text on top or bottom?... and left/right/center for that matter?)

I also have a method partially worked out to do graphs(without text), but not sure if there will be a way to integrate it here... its a _little_ more complex_________________Web Programming - Pet Packaging 100 & 101

Text justification is a nicety, if you have a use for it it`s good.
Should be easy to do though...
Centered I`d think would be the most common use / need.

When I made M$ controls and ActiveX I added stuff like this if it was easy.
M$ controls have lots of properties like this, which is overkill mostly.
M$ put lots of effort into nice working controls, and the quality shows.

Currently if you don't specify a width, it uses the width of your text.

Code:

text2xpm "used free" percent=50

You would get a justified image with used all the way on the left and free all the way to the right. Think partinfo
(BTW each char is 7 pixels ... width=${#STRING})[/code]_________________Web Programming - Pet Packaging 100 & 101

Vertical ones stacked side by side would make a good set of tray meters.

I got this tip from imagmagick
you could add this snippet to text2xpm also after some mods

Code:

echo -n "Vertical" | sed 's/./&@/g; s/@$//' | tr '@' '\012'

Note that the "sed" command adds a '@' character after every character,
except at the end of the string.
The "tr" then replaces the '@' characters with newlines.
It also assumes the input text does not end with a newline,
which would cause an extra blank space to be added at the
bottom of the resulting image.

Joe_________________debian wheezy ,linux mint, slackware I use them all and they all have good points
Mint would be best for general users though

I have some real world projects to deal with for a while so I am uploading my current development snapshot with some notes.

I currently have added a rounded option, and support for height since the last version, some code improvements and haphazardly put my best guess as to what the code for other options will look like in comments

text2xpm.gz

Description

development version with some notes to remind me what to do later,sometime, maybe, eventually

this is an experiment for my jwm-tools project, as it will allow drives icons to display the partition name and optionally percent used/free without needing a tooltip ... freeing up the tooltip to display kb used/free_________________Web Programming - Pet Packaging 100 & 101