Re: New Gimp/Pango features needed, contract work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/22/06, Brent Berg <bberg@xxxxxxxxxxx> wrote:
We would ask a script to accept rectangle dimensions, font and text
information and output a tif file of the rendered text. The script would
need to wrap and copyfit the text in the rectangle area. That is the
most important feature needed.

Pango does this already, if I understand your problem. It can render
text to fit a certain width in pixels, with word breaking and a mix of
typographical effects.

There's a demo program in the pango distribution which does almost
exactly what you need:

 pango-x.x.x/examples/pangoft2topgm.c

You'd just need to use imagemagick or equivalent (script-fu? vips?) to
assemble the various components of your ad and do any compositing.
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux