Skip to content

Commit

Permalink
Add documentation to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoWingelaar committed Sep 17, 2022
1 parent 84ee82f commit 5acb605
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/fonts/Makefile
Expand Up @@ -74,6 +74,13 @@ $(MFTRACE_MODIFIED):
%.pfb: $(MFTRACE_MODIFIED)
cp "`$(KPSEWHICH) $@`" pfa/$@

# Create all the FontForge (.ff) scripts to generate the modern .ttf font files
# from the older TeX .pfa and .pfb files. The relation of the .ff and the
# .{pfa, pfb} files is many-to-many, and not one-to-one. Makefile doesn't like
# these types of relations, thus we have a single target that creates all of
# the .ff scripts.
# As a byproduct, the script also creates the initial .ttx files for all the
# different KaTeX fonts.
ff: $(PFA)
mkdir -p ff otf
rm -f ff/* otf/*
Expand Down

0 comments on commit 5acb605

Please sign in to comment.