On Wed, 2010-03-17 at 11:10 -0700, Akkana Peck wrote:
> Thales img writes:
> > Is there any way to change the color of part of a text? Like this:
> > This wordis red
> > I'm asking 'cause if there isn't an easy way is something to think about.
> Probably the easiest way is to use bucket fill and click on each
> of the letters. Note that that will change the layer into a graphics
> layer and lose the special text information, like font and size.
> A more elaborate, but more flexible, way, is to make a new layer
> on top of your text layer. Make a selection in that layer covering
> whatever part of the text you want in a different color (e.g. a
> rectangle covering only that word). Fill the rectangle with your
> desired color. Then, in the Layers dialog, set the mode of the
> new layer to Lighten Only. If your text was black, that will turn
> the word your desired color. If you started with a different color
> of text, you might need a different layer mode (experiment with all
> of them).

As far as I can see GtkTextTag has properties for color, so it shouldn't
be too difficult to extend the support for text styles in git master so
that it also supports changing the text color on a per-glyph basis.


Gimp-developer mailing list

Reply via email to