File: fix-pod.patch

package info (click to toggle)
libpostscript-perl 0.06-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 164 kB
  • ctags: 29
  • sloc: perl: 740; makefile: 5
file content (41 lines) | stat: -rw-r--r-- 1,171 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
Author: gregor herrmann <gregoa@debian.org>
Description: fix pod2man errors

--- a/TextBlock.pm
+++ b/TextBlock.pm
@@ -387,16 +387,12 @@
     use PostScript::Metrics;
     @okfonts = PostScript::Metrics->listFonts();
 
-=over 10
-
 NOTE: The font must be available to the PostScript interpreter that is used
 to render the page described by the program. If the interpreter cannot load
 the font, it will ususally attempt to substitute a similar font. If a font is
 substituted with a font with different metrics, lines of text may overrun the
 right margin of the text block. You have been warned.
 
-=over 3
-
 It is very easy to create stylesheets for a document:
 
     # Define the styles
@@ -412,6 +408,9 @@
     $tb->addText(text => "It was a dark and stormy night and Spokane Sam\'s
     Spongepants were thirsty...", %body);
 
+=back
+
+=over 3
 
 =item numElements()
 
@@ -506,6 +505,8 @@
 However, if you use the PostScript::Document module to construct generic
 multi-page PostScript documents, you don't have to worry about this.
 
+=back
+
 =head1 A NOTE ABOUT FONT METRICS
 
 The write() method uses the module PostScript::Metrics to determine the width of