The evaluation watermark

What an unlicensed copy looks like: the evaluation watermark the library stamps on every page.

JSON write_eval_watermark.json 88 lines

This one is not a program. It is the request the document server is sent: the same page, asked for over the network by an application that writes no PDF code at all.

This is the one pair on the site rendered without a licence key, because that is what the example itself shows. Without a key the library draws every letter as a shape rather than as text, so neither of the two files holds a single word you could select or copy — on either side. What the two are held to is their pages matching dot for dot, watermark included. The library also writes each of the six lines at a stated height, where the request gives each one a rectangle and lets the line sit one line's height under the top of it.

 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
  "items": [
    {
      "type": "text",
      "rect": {
        "llx": 72.0,
        "lly": 760.0,
        "urx": 540.0,
        "ury": 784.0
      },
      "content": [
        "Quarterly report"
      ],
      "font": "DejaVuSans",
      "font_size": 20.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 72.0,
        "lly": 730.0,
        "urx": 540.0,
        "ury": 743.2
      },
      "content": [
        "Prepared for HQF Development"
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 72.0,
        "lly": 700.0,
        "urx": 540.0,
        "ury": 713.2
      },
      "content": [
        "Revenue held steady across the three months, and costs fell as the new"
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 72.0,
        "lly": 684.0,
        "urx": 540.0,
        "ury": 697.2
      },
      "content": [
        "rendering pipeline replaced the tools it was built to retire."
      ],
      "font": "DejaVuSans",
      "font_size": 11.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 72.0,
        "lly": 120.0,
        "urx": 540.0,
        "ury": 132.0
      },
      "content": [
        "This is an evaluation copy: the library stamps every page with the"
      ],
      "font": "DejaVuSans",
      "font_size": 10.0
    },
    {
      "type": "text",
      "rect": {
        "llx": 72.0,
        "lly": 106.0,
        "urx": 540.0,
        "ury": 118.0
      },
      "content": [
        "watermark above until a licence key is set. Set one and it is gone."
      ],
      "font": "DejaVuSans",
      "font_size": 10.0
    }
  ]
}