[CLOSED] Making swash character making file size much bigger
-
- Posts: 59
- Joined: Mon Nov 06, 2023 8:06 am
[CLOSED] Making swash character making file size much bigger
I have created six swash character and I have created an otf file with my swash characters. I suddenly realized my file size have grown from 135 kb to 421 kb. I tested my file I have created one swash set but in my there is two swash set option.
Win 11 23H2 Fontcreator 15.0.0.2955
-
- Top Typographer
- Posts: 9909
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Making swash character making file size much bigger
It is unlikely to be a bug, and a file size of 421 kb is not too big. Many of my fonts are over 1 Mb for a single typeface.
-
- Posts: 59
- Joined: Mon Nov 06, 2023 8:06 am
Re: Making swash character making file size much bigger
Yes, but it is caused by six characters difference that more than doubled the file size.
Win 11 23H2 Fontcreator 15.0.0.2955
-
- Top Typographer
- Posts: 9909
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Making swash character making file size much bigger
Try Optimising the contours. Probably, there are way more points than are needed. Look at the hintline to see just how many there are in each swash glyph. If they are imported from images, there may be a lot.
-
- Posts: 59
- Joined: Mon Nov 06, 2023 8:06 am
Re: Making swash character making file size much bigger
They are not imported from images.
Win 11 23H2 Fontcreator 15.0.0.2955
-
- Posts: 59
- Joined: Mon Nov 06, 2023 8:06 am
Re: Making swash character making file size much bigger
This is still an opened issue.
Win 11 23H2 Fontcreator 15.0.0.2955
-
- Moderator
- Posts: 11501
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Making swash character making file size much bigger
Do send the font project so we can look into this problem.
-
- Moderator
- Posts: 11501
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Making swash character making file size much bigger
Thank you for sending the font project. I suspect the file is blown up due to the large kerning lookup.
If you leave it out, the file size becomes less than 100 KB.
If you leave it out, the file size becomes less than 100 KB.
-
- Posts: 59
- Joined: Mon Nov 06, 2023 8:06 am
Re: Making swash character making file size much bigger
I have an OTF file that contains 1182 glyhps and their kernings and this file size is 135 kb.
I am adding 6 more glyhps to this file and their kernings.
The new OTF file contains 1188 glyphs and their and this file is 421 kb.
Adding 6 more characters and their kernings more than doubled the new file size.
I know if I add new characters to my project file size will be bigger but just 6 glyhps and kernings shouldn't have to double.
It could be optimizing problem, perhaps?
I am adding 6 more glyhps to this file and their kernings.
The new OTF file contains 1188 glyphs and their and this file is 421 kb.
Adding 6 more characters and their kernings more than doubled the new file size.
I know if I add new characters to my project file size will be bigger but just 6 glyhps and kernings shouldn't have to double.
It could be optimizing problem, perhaps?
Win 11 23H2 Fontcreator 15.0.0.2955
-
- Posts: 59
- Joined: Mon Nov 06, 2023 8:06 am
Re: Making swash character making file size much bigger
I used Automatic kerning.
File without swash characters:
Kerning pair
17621/123922
File with swash characters:
Kerning pair
123922/123922
File without swash characters:
Kerning pair
17621/123922
File with swash characters:
Kerning pair
123922/123922
Win 11 23H2 Fontcreator 15.0.0.2955
-
- Posts: 59
- Joined: Mon Nov 06, 2023 8:06 am
Re: Making swash character making file size much bigger
In my project file
Kerning pair
17711/123922
But in my OTF file
Kerning pair
123922/123922
It is weird.
Kerning pair
17711/123922
But in my OTF file
Kerning pair
123922/123922
It is weird.
Win 11 23H2 Fontcreator 15.0.0.2955