summaryrefslogtreecommitdiff
path: root/doc/pspdf.pl
Commit message (Collapse)AuthorAgeFilesLines
* Makefile portability improvement, build nasmdoc.pdf.xzH. Peter Anvin (Intel)2020-05-261-3/+5
| | | | | | | | Significantly improve the portability/reliability of a general make command. Build a .pdf.xz version of the documentation, using an uncompressed pdf as basis. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
* doc: we really need a Fontmap fileH. Peter Anvin2019-10-041-2/+3
| | | | | | | | | | | | | | | | | 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>
* doc: fix yet another set of Ghostscript font problemsH. Peter Anvin2019-06-061-3/+18
| | | | | | | | Seems like Ghostscript has managed to break fontconfig support again, at least in Fedora 30. Help Ghostscript along by giving it an explicit font path. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pspdf.pl: GhostScript font integration seems broken with -dSAFERH. Peter Anvin2018-09-241-5/+25
| | | | | | | | | -dSAFER seems to break font integration on some systems. Furthermore, once given -dSAFER seems to not be possible to override, so instead of calling via the ps2pdf script, call GhostScript explicitly with the equivalent options, sans -dSAFER. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc/pspdf.pl: fix spacingH. Peter Anvin2017-04-261-39/+41
| | | | | | Fix whitespace alignment, no functional change. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* win32, doc: fix PDF generation scripts for WindowsH. Peter Anvin2017-04-261-4/+56
| | | | | | | | | | | Win32::Registry is obsolete, we need to use Win32::TieRegistry on current platforms. GhostScript uses # rather than = on Windows, it seems. Try to find GhostScript in the registry and add it to the PATH. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* doc: add the option to generate an uncompressed PDFH. Peter Anvin2017-04-101-3/+14
| | | | | | | | An uncompressed PDF is about twice as big, but if one is using an external compression program (e.g. .pdf.xz) it compresses far better. Use it for the RPM specfile. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pspdf.pl: set some better options to ps2pdf (GhostScript)H. Peter Anvin2017-04-101-1/+3
| | | | | | Generate better PDF files, we hope... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* doc: complete removal of unnecessary movesH. Peter Anvin2017-04-061-0/+0
| | | | | | | | Make the tool write the output (especially HTML) in a specified subdirectory directly, and make the tool create the subdirectory if it doesn't already exists. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* msvc: finally make it possible to build the full Windows packageH. Peter Anvin2017-04-061-0/+31
Finally make it possible to build the full Windows install package with MSVC tools. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>