Skip to content

Commit 287b1d9

Browse files
committed
rename_font: Fix renaming problem
[why] Fonts are not properly renamed [how] Obviously the original filenames differ when downloaded as github action compared to run locally. The regex is adapted, so that blancs are now optional. Signed-off-by: Fini Jastrow <[email protected]>
1 parent 203324a commit 287b1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rename-font

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ parser.add_argument("--name", help="preferred family name")
1616
parser.add_argument("--version", help="text to add to the existing version")
1717
args = parser.parse_args()
1818

19-
SIL_TABLE = [('cascadia (code|mono)( pl)?', args.name), ]
19+
SIL_TABLE = [('cascadia ?(code|mono)( ?pl)?', args.name), ]
2020

2121
fname = os.path.splitext(os.path.basename(args.orig))[0]
2222
n = FontnameParser(fname)

0 commit comments

Comments
 (0)