It is currently 20 Feb 2018, 21:36

GIMP TutorialsHow to create a Custom Font to be used with Custom Font Script (Showcase | Slideshow)

GIMP Tutorials
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 5/14
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1207
x 258
Contact:
Canada

How to create a Custom Font to be used with Custom Font Script

Post#1 by tim » 14 Oct 2016, 21:06


The steps below is how to create a Custom Font .xcf to be used with 1. Custom Font Script on gimpchat.com or 2. Custom Font (scheme Script) on GIMP LEARN forum (release 16)
The .xcf defines a custom font. So follow these details.

1. You must create .xcf with many layers, each layer define each character you want to have.
2. The layers must be named like for example "A.png","B.png","C.png" (without the quotes) to define letters/characters "A", "B", "C".
3. Similarly, layers named "a.png","b.png","c.png" ... would define lowercase letters/characters "a","b","c"...
4. Similarly, a layer that defines the space character must be named " .png" (that has a space, dot, then png) Which is probably just an empty layer with some transparent space.
5. If your layer has too much extra empty space. You can make a rectangle selection for example around the letter "A" and then go menu "Layer", then "Crop To Selection".
6. Optionally, if you have a letter that has decorations going to the left/right that you'd like to include with the letters but you do not want the decorations to be part of the width definition of the letter so that the decorations will show up when you use the Custom Font Script but you don't want the decoration to be spaced out, you can define the width of your letter by creating a path/vector with the same name as the layer (ie. "A.png" and draw a simple 2 point path/vector (a line) that can go from the left of where the letter A starts, to the right of where the letter A ends). The script will then consider this path/vector the width of the letter "A".

That's it. You can save this file as .xcf and can be used by the Custom Font Script.

Note: You'll have to put letters like a, b, c or A, B, C higher up in the layer and letters like g, y right on the baseline of they layer, so that when the script runs it'll have your characters line up vertically, the best way to do this is to have all characters having the same layer height and put characters like g, and y touching the bottom while other characters sit higher up. Turn layer on/off to see if the characters line up right vertically.

Once you have your characters created and aligned on different layers on top of each other, you might want to use Auto Crop Resize To Selection Height Script to aid in the layer cropping process.

You can also use this Font to Layers Script to aid in starting a new custom font file.
0 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
Wallace
Forum Member
View: Showcase | Slideshow
Topic Posts: 2/14
Posts: 206
Joined: 11 Oct 2016, 21:24
Cash on hand: 157.44 GLP
Bank: 1,409.62 GLP
Gender: Guy
Location: Arizona USA
Website: http://gimpchat.com
Operating System: Windows
GIMP Version: 2.8.18
My YouTube Channel
My deviantart Account
x 3
x 37
Contact:
Gimp Nation

Post#2 by Wallace » 15 Oct 2016, 20:50


So that's how it's done?
Last edited by Wallace on 16 Oct 2016, 00:21, edited 1 time in total.
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 5/14
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1207
x 258
Contact:
Canada

Post#3 by tim » 15 Oct 2016, 21:37


Wallace wrote:So that's now it's done?
What do you mean? You already know this! :D I just wrote this step by step because Pat was asking me so i thought why not write it down too.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Pat625
Script Tester
View: Showcase | Slideshow
Topic Posts: 3/14
Posts: 2232
Joined: 28 Sep 2016, 03:35
Cash on hand: 13,251.55 GLP
Gender: Gal
Location: USA
Operating System: Windows
GIMP Version: 2.8.22
x 8
x 470
United States of America

Post#4 by Pat625 » 15 Oct 2016, 22:58


:D Thank you very much, Tin, Rod,Wallace and many others who are helping to make the Custom Fonts. :)
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 5/14
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1207
x 258
Contact:
Canada

Post#5 by tim » 15 Oct 2016, 23:08


You're very welcome Pat, it gives us the opportunity to add content to the forum(s).
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Wallace
Forum Member
View: Showcase | Slideshow
Topic Posts: 2/14
Posts: 206
Joined: 11 Oct 2016, 21:24
Cash on hand: 157.44 GLP
Bank: 1,409.62 GLP
Gender: Guy
Location: Arizona USA
Website: http://gimpchat.com
Operating System: Windows
GIMP Version: 2.8.18
My YouTube Channel
My deviantart Account
x 3
x 37
Contact:
Gimp Nation

Post#6 by Wallace » 16 Oct 2016, 00:23


admin wrote:
Wallace wrote:So that's now it's done?
What do you mean? You already know this! :D I just wrote this step by step because Pat was asking me so i thought why not write it down too.
I was joking. But I do like the way you explained the process. ;)
0 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 5/14
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1207
x 258
Contact:
Canada

Post#7 by tim » 16 Oct 2016, 01:21


:oops: I just noticed i had 3 steps with 3. on there heeh so bad at proof reading
0 x



aka Tin
Image gimplearn.net                                              

Post Reply

Last 20 Members Who Visited This Topic

User avatar Pat625 (3), User avatar RJKD (5), User avatar gnerd (6), User avatar tim (8), User avatar Conbagui (1), SukieKat (2)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: Pat625
2: leopardo-40
3: oldmangrumpy
4: gnerd
5: Ella
6: trandoductin
7: RJKD

Who is online

Users browsing this forum: No registered users and 2 guests