aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a LICENSEHEADmasterRunxi Yu2024-07-301-0/+18
|
* Make implicit int return types explicitRunxi Yu2024-07-308-12/+18
|
* README: a short introductionAli Gholami Rudi2022-06-031-0/+5
|
* NOTICE: clarify the license of the modificationsAli Gholami Rudi2022-06-031-3/+2
|
* NOTICE: change the license to MITTheodore Kaczynski2021-07-151-1/+1
| | | | | Copyright was transferred to Plan9 Foundation, who relicensed all original Plan9 code to MIT.
* keep only pic and tbl for neatroffAli Gholami Rudi2021-05-08208-58582/+0
|
* pic: use troff drawing commands for filling objectsAli Gholami Rudi2021-05-082-85/+120
|
* tbl: use \s(NN instead of \sNNAli Gholami Rudi2021-05-084-3/+4
| | | | Suggested by aksr <aksr@t-com.me>.
* te: prevent tbl from dropping the last character of a fileBrad Knotwell2021-04-111-1/+2
| | | | The problem happens if the file does not end with a newline character.
* pic: remove ERROR macroAli Gholami Rudi2019-06-1312-53/+72
| | | | | LLVM complains about the ERROR macro and does not compile. Reported by Ricky Morse.
* tbl: fix some gcc warningsDaniel Cegiełka2019-05-0810-35/+37
|
* pic: remove fabs() definition from pltroff.cAli Gholami Rudi2019-04-232-6/+1
| | | | Suggested by Daniel Cegiełka <daniel.cegielka@gmail.com>.
* tbl: fix handling single-digit fonts when switching fontsAli Gholami Rudi2019-01-141-1/+3
| | | | Reported and tested by Dirk-Wilhelm Peters <peters@schwertfisch.de>.
* tbl: fix restoring the font after printing an entryAli Gholami Rudi2016-07-051-1/+1
| | | | Reported and tested by Dirk-Wilhelm Peters <peters@schwertfisch.de>.
* pic: do not call postscript setgray when fillval is invalidAli Gholami Rudi2015-02-091-4/+11
| | | | | | | | | | | | Now pic allows filling objects with the current colour in neatroff: .PS fillval = 2 # filled with gray circle fill .5 # filled with neatroff's colour circle fill .PE
* tbl: prevent emitting requests like \fP.mk xAli Gholami Rudi2014-11-251-3/+4
| | | | | | Lines prefixed with escape sequences are not considered to be requests in neatroff or groff, like: \f1.sp 5
* tbl: fix handling backslashes to wrap long linesAli Gholami Rudi2014-10-161-2/+2
| | | | Reported by Carsten Kunze <carsten.kunze@arcor.de>.
* tbl: make the makefile bsd compliantAli Gholami Rudi2014-10-151-4/+6
| | | | Reported by Carsten Kunze <carsten.kunze@arcor.de>.
* pic: make the makefile bsd compliantAli Gholami Rudi2014-10-151-5/+7
| | | | Reported by Carsten Kunze <carsten.kunze@arcor.de>.
* tbl: fix vertical lines with doubleboxAli Gholami Rudi2014-10-151-1/+1
| | | | Reported by Carsten Kunze <carsten.kunze@arcor.de>.
* tbl: adjust vertical and horizontal lines to meet properlyAli Gholami Rudi2014-03-101-0/+4
|
* eqn: adjust the padding space around commasAli Gholami Rudi2013-09-263-17/+16
| | | | | This also fixes the space around >= and <= and removes the height adjustment for '|', which seems unnecessary now.
* troff: change \*(.P to point to macros directoryAli Gholami Rudi2013-09-0712-20/+20
|
* devutf: add unicode aliases for accented charactersAli Gholami Rudi2013-07-281-27/+136
|
* mkdev: remove devutf/C*Ali Gholami Rudi2013-07-286-1319/+0
|
* mkdev: do not include the generated output deviceAli Gholami Rudi2013-07-2433-6917/+5
|
* shell.lib: include the common ligatures and use non-charlib bracket charsAli Gholami Rudi2013-07-231-10/+21
| | | | | This works well for neatpost but for tr2ps non-charlib bracket characters do not fit together well.
* dpost.ps: increase linewidth to match groffAli Gholami Rudi2013-07-231-1/+1
|
* tmac.s: do not disable ligaturesAli Gholami Rudi2013-07-231-1/+0
|
* tmac.s: support long macro namesAli Gholami Rudi2013-07-061-5/+4
|
* refer: simplify newline managementAli Gholami Rudi2013-07-061-11/+7
|
* tmac.s: insert diversions in no fill modeAli Gholami Rudi2013-07-011-0/+4
|
* refer: preserve the \n before .[Ali Gholami Rudi2013-07-011-5/+5
|
* troff: ignore unknown ligaturesAli Gholami Rudi2013-07-011-2/+0
|
* tr2ps: merge the 4th and 5th field for troff font metricsAli Gholami Rudi2013-04-2338-2589/+2646
| | | | | | Now in the charset section of troff font metric files, if the 4th column is a number, it shows postscript glyph position and otherwise, the glyph's postscript name.
* tr2ps: flush ps font size before drawing picturesAli Gholami Rudi2013-02-224-26/+10
| | | | Otherwise point size has no effect on the width of lines.
* tmac: use \*(.P instead of absolute paths in macrosAli Gholami Rudi2013-02-148-15/+14
|
* devutf: include symbol glyphs in proportional fontsAli Gholami Rudi2013-02-091-5/+6
|
* devutf: include f ligatures in StandardCharsetAli Gholami Rudi2013-02-091-0/+5
|
* eqn: use \(su and \(pr for sum and productAli Gholami Rudi2013-02-094-12/+12
|
* mkdev: output only available glyphsAli Gholami Rudi2013-02-091-12/+23
|
* tr2ps: more specific PS Creator DSC commentAli Gholami Rudi2012-12-143-8/+4
|
* mkdev: update the address of dpost.psAli Gholami Rudi2012-09-141-1/+1
|
* tr2ps: cache fonts in dpost.ps prologueAli Gholami Rudi2012-09-141-2/+33
| | | | | | | | Unlike ghostscript-7, findfont can be quite slow in ghostscript-9. According to adobe docs, selectfont (present in Level 2) should perform font dictionary caching in the interpretter, but ghostscript doesn't do it. The new fontlookup function caches the last few fonts fncache as a workaround.
* tr2ps: move postscript prologues to home/psAli Gholami Rudi2012-09-1432-10/+10
|
* README: improve the description of the fifth column of fontsAli Gholami Rudi2012-09-051-10/+10
|
* mkdev: restore currentfontdict in BuildFontCharset256Ali Gholami Rudi2012-09-051-1/+3
|
* eqn: handle unquoted multi-byte charactersAli Gholami Rudi2012-09-031-3/+43
| | | | | | | | | Rudolf Sykora <rudolf.sykora@gmail.com> reported this problem and pointed out that Russ Cox has recently fixed a similar problem in plan9 (http://9fans.net/archive/2011/02/178). The problem is mbtowc() and wctomb() won't work unless the locale is set up properly. Not being a fan of wide character handling in stdlib, I replaced those functions with my utf8read() and utf8write().
* mkdev: handle charset tables with more than 256 entriesAli Gholami Rudi2012-09-031-9/+30
| | | | Reported by Rudolf Sykora <rudolf.sykora@gmail.com>.
* mkdev: ps2pdf may send the output to stderrAli Gholami Rudi2012-09-031-4/+1
| | | | Reported by Rudolf Sykora <rudolf.sykora@gmail.com>.