summaryrefslogtreecommitdiffstats
path: root/utils/fontconfig/patches/001-cutout-strip-preprocessor-artifacts.patch
blob: ceaa694d9868d8009c8c4310c45ea081bf1812db (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/cutout.py
+++ b/src/cutout.py
@@ -19,6 +19,8 @@ if __name__== '__main__':
 
             if write and l:
                 stripped = re.sub(r'^\s+', '', l)
+                if stripped.startswith('#'):
+                    continue
                 stripped = re.sub(r'\s*,\s*', ',', stripped)
                 if not stripped.isspace() and stripped:
                     out.write('%s\n' % stripped)