summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Just noticed that Ben missed another PostScript/PDF inversion.Simon Tatham2006-12-11
| | | | [originally from svn r6990]
* Fix amusing cut-and-paste error in section keywords :-)Simon Tatham2006-12-11
| | | | [originally from svn r6989]
* Make the title a bit scarier to test the PostScript backend some more,Ben Harris2006-12-10
| | | | | | including testing some bug fixes it doesn't have yet. [originally from svn r6988]
* Explicitly set the title via pdfmark, since that allows us to putBen Harris2006-12-10
| | | | | | in Unicode, which we can't (reliably) in %%Title. [originally from svn r6987]
* Remove accidentally-committed deflate-debugging code.Ben Harris2006-12-10
| | | | [originally from svn r6985]
* Put all the pieces together: introduce a secondary test mode forSimon Tatham2006-12-09
| | | | | | | winhelp.c which uses all my new library code to import an arbitrary PNG and embed it into the test help file. [originally from svn r6984]
* Remember to initialise the bmp array for AFM fonts, or Unicode fallbacksBen Harris2006-12-09
| | | | | | won't work properly. [originally from svn r6982]
* Support, in the winhelp module only, for adding pictures to .HLPSimon Tatham2006-12-09
| | | | | | | files. Halibut does not make use of this feature, but I hope that one day it might. [originally from svn r6980]
* Update copyright dates.Ben Harris2006-12-09
| | | | [originally from svn r6979]
* Some documentation of Halibut's font-embedding support, now that it works.Ben Harris2006-12-09
| | | | [originally from svn r6977]
* This somehow got missed in my "put PDF before PostScript" sweep.Ben Harris2006-12-09
| | | | [originally from svn r6976]
* Mention PDF before PostScript everywhere, partly because PDF is theBen Harris2006-12-09
| | | | | | | | | dominant format for print-oriented documents, but mostly because it's hard to mention pdfmark without having mentioned PDF already. Also mention pdfmark. [originally from svn r6975]
* Correct embedding of Type 1 fonts in PDF. Error cases (e.g. invalid Type 1Ben Harris2006-12-09
| | | | | | fonts) may not be well handled, and may emit invalid PDF. [originally from svn r6974]
* I've just noticed some unacceptably long lines in code paragraphs inSimon Tatham2006-12-07
| | | | | | | | | | | | | | | the Halibut manual. They turn out to be \cfg directives with multiple braced sections after them. The obvious thing to do for legibility would be to wrap those sections by putting newlines between } and {, but that isn't legal in the Halibut syntax. Therefore, it is now :-) For paragraph types which don't have any body text (such as \cfg), we are now lenient about whitespace between multiple keywords. So I can fix the docs so they don't go over the limit, and be confident that the fixed version is still technically accurate. [originally from svn r6970]
* Fix typo in limit test in deflate_buildhuf(). (The only two limitSimon Tatham2006-12-07
| | | | | | | values ever used are 15 and 7, so testing against 16 is silly.) [originally from svn r6969] [this svn revision also touched misc]
* Specify the /Border of /ANN pdfmarks correctly.Ben Harris2006-12-07
| | | | [originally from svn r6968]
* Update deflate.c to include nearly all the changes I've been makingSimon Tatham2006-12-06
| | | | | | | | in the main version. The one missing thing is the fancy new LZ77 compressor in misc/libcode/lz77.c, in whose stability I'm not yet confident enough to consider it ready for prime-time. [originally from svn r6967]
* Distingush font files from other input by magic number rather than name.Ben Harris2006-12-05
| | | | | | | | This prevents one having Halibut files that begin "StartFontMetrics", "%!FontType1-", or "%!PS-AdobeFont-", but I doubt that will be a great hardship. [originally from svn r6960]
* Two of the bugs listed in the man page are out of date: Unicode andSimon Tatham2006-12-04
| | | | | | | | | character set support, and the HTML back end, have both been extensively revamped since that section was written, and I think neither of them is shoddy enough to warrant this sort of self-disparagement any more. [originally from svn r6959]
* Paging through the newly compressed PDF manual to make sure itSimon Tatham2006-12-04
| | | | | | | | worked, I happened to notice this typo. I think Wikipedia might have permanently removed my ability to read any document for any purpose without spotting at least one error in it. [originally from svn r6958]
* Tweak prologue so that it works correctly on interpreters that don't supportBen Harris2006-12-03
| | | | | | | pdfmark, specifically by having the dummy versions of "p", "x", and "u" pop their arguments rather than leaving them on the stack to cause trouble. [originally from svn r6956]
* Support for emitting outlines using pdfmark.Ben Harris2006-12-02
| | | | [originally from svn r6952]
* PDF outlines already do use PDFDocEncoding or Unicode, so remove that fromBen Harris2006-12-02
| | | | | | the TODO list. [originally from svn r6951]
* Adjust ps_string so that it escapes characters above 126. This makesBen Harris2006-12-02
| | | | | | Halibut's output 7-bit clean, which seems the best approach in PostScript. [originally from svn r6950]
* Rough pdfmark support. Links are implemented, but not outlines.Ben Harris2006-12-02
| | | | [originally from svn r6949]
* Add a procedure to our prologue to draw filled rectangles, and use it.Ben Harris2006-12-01
| | | | [originally from svn r6938]
* Factor out printing a destination (in either an annotation or an outline)Ben Harris2006-12-01
| | | | | | into its own function. [originally from svn r6937]
* Increase page-tree branching factor from two to eight, since two was obviouslyBen Harris2006-12-01
| | | | | | silly, and eight isn't. [originally from svn r6936]
* Add support for compressed PDF streams, using Simon's new deflate library.Ben Harris2006-11-30
| | | | [originally from svn r6931]
* Small tweak: add a /ProcSet array to the top-level /Resources dictionary,Ben Harris2006-11-26
| | | | | | as recommended by the PDF spec. [originally from svn r6923]
* Explicitly explain the meaning of each HTML variant.Ben Harris2006-11-18
| | | | [originally from svn r6913]
* Emit a PageLabels dictionary to make it clear what page numbering schemeBen Harris2006-11-18
| | | | | | Halibut uses. [originally from svn r6912]
* `man', at least on Debian 3.1, will treat a paragraph beginning withSimon Tatham2006-10-11
| | | | | | | | | | | | a period specially _even_ if there's an \fB or similar escape sequence before the period. Therefore, man_rdaddctrl() now doesn't clear the QUOTE_INITCTRL flag just because it generated some text; instead, its call sites clear the flag when the _type_ of generated text is appropriate for this. This should remove an error from the `lns' man page (utils/lns/lns.but), which was where I noticed the problem. [originally from svn r6871]
* I've apparently had this lying around for months but forgotten toSimon Tatham2006-06-13
| | | | | | | | | commit it. Add `-i' option to cstable, which causes charset names to be output as CS_* constants where meaningful. (Doesn't apply to MBCS base charsets, because CS_* constants identify _encodings_.) [originally from svn r6728] [this svn revision also touched charset,filter,timber]
* Introduce global (cross-backend) \cfg{contents} and \cfg{index}Simon Tatham2006-06-02
| | | | | | | commands, allowing the fixed words "Contents" and "Index" generated in various output formats to be reconfigured into other languages. [originally from svn r6724]
* About time I fixed this: allow for some people's md5sum utilitiesSimon Tatham2006-05-19
| | | | | | producing output on stdout even in -c mode. [originally from svn r6707]
* Remove an outright lie I've just noticed in the comment at the topSimon Tatham2006-05-18
| | | | | | | of this file! [originally from svn r6705] [this svn revision also touched charset,filter,timber]
* Missing error handling: the HTML and WinHelp back ends would bothSimon Tatham2006-05-18
| | | | | | segfault if they were unable to open their output files. [originally from svn r6704]
* On Level 2 implementations, use setpagedevice to select the correct page size.Ben Harris2006-05-16
| | | | [originally from svn r6689]
* Tighten formatting of PDF annotations, making them direct rather than indirectBen Harris2006-05-14
| | | | | | | objects and removing some surplus whitespace. This saves 40K in the Halibut manual. [originally from svn r6688]
* Generate rather more compact /Differences tables for font encodings, mostlyBen Harris2006-05-14
| | | | | | | so I don't have to press SPACE so much to get to the interesting part of the file. [originally from svn r6687]
* There's no need to reset the font every line if it hasn't changed. This savesBen Harris2006-05-14
| | | | | | a few K and a lot of calls to scalefont and setfont, which is probably good. [originally from svn r6686]
* Fairly ropey font-embedding support. In particular, the PDF output isBen Harris2006-05-14
| | | | | | | | technically incorrect, though it works perfectly well with xpdf. To do it properly requires actually parsing the unencrypted part of a Type 1 font, which will be a bit tedious in C. [originally from svn r6685]
* Generate a more-or-less valid /FontDescriptor dictionary for non-standardBen Harris2006-05-13
| | | | | | fonts in PDF output. [originally from svn r6684]
* Now that we've got definitive metrics for the standard fonts, there's no needBen Harris2006-05-13
| | | | | | to embed /FirstChar, /LastChar, /Widths or (soon) /FontDescriptor for them. [originally from svn r6683]
* Add Adobe copyright notice and licence text here too.Ben Harris2006-05-13
| | | | [originally from svn r6682]
* Initial support for adding fonts at run-time. Currently we only supportBen Harris2006-05-13
| | | | | | | | loading AFM files, we recognise them by name, and we can't embed fonts in the output (which is also invalid, though accepted by xpdf, in the PDF case). Oh, and there's no documentation. Still, it's a start. [originally from svn r6681]
* Make /Widths arrays for fonts more compact by using FirstChar and LastCharBen Harris2006-05-10
| | | | | | to skip unused code points. [originally from svn r6673]
* Add a /Info dictionary to PDF output, containing the title and producerBen Harris2006-05-10
| | | | | | of the document. This means that (e.g.) gv displays the title correctly. [originally from svn r6672]
* A page's MediaBox, like its Resources, is inheritable, so rather thanBen Harris2006-05-10
| | | | | | | putting one in each page, put a single one in the top-level page tree node. This saves us all a few kilobytes in the Halibut manual. [originally from svn r6671]