7051c4d898
cdlablegen: * added support for long options * added some options to choose different colors for plaque background, category, subcategory and text * added a man page * add /opt/lib/cdlabelgen/ to template search paths * added: -M option, to print out envelope for a CD * -v <very large number> is no longer an error, instead, all items are printed on cover, none on the tray card. * also added .spec file, from other sources on web, for RPM installs. Use: rpm -ta cdlabelgen-n.n.n.tgz to create RPM [not tested] * -v option to support splitting items array into items for cover, and items for tray * word wrap could result in 0 items, now ensures that #items >= 1 * fixed bug where -f <file> containing one item only was being skipped; also added code to handle all kinds of end-of-line delimiters in the items file - each line is considered to be one item, so need to handle all kinds of EOLN characters. * -w word wrap was not working, now should work better in all cases * added -p option, pass to template.ps option to clip items instead of auto_reducing them to fit to a column * allow skipping either -c or -s option (or both) * minor change to insert \n in @items - keeps PostScript DSC compliant (as far as possible!) - line length should be < 255 chars done to keep warning messages away when using GSview template.ps: * added support for plaque background color, category text color, subcategory text color and text color * increased normal cd case insert dimensions very slightly for better fit * removed the ISOLatin1 recoding of fonts; added %%BeginProlog DSC comment - this allows piping output through the ogonkify program which can recode in a number of encodings. see man page for more information. * fill2 background should fill two endcaps only, do not fill the extreme right-hand tongue-cap, since the tongue-cap does not exist in normal cd inserts * added optional image translate arguments for -S and -T to offset cover/tray image as required * added -y: move entire printout up or down; ex: -y 1.5, for A4 paper size * added -l: control width of cover/tray edge lines, 0 skips printing edge lines entirely * support printing of CD envelopes, merged in envelope template sent by Ronald Rael Harvest <number6@cox.net> * added variables to control left/right margins for both cover and tray * both cover and tray can print list of items, uses two different arrays containing the items * add "fill2" option to fill image in tray and end-caps too in addition to just filling the interior of the tray card * -s <subban_string> would not print along the spine even when it would fit, Rewrote make_endcap function. * added larger bottom page offset - hopefully, will work on most printers using A4 size (Europe) * -p option now actually clips text (instead of just clipping graphically - used to leave partial letters on the printout) now full characters at the end of the string are omitted if needed to fit the column * major change to the font size and number of columns computation for list of items Added option to clip text instead of auto_reducing text to fit to column * images can be scaled to completely fill cover and tray card - so they can be used as background images. * added support directives {#BI} {#B} {#I}, appearing in input text, make a line bold-italic, or bold, or italic respectively. Directives must appear in column 1 of line. * bug fix: in n columns output, if number of items was not a multiple |
||
---|---|---|
.. | ||
patch-aa | ||
patch-ab |