On Wed, Sep 06, 2000 at 07:58:13PM -0400, Nick Marden <nick@xxxxxxxxxx> wrote: > I was looking through the PDB for a good procedure to return the > metrics of a text string a la gdk_string_extents() but all I could > find was gimp-text-get-extents. Unfortunately it returns the ascent > and descent of the font, not of the characters in the current string. Isn't the first what you want, anyway? I can only guess that the real problem is that gimp-text clips away part of the bounding box. Try using -1 as border size, this should leave the standard ascent and descent space around the charatcers, allowing you to align everything correctly. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@xxxxxxxxxxxxx |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |