This is a image of the problem. I'm using Square Kids font and using the font as a font when you type a + or - it puts a little rectangle on top or the bottom of the font to make it look like a block.
Everything works right except for the rectangle, it gets placed like a regular font. I guess it's called kerning, I have tried adding a two point path and then moving the path to the edge. I'm not having any luck.
The black font at the bottom of the picture shows what it was supposed to look like.
It is currently 25 Feb 2021, 22:06
| ||||
| ||||
|
|

Help with Custom Font

-
tim
- View:
|Posts
- Topic Posts: 2/6 | Posts: 5273
- Joined: 26 Sep 2016, 00:16
- Cash on hand: 76,393.26 GLP
- Bank: 275,463,458.00 GLP
- Gender: Guy
- Location: Canada
- GIMP Version: 2.10.X
- Paint Blotches blog
- Play them songs blog
- Personal Blog
- x 3091
- x 1035
- Contact:
moving the path to the edge doesn't do it.
But you have to make the distance between point 1 and point 2 (which defines the width of your character).
So make that super small so that it doesn't take up and space and it'll be centered.
here I tried a 2 point path named "+.png" duplicated and renamed to "-.png" as well and made left point and right point very close to each other as to having a width of near zero (I guess you could make them zero by dragging one over top of each other).
but it seems to work fine.
But you have to make the distance between point 1 and point 2 (which defines the width of your character).
So make that super small so that it doesn't take up and space and it'll be centered.
here I tried a 2 point path named "+.png" duplicated and renamed to "-.png" as well and made left point and right point very close to each other as to having a width of near zero (I guess you could make them zero by dragging one over top of each other).
but it seems to work fine.
aka Tin
-
tim
- View:
|Posts
- Topic Posts: 2/6 | Posts: 5273
- Joined: 26 Sep 2016, 00:16
- Cash on hand: 76,393.26 GLP
- Bank: 275,463,458.00 GLP
- Gender: Guy
- Location: Canada
- GIMP Version: 2.10.X
- Paint Blotches blog
- Play them songs blog
- Personal Blog
- x 3091
- x 1035
- Contact:
this might seem like kerning but it's not since the rectangle is always going to be same position for all characters.
so you don't have to deal with kerning.
kerning is when you have like example MA you want the A to be regular spaced but when you have something VA you want the A to start earlier position because it's next to the V so what you do is your define a path/vector and name it VA.png and draw a width that is smaller than you would for the V.png path/vector...that way when it sees the combination VA it'll use the width defined in VA.png vector which is smaller than a typical width so it draws the V but then consider the V narrow so A starts soon hence appear closer to the V.
so you don't have to deal with kerning.
kerning is when you have like example MA you want the A to be regular spaced but when you have something VA you want the A to start earlier position because it's next to the V so what you do is your define a path/vector and name it VA.png and draw a width that is smaller than you would for the V.png path/vector...that way when it sees the combination VA it'll use the width defined in VA.png vector which is smaller than a typical width so it draws the V but then consider the V narrow so A starts soon hence appear closer to the V.
aka Tin
That was sure a struggle !
No fault of yours, I kept making little paths and nothing would happen.
Then I read your post again and it finally dawned on me to rename the paths and duplicate it like you said.
Worked like a charm.... Thanks
No fault of yours, I kept making little paths and nothing would happen.
Then I read your post again and it finally dawned on me to rename the paths and duplicate it like you said.
Worked like a charm.... Thanks
Tom, it's a very interesting project and you have known how to solve the problems. Congrats!
Issabella
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
| ||||
| ||||
|
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3 Replies
- 2140 Views
-
Last post by Pat625
25 Aug 2020, 04:10
-
- 2 Replies
- 1050 Views
-
Last post by Cross_Stitcher
03 Dec 2020, 13:20
-
-
Update to Version 1.21 for Custom Font Layer Utilities
by skinnyhouse » 22 Mar 2020, 15:22 » in GIMP Python Fu Scripts/Plug-ins - 2 Replies
- 2741 Views
-
Last post by Krikor
20 Dec 2020, 19:40
-
-
-
Update to Custom Font Facemaker to Version 0.03 for Gimp 2.10
by skinnyhouse » 01 Apr 2020, 12:26 » in GIMP Python Fu Scripts/Plug-ins - 0 Replies
- 2591 Views
-
Last post by skinnyhouse
01 Apr 2020, 12:26
-
-
-
Custom Font Paragrapher for Gimp 2.10 Initial Release
by skinnyhouse » 06 Apr 2020, 09:15 » in GIMP Python Fu Scripts/Plug-ins - 10 Replies
- 5684 Views
-
Last post by skinnyhouse
09 Apr 2020, 19:38
-
-
-
Custom Font Paragrapher for Gimp 2.10 Version 002
by skinnyhouse » 10 Apr 2020, 09:59 » in GIMP Python Fu Scripts/Plug-ins - 2 Replies
- 2830 Views
-
Last post by skinnyhouse
12 Apr 2020, 08:37
-
-
-
Custom Font Paragrapher for Gimp 2.10 Version 003
by skinnyhouse » 12 Apr 2020, 09:41 » in GIMP Python Fu Scripts/Plug-ins - 5 Replies
- 4257 Views
-
Last post by skinnyhouse
14 Apr 2020, 12:41
-
Who is online
Users browsing this forum: No registered users and 23 guests