Skip to content

Commit

Permalink
Fixes merge conflict leftover (ryanoasis#61)
Browse files Browse the repository at this point in the history
* attempt to not set stye in the 'fontname' attribute
  • Loading branch information
ryanoasis committed Mar 19, 2016
1 parent 707a070 commit d384c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion font-patcher
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fontname, fallbackStyle = re.match("^([^-]*).*?([^-]*(?!.*-))$", sourceFont.font
familyname = fontname
# fullname (filename) can always use long/verbose font name, even in windows
fullname = sourceFont.fullname + verboseAdditionalFontNameSuffix
fontname = fontname + additionalFontNameSuffix.replace(" ", "") + "-" + style
fontname = fontname + additionalFontNameSuffix.replace(" ", "")

# let us try to get the 'style' from the font info in sfnt_names and fallback to the
# parse fontname if it fails:
Expand Down

0 comments on commit d384c94

Please sign in to comment.