blob: 62629ded8f5423f4050d0bf649d8d431bcfa7439 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# pardes --addon-test pdf.so addons/pdf/pdf.script | diff addons/pdf/pdf.out -
open docs/design.pdf
graphics on
size 60 20
key j
key 3j
key G
key gg
key 3gg
PdfFit
ctl
PdfTint full
ctl
PdfTint loud
key <esc>
dump
# a terminal without graphics: the page's text layer, a page a step
graphics off
key j
key 2k
# and as text, gj and gk a line, and a page at the window's edge
key 3gj
key gk
key 999gj
key gj
# pages past any size (a side of 1e9 pt, one past a float, a UserUnit
# past a float): laid out and drawn at the bridge's bound, never a panic
open test/pdf-fixtures/huge-pages.pdf
graphics on
size 60 20
key j
key 2j
key G
|