GIMP Forums » For GIMP developers
Text color change
Jump to message:
-
Text color change —
Thales img,
16 Mar 2010 03:52 AM
-
Text color change —
Akkana Peck,
17 Mar 2010 07:10 PM
- Text color change — Sven Neumann, 17 Mar 2010 08:34 PM
-
Text color change —
Thales img,
17 Mar 2010 08:58 PM
-
Text color change —
Sven Neumann,
17 Mar 2010 09:33 PM
- Text color change — Thales img, 17 Mar 2010 11:08 PM
-
Text color change —
Sven Neumann,
17 Mar 2010 09:33 PM
-
Text color change —
Akkana Peck,
17 Mar 2010 07:10 PM
As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.
| Permalink: | 4a582e991003151952y64b01b59h355a54693... |
|---|---|
| Date: | 16 Mar 2010 03:52 AM |
| From: | Thales img |
| Subject: | Text color change |
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)*
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
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
| Permalink: | 20100317181037.GD1876@shallowsky.com |
|---|---|
| Date: | 17 Mar 2010 07:10 PM |
| From: | Akkana Peck |
| Subject: | Text color change |
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
> 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
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 1268854497.7663.17.camel@bender |
|---|---|
| Date: | 17 Mar 2010 08:34 PM |
| From: | Sven Neumann |
| Subject: | Text color change |
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
> 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
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 4a582e991003171258h2a5b7582s421791d0d... |
|---|---|
| Date: | 17 Mar 2010 08:58 PM |
| From: | Thales img |
| Subject: | Text color change |
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
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
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
| Permalink: | 1268858024.7663.42.camel@bender |
|---|---|
| Date: | 17 Mar 2010 09:33 PM |
| From: | Sven Neumann |
| Subject: | Text color change |
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
> 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
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 4a582e991003171508t20cba86ft4b96fc6d8... |
|---|---|
| Date: | 17 Mar 2010 11:08 PM |
| From: | Thales img |
| Subject: | Text color change |
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 <sven@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
>
>
>
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 <sven@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
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


