Skip to main content

Show a summary of table differences between two OpenType fonts.

Project description

fbdiff is a tool that reports a brief summary of table differences in OpenType fonts. It reports which tables exist in only one of the fonts, and it will report which common tables are different and which are identical.

It only looks at the binary data: tables are not parsed.

Example usage:

$ fbdiff fontA.ttf fontB.ttf
Tables only in font B:
  meta

Different tables:
            A      B
  GPOS  29628  29574 bytes
  STAT     28    162 bytes
  fpgm   4095   4078 bytes
  glyf  36984  26626 bytes
  head     54     54 bytes
  loca    940    940 bytes
  name   3078   4557 bytes
  prep   1339   1339 bytes

Identical tables:
  GDEF, GSUB, HVAR, OS/2, TSI0, TSI1, TSI2, TSI3, TSI5, TSIC, VDMX,
  avar, cmap, cvar, cvt , fvar, gasp, gvar, hhea, hmtx, maxp, post

Help text:

$ fbdiff --help
usage: fbdiff [-h] [-o] FONT_A FONT_B

Compare the binary tables of two OpenType fonts.

positional arguments:
  FONT_A             an OpenType font file
  FONT_B             an OpenType font file

optional arguments:
  -h, --help         show this help message and exit
  -o, --table-order  show the table tags in sfnt order side-by-side

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fbdiff-0.8.6.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

fbdiff-0.8.6-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file fbdiff-0.8.6.tar.gz.

File metadata

  • Download URL: fbdiff-0.8.6.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for fbdiff-0.8.6.tar.gz
Algorithm Hash digest
SHA256 d5b17d8d453e2dfdb00c7ffaa9f8f76657460fc9e5cd0d43b4810e99eef77731
MD5 70bf976259c0e776b8e4965a1e573da9
BLAKE2b-256 9d2e18dffe27f6865a0eb662e1bbe3ece7d33ae97213019b20eeb62fc5e3dd96

See more details on using hashes here.

Provenance

File details

Details for the file fbdiff-0.8.6-py3-none-any.whl.

File metadata

  • Download URL: fbdiff-0.8.6-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for fbdiff-0.8.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d65eea7933502a6965f112c22f80eeb176ae0d47e1ad43e190bb496a53ce7abe
MD5 8e5f82b160dced7154174b0b46ec357c
BLAKE2b-256 0b075c3fadbbd4ed8080d9244ac913633883f3a286ca73536c2b5f83ffe1cd26

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page