[Gimp-developer] Debugging gimp_text_fontname error with non-ascii

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

 



I had filed a bug (http://bugzilla.gnome.org/show_bug.cgi?id=157709) about this for gimp-perl a couple months ago and hadn't heard back, but I'm looking for some advice on how to further debug this issue as it may not even be gimp-perl specific.


When I call the following pdb function with any non-ascii character in my perl script:

my $text_layer =   gimp_text_fontname($img,-1,0,0,"test string ö", 0, TRUE, 14, 0, "Arial");


The function simply fails, and returns the following error

"gimp_text_fontname: procedural database execution failed at ..."


With no more useful information.  Displaying the stack trace doesn't give me any additional useful information as well.  "gimp_text_get_extents_fontname" gives a similar error with a non-ascii character, but another pdb function I found that generates text - "script_fu_newsprint_text" actually seems to succeed as it returns no error. Incidentally, I've experimented with different fonts and characters, and can only comment that these characters were not causing an error with Gimp 1.2.  (I've tested this on Gimp 2.0.5, 2.2 for GNU/Linux, Gimp Perl 2.0 and Pango 1.6.) Any advice on what to look at next would be appreciated.

Thanks,
Jared


________________________________________________________

Jared Whiting                        Myers Internet, Inc.
Senior Developer                    http://www.myers.com
(408) 428-9960 

"Taking Your Business To The Next Level"


[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