views:

131

answers:

2

Hello , Is there any way to reduce the size of the .ttf fonts? i.e. if we want to remove some glyps which we are not using.

A: 

I also want to do this.

Andrew Lundgren
This is not an answer to the actual question (so you should not have posted it as such). Rather, it is a *comment* to the question. See "add comment" right below the OP's question.
Andreas Rejbrand
+1  A: 

What is the application for this? Most fonts are relatively lightweight. TTFs store vector data instead of bitmap data, so it takes relatively few bytes to describe the shape of each glyph. Even very busy fonts can be kept below 100kb. Many modern fonts come with ClearType hinting, but even this adds very little file size.

If you really want to take certain glyphs out of a font, then you will need a font editing tool (Macromedia had one called Fontographer that is now owned by FontLab). But you're probably better off just picking a lighter font. For example, OCR A Std is only 30kb and includes ClearType hinting as well as all US ASCII characters. Try to avoid Unicode fonts since full Unicode support requires a ton of glyphs. But most fonts don't offer full Unicode support.

Lastly, if you do decide to modify a font, make sure you name it something else. A naming conflict could result in some really annoying surprises for users.

Lèse majesté