1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-23 11:43:47 +03:00

Use explicit names table properties for bold and bold italic. Closes #34

This commit is contained in:
Rasmus Andersson 2017-10-05 09:00:39 -07:00
parent d75ae361b6
commit 93eb2ca2ec

View File

@ -160,12 +160,12 @@ def main():
if ALL or 'bold' in styles:
proj.generateFont(
Mix2([rg, bl], 0.65, glyphSpecializations.get('bold', {})),
"%s/Bold/Bold/Rg" % FAMILYNAME)
"%s/Bold/Bold/Bd" % FAMILYNAME)
if ALL or 'bolditalic' in styles:
proj.generateFont(
Mix2([rg, bl], 0.65, glyphSpecializations.get('bold', {})),
"%s/Bold Italic/Italic/Rg" % FAMILYNAME,
"%s/Bold Italic/Bold Italic/Bd" % FAMILYNAME,
italic=True, stemWidth=384, italicMeanYCenter=-825, italicNarrowAmount=1)