views:

30

answers:

1

When using CSS3 and custom fonts, the client needs to download .oft or .ttf files. These files can be >50K. Can these files be compressed? How? Assuming Apache web server.

I am looking for a compression technique or an Apache configuration. Any ideas will help because downloading +50K files should be prevented.

A: 

.ttf files compress quite well (analysis with hex editor shows a lot of 0x00's and simple zipping reduces their size to 50% or even less of original size - at least fonts I checked), so I think any compression script would do the trick and I think same rule applies oft files as well.

Im0rtality