[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] [bug #65111] "warning: Using nospace mode for font 'EURO'"
|
From: |
G. Branden Robinson |
|
Subject: |
[PATCH] [bug #65111] "warning: Using nospace mode for font 'EURO'" |
|
Date: |
Wed, 3 Jan 2024 14:30:38 -0600 |
Hi Deri,
I have another patch for gropdf.
I tried, but my Perl may not be idiomatic; a couple of attempts to do
simple things failed because the language and I appear to have different
ideas about where to draw the statement/expression dichotomy, and how to
express anonymous list literals.
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index a55de5569..10e36c145 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -2931,9 +2931,21 @@ sub ParsePDFArray
return($rtn);
}
+sub Notice
+{
+ if ($debug)
+ {
+ unshift(@_, "debug: ");
+ my $msg=join('',@_);
+ Msg(0,$msg);
+ }
+}
+
sub Warn
{
- Msg(0,(@_));
+ unshift(@_, "warning: ");
+ my $msg=join('',@_);
+ Msg(0,$msg);
}
sub Die
@@ -2953,10 +2965,6 @@ sub Msg
{
print STDERR "fatal error: ";
}
- else
- {
- print STDERR "warning: ";
- }
Ok to push?
Regards,
Branden
signature.asc
Description: PGP signature
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] [bug #65111] "warning: Using nospace mode for font 'EURO'",
G. Branden Robinson <=