Sprite Font Generator - v3

Discussion of tools and resources for game developers

Post » Wed Oct 11, 2017 12:16 am

is there a reason why sometimes the generated font within Construct is distorted at times? For example, if I export a font at size 72 and scale it down within construct, it looks distorted compared to exporting a size 24 and using it at scale of 1.

Sometimes, the character widths also seem off. For example, I am trying to use roboto which looks great on googles website for fonts, but in construct the spacing is very different after using this sprite font generator.

Has this occured to anyone? Any solution ?
If you are looking for solutions and workarounds to the Windows 10 C2 performance issues feel free to reach out to me.

Following rexrainbow's lead - Goodbye.
B
50
S
24
G
14
Posts: 632
Reputation: 12,505

Post » Wed Oct 11, 2017 1:33 am

@humanescape
Scaling any bitmap will distort it. The clearest version will always be at scale=1.

Are you importing the spacing data correctly? Post a sample CAPX to show the problem.
ImageImageImage
B
72
S
22
G
290
Posts: 3,884
Reputation: 159,509

Post » Wed Oct 11, 2017 10:34 am

blackhornet wrote:@humanescape
Scaling any bitmap will distort it. The clearest version will always be at scale=1.

Are you importing the spacing data correctly? Post a sample CAPX to show the problem.


I can create a CAPX tonight if needed.
Here is a screencap. You will see the Construct example above and google font below. Notice some of the spacing is not correct. With the google example, spacing is even. With Construct it is not. By using a scale of 1:1, it is better but not good still (some lettering seems off). It makes for some odd looking text due to the spacing. Do I need to increase the padding adjustment? I have the spacing set within construct as per the saved file from the generator.


Image
If you are looking for solutions and workarounds to the Windows 10 C2 performance issues feel free to reach out to me.

Following rexrainbow's lead - Goodbye.
B
50
S
24
G
14
Posts: 632
Reputation: 12,505

Post » Fri Jan 19, 2018 10:33 pm

@blackhornet GYFMS makes some fonts look bold.For example a Calibri Light font created by GYFMS will end up looking like Calibri bold.
B
9
S
2
Posts: 13
Reputation: 551

Post » Tue Jan 23, 2018 6:59 pm

@C2isthetruth
Sorry, I'm not seeing that when I try Calibri Light. Light/Regular/Bold all look different. I just call the OS to draw the font. I have no actual control on how it draws.
ImageImageImage
B
72
S
22
G
290
Posts: 3,884
Reputation: 159,509

Post » Tue Feb 13, 2018 6:55 pm

Simply Awesome.

thank you so much, you really saved my bacon. :)
B
15
S
5
G
3
Posts: 31
Reputation: 2,180

Post » Thu Mar 01, 2018 4:58 pm

@blackhornet

Is it possible to add an option for small cap letters, like in photoshop? So it's basically smaller capital letters used as lowercase letters.

Thanks.
Image ImageImage
B
10
S
4
G
1
Posts: 110
Reputation: 1,718

Post » Mon Mar 26, 2018 2:23 pm

Hey @blackhornet

I just read you tutorial about migrating SpriteFont+ to Construct3.
The issue is that I have several games that use spritefont+ and I don't have the originial fonts (neither know the font names) to generate the new JSON format. So there is any way to convert the C2 JSON format to the C3 JSON format directly?

It would be difficult to implement it on your GYFM?
B
80
S
23
G
2
Posts: 127
Reputation: 6,205

Post » Tue Mar 27, 2018 5:42 am

Actually, you (or anyone) could write a simple utility in C2 to generate the string. The format is pretty obvious if you look at the two structures. The one loads directly into the C2 array, and the other can be generated by looping the array and pumping out the formatted string.
ImageImageImage
B
72
S
22
G
290
Posts: 3,884
Reputation: 159,509

Post » Tue Mar 27, 2018 1:46 pm

Ok, I will try. Thanks for the reply.
B
80
S
23
G
2
Posts: 127
Reputation: 6,205

PreviousNext

Return to Tools and Resources

Who is online

Users browsing this forum: No registered users and 1 guest