[subset] Fix extension of subset font (again)
Fixes https://github.com/fonttools/fonttools/issues/1298#issuecomment-1768849326
This commit is contained in:
parent
1d0a180b9d
commit
31c531dd04
@ -3666,7 +3666,10 @@ def main(args=None):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if outfile is None:
|
if outfile is None:
|
||||||
outfile = makeOutputFileName(fontfile, overWrite=True, suffix=".subset")
|
ext = "." + options.flavor.lower() if options.flavor is not None else None
|
||||||
|
outfile = makeOutputFileName(
|
||||||
|
fontfile, extension=ext, overWrite=True, suffix=".subset"
|
||||||
|
)
|
||||||
|
|
||||||
with timer("compile glyph list"):
|
with timer("compile glyph list"):
|
||||||
if wildcard_glyphs:
|
if wildcard_glyphs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user