Re: [Gimp-developer] Text color change

2010-03-17 Thread Akkana Peck
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).

Depending on your background color, this might also change some of
the background around the text, but there are some ways to get arond
that. Merge down on the layer will merge it only with the text layer
below it, or you could use the text layer as a mask to mask off
everything but text in the color layer. The best approach depends
on exactly what effect you're trying to achieve and what colors
are involved.

...Akkana
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Text color change

2010-03-17 Thread Sven Neumann
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.


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Text color change

2010-03-17 Thread Thales img
Thank you so much for your attention Akkana, the point is I'm able to change
the color, I'm just looking if there is an easiest way. Like we now can do
with Bold, Italic, etc.

Sven, thanks for the reply too, I don't no anything about technicals
details, but thanks anyway.

Thales
-- 
Thales Oliveira - Img Brasil
+55 31 (8365 3869 - 3309 8760)
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Text color change

2010-03-17 Thread Sven Neumann
On Wed, 2010-03-17 at 16:58 -0300, Thales img wrote:
 Thank you so much for your attention Akkana, the point is I'm able to
 change the color, I'm just looking if there is an easiest way. Like we
 now can do with Bold, Italic, etc.
 
 Sven, thanks for the reply too, I don't no anything about technicals
 details, but thanks anyway.

Then please ask on the gimp-user mailing-list. This list is for
technical discussions and your question would have been more appropriate
on gimp-user.


Thanks,
Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Text color change

2010-03-17 Thread Thales img
Easy man, easy, I asked here 'cause if it wouldn't possible change the color
it would be a suggestion for whose that develop.

Thanks anyway, sorry if it wasn't a good idea,

Thales

On Wed, Mar 17, 2010 at 5:33 PM, Sven Neumann s...@gimp.org wrote:

 On Wed, 2010-03-17 at 16:58 -0300, Thales img wrote:
  Thank you so much for your attention Akkana, the point is I'm able to
  change the color, I'm just looking if there is an easiest way. Like we
  now can do with Bold, Italic, etc.
 
  Sven, thanks for the reply too, I don't no anything about technicals
  details, but thanks anyway.

 Then please ask on the gimp-user mailing-list. This list is for
 technical discussions and your question would have been more appropriate
 on gimp-user.


 Thanks,
 Sven





-- 
Thales Oliveira - Img Brasil
+55 31 (8365 3869 - 3309 8760)
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] Text color change

2010-03-15 Thread Thales img
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.

Thanks,

Thales

*(Sorry if I sent it before)*
-- 
Thales Oliveira - Img Brasil
+55 31 (8365 3869 - 3309 8760)
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer