Skip to content

Releases

ansi2pdf 0.1.6

Choose a tag to compare

@kaz-utashiro kaz-utashiro released this 19 Nov 12:26

A border of half blocks no longer shows a seam where it meets a board of the same color.

  • A border of half blocks around a board of the same color, as --green-board of nup draws, showed a faint seam where it meets the board, because the two were painted as separate paths. A block element in a cell without a background is now painted with the backgrounds of its color.

Install:

npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdf

The version is before 1.0, and incompatible changes may be made.

ansi2pdf 0.1.5

Choose a tag to compare

@kaz-utashiro kaz-utashiro released this 11 Nov 09:23

A kanji with an ideographic variation selector is no longer reported as a missing character.

  • The selectors U+E0100 to U+E01EF were looked for in the fonts as characters, so that a kanji with one, as 葛 with U+E0100, gave the message no font has. The character was drawn correctly, and only the message was wrong.

Install:

npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdf

The version is before 1.0, and incompatible changes may be made.

ansi2pdf 0.1.4

Choose a tag to compare

@kaz-utashiro kaz-utashiro released this 11 Nov 04:25

The margin can be given with the paper name, and the default margin is 5 mm.

  • -p a4p:m10 is A4 in portrait with a margin of 10 mm, and -p a4:m0 is A4 without a margin. The margin follows the paper name after :m, the same as -m, and the last of -m and such a paper name is used.
  • The default margin is 5 mm. It was 10 mm, which is for printing and binding, and is too wide to read the PDF on a screen. The same options now give a slightly larger font and fewer columns; give -m 10 for the margin of the earlier versions.

With the orientation (a4p, a4l), this tells how to use the paper in one word, which nup -T of App-nup gives to ansi2pdf as it is.

Install:

npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdf

The version is before 1.0, and incompatible changes may be made.

ansi2pdf 0.1.3

Choose a tag to compare

@kaz-utashiro kaz-utashiro released this 11 Nov 03:00

The orientation can be given with the paper name.

  • -p a4p is A4 in portrait and -p a4l is A4 in landscape, the same as -p a4 -P and -p a4 -L. A hyphen may be put before the letter, as -p letter-l.
  • It counts with -L and -P, the last of which decides the orientation. A name without the letter leaves the orientation as it was.

This lets a program give the paper and its orientation in one word. The next version of App-nup uses it for its -T option, as nup -T a4p.

Install:

npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdf

The version is before 1.0, and incompatible changes may be made.

ansi2pdf 0.1.2

Choose a tag to compare

@kaz-utashiro kaz-utashiro released this 10 Nov 14:24

First public release of ansi2pdf, which renders terminal output with ANSI sequences to PDF.

  • Colors, bold, faint, italic, underlines of every style and color, reverse video, strikethrough and overline are kept. Box drawing characters and block elements are drawn as lines and rectangles, so that tables and borders are connected on paper.
  • The input is interpreted by xterm.js, so cursor movement, background fill, wide characters and line wrapping come out as on a terminal.
  • Logical pages are arranged on a sheet with -C C[,R]. The lines (-l), the columns (-w) and the font size (-s) follow each other to fill the page.
  • --geometry tells the size of a page to a program that formats text for it; nup --pdf of App-nup 1.11 uses it.

Install:

npm install -g github:tecolicom/App-ansi2pdf
# or
brew install tecolicom/tap/app-ansi2pdf

The version is before 1.0, and incompatible changes may be made.