fontconfig: handle downloadable fonts for high sierra
Closes #14477. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
bef0658b13
commit
a8d193d240
1 changed files with 3 additions and 1 deletions
|
@ -39,8 +39,10 @@ class Fontconfig < Formula
|
|||
~/Library/Fonts
|
||||
]
|
||||
|
||||
if MacOS.version >= :sierra
|
||||
if MacOS.version == :sierra
|
||||
font_dirs << "/System/Library/Assets/com_apple_MobileAsset_Font3"
|
||||
elsif MacOS.version == :high_sierra
|
||||
font_dirs << "/System/Library/Assets/com_apple_MobileAsset_Font4"
|
||||
end
|
||||
|
||||
system "autoreconf", "-iv" if build.head?
|
||||
|
|
Loading…
Reference in a new issue