Hi,
On Tue, 2009-06-09 at 18:15 +0200, Luke R. wrote:
There seem to be a couple of problems.
When the $text contains anything other than [a-z], [A-Z], [0-9],
gimp_text_get_extents fails, saying it was called with an invalid argument.
You need to make sure that your text is in UTF-8 encoding.
Also, when the code does create an image with text, I'm not convinced gimp is
using the font I'm requesting.
Font selection changed completely with GIMP 2.0. There's some
compatibility code that tries to map the X Logical Font Description font
names from the old days to a font-config font description, but this code
is probably not perfect.
Sven
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer