Post Reply 

Outline around Text.

Jun 18, 2011, 12:24
Post: #1
Outline around Text.
Just wondering how you can get a different colored outline around text.

As an example;

http://prideandvirtue.proboards.com/index.cgi

The top banner on this site, displaying the words 'Pride and Virtue'.

Thanks in advance,

- - Saga.
Find all posts by this user
Quote this message in a reply
Jun 18, 2011, 13:41
Post: #2
RE: Outline around Text.
Easy....

- Create your text in the text dialog
[attachment=473]
- Before leaving the dialog, strike the "Path from text" button
- This creates a path that bears the name of your text:
[attachment=474]
- In the Layers dialog, you have a layer that also bears the name of your text. Erase it or get it out of the way (drag to bottom)
[attachment=475]
- Create two new layers, let's call them "Text outline" (top) and "Text area" (next)
[attachment=476]
- Make sure the "Text area" layer is selected
- Back to the "Paths" dialog. Right click on your text path, and "Path to selection"
[attachment=477]
- This creates a selection where your text was:
[attachment=478]
- You can fill that selection with whatever you fancy: plain color, gradient, pattern:
(note that you can do more that way with the inside of the text that what you can do in the Text tool):
[attachment=479]
- Remove the selection (Select/Select None).
- Set your foreground color to the color you want for the outline
- In the Layers dialog, select "Text outline"
- In the Paths dialog, right click again on the path, but click "Stroke path"
[attachment=480]
- A dialog opens, to keep it simple here we will choose to stroke simple 5px line:
[attachment=481]
- Click the "Stroke" button: done.
[attachment=482]


Notes:

- if you don't deselect before stroking your outline, it will be cut in half by the selection, since the stroking will only apply to the selected pixels
- the stroking of the outline can also use more complicated options, if you use the paint brush it will use the current brush which can be sparks, flowers, etc... In the coming version (2.8) emulating "brush dynamics" will do some useful stuff, like rotating the brush along the path.
- as you can see above, you get the same result if you select the text path and fill it with a plain color or let the Text tool perform the fill by default. However, if you intend to perform a geometric transformation on the text (rotate, scale, shear, perspective), applying the transform on the path (all transform tools can act on paths) and filling afterwards gives much cleaner results than transforming the text bitmap.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 18, 2011, 14:07
Post: #3
RE: Outline around Text.
Wow, thanks a lot. c:
Find all posts by this user
Quote this message in a reply
Jun 5, 2017, 00:44
Post: #4
RE: Outline around Text.
Lol you said easy. Is this process the same in Gimp 2.0? I am trying to outline text but just not getting it.
Find all posts by this user
Quote this message in a reply
Jun 5, 2017, 07:34
Post: #5
RE: Outline around Text.
Hi Mozeltovcocktail

This forum was dead for a long time, but has suddenly come alive again. Not many people here anymore.

Many people (including ofnuts) have moved to
https://www.gimp-forum.net
If you have any questions, try asking there.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Feature Request - Built in Outlined text cosmicvoyager 1 52 Sep 18, 2017 08:15
Last Post: paynekj
  Diamond and gold text effect Treycee 7 3,305 Sep 5, 2014 21:56
Last Post: Akros
  Text move - after adding border goad 3 254 Sep 2, 2014 03:45
Last Post: goad
  How to do this simple text effect ? Kaicy 2 280 Aug 25, 2014 21:20
Last Post: Kaicy
  How do I get text color to change ConsiderThis 5 407 Aug 17, 2014 08:16
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS