[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/03: [build]: Stop stripping comments from PFA files.
From: |
G. Branden Robinson |
Subject: |
[groff] 01/03: [build]: Stop stripping comments from PFA files. |
Date: |
Fri, 25 Nov 2022 16:00:57 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 254b335920a6b1e1fd3e6e0a87fa0c1fd5e3d83d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Nov 25 14:06:55 2022 -0600
[build]: Stop stripping comments from PFA files.
* font/devps/psstrip.sed: Stop stripping comment lines, in general
instead of preserving only ones that use the form in the Document
Structuring Coventions. This way we won't strip copyright notices,
like Werner Lemberg's in the FreeEuro font. Thanks to Deri James for
pointing this out.
---
ChangeLog | 8 ++++++++
font/devps/psstrip.sed | 3 +--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ab06a1b67..9b5bffe16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-11-25 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * font/devps/psstrip.sed: Stop stripping comment lines, in
+ general instead of preserving only ones that use the form in the
+ Document Structuring Coventions. This way we won't strip
+ copyright notices, like Werner Lemberg's in the FreeEuro font.
+ Thanks to Deri James for pointing this out.
+
2022-11-22 G. Branden Robinson <g.branden.robinson@gmail.com>
tmac/an-ext.tmac: Refactor to reduce code size.
diff --git a/font/devps/psstrip.sed b/font/devps/psstrip.sed
index 3e61775af..47501d1b1 100644
--- a/font/devps/psstrip.sed
+++ b/font/devps/psstrip.sed
@@ -1,5 +1,4 @@
-/^%[%!]/b
-s/%.*//
+/^%/b
s/^[ ][ ]*//
s/[ ][ ]*$//
/^$/d
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/03: [build]: Stop stripping comments from PFA files.,
G. Branden Robinson <=