It is currently 18 Feb 2018, 09:07

GIMP/GL QuestionsCustom Font Help? (Showcase | Slideshow)

GIMP or GIMP LEARN forum related Questions
User avatar
runSPOTrun13
Forum Member
View: Showcase | Slideshow
Topic Posts: 1/23
Posts: 49
Joined: 26 Nov 2016, 06:33
Cash on hand: 50.00 GLP
Gimp Nation

Re: Custom Font Help?

Post#8 by runSPOTrun13 » 28 Nov 2016, 02:05


That font is awesome! Reminds me of the 80's.... anyone remember the "minds eye" pictures where you had to stare and unfocus your eyes to see the 3D images? Hahaha good luck with the font, looks like the spacing still needs some work, but I'd love to use it!
0 x




Registered members enjoy ads-free content
User avatar
Wallace

Forum Member
View: Showcase | Slideshow
Topic Posts: 11/23
Posts: 199
Joined: 11 Oct 2016, 21:24
Cash on hand: 68.01 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 33
Contact:
Gimp Nation

Post#9 by Wallace » 06 Mar 2017, 19:18


Why would a letter,
(in particular the letter "i") show up behind other letters,
when using a custom font?

Also...
I'm again have much difficulty with the spacing of another custom font I've created.
Age Font.xcf #
(1.48 MiB) Downloaded 22 times
0 x




User avatar
tim
Administrator
View: Showcase | Slideshow
Topic Posts: 8/23
Posts: 2155
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,887.02 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 1192
x 256
Contact:
Canada

Post#10 by tim » 06 Mar 2017, 19:53


you're trying to define height of i with a vector which isn't supported.
i.png will make the custom font scripts think the width of i is zero since it's just a vertical path with no width.
and also your vertical path is to the left of i so custom font scripts will think that's where it should place the i, but in reality your i is to the right of the defined vertical path so your i will appear to the right of where the vector is defined.
there is no support for height it assumes that layers height is height of character.
You can only define width, or kerning width.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Wallace

Forum Member
View: Showcase | Slideshow
Topic Posts: 11/23
Posts: 199
Joined: 11 Oct 2016, 21:24
Cash on hand: 68.01 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 33
Contact:
Gimp Nation

Post#11 by Wallace » 06 Mar 2017, 21:58


tim wrote:
06 Mar 2017, 19:53
you're trying to define height of i with a vector which isn't supported.
i.png will make the custom font scripts think the width of i is zero since it's just a vertical path with no width.
and also your vertical path is to the left of i so custom font scripts will think that's where it should place the i, but in reality your i is to the right of the defined vertical path so your i will appear to the right of where the vector is defined.
there is no support for height it assumes that layers height is height of character.
You can only define width, or kerning width.
Thanks Tim.
Even with your explanation I'm still having a hard time.

It seems to work better without any vector/path defining and only the "space.png" cropped.

Not sure if cropping the space.png is needed.
0 x




User avatar
tim
Administrator
View: Showcase | Slideshow
Topic Posts: 8/23
Posts: 2155
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,887.02 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 1192
x 256
Contact:
Canada

Post#12 by tim » 06 Mar 2017, 22:57


Wallace wrote:
06 Mar 2017, 21:58
tim wrote:
06 Mar 2017, 19:53
you're trying to define height of i with a vector which isn't supported.
i.png will make the custom font scripts think the width of i is zero since it's just a vertical path with no width.
and also your vertical path is to the left of i so custom font scripts will think that's where it should place the i, but in reality your i is to the right of the defined vertical path so your i will appear to the right of where the vector is defined.
there is no support for height it assumes that layers height is height of character.
You can only define width, or kerning width.
Thanks Tim.
Even with your explanation I'm still having a hard time.

It seems to work better without any vector/path defining and only the "space.png" cropped.

Not sure if cropping the space.png is needed.
I was hoping you'd overcome the "hard time" and come out with a tutorial. I am terrible at tutorial-ing.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
tim
Administrator
View: Showcase | Slideshow
Topic Posts: 8/23
Posts: 2155
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,887.02 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 1192
x 256
Contact:
Canada

Post#13 by tim » 06 Mar 2017, 23:23


Hopefully I can explain this better with this image.
custom_font_scripts_uses_width.png
custom_font_scripts_uses_width.png # (13.93 KiB) Viewed 269 times (Watermarked | Thumbnail)
1. If you use blue path (labelled 1) as vector named i.png, it won't work because
  • it has a width (horizontal difference of starting point and end point) of zero or near zero so scripts will think that your letter i has no width
  • it has a height (vertical difference of starting point and end point) but scripts don't use this information, they only consider layer's height
  • it is defined to the left of i, i appears to the right of the path so when it renders letters i will always appear to the right because the path isn't telling script where i is actually located (horizontally)
2. If you use red path (labelled 2) as vector named i.png, it will work because
  • i has a width (horizontal difference of starting point and end point) of something larger than actual width of i so there will be some spacing on either side of i when scripts try to render it
  • it doesn't have a height(vertical difference of start point and end point) but since scripts don't use this information, it is ignored so that's fine
  • it is defined where i is actually located (i fits inside this horizontal location of starting point and end point) so when scripts render the i, it'll be generally where i should be with some spacing on the left and on the right (created by a wider horizontal location of starting point and end point).
PS: Wallace, i also noticed you defined 2 vectors for i in your .xcf. 'i.png' and 'i.png #1' but only 'i.png' will be used. 'i.png #1' is unknown to scripts and is ignored. That's why your i appears behind other character because i.png is defined with the blue path because of how far to right i is relative to where the blue path is defined.
0 x



aka Tin
Image gimplearn.net                                              

User avatar
Wallace

Forum Member
View: Showcase | Slideshow
Topic Posts: 11/23
Posts: 199
Joined: 11 Oct 2016, 21:24
Cash on hand: 68.01 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 33
Contact:
Gimp Nation

Post#14 by Wallace » 07 Mar 2017, 05:06


Thanks again Tim!
0 x




Post Reply

Last 20 Members Who Visited This Topic

User avatar Pat625 (4), User avatar gnerd (1)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: Pat625
2: gnerd
3: animicule
4: Pat625
5: Pat625
6: Issabella
7: Issabella

Who is online

Users browsing this forum: No registered users and 1 guest