summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use of \lcont in the document preamble caused an assertion failure.Simon Tatham2009-01-20
| | | | | | Fix it. [originally from svn r8421]
* ctype functions require their argument to be EOF or representable as anBen Harris2009-01-11
| | | | | | | | | unsigned char. On platforms were char is signed, passing plain char won't cut it. Make sure we case chars to unsigned char before passing them to tolower(). [originally from svn r8404] [this svn revision also touched charset,filter,timber]
* Test for r8309/r8321.Jacob Nevins2008-11-23
| | | | | | [originally from svn r8322] [r8309 == 73e8c7d1b4ac77ec1b5acc700cb3af277a150bcf] [r8321 == 5e7a3a5b1bbaccb7ce7d61bb9bc4654924135dfb]
* Extend r8309 to try to ensure that single-quote/apostrophe characters in codeJacob Nevins2008-11-23
| | | | | | | | | | contexts get output usefully in the face of UTF-8 *roff implementations. Works on Debian-derived distributions (and hence along with r8309 should fix #496063), but I'm slightly worried about portability as I've used a named character "\(aq" which doesn't appear in the "classic" reference CS TR #54. [originally from svn r8321] [r8309 == 73e8c7d1b4ac77ec1b5acc700cb3af277a150bcf]
* Cut-and-paste error: reference to "man page" in Windows Help section.Jacob Nevins2008-11-23
| | | | [originally from svn r8320]
* Let's not use parentheses in test.but in a way that tempts HalibutSimon Tatham2008-11-21
| | | | | | | to try to put them into an Info node name, so as to avoid the error message when it fails. [originally from svn r8313]
* Correct mishandling of paragraphs beginning with "\#{".Simon Tatham2008-11-21
| | | | | | (Embarrassingly, this was showing up in inputs/test.but itself.) [originally from svn r8312]
* Oh, all right. Put in the implicit zero elements at the ends of theSimon Tatham2008-11-21
| | | | | | | initialisers, so that gcc stops whining. [originally from svn r8311] [this svn revision also touched charset,filter,timber]
* Clean up some compiler warnings.Simon Tatham2008-11-21
| | | | [originally from svn r8310]
* Don't translate hyphens into \(hy inside \c{...} or code paragraphs,Simon Tatham2008-11-21
| | | | | | | | | | because otherwise UTF-8 versions of man(1) tend to turn them into Unicode hyphen characters, with the result that if you cut and paste sample command lines out of man pages in the obvious way then the things that look like hyphens are not in fact the character that the program in question would recognise as an option introducer. [originally from svn r8309]
* I've just had some spam in Windows-874, a Thai SBCS. Add libcharsetSimon Tatham2008-08-21
| | | | | | | support for it. [originally from svn r8151] [this svn revision also touched charset,filter,timber]
* Just in case sbcsgen.pl is fed an sbcs.dat with the wrong lineSimon Tatham2008-07-09
| | | | | | | endings, remove \r from input lines. [originally from svn r8113] [this svn revision also touched charset,filter,timber]
* Turn the numeric parameter to err_sfntbadglyph from wchar_t toSimon Tatham2008-07-09
| | | | | | | | | | | | unsigned int, after a correspondent mentioned that DJGPP produces a very scary warning about integer promotion making use of the former in va_arg non-portable. Whether or not that's standards-justifiable, it's certainly the case that we were casting _to_ wchar_t from unsigned int in all cases of this error actually being used, so the simplest thing is just to transfer the number through va_arg as unsigned. [originally from svn r8112]
* Fix cut'n'paste error which had the effect of making the default forJacob Nevins2008-03-19
| | | | | | \cfg{html-section-shownumber}{n} undefined. [originally from svn r7929]
* New option *-section-shownumber, alongside *-section-numeric and inSimon Tatham2008-02-25
| | | | | | | | | both the back ends which currently support that, to leave out chapter and section numbers totally in section headings. Can be useful for publishing man pages (which don't normally want section numbers) on the web. [originally from svn r7892]
* Cope with TrueType fonts with slightly broken cmaps, just ignoring code pointsBen Harris2007-12-02
| | | | | | that can't be resolved (apart from warning about it). [originally from svn r7800]
* Typo.Simon Tatham2007-12-02
| | | | [originally from svn r7799]
* Recognise a couple more types of Unicode 'cmap'. Also fail if a format 4Ben Harris2007-12-02
| | | | | | 'cmap' refers to a character off the end of the glyphIndexArray. [originally from svn r7798]
* Add the ability to pass a NULL output buffer and/or an unlimitedSimon Tatham2007-08-05
| | | | | | | | | output length to charset_{to,from}_unicode, permitting convenient dry-running of conversions to determine the required output length and/or test for the presence of difficult characters. [originally from svn r7677] [this svn revision also touched charset,filter,timber]
* The length parameters in mbstowcs and wcstombs are limits on theSimon Tatham2007-06-21
| | | | | | | | | | | | _output_ length, not the input length. Adjust accordingly. This has the side effect of working around what I believe to be a bug in DJGPP's mbstowcs(), namely that if you give it a string which exactly fits in the output length _without_ the trailing NUL, then it will write n-1 characters of the string plus a NUL where I believe it should write n characters of the string and no NUL. [originally from svn r7622]
* Add rule to compile emacsenc.c. Noticed by David Leonard.Ben Harris2007-04-30
| | | | | [originally from svn r7495] [this svn revision also touched charset,filter,timber]
* Add a mechanism for translating to and from the coding system symbolsBen Harris2007-04-09
| | | | | | | | used by GNU Emacs. This is likely to be useful for generating or interpreting "coding:" entries in file local variables. [originally from svn r7455] [this svn revision also touched charset,filter,timber]
* List some documentation sources, and another todo item.Ben Harris2007-04-08
| | | | [originally from svn r7454]
* Remove heading underlines from todo list.Ben Harris2007-04-08
| | | | [originally from svn r7453]
* Add support for doing different underlining of different heading levelsBen Harris2007-04-08
| | | | | | | in the Info backend, with the defaults chosen to match what Emacs recognises and renders prettily. [originally from svn r7452]
* Another observation about indices.Ben Harris2007-04-08
| | | | [originally from svn r7451]
* GNU manuals are fairly clear that "Info" is spelt in mixed case and setBen Harris2007-04-08
| | | | | | in a Roman font. Follow suit. [originally from svn r7450]
* A few thoughts I had while actually using Halibut's Info output.Ben Harris2007-04-07
| | | | [originally from svn r7449]
* Document TrueType support.Ben Harris2007-02-13
| | | | [originally from svn r7284]
* Make quite a lot of hyphens into non-breaking ones. This gives ratherBen Harris2007-02-13
| | | | | | nicer output. [originally from svn r7282]
* Add a --list-fonts option, since getting PostScript names out of TrueTypeBen Harris2007-02-13
| | | | | | fonts is difficult. [originally from svn r7281]
* When building the static Huffman tables, it's vital to include theSimon Tatham2007-02-13
| | | | | | | | | | two unused entries at the end of the lit/len table (286 and 287), because without them all the 9-bit codes are off by four. I can only assume I hadn't noticed this before because no test file I've compressed had both (a) contained byte values >= 0x90 and (b) required a static block. [originally from svn r7279]
* Add a test for glyph-name de-duplication in TrueType fonts -- several MSBen Harris2007-02-13
| | | | | | | fonts have separate glyphs for U+0394 GREEK CAPITAL LETTER DELTA and U+2206 INCREMENT, but call both of them "Delta". [originally from svn r7278]
* Cope with TrueType fonts that have duplicate glyph names by renaming glyphsBen Harris2007-02-13
| | | | | | | as necessary. The algorithm for ensuring that the new name is unused is partly Gareth's fault. [originally from svn r7277]
* Cope with TrueType fonts without a 'post' table or with a format 3 'post'Ben Harris2007-02-12
| | | | | | | table (which doesn't specify glyph names), constructing an arbitrary list of glyph names for ourselves. [originally from svn r7276]
* Presumed typo preventing compilation in r7269.Jacob Nevins2007-02-11
| | | | | [originally from svn r7270] [r7269 == 6c660b39aeae18c4652a48318bff3373bb535d92]
* Improved error handling in sfnt support. No more calls to abort()!Ben Harris2007-02-11
| | | | [originally from svn r7269]
* Add support for extracting kerning tables from 'kern' tables. Only format 0Ben Harris2007-02-10
| | | | | | | | | | (simple pair kerning) is supported, but with both Apple- and Microsoft-format headers. Also reference Microsoft's TrueType specification in comments, since I've used that to write some of this code. [originally from svn r7268]
* Improve (and greatly complicate) CMap generation for TrueType fonts.Ben Harris2007-02-10
| | | | | | | | We now detect ranges of glyphs mapped contiguously and use {begin,end}cidrange for them, and also bunch together multiple characters and ranges in each {begin,end}cid{char,range} pair. [originally from svn r7263]
* Now that glyph indices are exposed to bk_pdf.c, move CMap generation there,Ben Harris2007-02-10
| | | | | | since that seems closer to being where it belongs. [originally from svn r7262]
* Generate a "W" array for CIDFonts, since acroread seems to do very sillyBen Harris2007-02-10
| | | | | | things without one. [originally from svn r7261]
* Support for embedding TrueType fonts in PDF output. The code isn't the mostBen Harris2007-02-08
| | | | | | | | beautiful I've ever written, and xpdf turns out not to support the encoding mechanism I've chosen, but it works in GhostScript so I'm not too unhappy for now. [originally from svn r7259]
* Remove slightly odd formatting left in by accident.Jacob Nevins2007-02-07
| | | | [originally from svn r7248]
* Add support for extracting some global font metrics from the 'OS/2' tableBen Harris2007-02-07
| | | | | | | of fonts that have one. This should help with generating the FontDescriptor object in PDF. [originally from svn r7246]
* Make ps_token() more generally available and use it to improve the formattingBen Harris2007-02-06
| | | | | | of Type 42 fonts. [originally from svn r7245]
* Insert a missing (though strictly unnecessary) newline.Ben Harris2007-02-06
| | | | [originally from svn r7244]
* Tweak to Tye 42 font generation -- construct the CharStrings dictionaryBen Harris2007-02-06
| | | | | | rather more in PostScript and less in C. [originally from svn r7243]
* Construct a table for mapping glyph names back into glyph indices, for useBen Harris2007-02-06
| | | | | | | | when we come to embed TrueType fonts in PDF. Also provide functions for using this table and its inverse. Unrelatedly, support extracting the italic angle from the 'post' table. [originally from svn r7242]
* Now we have the new `module' command, use it.Simon Tatham2007-02-05
| | | | [originally from svn r7225]
* Quell warnings about declared but undefined static functions by not declaringBen Harris2007-02-04
| | | | | | them either. [originally from svn r7219]