# `CFF`: Compact Font Format table

The `CFF` table is an OpenType table.

class fontTools.ttLib.tables.C_F_F_.table_C_F_F_(tag=None)

  Bases: `DefaultTable`

  Compact Font Format table (version 1)

  The `CFF` table embeds a CFF-formatted font. The CFF font format predates OpenType and could be used as a standalone font file, but the `CFF` table is also used to package CFF fonts into an OpenType container.

  Note

  `CFF` has been succeeded by `CFF2`, which eliminates much of the redundancy incurred by embedding CFF version 1 in an OpenType font.

  See also https://learn.microsoft.com/en-us/typography/opentype/spec/cff

  decompile(data, otFont)
  compile(otFont)
  haveGlyphNames()
  getGlyphOrder()
  setGlyphOrder(glyphOrder)
  toXML(writer, otFont)
  fromXML(name, attrs, content, otFont)
  closure_glyphs(s)
  desubroutinize()
  merge(m, tables)
  prune_post_subset(ttfFont, options)
  prune_pre_subset(font, options)
  remove_hints()
  remove_unused_subroutines()
  subset_glyphs(s)