Codebase list libpdf-api2-perl / 9bd6c4b
Refresh patches. Debian Janitor 1 year, 4 months ago
1 changed file(s) with 22 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
1212 Last-Update: 2021-09-29
1313 Applied-Upstream: no. rejected.
1414
15 --- a/lib/PDF/API2/Resource/CIDFont/TrueType.pm
16 +++ b/lib/PDF/API2/Resource/CIDFont/TrueType.pm
17 @@ -38,7 +38,7 @@
15 Index: libpdf-api2-perl.git/lib/PDF/API2/Resource/CIDFont/TrueType.pm
16 ===================================================================
17 --- libpdf-api2-perl.git.orig/lib/PDF/API2/Resource/CIDFont/TrueType.pm
18 +++ libpdf-api2-perl.git/lib/PDF/API2/Resource/CIDFont/TrueType.pm
19 @@ -38,7 +38,7 @@ sub new {
1820 my ($ff, $data) = PDF::API2::Resource::CIDFont::TrueType::FontFile->new($pdf, $file, %opts);
1921
2022 $class = ref($class) if ref($class);
2325 $pdf->new_obj($self) if defined($pdf) and not $self->is_obj($pdf);
2426
2527 $self->{' data'} = $data;
26 --- a/lib/PDF/API2/Resource/Font/BdFont.pm
27 +++ b/lib/PDF/API2/Resource/Font/BdFont.pm
28 @@ -55,7 +55,7 @@
28 Index: libpdf-api2-perl.git/lib/PDF/API2/Resource/Font/BdFont.pm
29 ===================================================================
30 --- libpdf-api2-perl.git.orig/lib/PDF/API2/Resource/Font/BdFont.pm
31 +++ libpdf-api2-perl.git/lib/PDF/API2/Resource/Font/BdFont.pm
32 @@ -55,7 +55,7 @@ sub new {
2933 my ($class, $pdf, $file, %opts) = @_;
3034
3135 $class = ref($class) if ref($class);
3438 my $self = $class->SUPER::new($pdf, $name);
3539 $pdf->new_obj($self) unless $self->is_obj($pdf);
3640
37 @@ -206,7 +206,7 @@
41 @@ -206,7 +206,7 @@ sub readBDF {
3842 $data->{'bbox'}{'.notdef'} = [0, 0, 0, 0];
3943 }
4044
4347 $data->{'apiname'} = $data->{'fontname'};
4448 $data->{'flags'} = 34;
4549 $data->{'fontbbox'} = [ split(/\s+/, $data->{'FONTBOUNDINGBOX'}) ];
46 --- a/lib/PDF/API2/Resource/Font/CoreFont.pm
47 +++ b/lib/PDF/API2/Resource/Font/CoreFont.pm
48 @@ -156,7 +156,7 @@
50 Index: libpdf-api2-perl.git/lib/PDF/API2/Resource/Font/CoreFont.pm
51 ===================================================================
52 --- libpdf-api2-perl.git.orig/lib/PDF/API2/Resource/Font/CoreFont.pm
53 +++ libpdf-api2-perl.git/lib/PDF/API2/Resource/Font/CoreFont.pm
54 @@ -156,7 +156,7 @@ sub new {
4955 die "Undefined font '$name($lookname)'" unless $data->{'fontname'};
5056
5157 $class = ref($class) if ref($class);
5460 $pdf->new_obj($self) unless $self->is_obj($pdf);
5561 $self->{' data'} = $data;
5662 $self->{'-dokern'} = 1 if $options{'-dokern'};
57 --- a/lib/PDF/API2/Resource/Font/Postscript.pm
58 +++ b/lib/PDF/API2/Resource/Font/Postscript.pm
59 @@ -29,7 +29,7 @@
63 Index: libpdf-api2-perl.git/lib/PDF/API2/Resource/Font/Postscript.pm
64 ===================================================================
65 --- libpdf-api2-perl.git.orig/lib/PDF/API2/Resource/Font/Postscript.pm
66 +++ libpdf-api2-perl.git/lib/PDF/API2/Resource/Font/Postscript.pm
67 @@ -29,7 +29,7 @@ sub new {
6068 }
6169
6270 $class = ref $class if ref $class;
6573 $pdf->new_obj($self) unless($self->is_obj($pdf));
6674 $self->{' data'}=$data;
6775
68 @@ -41,7 +41,7 @@
76 @@ -41,7 +41,7 @@ sub new {
6977 $self->{'FontDescriptor'}=$self->descrByData();
7078 if(-f $psfile)
7179 {