summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/lato/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/lato/Makefile')
-rw-r--r--Master/texmf-dist/source/fonts/lato/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/lato/Makefile b/Master/texmf-dist/source/fonts/lato/Makefile
index f789a049ed4..06ff6ac94e4 100644
--- a/Master/texmf-dist/source/fonts/lato/Makefile
+++ b/Master/texmf-dist/source/fonts/lato/Makefile
@@ -117,6 +117,8 @@ dist: $(ARCHIVE)
%.pfb %.afm: %.ttf
fontforge ttf2type1.pe $<
+ # BUGFIX: fix FontName to the name of the file
+ sed -i "s/^FontName .*/FontName $*/" $*.afm
%-LCDFJ.pfb: %.pfb
@@ -125,6 +127,8 @@ dist: $(ARCHIVE)
%-LCDFJ.afm: %-LCDFJ.pfb
pf2afm $<
+ # BUGFIX: fix FontName to the name of the file
+ sed -i "s/^FontName .*/FontName $*/" $*.afm
%.tfm: %.pl