Bytes of every single glyph

Hello,

Is there a way (a plugin a site or a software) to view the size, in bytes, of every single glyph?

Thanks!

  1. What do you need it for?
  2. The size of what exactly? The data as stored in the .glyphs file?
  3. Or an approximate prediction for the size inside the CFF table in the compiled OpenType font? That is difficult because it depends on the result of other compilation processes such as subroutinization. Can be a guess at best. Better to analyze the actual compiled file with OTMaster or ttx/FontTools.
1 Like

For CFF based fonts there is no real way to determine the size of the glyph in the .otf. OTMaster and ttx show the unpacked data, not the byte structure.

1 Like

I need to reduce the size of my .otf file and want to understand if there is a way to know which glyphs are heavier.

Thanks a lot!

Take a look at the webfonts tutorial: https://glyphsapp.com/tutorials/webfonts
It contains a few ideas on how to reduce filesize.

1 Like

Thanks, I’ll try with Fonttools

Leo

OTMaster has the Table Dictionary:


It tells you the size of each table. But from there is only try and error.

2 Likes