Typophile

File size increase after font modification

laurent

Hello,

I need to modify an existing font (OFL) to add a few characters (ç and Ç), to use it in french.
I opened the .ttf font file in Fontlab Studio 5, duplicated the c with copy/paste, and added the tail.

The generated file is 36ko while the original is 17ko.

What did I do wrong ?

I just did something similar, just opening a font in Fontlab and then generating it again, resulting in a size increase from 70kb to 116kb. I then compared the two, using MS Font Validator, and found that some tables were added and some were deleted. Specifically:
Added: LTSH, VDMX, hdmx
Deleted: FFTM, GPOS
In addition, the contents of some tables were changed.
So, no, you did nothing wrong.
- Herb

Thank you for your input.

The font I'm willing to modify is going to be served as a webfont.
File size is critical.

Any ideas ?

There are many free websites and utilities that will convert fonts to more web-compatible formats. For example, search for 'make web fonts'.

Laurent, a quick red flag: chances seem low that a font missing ç and Ç is good enough otherwise... :-/

hhp

You might find some of the discussion on this thread at TypeDrawers relevant:

http://typedrawers.com/discussion/250/upm-in-a-family-with-web-fonts

It's all guess work given what you've provided for info.

But perhaps you've left the check box for "autohint unhinted glyphs" in the generate ttf section. Hinting could certainly add even more than that to the total size.

Thank you all for your valuable input.

By the way, we're talking about karla

@jasonc, I'll look into this and try to be more specific in my questions if I'm still stuck.

@hrant, sure, but I plan to make it better !

I opened the .ttf font file in FontForge, duplicated the c/C with copy/paste, and added the tail.
The generated file is 16.1 ko while the original is 16.8 ko.

I don't have a degree in x11 rocket science, so FontForge is not an option for me.
Too bad...

I don't have a degree in x11 rocket science, so FontForge is not an option for me.

Neither do I but I have managed to get it up and running on both Mac (10.7 and 10.8) and Windows (7). It is definitely worth the effort in my opinion.

The documentation is daunting, I've been looking for a step by step for hours, but had no luck. Might give it another try, though.

Captured from web.archive.org on 9 Aug 2014. view this capture