Skip to content

Commit

Permalink
Merge pull request #301 from anthrotype/fix-condensed-regular
Browse files Browse the repository at this point in the history
[builder.names] set empty weight string if 'Regular'
  • Loading branch information
anthrotype authored Dec 18, 2017
2 parents 901507e + c361230 commit 4336290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/glyphsLib/builder/names.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def to_ufo_names(self, ufo, master, family_name):

styleName = build_style_name(
width if width != 'Regular' else '',
weight,
weight if weight != 'Regular' else '',
custom,
is_italic
)
Expand Down

0 comments on commit 4336290

Please sign in to comment.