aboutsummaryrefslogtreecommitdiffstats
path: root/doc/Makefile.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-10-04 13:09:30 -0700
committerH. Peter Anvin <hpa@zytor.com>2019-10-04 13:09:30 -0700
commit18e87ce7bd64de013e55813a837b38d46252f30d (patch)
treed38e5767f8fd0bccf6116c5177d63a18df4e7322 /doc/Makefile.in
parentbef71a86b949009f8fd2d194b1d9f1ce1595ffb4 (diff)
downloadnasm-daily-18e87ce7bd64de013e55813a837b38d46252f30d.tar.gz
nasm-daily-18e87ce7bd64de013e55813a837b38d46252f30d.tar.xz
nasm-daily-18e87ce7bd64de013e55813a837b38d46252f30d.zip
doc: we really need a Fontmap filenasm-2.15rc0-20191005
It turns out that we need a Fontmap file after all, *and* -I. to make gs find it. Inconsistent results came from stray Fontmap files from previous debug attempts. Now generate both fontpath and Fontmap, and hopefully at least one of them should work. We might, in fact, need both, one for gs to know where the files are and one for gs to know it is allowed to read them. The core problem seems to be that gs will find OTF fonts by its normal discovery mechanisms, but for some reason don't seem to use them unless it can find them in a Fontmap, Font directory, of CIDFont directory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc/Makefile.in')
-rw-r--r--doc/Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index e8da1450..ba44b44a 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -67,19 +67,24 @@ version.src: $(top_srcdir)/version.pl $(top_srcdir)/version
nasmdoc.ps: nasmdoc.dip genps.pl afmmetrics.ph ttfmetrics.ph \
pswidth.ph nasmlogo.eps psfonts.ph head.ps
$(PERL) $(srcdir)/genps.pl -epsdir "$(srcdir)" \
- -headps $(srcdir)/head.ps -fontpath fontpath nasmdoc.dip \
- > nasmdoc.ps
+ -headps $(srcdir)/head.ps \
+ -fontpath fontpath \
+ -fontmap Fontmap \
+ nasmdoc.dip > nasmdoc.ps
fontpath: nasmdoc.ps
@: Generated by side effect
+Fontmap: nasmdoc.ps
+ @: Generated by side effect
+
nasmdoc.pdf: nasmdoc.ps pspdf.pl fontpath
$(PERL) $(srcdir)/pspdf.pl $(PDFOPT) nasmdoc.ps nasmdoc.pdf fontpath
clean:
-$(RM_F) *.rtf *.hpj *.texi *.gid *.ipf *.dip
-$(RM_F) *.aux *.cp *.fn *.ky *.pg *.log *.toc *.tp *.vr
- -$(RM_F) inslist.src version.src fontpath
+ -$(RM_F) inslist.src version.src fontpath Fontmap
-$(RM_F) nasmdoc*.ps
spotless: clean