Re: [Phpvideopro-developers] Labels
Brought to you by:
izzy
From: Peter B. <pb...@bi...> - 2002-02-11 22:54:43
|
Hi, --On Monday, February 11, 2002 01:46:55 PM +0100 Itzchak Rehberg <izz...@qu...> wrote: > That would mean to stick to a specified OS. Sure for the shorthand solution. > I wrote the project in > PHP to be OS independant, so this wouldn't be the ideal choice. I > thought of something using PHPs image functions to generate labels. > Should not be that hard: some time ago I wrote a small "button > generator". It takes existing images as input (would be the empty > label in our case) and puts text strings on it. If you've got some > free time and could take a look at it it would be great. The only > difficulty I see with it is the fonts and adjustments: > > - how many items have to be put on the label > - what format should it be > - centered/justified/left/right > - bold/italics/... cdlabelgen already does some of the adjustment very well, e.g. shrinking text to fit it into the hardwired width. Is PHP able to create Postscript code? If yes, cdlabelgen can be ported to PHP. Peter |