Skip to content

Commit

Permalink
Attempt to fix duplicate fonts in fontbook on osx (fixes #56, #61)
Browse files Browse the repository at this point in the history
* restores part of logic from PR #61 from @jrolfs but slightly modified to work after them merge
  • Loading branch information
ryanoasis committed Mar 28, 2016
1 parent 081fe33 commit 52e9a95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions font-patcher
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ except IndexError:
if subFamily == "Regular":
subFamily = fallbackStyle

fontname += " - " + subFamily

if args.windows:
maxLength = 31
Expand Down
1 change: 1 addition & 0 deletions font-patcher-py3
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ except IndexError:
if subFamily == "Regular":
subFamily = fallbackStyle

fontname += " - " + subFamily

if args.windows:
maxLength = 31
Expand Down

0 comments on commit 52e9a95

Please sign in to comment.