deri pushed a commit to branch master
in repository groff.

commit 1ab868c5c84a02f32ab2c385066215d2aa7d650b
Author: Deri James <d...@chuzzlewit.myzen.co.uk>
AuthorDate: Sun Apr 28 18:03:59 2024 +0100

    [gropdf] ignore 'Cspace' as input
    
    * src/devices/gropdf/gropdf.pl: As grops does.
---
 ChangeLog                    | 6 ++++++
 src/devices/gropdf/gropdf.pl | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f88d241a4..d8d48e2b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-04-24  Deri James  <d...@chuzzlewit.myzen.co.uk>
+
+       [gropdf] ignore 'Cspace' as input
+
+       * src/devices/gropdf/gropdf.pl: As grops does.
+
 2024-04-24  Deri James  <d...@chuzzlewit.myzen.co.uk>
 
        [gropdf] use nospace mode if font does not contain
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index df61903e4..acf86389f 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -4455,7 +4455,7 @@ sub do_C
     my $par=shift;
     my $fnt=$fontlst{$cft}->{FNT};
 
-    PutGlyph($fnt,$par,1);
+    PutGlyph($fnt,$par,1) if $par ne 'space';
 }
 
 sub do_c
@@ -4479,7 +4479,7 @@ sub do_N
     }
 
     my $chnm=$fnt->{NO}->[$par];
-    PutGlyph($fnt,$chnm,1);
+    PutGlyph($fnt,$chnm,1) if $chnm ne 'space';
 }
 
 sub do_n

_______________________________________________
Groff-commit mailing list
Groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to