File: examples.output

package info (click to toggle)
libpdf-builder-perl 3.027-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,992 kB
  • sloc: perl: 107,532; makefile: 10
file content (367 lines) | stat: -rw-r--r-- 13,015 bytes parent folder | download
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
What to expect to see while running the examples/ Perl code, and what to expect
to see when the resulting PDFs are displayed.

011_open_update
  011_open_update.BASE.pdf 
   1 pg: Hello World!
  011_open_update.UPDATED.pdf 
   add pg 2: Hello World! (2)
  011_open_update.STRING.pdf
   add pg 3: Hello World! (3), pg 4: Hello World! (4)

012_pages
  012_pages.pdf
   8 pages labeled 1 to 8, then page 9 inserted between 1 and 2,
   3 pages labeled i to iii, inserted before page 1
      giving i ii iii 1 9 2 3 4 5 6 7 8

020_corefonts  (020_corefonts.NAME.latin1.pdf)
 Helvetica -- latin1 
  020_corefonts.Helvetica.latin1.pdf
   2 pages 16x16 char grid
 Helvetica-Oblique -- latin1  
   2 pages 16x16 char grid
 Helvetica-Bold -- latin1  
   2 pages 16x16 char grid
 Helvetica-BoldOblique -- latin1  
   2 pages 16x16 char grid
 Courier -- latin1  
   2 pages 16x16 char grid
 Courier-Oblique -- latin1  
   2 pages 16x16 char grid
 Courier-Bold -- latin1  
   2 pages 16x16 char grid
 Courier-BoldOblique -- latin1  
   2 pages 16x16 char grid
 Times-Roman -- latin1  
   2 pages 16x16 char grid
 Times-Italic -- latin1  
   2 pages 16x16 char grid
 Times-Bold -- latin1  
   2 pages 16x16 char grid
 Times-BoldItalic -- latin1  
   2 pages 16x16 char grid
 Symbol -- latin1  
   1 page 16x16 char grid
 ZapfDingbats -- latin1  
   1 page 16x16 char grid
 bankgothic -- latin1  
   2 pages 16x16 char grid
 bankgothicbold -- latin1  
   2 pages 16x16 char grid
 bankgothicbolditalic -- latin1  
   2 pages 16x16 char grid
 bankgothicitalic -- latin1  
   2 pages 16x16 char grid
 georgia -- latin1  
   3 pages 16x16 char grid
 georgiaitalic -- latin1 
   3 pages 16x16 char grid
 georgiabold -- latin1 
   3 pages 16x16 char grid
 georgiabolditalic -- latin1 
   3 pages 16x16 char grid
 trebuchet -- latin1 
   2 pages 16x16 char grid
 trebuchetbold -- latin1 
   2 pages 16x16 char grid
 trebuchetbolditalic -- latin1 
   2 pages 16x16 char grid
 trebuchetitalic -- latin1 
   2 pages 16x16 char grid
 verdana -- latin1 
   3 pages 16x16 char grid
 verdanaitalic -- latin1 
   3 pages 16x16 char grid
 verdanabold -- latin1 
   3 pages 16x16 char grid
 verdanabolditalic -- latin1 
   3 pages 16x16 char grid
 wingdings -- latin1 
   1 page 16x16 char grid
 webdings -- latin1 
   1 page 16x16 char grid

020_textrise
  020_textrise.pdf
   1 page  examples of +/-5, 10, 20 points up and down

020_textunderline
  020_textunderline.pdf  
   1 page showing color, angle, single/multiple underline

021_psfonts  glyph_file_name -M "metrics_file_name"
  021_psfonts.NAME.latin1.pdf
  one or more pages of up to 256 characters displayed

021_synfonts  
  021_synfonts.NAME.pdf "1 font" = one page with 16x16 char grid
  4 pages of variants per "font" (slant, oblique, bold, small caps) 
  and a sample page with combined variants.
 Times-Roman 
  021_synfonts.Times-Roman.pdf
   2 fonts x 4 variants
 Times-Italic 2x4
 Times-Bold 2x4
 Times-BoldItalic 2x4
 Courier 2x4
 Courier-Oblique 2x4
 Courier-Bold 2x4
 Courier-BoldOblique 2x4
 Helvetica 2x4
 Helvetica-Oblique 2x4
 Helvetica-Bold 2x4
 Helvetica-BoldOblique 2x4
 Symbol 1x4
 ZapfDingbats 1x4
 bankgothic 2x4
 bankgothicbold 2x4
 bankgothicbolditalic 2x4
 bankgothicitalic 2x4
 georgia 3x4
 georgiaitalic 3x4
 georgiabold 3x4
 georgiabolditalic 3x4
 trebuchet 2x4
 trebuchetbold 2x4
 trebuchetbolditalic 2x4
 trebuchetitalic 2x4
 verdana 3x4
 verdanaitalic 3x4
 verdanabold 3x4
 verdanabolditalic 3x4
 wingdings 1x4
 webdings 1x4

022_truefonts  times.ttf (sample input)
 times
  022_truefonts.times.pdf
   1 page 16x16 grid of selected encoding (SINGLE BYTE, default latin1, omitted
     if UTF-8 is chosen as the encoding)
   23 pages of 15x10 grid of CIDs in order (nothing to do with encoding)
   1 page sample text in ASCII

022_truefonts_diacrits_utf8  tahoma.ttf (sample input)
 tahoma
  022_truefonts_diacrits_utf8.tahoma.pdf  
   1 page 16x16 grid in selected encoding (SINGLE BYTE, default latin1, omitted
     if UTF-8 is chosen as the encoding)
   1 page with sample diacritic spanning 3 letters (UTF-8 input)

023_cjkfonts   (requires installation of CJK font package by Adobe Reader)
 Note that in some cases the Latin text example uses fixed pitch Latin
   characters, while in others it uses proportional fonts.
 Ming  Ming-Bold Ming-Italic Ming-BoldItalic
  023_cjkfonts.Ming*.pdf
   127 pages 15x10 char grid + 1 page Latin text
 Song  Song-Bold Song-Italic Song-BoldItalic
  023_cjkfonts.Song*.pdf
   194 pages 15x10 char grid + 1 page Latin text 
   includes some rotated Latin text
 MyungJo  MyungJo-Bold MyungJo-Italic MyungJo-BoldItalic
  023_cjkfonts.MyungJo*.pdf
   123 pages 15x10 char grid + 1 page Latin text
   includes rotated Latin text
 KozMin  KozMin-Bold KozMin-Italic KozMin-BoldItalic
  023_cjkfonts.KozMin*.pdf
   103 pages 15x10 char grid + 1 page Latin text
 KozGo  KozGo-Bold KozGo-Italic KozGo-BoldItalic
  023_cjkfonts.KozGo*.pdf
   103 pages 15x10 char grid + 1 page Latin text

024_bdffonts  codec.bdf  (sample input, not included) 
  024_pdffonts.codec.pdf
   optional 190 pages 1 bitmapped char each, 
      1 page 16x16 char grid and 1 page ipsum lorem Latin text
   Latin-1 character set, characters 32 (space) through 255 (y-umlaut)

025_unifonts
  025_unifonts.pdf 
   4 pages, each one first 45 lines of embedded PDF-J file, showing one of
   4 Western+CJK font combinations.

026_unifont2
  026_unifont2.pdf
   9 pages of labeled UTF character grids (16x16)

030_colorspecs
 Note that RGB and L*a*b colors get brighter and brighter as the values 
   increase, while CMYK colors get darker and darker as the values increase.
  030_colorspaces.pdf
 RGB colorspace (16 pages)   16x16 colored dots 0..Fx0..F with x constant per pg
 RGB colorspace with Gamma 2.2 (16 pages)    same layout
 CMYK colorspace (16 pages)   16x16 colored dots 0..Fx0..F0 with x constant/page
 L*a*b colorspace (16 pages)   16x16 colored dots x0..F0..F with x constant/page
 named colors (RGB colorspace)  3 pages 16x16 colored dots, alphabetical order

031_color_hsv
  031_color_hsv.pdf 
   7 pages circular colored dots, subset of total &hhssvv set

032_separation
  032_separation.pdf
   1 page colored dots 14 models x 16 levels

040_annotation
  040_annotation.pdf 
   1 page two annotations, one initially open, one initially closed
   you will be prompted by Reader to save changes (if wrote to either)
   1 page 4 "markup" annotations in some sample text.

041_annot_fileattach
  041_annot_fileattach.pdf 
   1 page six annotations, two small attached (embedded files) with a 
   variety of icons. if you click on an openable icon, you will be
   prompted to save your changes when you exit.

042_links
  042_links.pdf
   1 page with links to browser webpages (with and without target)
   1 page with link to previous page (within document)
   1 page with link to page 1 of another PDF document
   1 page with "launch" (edit a text file), also with fancy border
         a movie is available if defined

050_pagelabels
  050_pagelabels.pdf
   26 pages with a variety of thumbnail labels in Reader. your reader should
   display the indicated page label (on displayed page) on the thumbnail
   page display on the scrollbar thumb.

055_outlines
  055_outlines.sample_55.pdf
   12 pages (like 012_pages output) with three bookmarks (outlines) to logical
   pages 1 ("i"), 4 ("1"), and 11 ("7"). you may need to click on your reader's
   bookmark icon to display the list of bookmarks available.

060_transparency
  060_transparency.pdf
   2 pages, each one method of transparency/opacity,
   with opaque red and 40% transparent black text

BarCode.pl
  BarCode.pdf
   1 page x 11 barcodes, NOT VERIFIED AS CORRECT (need scanners to test!)

Boxes.pl
  Boxes.pdf
   demonstrate interactions of PDF "boxes" building document

Bspline.pl
  Bspline.pdf
   4 pages of showing the use of b-splines

Column.pl
  Column.pdf
   10 pages demonstrating column() method with markup

Column_lists.pl
  Column_lists.pdf
   3 pages demonstrating column() method output of ol and ul lists

#Column_layouts.pl    TBD
#  Column_layouts.pdf
#   ? pages demonstrating column() method output with different column shapes

Content.pl
  Content.pdf
   pg 1: 6 ex. coordinate transforms, 1 line width, 1 line cap, 1 flatness,
         3 line joins
   pg 2: 6 mitered joins effect of miterlimit=4, 1 line dash, 
         1 hline/vline/line/poly,
         1 single and multiple rect(), 1 two examples rectxy(), 
         1 circle @ 3 radii, 1 ellipse @ 3 sets of radii
   pg 3: 1 arc @ 3 sets of radii, 1 pie w/ one slice removed, 1 curve,
         1 spline, 5 bogen examples, 1 fill with two winding rules, 1 fillstroke
         with two winding rules
   pg 4: 3 clip examples, 1 image, 2 formimage with different scaling,
         1 charspace examples, 1 wordspace examples, 1 hscale examples,
         1 leading examples, 2 render example sets
   pg 5: 1 rise() examples, 1 cr() examples, 1 nl() examples, 1 textpos() usage,
         1 underline and indent examples, 1 advancewidth() example, 1 text()

ContentText.pl   
  ContentText.pdf
   pg 1: text_left (= text), 4 lines separately that overflow
         text_justified, 4 lines separately, one very squeezed
         text_fill_left, single string splits to fill, LJ
         text_fill = text_fill_left
         text_fill_center, single string split to fill, centered
         text_fill_right, single string split to fill, RJ
         text_fill_justified, single string split to fill, each line justified
           same, but explicitly centered last line
           same, but explicitly right justified last line
         paragraph (single string split, default left justify)
           same, but indent 1.5em (no change to splitting)
   pg 2:   same, but outdent 1.5em (different splitting)
         paragraph, single string split, justified
           same, but indent 1.5em (no change to splitting)
           same, but outdent 1.5em (different splitting)
         paragraph, single string split, RJ
           same, plus 2.5em indent (different splitting)
           same, plus 2em indent (different splitting)
         paragraph, single string split, centered
   pg 3: 3 calls to section to fill three columns, paragraphs marked by newline
             can't see where paragraphs start (except previous line short)
   pg 4:   same, with 10pt interparagraph gap
             see paragraphs separated by vertical gap
   pg 5:   same, except 2em indent instead of gap
             see paragraphs start with indent
   pg 6:   same, except 2em outdent instead of gap
             paragraphs start at left margin. note shorter lines make for more
             of third column filled
   pg 7: 3 calls for 3 columns, justified with 2em indent
           paragraphs marked by first line indentations
   pg 8:   same, add 5pt vertical gap between paragraphs
             two ways to see separation of paragraphs
   pg 9: show use of textlabel() options. shows dot for starting x,y point,
           with default (left), right, centered justification. show text at
           45 degree angles, single and triple underline. show auto underline,
           extra word and character spacing, condensed text (hscale), and 
           render mode 1 (outline/stroke only)
   pg 10: Latin-1 text, default text fill (left justified), no hyphenation
            same, but allow hyphenation (soft and hard hyphens, happens to only
              split at soft)
            same, but large indent to force different hyphenation points, 
              which are the two hard hyphens and one soft hyphen
          UTF-8 text (SHYs only difference), no hyphenation
            same, allow hyphenation, same as Latin-1
            same, large indent, same as Latin-1
          crazy long URL-style text, default left justify, splits at
            camelCase, punctuation, letter runs, slashes
            same, but outdented to force splits at different points

FontManager.pl
  FontManager.pdf
   One page showing how to easily switch among fonts

HarfBuzz.pl
  HarfBuzz.pdf
   Page 1: showing various scripts (Latin, Middle Eastern, and
           South Asian) LTR and RTL, with ligatures and kerning (Latin)
           in two lines: a raw output of the UTF-8 script using text(),
           and a line processed through HarfBuzz::Shaper and textHS(). 
   Page 2: showing various alphabets in vertical writing mode.

   A copy of the output file is provided for your convenience (in case
           you don't have HarfBuzz::Shaper installed) on the CTS
           website https://www.catskilltech.com/.

RMtutorial.pl
  RMtutorial.pdf
   one page Lorem Ipsum, photo, simple graphics as a demo

Rotated.pl
  Rotated.pdf
   pp 1 and 4 portrait mode Lorem Ipsum text
   pp 2 and 3 landscape mode two column Lorem Ipsum text

ShowFont.pl
  ShowFont.pdf
   15 pages each of Helvetica in 10 different Latin encodings
   run without command line arguments to get help

SVG.pl
  SVG.pdf
   5 pages of 5 different SVG inputs