gimp images with text

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

 



>> 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.
>

Thanks. That fixed it.

>> 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.
>

Could you give me some more detail on this?
How does the mapping work?
I am having a problem in particular with Avantgarde from foundry urw. It
seems to be reverting to a more Helvetica-like font.

Thanks
Luke


-- 
Luke R. (via www.gimpusers.com)
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[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