mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-15 09:09:58 +08:00
18e87ce7bd
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> |
||
---|---|---|
.. | ||
afmmetrics.ph | ||
changes.src | ||
findfont.ph | ||
genps.pl | ||
head.ps | ||
inslist.pl | ||
internal.doc | ||
local.css | ||
Makefile.in | ||
nasmdoc.css | ||
nasmdoc.src | ||
nasmlogo.eps | ||
nasmlogw.png | ||
opt_var.txt | ||
psfonts.ph | ||
pspdf.pl | ||
pswidth.ph | ||
rdsrc.pl | ||
README | ||
ttfmetrics.ph |
To build the entire documentation, the following tools are needed: 1. A Perl interpreter for your platform 2. The following Perl modules available from CPAN: Font::TTF Sort::Versions 3. asciidoc http://asciidoc.org/ 4. xmlto https://fedorahosted.org/xmlto 5. One of: Adobe Acrobat (acrodist) Ghostscript (ps2pdf) http://download.ghostscript.com/ pstopdf (available on some BSD-derived Unix systems) Of these, Ghostscript is the most tested, although Acrobat has been claimed to generate smaller files. 6. For best results, the Adobe fonts Source Sans Pro and Source Code Pro, available for free at: https://github.com/adobe-fonts