Sha256: 28ef2023fb00d51c927b6f0f593d597ceea957170ea9a692f7b3f5af7f7aade1

Contents?: true

Size: 710 Bytes

Versions: 7

Compression:

Stored size: 710 Bytes

Contents

### How to generate new metrics
-------------------------------

There are several requirements for generating the metrics used by KaTeX.

- You need to have an installation of TeX which supports kpathsea. You can check
  this by running `tex --version`, and seeing if it has a line that looks like
  > kpathsea version 6.2.0

- You need the JSON module for perl. You can install this either from CPAN or with
  your package manager.

- You need the python fontforge module. This is probably either installed with
  fontforge or can be installed from your package manager.

Once you have these things, run

    make metrics

which should generate new metrics and place them into `fontMetrics.js`. You're
done!

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyhyhy-1.0.0 lib/hyhyhy/structure/_includes/katex/metrics/README.md
hyhyhy-0.0.9 lib/hyhyhy/structure/_includes/katex/metrics/README.md
hyhyhy-0.0.8 lib/hyhyhy/structure/_includes/katex/metrics/README.md
hyhyhy-0.0.7 lib/hyhyhy/structure/_includes/katex/metrics/README.md
hyhyhy-0.0.6 lib/hyhyhy/structure/_includes/katex/metrics/README.md
hyhyhy-0.0.5 lib/hyhyhy/structure/_includes/katex/metrics/README.md
hyhyhy-0.0.4 lib/hyhyhy/structure/_includes/katex/metrics/README.md