gimpusers.com logo
German version English version

Not logged in

Sign up! | Lost password?

Latest discussion

  1. gimp-user | today 10:48 AM
    Suppressing the "press any character to close this window" message in Script-Fu
  2. gimp-developer | today 10:45 AM
    Help with new default resources in 2.8
  3. gimp-docs | today 10:34 AM
    Where does the HTML documentation
  4. gimp-developer | today 09:34 AM
    html layers
  5. gimp-developer | today 08:50 AM
    Please fix Color and/or Value transfer mode

External news

Poll

Would you like to see or even participate in GFX contests hosted by gimpusers.com?

Yes, but prices for winners are important!

Yes, GFX contests are a good idea! It brings community together even if there are no prices available

No, contests are not important

Maybe, it is however not a tragedy if there are no contests. I don't care much.

See results

Stats

gimpusers.com RSS feed

GIMP Forums » For GIMP developers

Text color change

Jump to message:

  1. Text color change — Thales img, 16 Mar 2010 03:52 AM
    1. Text color change — Akkana Peck, 17 Mar 2010 07:10 PM
      1. Text color change — Sven Neumann, 17 Mar 2010 08:34 PM
      2. Text color change — Thales img, 17 Mar 2010 08:58 PM
        1. Text color change — Sven Neumann, 17 Mar 2010 09:33 PM
          1. Text color change — Thales img, 17 Mar 2010 11:08 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)*
--
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
↑Back to thread overview
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
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
↑Back to thread overview
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
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
↑Back to thread overview
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
--
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
↑Back to thread overview
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
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
↑Back to thread overview
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
>
>
>
--
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
↑Back to thread overview

Adobe® Photoshop® is a registered trademark of Adobe Systems, Inc. Linux is a trademark of Linus Torvalds. Ubuntu and Canonical are registered trademarks of Canonical Ltd. | Clock times are shown as CET / CEST | Imprint / Privacy policy | powered by bitfire it services | sponsored by Hirners Hotel Guide