RSS/Atom feed Twitter
Site is read-only, email is disabled

New Gimp/Pango features needed, contract work

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

New Gimp/Pango features needed, contract work Brent Berg 22 May 21:59
  New Gimp/Pango features needed, contract work John Cupitt 22 May 22:33
Brent Berg
2006-05-22 21:59:16 UTC (almost 18 years ago)

New Gimp/Pango features needed, contract work

The company I work for needs a particular software solution which may be solvable by adding features to Gimp and/or Pango. We currently have a server based ad layout solution which is in use with a variety of languages. However, we are unable to support complex text RTL languages like Hebrew and Arabic. We know that Gimp supports rendering of those languages, but we would need more capabilities in order to utilize it. We are looking to hire someone on a contract basis to help us provide a solution. Here are the specifics of what we are looking for.

Here is a full ad in Hebrew. The layout of this ad will be controlled by our layout application. The size of the ad and its text will change based on user needs.
http://dev1.multi-ad.com/bberg/gimp/heb_full_ad.jpg

We need a Gimp/Pango solution to render the headline, copy and legal text rectangles in that ad. Here are jpegs of just those areas. http://dev1.multi-ad.com/bberg/gimp/heb_headline.jpg http://dev1.multi-ad.com/bberg/gimp/heb_copy.jpg http://dev1.multi-ad.com/bberg/gimp/heb_legal.jpg

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. It is the ability to maximize the usage of the rectangle. There are a variety of issues involved that you should be aware of.

- The text will contain both breaking and non-breaking characters which need to be honored. For example, phrases that should not wrap onto separate lines will have non-breaking spaces, 00A0, in them. - The text may contain a mixture of fonts and font styles which will affect the width of a line and the space required.

Is there a developer out there who is willing to help us come up with a solution using Gimp and/or Pango? The work may involve adding features to Gimp and Pango, or just working on a custom solution using existing libraries. We would need to agree to a contract up front before any work is performed. If you have any questions, you can contact me via the list or my work address.

Thanks in advance for any help you can provide.

Brent

John Cupitt
2006-05-22 22:33:55 UTC (almost 18 years ago)

New Gimp/Pango features needed, contract work

On 5/22/06, Brent Berg 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.