deri pushed a commit to branch master
in repository groff.
commit a951b44fd9d2acf060067b24c994604351a27888
Author: Deri James <[email protected]>
AuthorDate: Tue Apr 30 15:25:49 2024 +0100
[gropdf] Re-arrange pattern matches.
* src/devices/gropdf/gropdf.pl: Correct order of pattern
match.
Fixes https://savannah.gnu.org/bugs/?65585 (again!)
---
ChangeLog | 9 +++++++++
src/devices/gropdf/gropdf.pl | 3 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index bb8fc9fb1..c947229d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-04-24 Deri James <[email protected]>
+
+ [gropdf] Re-arrange pattern matches.
+
+ * src/devices/gropdf/gropdf.pl: Correct order of pattern
+ match.
+
+ Fixes https://savannah.gnu.org/bugs/?65585 (again!)
+
2024-04-30 Christof Meerwald <[email protected]>
* src/devices/gropdf/gropdf.pl: Call PDFDate with the output of
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 1656db821..31a35db4a 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1983,6 +1983,7 @@ sub Clean
my $p=shift;
$p=~s/\\c?$//g;
+ $p=~s/\\[eE]/\\/g;
$p=~s/\\[ 0~t]/ /g;
$p=~s/\\[,!"#\$%&’.0:?{}ˆ_‘|^prud]//g;
$p=~s/\\'/\\[aa]/g;
@@ -1992,8 +1993,8 @@ sub Clean
$p=~s/\\[Oz].//g;
$p=~s/\\[ABbDHlLoRSvwXZ]$parcln//g;
- $p=~s/\\[hs][-+]?$parclntyp//g;
$p=~s/\\[FfgkMmnVY]$parclntyp//g;
+ $p=~s/\\[hs][-+]?$parclntyp//g;
$p=~s/\\\((\w\w)/\\\[$1\]/g; # convert \(xx to \[xx]
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit