Re: [Gimp-developer] Preparing the 1.2.4 release

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

 



On Fri, May 03, 2002 at 10:37:37PM +0200, Sven Neumann wrote:

>  - Look through the list of open bugs for the 1.2.4 milestone (a quick
>    way to get there is http://bugs.gimp.org/stable-milestone/). Some
>    of these bugs need comments. Of course patches to fix them are
>    highly appreciated.

I'd like to comment on bug #79754. Some time ago I built a GIMP 1.2.2
RPM for SUSE. There was a gimp-fontset.patch included:

--- app/text_tool.c.orig        Sat Jan 27 16:29:16 2001
+++ app/text_tool.c     Sat Jan 27 16:31:50 2001
@@ -607,7 +607,7 @@
   gdk_error_warnings = 0;
   gdk_error_code = 0;
 #ifndef GDK_WINDOWING_WIN32
-  font = gdk_font_load (fontname);
+  font = gdk_fontset_load (fontname);
   if (!font)
     {
       g_message (_("Font '%s' not found."), fontname);
@@ -838,7 +838,7 @@
   gdk_error_warnings = 0;
   gdk_error_code = 0;
 #ifndef GDK_WINDOWING_WIN32
-  font = gdk_font_load (fontname);
+  font = gdk_fontset_load (fontname);
   if (!font)
     return FALSE;

The problem was: It did not work. If I entered umlauts into the
(dynamic) text tool, the text got truncated there (although they showed
up fine in the preview). (I used the "C" locale, not de_DE or
something).

I talked a bit with Daniel Egger but we didn't come to a clear solution.
If I find the time, I'll check out CVS today and give check whether the
problem persists.

I tracked down the problem to gdk_measure_text which called
XmbTextExtens which in turn returned the wrong width (truncated at first
umlaut).

I'm just telling that story to point out that fontset support might be a
hairy issue and hard to get right.

Bye, Tino.

-- 
             * LINUX - Where do you want to be tomorrow? *
                  http://www.tu-chemnitz.de/linux/tag/


[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